3 lines
No EOL
3.3 MiB
3 lines
No EOL
3.3 MiB
/*! For license information please see 2.f974d6ce.chunk.js.LICENSE.txt */
|
|
(this["webpackJsonplamassu-admin"]=this["webpackJsonplamassu-admin"]||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(606)},function(t,e,n){"use strict";t.exports=n(602)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(209);function i(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,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}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";n.d(e,"d",(function(){return ft})),n.d(e,"b",(function(){return dt})),n.d(e,"h",(function(){return wt})),n.d(e,"e",(function(){return Ot})),n.d(e,"f",(function(){return qt})),n.d(e,"a",(function(){return Gt})),n.d(e,"g",(function(){return H})),n.d(e,"c",(function(){return Yt}));var r,i,o=n(50),a=n(45),u=n(46);try{r=Map}catch(Qt){}try{i=Set}catch(Qt){}function s(t,e,n){if(!t||"object"!==typeof t||"function"===typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(c);if(r&&t instanceof r)return new Map(Array.from(t.entries()));if(i&&t instanceof i)return new Set(Array.from(t.values()));if(t instanceof Object){e.push(t);var o=Object.create(t);for(var a in n.push(o),t){var u=e.findIndex((function(e){return e===t[a]}));o[a]=u>-1?n[u]:s(t[a],e,n)}return o}return t}function c(t){return s(t,[],[])}var f=Object.prototype.toString,l=Error.prototype.toString,d=RegExp.prototype.toString,h="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},p=/^Symbol\((.*)\)(.*)$/;function g(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}function m(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t||!0===t||!1===t)return""+t;var n=typeof t;if("number"===n)return g(t);if("string"===n)return e?'"'.concat(t,'"'):t;if("function"===n)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===n)return h.call(t).replace(p,"Symbol($1)");var r=f.call(t).slice(8,-1);return"Date"===r?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===r||t instanceof Error?"["+l.call(t)+"]":"RegExp"===r?d.call(t):null}function b(t,e){var n=m(t,e);return null!==n?n:JSON.stringify(t,(function(t,n){var r=m(this[t],e);return null!==r?r:n}),2)}var v={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,n=t.type,r=t.value,i=t.originalValue,o=null!=i&&i!==r,a="".concat(e," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(b(r,!0),"`")+(o?" (cast from the value `".concat(b(i,!0),"`)."):".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},y={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},_={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},w={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},S={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}"},x={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must be have ${length} items"},E=(Object.assign(Object.create(null),{mixed:v,string:y,number:_,date:w,object:O,array:x,boolean:S}),n(189)),M=n.n(E),T=function(t){return t&&t.__isYupSchema__},$=function(){function t(e,n){if(Object(a.a)(this,t),this.refs=e,this.refs=e,"function"!==typeof n){if(!M()(n,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,i=n.then,o=n.otherwise,u="function"===typeof r?r:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.every((function(t){return t===r}))};this.fn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.pop(),a=e.pop(),s=u.apply(void 0,e)?i:o;if(s)return"function"===typeof s?s(a):a.concat(s.resolve(r))}}else this.fn=n}return Object(u.a)(t,[{key:"resolve",value:function(t,e){var n=this.refs.map((function(t){return t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context)})),r=this.fn.apply(t,n.concat(t,e));if(void 0===r||r===t)return t;if(!T(r))throw new TypeError("conditions must return a schema object");return r.resolve(e)}}]),t}(),A=n(190),k=n(86),C=n(87),I=n(250);function P(t){return null==t?[]:[].concat(t)}function N(){return(N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var R=/\$\{\s*(\w+)\s*\}/g,j=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(t,r,i,u){var s;return Object(a.a)(this,n),(s=e.call(this)).name="ValidationError",s.value=r,s.path=i,s.type=u,s.errors=[],s.inner=[],P(t).forEach((function(t){var e;n.isError(t)?((e=s.errors).push.apply(e,Object(o.a)(t.errors)),s.inner=s.inner.concat(t.inner.length?t.inner:t)):s.errors.push(t)})),s.message=s.errors.length>1?"".concat(s.errors.length," errors occurred"):s.errors[0],Error.captureStackTrace&&Error.captureStackTrace(Object(A.a)(s),n),s}return Object(u.a)(n,null,[{key:"formatError",value:function(t,e){var n=e.label||e.path||"this";return n!==e.path&&(e=N({},e,{path:n})),"string"===typeof t?t.replace(R,(function(t,n){return b(e[n])})):"function"===typeof t?t(e):t}},{key:"isError",value:function(t){return t&&"ValidationError"===t.name}}]),n}(Object(I.a)(Error));function D(t,e){var n=t.endEarly,r=t.tests,i=t.args,a=t.value,u=t.errors,s=t.sort,c=t.path,f=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(e),l=r.length,d=[];if(u=u||[],!l)return u.length?f(new j(u,a,c)):f(null,a);for(var h=0;h<r.length;h++){(0,r[h])(i,(function(t){if(t){if(!j.isError(t))return f(t,a);if(n)return t.value=a,f(t,a);d.push(t)}if(--l<=0){if(d.length&&(s&&d.sort(s),u.length&&d.push.apply(d,Object(o.a)(u)),u=d),u.length)return void f(new j(u,a,c),a);f(null,a)}}))}}var L=n(294),F=n.n(L),B=n(166),U="$",z=".";function H(t,e){return new V(t,e)}var V=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(a.a)(this,t),"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===U,this.isValue=this.key[0]===z,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?U:this.isValue?z:"";this.path=this.key.slice(r.length),this.getter=this.path&&Object(B.getter)(this.path,!0),this.map=n.map}return Object(u.a)(t,[{key:"getValue",value:function(t,e,n){var r=this.isContext?n:this.isValue?t:e;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(t){return t&&t.__isYupRef}}]),t}();function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function W(t){function e(e,n){var r=e.value,i=e.path,o=void 0===i?"":i,a=e.label,u=e.options,s=e.originalValue,c=e.sync,f=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["value","path","label","options","originalValue","sync"]),l=t.name,d=t.test,h=t.params,p=t.message,g=u.parent,m=u.context;function b(t){return V.isRef(t)?t.getValue(r,g,m):t}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=F()(q({value:r,originalValue:s,label:a,path:t.path||o},h,t.params),b),n=new j(j.formatError(t.message||p,e),r,e.path,t.type||l);return n.params=e,n}var y=q({path:o,parent:g,type:l,createError:v,resolve:b,options:u,originalValue:s},f);if(c){var _;try{var w;if("function"===typeof(null==(w=_=d.call(y,r,y))?void 0:w.then))throw new Error('Validation test of type: "'.concat(y.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(S){return void n(S)}j.isError(_)?n(_):_?n(null,_):n(v())}else try{Promise.resolve(d.call(y,r,y)).then((function(t){j.isError(t)?n(t):t?n(null,t):n(v())}))}catch(S){n(S)}}return e.OPTIONS=t,e}V.prototype.__isYupRef=!0;var G=function(t){return t.substr(0,t.length-1).substr(1)};function K(t,e,n){var r,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return e?(Object(B.forEach)(e,(function(u,s,c){var f=s?G(u):u;if((t=t.resolve({context:a,parent:r,value:n})).innerType){var l=c?parseInt(f,10):0;if(n&&l>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(u,", in the path: ").concat(e,". ")+"because there is no value at that index. ");r=n,n=n&&n[l],t=t.innerType}if(!c){if(!t.fields||!t.fields[f])throw new Error("The schema does not contain the path: ".concat(e,". ")+"(failed at: ".concat(o,' which is a type: "').concat(t._type,'")'));r=n,n=n&&n[f],t=t.fields[f]}i=f,o=s?"["+u+"]":"."+u})),{schema:t,parent:r,parentPath:i}):{parent:r,parentPath:e,schema:t}}var Y=n(2),Z=n(23),Q=function(){function t(){Object(a.a)(this,t),this.list=new Set,this.refs=new Map}return Object(u.a)(t,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var t,e=[],n=Object(Z.a)(this.list);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(u){n.e(u)}finally{n.f()}var i,o=Object(Z.a)(this.refs);try{for(o.s();!(i=o.n()).done;){var a=Object(Y.a)(i.value,2)[1];e.push(a.describe())}}catch(u){o.e(u)}finally{o.f()}return e}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"add",value:function(t){V.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}},{key:"delete",value:function(t){V.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}},{key:"has",value:function(t,e){if(this.list.has(t))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(e(n.value)===t)return!0;return!1}},{key:"clone",value:function(){var e=new t;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}},{key:"merge",value:function(t,e){var n=this.clone();return t.list.forEach((function(t){return n.add(t)})),t.refs.forEach((function(t){return n.add(t)})),e.list.forEach((function(t){return n.delete(t)})),e.refs.forEach((function(t){return n.delete(t)})),n}}]),t}();function X(){return(X=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var J=function(){function t(e){var n=this;Object(a.a)(this,t),this.deps=[],this.conditions=[],this._whitelist=new Q,this._blacklist=new Q,this.exclusiveTests=Object.create(null),this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(v.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=X({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}return Object(u.a)(t,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(t){return!0}},{key:"clone",value:function(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;var e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeError=this._typeError,e._whitelistError=this._whitelistError,e._blacklistError=this._blacklistError,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.exclusiveTests=X({},this.exclusiveTests),e.deps=Object(o.a)(this.deps),e.conditions=Object(o.a)(this.conditions),e.tests=Object(o.a)(this.tests),e.transforms=Object(o.a)(this.transforms),e.spec=c(X({},this.spec,t)),e}},{key:"label",value:function(t){var e=this.clone();return e.spec.label=t,e}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},arguments.length<=0?void 0:arguments[0]),t}},{key:"withMutation",value:function(t){var e=this._mutate;this._mutate=!0;var n=t(this);return this._mutate=e,n}},{key:"concat",value:function(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(t.type));var e=this,n=t.clone(),r=X({},e.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=e._typeError),n._whitelistError||(n._whitelistError=e._whitelistError),n._blacklistError||(n._blacklistError=e._blacklistError),n._whitelist=e._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=e._blacklist.merge(t._blacklist,t._whitelist),n.tests=e.tests,n.exclusiveTests=e.exclusiveTests,n.withMutation((function(e){t.tests.forEach((function(t){e.test(t.OPTIONS)}))})),n}},{key:"isType",value:function(t){return!(!this.spec.nullable||null!==t)||this._typeCheck(t)}},{key:"resolve",value:function(t){var e=this;if(e.conditions.length){var n=e.conditions;(e=e.clone()).conditions=[],e=(e=n.reduce((function(e,n){return n.resolve(e,t)}),e)).resolve(t)}return e}},{key:"cast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(X({value:t},e)),r=n._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==n.isType(r)){var i=b(t),o=b(r);throw new TypeError("The value of ".concat(e.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n._type,'". \n\n')+"attempted value: ".concat(i," \n")+(o!==i?"result of cast: ".concat(o):""))}return r}},{key:"_cast",value:function(t,e){var n=this,r=void 0===t?t:this.transforms.reduce((function(e,r){return r.call(n,e,t,n)}),t);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=n.sync,o=n.path,a=n.from,u=void 0===a?[]:a,s=n.originalValue,c=void 0===s?t:s,f=n.strict,l=void 0===f?this.spec.strict:f,d=n.abortEarly,h=void 0===d?this.spec.abortEarly:d,p=t;l||(p=this._cast(p,X({assert:!1},n)));var g={value:p,path:o,options:n,originalValue:c,schema:this,label:this.spec.label,sync:i,from:u},m=[];this._typeError&&m.push(this._typeError),this._whitelistError&&m.push(this._whitelistError),this._blacklistError&&m.push(this._blacklistError),D({args:g,value:p,path:o,sync:i,tests:m,endEarly:h},(function(t){t?r(t,p):D({tests:e.tests,args:g,path:o,sync:i,value:p,endEarly:h},r)}))}},{key:"validate",value:function(t,e,n){var r=this.resolve(X({},e,{value:t}));return"function"===typeof n?r._validate(t,e,n):new Promise((function(n,i){return r._validate(t,e,(function(t,e){t?i(t):n(e)}))}))}},{key:"validateSync",value:function(t,e){var n;return this.resolve(X({},e,{value:t}))._validate(t,X({},e,{sync:!0}),(function(t,e){if(t)throw t;n=e})),n}},{key:"isValid",value:function(t,e){return this.validate(t,e).then((function(){return!0}),(function(t){if(j.isError(t))return!1;throw t}))}},{key:"isValidSync",value:function(t,e){try{return this.validateSync(t,e),!0}catch(n){if(j.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this):c(t)}},{key:"getDefault",value:function(t){return this.resolve(t||{})._getDefault()}},{key:"default",value:function(t){if(0===arguments.length)return this._getDefault();var e=this.clone({default:t});return e}},{key:"strict",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strict=t,e}},{key:"_isPresent",value:function(t){return null!=t}},{key:"defined",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.defined;return this.test({message:t,name:"defined",exclusive:!0,test:function(t){return void 0!==t}})}},{key:"required",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.required;return this.clone({presence:"required"}).withMutation((function(e){return e.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})}))}},{key:"notRequired",value:function(){var t=this.clone({presence:"optional"});return t.tests=t.tests.filter((function(t){return"required"!==t.OPTIONS.name})),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone({nullable:!1!==t});return e}},{key:"transform",value:function(t){var e=this.clone();return e.transforms.push(t),e}},{key:"test",value:function(){var t;if(void 0===(t=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=v.default),"function"!==typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),n=W(t),r=t.exclusive||t.name&&!0===e.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(e.exclusiveTests[t.name]=!!t.exclusive),e.tests=e.tests.filter((function(e){if(e.OPTIONS.name===t.name){if(r)return!1;if(e.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),e.tests.push(n),e}},{key:"when",value:function(t,e){Array.isArray(t)||"string"===typeof t||(e=t,t=".");var n=this.clone(),r=P(t).map((function(t){return new V(t)}));return r.forEach((function(t){t.isSibling&&n.deps.push(t.key)})),n.conditions.push(new $(r,e)),n}},{key:"typeError",value:function(t){var e=this.clone();return e._typeError=W({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e}},{key:"oneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.oneOf,n=this.clone();return t.forEach((function(t){n._whitelist.add(t),n._blacklist.delete(t)})),n._whitelistError=W({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n}},{key:"notOneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.notOneOf,n=this.clone();return t.forEach((function(t){n._blacklist.add(t),n._whitelist.delete(t)})),n._blacklistError=W({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n}},{key:"strip",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strip=t,e}},{key:"describe",value:function(){var t=this.clone(),e=t.spec,n=e.label;return{meta:e.meta,label:n,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}})).filter((function(t,e,n){return n.findIndex((function(e){return e.name===t.name}))===e}))}}}]),t}();J.prototype.__isYupSchema__=!0;for(var tt=function(){var t=nt[et];J.prototype["".concat(t,"At")]=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=K(this,e,n,r.context),o=i.parent,a=i.parentPath,u=i.schema;return u[t](o&&o[a],X({},r,{parent:o,path:e}))}},et=0,nt=["validate","validateSync"];et<nt.length;et++)tt();for(var rt=0,it=["equals","is"];rt<it.length;rt++){var ot=it[rt];J.prototype[ot]=J.prototype.oneOf}for(var at=0,ut=["not","nope"];at<ut.length;at++){var st=ut[at];J.prototype[st]=J.prototype.notOneOf}J.prototype.optional=J.prototype.notRequired;var ct=J;function ft(){return new ct}ft.prototype=ct.prototype;var lt=function(t){return null==t};function dt(){return new ht}var ht=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"boolean"})).withMutation((function(){t.transform((function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t}))})),t}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"===typeof t}},{key:"isTrue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:function(t){return lt(t)||!0===t}})}},{key:"isFalse",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:function(t){return lt(t)||!1===t}})}}]),n}(J);dt.prototype=ht.prototype;var pt=n(62),gt=n(51),mt=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,bt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,vt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,yt=function(t){return lt(t)||t===t.trim()},_t={}.toString();function wt(){return new St}var St=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"string"})).withMutation((function(){t.transform((function(t){if(this.isType(t))return t;if(Array.isArray(t))return t;var e=null!=t&&t.toString?t.toString():t;return e===_t?t:e}))})),t}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof String&&(t=t.valueOf()),"string"===typeof t}},{key:"_isPresent",value:function(t){return Object(pt.a)(Object(gt.a)(n.prototype),"_isPresent",this).call(this,t)&&!!t.length}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return lt(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return lt(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.max;return this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return lt(e)||e.length<=this.resolve(t)}})}},{key:"matches",value:function(t,e){var n,r,i=!1;if(e)if("object"===typeof e){var o=e.excludeEmptyString;i=void 0!==o&&o,n=e.message,r=e.name}else n=e;return this.test({name:r||"matches",message:n||y.matches,params:{regex:t},test:function(e){return lt(e)||""===e&&i||-1!==e.search(t)}})}},{key:"email",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.email;return this.matches(mt,{name:"email",message:t,excludeEmptyString:!0})}},{key:"url",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.url;return this.matches(bt,{name:"url",message:t,excludeEmptyString:!0})}},{key:"uuid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.uuid;return this.matches(vt,{name:"uuid",message:t,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(t){return null===t?"":t}))}},{key:"trim",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.trim;return this.transform((function(t){return null!=t?t.trim():t})).test({message:t,name:"trim",test:yt})}},{key:"lowercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.lowercase;return this.transform((function(t){return lt(t)?t:t.toLowerCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return lt(t)||t===t.toLowerCase()}})}},{key:"uppercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.uppercase;return this.transform((function(t){return lt(t)?t:t.toUpperCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return lt(t)||t===t.toUpperCase()}})}}]),n}(J);wt.prototype=St.prototype;function Ot(){return new xt}var xt=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"number"})).withMutation((function(){t.transform((function(t){var e=t;if("string"===typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)}))})),t}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof Number&&(t=t.valueOf()),"number"===typeof t&&!function(t){return t!=+t}(t)}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return lt(e)||e>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.max;return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return lt(e)||e<=this.resolve(t)}})}},{key:"lessThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.lessThan;return this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return lt(e)||e<this.resolve(t)}})}},{key:"moreThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.moreThan;return this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return lt(e)||e>this.resolve(t)}})}},{key:"positive",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.positive;return this.moreThan(0,t)}},{key:"negative",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.negative;return this.lessThan(0,t)}},{key:"integer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.integer;return this.test({name:"integer",message:t,test:function(t){return lt(t)||Number.isInteger(t)}})}},{key:"truncate",value:function(){return this.transform((function(t){return lt(t)?t:0|t}))}},{key:"round",value:function(t){var e,n=["ceil","floor","round","trunc"];if("trunc"===(t=(null==(e=t)?void 0:e.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(e){return lt(e)?e:Math[t](e)}))}}]),n}(J);Ot.prototype=xt.prototype;var Et=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Mt=new Date("");function Tt(){return new $t}var $t=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"date"})).withMutation((function(){t.transform((function(t){return this.isType(t)?t:(t=function(t){var e,n,r=[1,4,5,6,7,10,11],i=0;if(n=Et.exec(t)){for(var o,a=0;o=r[a];++a)n[o]=+n[o]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(i=60*n[10]+n[11],"+"===n[9]&&(i=0-i)),e=Date.UTC(n[1],n[2],n[3],n[4],n[5]+i,n[6],n[7])):e=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else e=Date.parse?Date.parse(t):NaN;return e}(t),isNaN(t)?Mt:new Date(t))}))})),t}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e}},{key:"prepareParam",value:function(t,e){var n;if(V.isRef(t))n=t;else{var r=this.cast(t);if(!this._typeCheck(r))throw new TypeError("`".concat(e,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.min,n=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return lt(t)||t>=this.resolve(n)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.max,n=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return lt(t)||t<=this.resolve(n)}})}}]),n}(J);$t.INVALID_DATE=Mt,Tt.prototype=$t.prototype,Tt.INVALID_DATE=Mt;var At=n(397),kt=n.n(At),Ct=n(539),It=n.n(Ct),Pt=n(540),Nt=n.n(Pt),Rt=n(541),jt=n.n(Rt);function Dt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=[];function i(t,i){var o=Object(B.split)(t)[0];~r.indexOf(o)||r.push(o),~e.indexOf("".concat(i,"-").concat(o))||n.push([i,o])}var o=function(e){if(M()(t,e)){var n=t[e];~r.indexOf(e)||r.push(e),V.isRef(n)&&n.isSibling?i(n.path,e):T(n)&&"deps"in n&&n.deps.forEach((function(t){return i(t,e)}))}};for(var a in t)o(a);return jt.a.array(r,n).reverse()}function Lt(t,e){var n=1/0;return t.some((function(t,r){var i;if(-1!==(null==(i=e.path)?void 0:i.indexOf(t)))return n=r,!0})),n}function Ft(t){return function(e,n){return Lt(t,e)-Lt(t,n)}}function Bt(){return(Bt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var Ut=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function zt(t,e){var n=Object.keys(t.fields);return Object.keys(e).filter((function(t){return-1===n.indexOf(t)}))}var Ht=Ft([]),Vt=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(t){var r;return Object(a.a)(this,n),(r=e.call(this,{type:"object"})).fields=Object.create(null),r._sortErrors=Ht,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){r.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&r.shape(t)})),r}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return Ut(t)||"function"===typeof t}},{key:"_cast",value:function(t){var e,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object(pt.a)(Object(gt.a)(n.prototype),"_cast",this).call(this,t,i);if(void 0===o)return this.getDefault();if(!this._typeCheck(o))return o;var a,u=this.fields,s=null!=(e=i.stripUnknown)?e:this.spec.noUnknown,c=this._nodes.concat(Object.keys(o).filter((function(t){return-1===r._nodes.indexOf(t)}))),f={},l=Bt({},i,{parent:f,__validating:i.__validating||!1}),d=!1,h=Object(Z.a)(c);try{for(h.s();!(a=h.n()).done;){var p=a.value,g=u[p],m=M()(o,p);if(g){var b=void 0,v=o[p];l.path=(i.path?"".concat(i.path,"."):"")+p;var y="spec"in(g=g.resolve({value:v,context:i.context,parent:f}))?g.spec:void 0,_=null==y?void 0:y.strict;if(null==y?void 0:y.strip){d=d||p in o;continue}void 0!==(b=i.__validating&&_?o[p]:g.cast(o[p],l))&&(f[p]=b)}else m&&!s&&(f[p]=o[p]);f[p]!==o[p]&&(d=!0)}}catch(w){h.e(w)}finally{h.f()}return d?f:o}},{key:"_validate",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=[],u=r.sync,s=r.from,c=void 0===s?[]:s,f=r.originalValue,l=void 0===f?t:f,d=r.abortEarly,h=void 0===d?this.spec.abortEarly:d,p=r.recursive,g=void 0===p?this.spec.recursive:p;c=[{schema:this,value:l}].concat(Object(o.a)(c)),r.__validating=!0,r.originalValue=l,r.from=c,Object(pt.a)(Object(gt.a)(n.prototype),"_validate",this).call(this,t,r,(function(t,n){if(t){if(!j.isError(t)||h)return void i(t,n);a.push(t)}if(g&&Ut(n)){l=l||n;var o=e._nodes.map((function(t){return function(i,o){var a=-1===t.indexOf(".")?(r.path?"".concat(r.path,"."):"")+t:"".concat(r.path||"",'["').concat(t,'"]'),u=e.fields[t];u&&"validate"in u?u.validate(n[t],Bt({},r,{path:a,from:c,strict:!0,parent:n,originalValue:l[t]}),o):o(null)}}));D({sync:u,tests:o,value:n,errors:a,endEarly:h,sort:e._sortErrors,path:r.path},i)}else i(a[0]||null,n)}))}},{key:"clone",value:function(t){var e=Object(pt.a)(Object(gt.a)(n.prototype),"clone",this).call(this,t);return e.fields=Bt({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}},{key:"concat",value:function(t){for(var e=Object(pt.a)(Object(gt.a)(n.prototype),"concat",this).call(this,t),r=e.fields,i=0,o=Object.entries(this.fields);i<o.length;i++){var a=Object(Y.a)(o[i],2),u=a[0],s=a[1],c=r[u];void 0===c?r[u]=s:c instanceof J&&s instanceof J&&(r[u]=s.concat(c))}return e.withMutation((function(){return e.shape(r)}))}},{key:"getDefaultFromShape",value:function(){var t=this,e={};return this._nodes.forEach((function(n){var r=t.fields[n];e[n]="default"in r?r.getDefault():void 0})),e}},{key:"_getDefault",value:function(){return"default"in this.spec?Object(pt.a)(Object(gt.a)(n.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.clone(),r=Object.assign(n.fields,t);if(n.fields=r,n._sortErrors=Ft(Object.keys(r)),e.length){Array.isArray(e[0])||(e=[e]);var i=e.map((function(t){var e=Object(Y.a)(t,2),n=e[0],r=e[1];return"".concat(n,"-").concat(r)}));n._excludedEdges=n._excludedEdges.concat(i)}return n._nodes=Dt(r,n._excludedEdges),n}},{key:"pick",value:function(t){var e,n={},r=Object(Z.a)(t);try{for(r.s();!(e=r.n()).done;){var i=e.value;this.fields[i]&&(n[i]=this.fields[i])}}catch(o){r.e(o)}finally{r.f()}return this.clone().withMutation((function(t){return t.fields={},t.shape(n)}))}},{key:"omit",value:function(t){var e=this.clone(),n=e.fields;e.fields={};var r,i=Object(Z.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;delete n[o]}}catch(a){i.e(a)}finally{i.f()}return e.withMutation((function(){return e.shape(n)}))}},{key:"from",value:function(t,e,n){var r=Object(B.getter)(t,!0);return this.transform((function(i){if(null==i)return i;var o=i;return M()(i,t)&&(o=Bt({},i),n||delete o[t],o[e]=r(i)),o}))}},{key:"noUnknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;"string"===typeof t&&(e=t,t=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){if(null==e)return!0;var n=zt(this.schema,e);return!t||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=t,n}},{key:"unknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;return this.noUnknown(!t,e)}},{key:"transformKeys",value:function(t){return this.transform((function(e){return e&&Nt()(e,(function(e,n){return t(n)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(It.a)}},{key:"snakeCase",value:function(){return this.transformKeys(kt.a)}},{key:"constantCase",value:function(){return this.transformKeys((function(t){return kt()(t).toUpperCase()}))}},{key:"describe",value:function(){var t=Object(pt.a)(Object(gt.a)(n.prototype),"describe",this).call(this);return t.fields=F()(this.fields,(function(t){return t.describe()})),t}}]),n}(J);function qt(t){return new Vt(t)}function Wt(){return(Wt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Gt(t){return new Kt(t)}qt.prototype=Vt.prototype;var Kt=function(t){Object(k.a)(n,t);var e=Object(C.a)(n);function n(t){var r;return Object(a.a)(this,n),(r=e.call(this,{type:"array"})).innerType=t,r.withMutation((function(){r.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}))})),r}return Object(u.a)(n,[{key:"_typeCheck",value:function(t){return Array.isArray(t)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(t,e){var r=this,i=Object(pt.a)(Object(gt.a)(n.prototype),"_cast",this).call(this,t,e);if(!this._typeCheck(i)||!this.innerType)return i;var o=!1,a=i.map((function(t,n){var i=r.innerType.cast(t,Wt({},e,{path:"".concat(e.path||"","[").concat(n,"]")}));return i!==t&&(o=!0),i}));return o?a:i}},{key:"_validate",value:function(t){var e,r,i=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,u=[],s=o.sync,c=o.path,f=this.innerType,l=null!=(e=o.abortEarly)?e:this.spec.abortEarly,d=null!=(r=o.recursive)?r:this.spec.recursive,h=null!=o.originalValue?o.originalValue:t;Object(pt.a)(Object(gt.a)(n.prototype),"_validate",this).call(this,t,o,(function(t,e){if(t){if(!j.isError(t)||l)return void a(t,e);u.push(t)}if(d&&f&&i._typeCheck(e)){h=h||e;for(var n=new Array(e.length),r=function(t){var r=e[t],i="".concat(o.path||"","[").concat(t,"]"),a=Wt({},o,{path:i,strict:!0,parent:e,index:t,originalValue:h[t]});n[t]=function(t,e){return f.validate(r,a,e)}},p=0;p<e.length;p++)r(p);D({sync:s,path:c,value:e,errors:u,endEarly:l,tests:n},a)}else a(u[0]||null,e)}))}},{key:"clone",value:function(t){var e=Object(pt.a)(Object(gt.a)(n.prototype),"clone",this).call(this,t);return e.innerType=this.innerType,e}},{key:"concat",value:function(t){var e=Object(pt.a)(Object(gt.a)(n.prototype),"concat",this).call(this,t);return e.innerType=this.innerType,t.innerType&&(e.innerType=e.innerType?e.innerType.concat(t.innerType):t.innerType),e}},{key:"of",value:function(t){var e=this.clone();if(!T(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+b(t));return e.innerType=t,e}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return lt(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t,e){return e=e||x.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return lt(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t,e){return e=e||x.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return lt(e)||e.length<=this.resolve(t)}})}},{key:"ensure",value:function(){var t=this;return this.default((function(){return[]})).transform((function(e,n){return t._typeCheck(e)?e:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(t){var e=t?function(e,n,r){return!t(e,n,r)}:function(t){return!!t};return this.transform((function(t){return null!=t?t.filter(e):t}))}},{key:"describe",value:function(){var t=Object(pt.a)(Object(gt.a)(n.prototype),"describe",this).call(this);return this.innerType&&(t.innerType=this.innerType.describe()),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return Object(pt.a)(Object(gt.a)(n.prototype),"nullable",this).call(this,t)}},{key:"defined",value:function(){return Object(pt.a)(Object(gt.a)(n.prototype),"defined",this).call(this)}},{key:"required",value:function(t){return Object(pt.a)(Object(gt.a)(n.prototype),"required",this).call(this,t)}}]),n}(J);function Yt(t){return new Zt(t)}Gt.prototype=Kt.prototype;var Zt=function(){function t(e){var n=this;Object(a.a)(this,t),this.type="lazy",this.__isYupSchema__=!0,this._resolve=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.builder(t,e);if(!T(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(e)},this.builder=e}return Object(u.a)(t,[{key:"resolve",value:function(t){return this._resolve(t.value,t)}},{key:"cast",value:function(t,e){return this._resolve(t,e).cast(t,e)}},{key:"validate",value:function(t,e,n){return this._resolve(t,e).validate(t,e,n)}},{key:"validateSync",value:function(t,e){return this._resolve(t,e).validateSync(t,e)}},{key:"validateAt",value:function(t,e,n){return this._resolve(e,n).validateAt(t,e,n)}},{key:"validateSyncAt",value:function(t,e,n){return this._resolve(e,n).validateSyncAt(t,e,n)}},{key:"describe",value:function(){return null}},{key:"isValid",value:function(t,e){return this._resolve(t,e).isValid(t,e)}},{key:"isValidSync",value:function(t,e){return this._resolve(t,e).isValidSync(t,e)}}]),t}()},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},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,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(5);function i(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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&t.push(a)}else if("object"===o)for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return d}));var r=n(92),i=n(14),o=n(1),a=n(175),u=n(77),s=n(31),c=function(){function t(t,e){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=t||{},this.context=e||{}}return t.prototype.getOptions=function(){return this.options},t.prototype.setOptions=function(t,e){void 0===e&&(e=!1),e&&!Object(u.a)(this.options,t)&&(this.previousOptions=this.options),this.options=t},t.prototype.unmount=function(){this.isMounted=!1},t.prototype.refreshClient=function(){var t=this.options&&this.options.client||this.context&&this.context.client;Object(s.b)(!!t,2);var e=!1;return t!==this.client&&(e=!0,this.client=t,this.cleanup()),{client:this.client,isNew:e}},t.prototype.verifyDocumentType=function(t,e){var n=Object(r.e)(t);Object(r.d)(e),Object(r.d)(n.type);Object(s.b)(n.type===e,3)},t}(),f=function(t){function e(e){var n=e.options,r=e.context,i=e.onNewData,o=t.call(this,n,r)||this;return o.previousData={},o.currentObservable={},o.runLazy=!1,o.runLazyQuery=function(t){o.cleanup(),o.runLazy=!0,o.lazyOptions=t,o.onNewData()},o.getExecuteResult=function(){var t=o.getQueryResult();return o.startQuerySubscription(),t},o.obsRefetch=function(t){return o.currentObservable.query.refetch(t)},o.obsFetchMore=function(t){return o.currentObservable.query.fetchMore(t)},o.obsUpdateQuery=function(t){return o.currentObservable.query.updateQuery(t)},o.obsStartPolling=function(t){o.currentObservable&&o.currentObservable.query&&o.currentObservable.query.startPolling(t)},o.obsStopPolling=function(){o.currentObservable&&o.currentObservable.query&&o.currentObservable.query.stopPolling()},o.obsSubscribeToMore=function(t){return o.currentObservable.query.subscribeToMore(t)},o.onNewData=i,o}return Object(i.c)(e,t),e.prototype.execute=function(){this.refreshClient();var t=this.getOptions(),e=t.skip,n=t.query;return(e||n!==this.previousData.query)&&(this.removeQuerySubscription(),this.previousData.query=n),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},e.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:a.c.ready,called:!1,data:void 0}]},e.prototype.fetchData=function(){var t=this.getOptions();if(t.skip||!1===t.ssr)return!1;var e=this.currentObservable.query;return!!e.getCurrentResult().loading&&e.result()},e.prototype.afterExecute=function(t){var e=(void 0===t?{}:t).lazy,n=void 0!==e&&e;return this.isMounted=!0,n&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},e.prototype.cleanup=function(){this.removeQuerySubscription(),delete this.currentObservable.query,delete this.previousData.result},e.prototype.getOptions=function(){var e=t.prototype.getOptions.call(this);return this.lazyOptions&&(e.variables=Object(i.a)(Object(i.a)({},e.variables),this.lazyOptions.variables),e.context=Object(i.a)(Object(i.a)({},e.context),this.lazyOptions.context)),this.runLazy&&delete e.skip,e},e.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},e.prototype.getExecuteSsrResult=function(){var t,e=!1===this.getOptions().ssr,n=this.refreshClient().client.disableNetworkFetches,r=Object(i.a)({loading:!0,networkStatus:a.c.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());return e&&(this.ssrInitiated()||n)?(this.previousData.result=r,r):(this.ssrInitiated()&&(t=this.context.renderPromises.addQueryPromise(this,this.getExecuteResult)||r),t)},e.prototype.prepareObservableQueryOptions=function(){var t=this.getOptions();this.verifyDocumentType(t.query,r.b.Query);var e=t.displayName||"Query";return!this.ssrInitiated()||"network-only"!==t.fetchPolicy&&"cache-and-network"!==t.fetchPolicy||(t.fetchPolicy="cache-first"),Object(i.a)(Object(i.a)({},t),{displayName:e,context:t.context,metadata:{reactComponent:{displayName:e}}})},e.prototype.initializeObservableQuery=function(){var t,e;if(this.ssrInitiated()&&(this.currentObservable.query=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable.query){var n=this.prepareObservableQueryOptions();this.previousData.observableQueryOptions=Object(i.a)(Object(i.a)({},n),{children:null}),this.currentObservable.query=this.refreshClient().client.watchQuery(Object(i.a)({},n)),this.ssrInitiated()&&(null===(e=null===(t=this.context)||void 0===t?void 0:t.renderPromises)||void 0===e||e.registerSSRObservable(this.currentObservable.query,n))}},e.prototype.updateObservableQuery=function(){if(this.currentObservable.query){var t=Object(i.a)(Object(i.a)({},this.prepareObservableQueryOptions()),{children:null});Object(u.a)(t,this.previousData.observableQueryOptions)||(this.previousData.observableQueryOptions=t,this.currentObservable.query.setOptions(t).catch((function(){})))}else this.initializeObservableQuery()},e.prototype.startQuerySubscription=function(){var t=this;if(!this.currentObservable.subscription&&!this.getOptions().skip){var e=this.currentObservable.query;this.currentObservable.subscription=e.subscribe({next:function(e){var n=e.loading,r=e.networkStatus,i=e.data,o=t.previousData.result;o&&o.loading===n&&o.networkStatus===r&&Object(u.a)(o.data,i)||t.onNewData()},error:function(e){if(t.resubscribeToQuery(),!e.hasOwnProperty("graphQLErrors"))throw e;var n=t.previousData.result;(n&&n.loading||!Object(u.a)(e,t.previousData.error))&&(t.previousData.error=e,t.onNewData())}})}},e.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var t=this.currentObservable.query.getLastError(),e=this.currentObservable.query.getLastResult();this.currentObservable.query.resetLastResults(),this.startQuerySubscription(),Object.assign(this.currentObservable.query,{lastError:t,lastResult:e})},e.prototype.getQueryResult=function(){var t=this.observableQueryFields(),e=this.getOptions();if(e.skip)t=Object(i.a)(Object(i.a)({},t),{data:void 0,error:void 0,loading:!1,called:!0});else{var n=this.currentObservable.query.getCurrentResult(),r=n.loading,o=n.partial,u=n.networkStatus,s=n.errors,c=n.error,f=n.data;if(s&&s.length>0&&(c=new a.b({graphQLErrors:s})),t=Object(i.a)(Object(i.a)({},t),{loading:r,networkStatus:u,error:c,called:!0}),r){var l=this.previousData.result&&this.previousData.result.data;t.data=l&&f?Object(i.a)(Object(i.a)({},l),f):l||f}else if(c)Object.assign(t,{data:(this.currentObservable.query.getLastResult()||{}).data});else{var d=this.currentObservable.query.options.fetchPolicy;if(e.partialRefetch&&!f&&o&&"cache-only"!==d)return Object.assign(t,{loading:!0,networkStatus:a.c.loading}),t.refetch(),t;t.data=f}}return t.client=this.client,this.previousData.loading=this.previousData.result&&this.previousData.result.loading||!1,this.previousData.result=t,this.currentObservable.query&&this.currentObservable.query.resetQueryStoreErrors(),t},e.prototype.handleErrorOrCompleted=function(){if(this.currentObservable.query&&this.previousData.result){var t=this.previousData.result,e=t.data,n=t.loading,r=t.error;if(!n){var i=this.getOptions(),o=i.query,a=i.variables,s=i.onCompleted,c=i.onError;if(this.previousOptions&&!this.previousData.loading&&Object(u.a)(this.previousOptions.query,o)&&Object(u.a)(this.previousOptions.variables,a))return;s&&!r?s(e):c&&r&&c(r)}}},e.prototype.removeQuerySubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},e.prototype.observableQueryFields=function(){return{variables:this.currentObservable.query.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},e}(c);function l(t,e,n){void 0===n&&(n=!1);var a=Object(o.useContext)(Object(r.c)()),s=Object(o.useReducer)((function(t){return t+1}),0),c=s[0],l=s[1],d=e?Object(i.a)(Object(i.a)({},e),{query:t}):{query:t},h=Object(o.useRef)(),p=h.current||new f({options:d,context:a,onNewData:function(){p.ssrInitiated()?l():Promise.resolve().then(l)}});p.setOptions(d),p.context=a,p.ssrInitiated()&&!h.current&&(h.current=p);var g=function(t,e){var n=Object(o.useRef)();return n.current&&Object(u.a)(e,n.current.key)||(n.current={key:e,value:t()}),n.current.value}((function(){return n?p.executeLazy():p.execute()}),{options:Object(i.a)(Object(i.a)({},d),{onError:void 0,onCompleted:void 0}),context:a,tick:c}),m=n?g[1]:g;return Object(o.useEffect)((function(){return h.current||(h.current=p),function(){return p.cleanup()}}),[]),Object(o.useEffect)((function(){return p.afterExecute({lazy:n})}),[m.loading,m.networkStatus,m.error,m.data]),g}function d(t,e){return l(t,e,!1)}function h(t,e){return l(t,e,!0)}var p=function(t){function e(e){var n=e.options,i=e.context,o=e.result,a=e.setResult,u=t.call(this,n,i)||this;return u.runMutation=function(t){void 0===t&&(t={}),u.onMutationStart();var e=u.generateNewMutationId();return u.mutate(t).then((function(t){return u.onMutationCompleted(t,e),t})).catch((function(t){if(u.onMutationError(t,e),!u.getOptions().onError)throw t}))},u.verifyDocumentType(n.mutation,r.b.Mutation),u.result=o,u.setResult=a,u.mostRecentMutationId=0,u}return Object(i.c)(e,t),e.prototype.execute=function(t){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,r.b.Mutation),t.client=this.refreshClient().client,[this.runMutation,t]},e.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},e.prototype.cleanup=function(){},e.prototype.mutate=function(t){var e=this.getOptions(),n=e.mutation,r=e.variables,o=e.optimisticResponse,a=e.update,u=e.context,s=void 0===u?{}:u,c=e.awaitRefetchQueries,f=void 0!==c&&c,l=e.fetchPolicy,d=Object(i.a)({},t),h=Object.assign({},r,d.variables);return delete d.variables,this.refreshClient().client.mutate(Object(i.a)({mutation:n,optimisticResponse:o,refetchQueries:d.refetchQueries||this.getOptions().refetchQueries,awaitRefetchQueries:f,update:a,context:s,fetchPolicy:l,variables:h},d))},e.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},e.prototype.onMutationCompleted=function(t,e){var n=this.getOptions(),r=n.onCompleted,i=n.ignoreResults,o=t.data,u=t.errors,s=u&&u.length>0?new a.b({graphQLErrors:u}):void 0;this.isMostRecentMutation(e)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:s}),r&&r(o)},e.prototype.onMutationError=function(t,e){var n=this.getOptions().onError;this.isMostRecentMutation(e)&&this.updateResult({loading:!1,error:t,data:void 0,called:!0}),n&&n(t)},e.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},e.prototype.isMostRecentMutation=function(t){return this.mostRecentMutationId===t},e.prototype.updateResult=function(t){!this.isMounted||this.previousResult&&Object(u.a)(this.previousResult,t)||(this.setResult(t),this.previousResult=t)},e}(c);function g(t,e){var n=Object(o.useContext)(Object(r.c)()),a=Object(o.useState)({called:!1,loading:!1}),u=a[0],s=a[1],c=e?Object(i.a)(Object(i.a)({},e),{mutation:t}):{mutation:t},f=Object(o.useRef)();var l=(f.current||(f.current=new p({options:c,context:n,result:u,setResult:s})),f.current);return l.setOptions(c),l.context=n,Object(o.useEffect)((function(){return l.afterExecute()})),l.execute(u)}!function(t){function e(e){var n=e.options,r=e.context,i=e.setResult,o=t.call(this,n,r)||this;return o.currentObservable={},o.setResult=i,o.initialize(n),o}Object(i.c)(e,t),e.prototype.execute=function(t){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var e=t;this.refreshClient().isNew&&(e=this.getLoadingResult());var n=this.getOptions().shouldResubscribe;return"function"===typeof n&&(n=!!n(this.getOptions())),!1!==n&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!Object(u.a)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),e=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),Object(i.a)(Object(i.a)({},e),{variables:this.getOptions().variables})},e.prototype.afterExecute=function(){this.isMounted=!0},e.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},e.prototype.initialize=function(t){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:t.subscription,variables:t.variables,fetchPolicy:t.fetchPolicy}))},e.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},e.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},e.prototype.updateResult=function(t){this.isMounted&&this.setResult(t)},e.prototype.updateCurrentData=function(t){var e=this.getOptions().onSubscriptionData;this.updateResult({data:t.data,loading:!1,error:void 0}),e&&e({client:this.refreshClient().client,subscriptionData:t})},e.prototype.updateError=function(t){this.updateResult({error:t,loading:!1})},e.prototype.completeSubscription=function(){var t=this.getOptions().onSubscriptionComplete;t&&t(),this.endSubscription()},e.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)}}(c);!function(){function t(){this.queryPromises=new Map,this.queryInfoTrie=new Map}t.prototype.registerSSRObservable=function(t,e){this.lookupQueryInfo(e).observable=t},t.prototype.getSSRObservable=function(t){return this.lookupQueryInfo(t).observable},t.prototype.addQueryPromise=function(t,e){return this.lookupQueryInfo(t.getOptions()).seen?e():(this.queryPromises.set(t.getOptions(),new Promise((function(e){e(t.fetchData())}))),null)},t.prototype.hasPromises=function(){return this.queryPromises.size>0},t.prototype.consumeAndAwaitPromises=function(){var t=this,e=[];return this.queryPromises.forEach((function(n,r){t.lookupQueryInfo(r).seen=!0,e.push(n)})),this.queryPromises.clear(),Promise.all(e)},t.prototype.lookupQueryInfo=function(t){var e=this.queryInfoTrie,n=t.query,r=t.variables,i=e.get(n)||new Map;e.has(n)||e.set(n,i);var o=JSON.stringify(r),a=i.get(o)||{seen:!1,observable:null};return i.has(o)||i.set(o,a),a}}()},function(t,e,n){"use strict";function r(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(969).parse;function i(t){return t.replace(/[\s,]+/g," ").trim()}var o={},a={};var u=!0;function s(t,e){var n=Object.prototype.toString.call(t);if("[object Array]"===n)return t.map((function(t){return s(t,e)}));if("[object Object]"!==n)throw new Error("Unexpected input.");e&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var r,i,o,a=Object.keys(t);for(r in a)a.hasOwnProperty(r)&&(i=t[a[r]],"[object Object]"!==(o=Object.prototype.toString.call(i))&&"[object Array]"!==o||(t[a[r]]=s(i,!0)));return t}var c=!1;function f(t){var e=i(t);if(o[e])return o[e];var n=r(t,{experimentalFragmentVariables:c});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");return n=s(n=function(t){for(var e,n={},r=[],o=0;o<t.definitions.length;o++){var s=t.definitions[o];if("FragmentDefinition"===s.kind){var c=s.name.value,f=i((e=s.loc).source.body.substring(e.start,e.end));a.hasOwnProperty(c)&&!a[c][f]?(u&&console.warn("Warning: fragment with name "+c+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"),a[c][f]=!0):a.hasOwnProperty(c)||(a[c]={},a[c][f]=!0),n[f]||(n[f]=!0,r.push(s))}else r.push(s)}return t.definitions=r,t}(n),!1),o[e]=n,n}function l(){for(var t=Array.prototype.slice.call(arguments),e=t[0],n="string"===typeof e?e:e[0],r=1;r<t.length;r++)t[r]&&t[r].kind&&"Document"===t[r].kind?n+=t[r].loc.source.body:n+=t[r],n+=e[r];return f(n)}l.default=l,l.resetCaches=function(){o={},a={}},l.disableFragmentWarnings=function(){u=!1},l.enableExperimentalFragmentVariables=function(){c=!0},l.disableExperimentalFragmentVariables=function(){c=!1},t.exports=l},function(t,e,n){"use strict";n.d(e,"a",(function(){return br})),n.d(e,"b",(function(){return fr})),n.d(e,"c",(function(){return mr})),n.d(e,"d",(function(){return lr})),n.d(e,"e",(function(){return or})),n.d(e,"f",(function(){return tr}));var r=n(1),i=n(145),o=n.n(i),a=function(t){return function(t){return!!t&&"object"===typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===u}(t)}(t)};var u="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?f((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function c(t,e,n){return t.concat(e).map((function(t){return s(t,n)}))}function f(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||a;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):function(t,e,n){var r={};return n.isMergeableObject(t)&&Object.keys(t).forEach((function(e){r[e]=s(t[e],n)})),Object.keys(e).forEach((function(i){n.isMergeableObject(e[i])&&t[i]?r[i]=f(t[i],e[i],n):r[i]=s(e[i],n)})),r}(t,e,n):s(e,n)}f.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return f(t,n,e)}),{})};var l=f,d=n(71),h=d.a.Symbol,p=Object.prototype,g=p.hasOwnProperty,m=p.toString,b=h?h.toStringTag:void 0;var v=function(t){var e=g.call(t,b),n=t[b];try{t[b]=void 0;var r=!0}catch(o){}var i=m.call(t);return r&&(e?t[b]=n:delete t[b]),i},y=Object.prototype.toString;var _=function(t){return y.call(t)},w=h?h.toStringTag:void 0;var S=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?v(t):_(t)};var O=function(t,e){return function(n){return t(e(n))}},x=O(Object.getPrototypeOf,Object);var E=function(t){return null!=t&&"object"==typeof t},M=Function.prototype,T=Object.prototype,$=M.toString,A=T.hasOwnProperty,k=$.call(Object);var C=function(t){if(!E(t)||"[object Object]"!=S(t))return!1;var e=x(t);if(null===e)return!0;var n=A.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&$.call(n)==k};var I=function(){this.__data__=[],this.size=0};var P=function(t,e){return t===e||t!==t&&e!==e};var N=function(t,e){for(var n=t.length;n--;)if(P(t[n][0],e))return n;return-1},R=Array.prototype.splice;var j=function(t){var e=this.__data__,n=N(e,t);return!(n<0)&&(n==e.length-1?e.pop():R.call(e,n,1),--this.size,!0)};var D=function(t){var e=this.__data__,n=N(e,t);return n<0?void 0:e[n][1]};var L=function(t){return N(this.__data__,t)>-1};var F=function(t,e){var n=this.__data__,r=N(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function B(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}B.prototype.clear=I,B.prototype.delete=j,B.prototype.get=D,B.prototype.has=L,B.prototype.set=F;var U=B;var z=function(){this.__data__=new U,this.size=0};var H=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var V=function(t){return this.__data__.get(t)};var q=function(t){return this.__data__.has(t)};var W=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var G=function(t){if(!W(t))return!1;var e=S(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},K=d.a["__core-js_shared__"],Y=function(){var t=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var Z=function(t){return!!Y&&Y in t},Q=Function.prototype.toString;var X=function(t){if(null!=t){try{return Q.call(t)}catch(e){}try{return t+""}catch(e){}}return""},J=/^\[object .+?Constructor\]$/,tt=Function.prototype,et=Object.prototype,nt=tt.toString,rt=et.hasOwnProperty,it=RegExp("^"+nt.call(rt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ot=function(t){return!(!W(t)||Z(t))&&(G(t)?it:J).test(X(t))};var at=function(t,e){return null==t?void 0:t[e]};var ut=function(t,e){var n=at(t,e);return ot(n)?n:void 0},st=ut(d.a,"Map"),ct=ut(Object,"create");var ft=function(){this.__data__=ct?ct(null):{},this.size=0};var lt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},dt=Object.prototype.hasOwnProperty;var ht=function(t){var e=this.__data__;if(ct){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return dt.call(e,t)?e[t]:void 0},pt=Object.prototype.hasOwnProperty;var gt=function(t){var e=this.__data__;return ct?void 0!==e[t]:pt.call(e,t)};var mt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ct&&void 0===e?"__lodash_hash_undefined__":e,this};function bt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}bt.prototype.clear=ft,bt.prototype.delete=lt,bt.prototype.get=ht,bt.prototype.has=gt,bt.prototype.set=mt;var vt=bt;var yt=function(){this.size=0,this.__data__={hash:new vt,map:new(st||U),string:new vt}};var _t=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var wt=function(t,e){var n=t.__data__;return _t(e)?n["string"==typeof e?"string":"hash"]:n.map};var St=function(t){var e=wt(this,t).delete(t);return this.size-=e?1:0,e};var Ot=function(t){return wt(this,t).get(t)};var xt=function(t){return wt(this,t).has(t)};var Et=function(t,e){var n=wt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Mt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Mt.prototype.clear=yt,Mt.prototype.delete=St,Mt.prototype.get=Ot,Mt.prototype.has=xt,Mt.prototype.set=Et;var Tt=Mt;var $t=function(t,e){var n=this.__data__;if(n instanceof U){var r=n.__data__;if(!st||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Tt(r)}return n.set(t,e),this.size=n.size,this};function At(t){var e=this.__data__=new U(t);this.size=e.size}At.prototype.clear=z,At.prototype.delete=H,At.prototype.get=V,At.prototype.has=q,At.prototype.set=$t;var kt=At;var Ct=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t},It=function(){try{var t=ut(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();var Pt=function(t,e,n){"__proto__"==e&&It?It(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},Nt=Object.prototype.hasOwnProperty;var Rt=function(t,e,n){var r=t[e];Nt.call(t,e)&&P(r,n)&&(void 0!==n||e in t)||Pt(t,e,n)};var jt=function(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var u=e[o],s=r?r(n[u],t[u],u,n,t):void 0;void 0===s&&(s=t[u]),i?Pt(n,u,s):Rt(n,u,s)}return n};var Dt=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var Lt=function(t){return E(t)&&"[object Arguments]"==S(t)},Ft=Object.prototype,Bt=Ft.hasOwnProperty,Ut=Ft.propertyIsEnumerable,zt=Lt(function(){return arguments}())?Lt:function(t){return E(t)&&Bt.call(t,"callee")&&!Ut.call(t,"callee")},Ht=Array.isArray,Vt=n(292),qt=/^(?:0|[1-9]\d*)$/;var Wt=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&qt.test(t))&&t>-1&&t%1==0&&t<e};var Gt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Kt={};Kt["[object Float32Array]"]=Kt["[object Float64Array]"]=Kt["[object Int8Array]"]=Kt["[object Int16Array]"]=Kt["[object Int32Array]"]=Kt["[object Uint8Array]"]=Kt["[object Uint8ClampedArray]"]=Kt["[object Uint16Array]"]=Kt["[object Uint32Array]"]=!0,Kt["[object Arguments]"]=Kt["[object Array]"]=Kt["[object ArrayBuffer]"]=Kt["[object Boolean]"]=Kt["[object DataView]"]=Kt["[object Date]"]=Kt["[object Error]"]=Kt["[object Function]"]=Kt["[object Map]"]=Kt["[object Number]"]=Kt["[object Object]"]=Kt["[object RegExp]"]=Kt["[object Set]"]=Kt["[object String]"]=Kt["[object WeakMap]"]=!1;var Yt=function(t){return E(t)&&Gt(t.length)&&!!Kt[S(t)]};var Zt=function(t){return function(e){return t(e)}},Qt=n(154),Xt=Qt.a&&Qt.a.isTypedArray,Jt=Xt?Zt(Xt):Yt,te=Object.prototype.hasOwnProperty;var ee=function(t,e){var n=Ht(t),r=!n&&zt(t),i=!n&&!r&&Object(Vt.a)(t),o=!n&&!r&&!i&&Jt(t),a=n||r||i||o,u=a?Dt(t.length,String):[],s=u.length;for(var c in t)!e&&!te.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Wt(c,s))||u.push(c);return u},ne=Object.prototype;var re=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ne)},ie=O(Object.keys,Object),oe=Object.prototype.hasOwnProperty;var ae=function(t){if(!re(t))return ie(t);var e=[];for(var n in Object(t))oe.call(t,n)&&"constructor"!=n&&e.push(n);return e};var ue=function(t){return null!=t&&Gt(t.length)&&!G(t)};var se=function(t){return ue(t)?ee(t):ae(t)};var ce=function(t,e){return t&&jt(e,se(e),t)};var fe=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},le=Object.prototype.hasOwnProperty;var de=function(t){if(!W(t))return fe(t);var e=re(t),n=[];for(var r in t)("constructor"!=r||!e&&le.call(t,r))&&n.push(r);return n};var he=function(t){return ue(t)?ee(t,!0):de(t)};var pe=function(t,e){return t&&jt(e,he(e),t)},ge=n(538);var me=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};var be=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o};var ve=function(){return[]},ye=Object.prototype.propertyIsEnumerable,_e=Object.getOwnPropertySymbols,we=_e?function(t){return null==t?[]:(t=Object(t),be(_e(t),(function(e){return ye.call(t,e)})))}:ve;var Se=function(t,e){return jt(t,we(t),e)};var Oe=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},xe=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Oe(e,we(t)),t=x(t);return e}:ve;var Ee=function(t,e){return jt(t,xe(t),e)};var Me=function(t,e,n){var r=e(t);return Ht(t)?r:Oe(r,n(t))};var Te=function(t){return Me(t,se,we)};var $e=function(t){return Me(t,he,xe)},Ae=ut(d.a,"DataView"),ke=ut(d.a,"Promise"),Ce=ut(d.a,"Set"),Ie=ut(d.a,"WeakMap"),Pe="[object Map]",Ne="[object Promise]",Re="[object Set]",je="[object WeakMap]",De="[object DataView]",Le=X(Ae),Fe=X(st),Be=X(ke),Ue=X(Ce),ze=X(Ie),He=S;(Ae&&He(new Ae(new ArrayBuffer(1)))!=De||st&&He(new st)!=Pe||ke&&He(ke.resolve())!=Ne||Ce&&He(new Ce)!=Re||Ie&&He(new Ie)!=je)&&(He=function(t){var e=S(t),n="[object Object]"==e?t.constructor:void 0,r=n?X(n):"";if(r)switch(r){case Le:return De;case Fe:return Pe;case Be:return Ne;case Ue:return Re;case ze:return je}return e});var Ve=He,qe=Object.prototype.hasOwnProperty;var We=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&qe.call(t,"index")&&(n.index=t.index,n.input=t.input),n},Ge=d.a.Uint8Array;var Ke=function(t){var e=new t.constructor(t.byteLength);return new Ge(e).set(new Ge(t)),e};var Ye=function(t,e){var n=e?Ke(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},Ze=/\w*$/;var Qe=function(t){var e=new t.constructor(t.source,Ze.exec(t));return e.lastIndex=t.lastIndex,e},Xe=h?h.prototype:void 0,Je=Xe?Xe.valueOf:void 0;var tn=function(t){return Je?Object(Je.call(t)):{}};var en=function(t,e){var n=e?Ke(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var nn=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Ke(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return Ye(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return en(t,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Qe(t);case"[object Set]":return new r;case"[object Symbol]":return tn(t)}},rn=Object.create,on=function(){function t(){}return function(e){if(!W(e))return{};if(rn)return rn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var an=function(t){return"function"!=typeof t.constructor||re(t)?{}:on(x(t))};var un=function(t){return E(t)&&"[object Map]"==Ve(t)},sn=Qt.a&&Qt.a.isMap,cn=sn?Zt(sn):un;var fn=function(t){return E(t)&&"[object Set]"==Ve(t)},ln=Qt.a&&Qt.a.isSet,dn=ln?Zt(ln):fn,hn="[object Arguments]",pn="[object Function]",gn="[object Object]",mn={};mn[hn]=mn["[object Array]"]=mn["[object ArrayBuffer]"]=mn["[object DataView]"]=mn["[object Boolean]"]=mn["[object Date]"]=mn["[object Float32Array]"]=mn["[object Float64Array]"]=mn["[object Int8Array]"]=mn["[object Int16Array]"]=mn["[object Int32Array]"]=mn["[object Map]"]=mn["[object Number]"]=mn["[object Object]"]=mn["[object RegExp]"]=mn["[object Set]"]=mn["[object String]"]=mn["[object Symbol]"]=mn["[object Uint8Array]"]=mn["[object Uint8ClampedArray]"]=mn["[object Uint16Array]"]=mn["[object Uint32Array]"]=!0,mn["[object Error]"]=mn[pn]=mn["[object WeakMap]"]=!1;var bn=function t(e,n,r,i,o,a){var u,s=1&n,c=2&n,f=4&n;if(r&&(u=o?r(e,i,o,a):r(e)),void 0!==u)return u;if(!W(e))return e;var l=Ht(e);if(l){if(u=We(e),!s)return me(e,u)}else{var d=Ve(e),h=d==pn||"[object GeneratorFunction]"==d;if(Object(Vt.a)(e))return Object(ge.a)(e,s);if(d==gn||d==hn||h&&!o){if(u=c||h?{}:an(e),!s)return c?Ee(e,pe(u,e)):Se(e,ce(u,e))}else{if(!mn[d])return o?e:{};u=nn(e,d,s)}}a||(a=new kt);var p=a.get(e);if(p)return p;a.set(e,u),dn(e)?e.forEach((function(i){u.add(t(i,n,r,i,e,a))})):cn(e)&&e.forEach((function(i,o){u.set(o,t(i,n,r,o,e,a))}));var g=l?void 0:(f?c?$e:Te:c?he:se)(e);return Ct(g||e,(function(i,o){g&&(i=e[o=i]),Rt(u,o,t(i,n,r,o,e,a))})),u};var vn=function(t){return bn(t,4)};var yn=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var _n=function(t){return"symbol"==typeof t||E(t)&&"[object Symbol]"==S(t)};function wn(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(wn.Cache||Tt),n}wn.Cache=Tt;var Sn=wn;var On=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xn=/\\(\\)?/g,En=function(t){var e=Sn(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(On,(function(t,n,r,i){e.push(r?i.replace(xn,"$1"):n||t)})),e}));var Mn=function(t){if("string"==typeof t||_n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},Tn=h?h.prototype:void 0,$n=Tn?Tn.toString:void 0;var An=function t(e){if("string"==typeof e)return e;if(Ht(e))return yn(e,t)+"";if(_n(e))return $n?$n.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var kn=function(t){return null==t?"":An(t)};var Cn=function(t){return Ht(t)?yn(t,Mn):_n(t)?[t]:me(En(kn(t)))},In=n(75),Pn=n(396),Nn=n(125),Rn=n.n(Nn);var jn=function(t){return bn(t,5)};function Dn(){return(Dn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ln(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Fn(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function Bn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Un=function(t){return Array.isArray(t)&&0===t.length},zn=function(t){return"function"===typeof t},Hn=function(t){return null!==t&&"object"===typeof t},Vn=function(t){return String(Math.floor(Number(t)))===t},qn=function(t){return"[object String]"===Object.prototype.toString.call(t)},Wn=function(t){return 0===r.Children.count(t)},Gn=function(t){return Hn(t)&&zn(t.then)};function Kn(t,e,n,r){void 0===r&&(r=0);for(var i=Cn(e);t&&r<i.length;)t=t[i[r++]];return void 0===t?n:t}function Yn(t,e,n){for(var r=vn(t),i=r,o=0,a=Cn(e);o<a.length-1;o++){var u=a[o],s=Kn(t,a.slice(0,o+1));if(s&&(Hn(s)||Array.isArray(s)))i=i[u]=vn(s);else{var c=a[o+1];i=i[u]=Vn(c)&&Number(c)>=0?[]:{}}}return(0===o?t:i)[a[o]]===n?t:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}function Zn(t,e,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var i=0,o=Object.keys(t);i<o.length;i++){var a=o[i],u=t[a];Hn(u)?n.get(u)||(n.set(u,!0),r[a]=Array.isArray(u)?[]:{},Zn(u,e,n,r[a])):r[a]=e}return r}var Qn=Object(r.createContext)(void 0),Xn=Qn.Provider,Jn=Qn.Consumer;function tr(){var t=Object(r.useContext)(Qn);return t||Object(In.a)(!1),t}function er(t,e){switch(e.type){case"SET_VALUES":return Dn({},t,{values:e.payload});case"SET_TOUCHED":return Dn({},t,{touched:e.payload});case"SET_ERRORS":return o()(t.errors,e.payload)?t:Dn({},t,{errors:e.payload});case"SET_STATUS":return Dn({},t,{status:e.payload});case"SET_ISSUBMITTING":return Dn({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return Dn({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return Dn({},t,{values:Yn(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return Dn({},t,{touched:Yn(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return Dn({},t,{errors:Yn(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return Dn({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return Dn({},t,{touched:Zn(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Dn({},t,{isSubmitting:!1});default:return t}}var nr={},rr={};function ir(t){var e=t.validateOnChange,n=void 0===e||e,i=t.validateOnBlur,a=void 0===i||i,u=t.validateOnMount,s=void 0!==u&&u,c=t.isInitialValid,f=t.enableReinitialize,d=void 0!==f&&f,h=t.onSubmit,p=Fn(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),g=Dn({validateOnChange:n,validateOnBlur:a,validateOnMount:s,onSubmit:h},p),m=Object(r.useRef)(g.initialValues),b=Object(r.useRef)(g.initialErrors||nr),v=Object(r.useRef)(g.initialTouched||rr),y=Object(r.useRef)(g.initialStatus),_=Object(r.useRef)(!1),w=Object(r.useRef)({});Object(r.useEffect)((function(){return _.current=!0,function(){_.current=!1}}),[]);var S=Object(r.useReducer)(er,{values:g.initialValues,errors:g.initialErrors||nr,touched:g.initialTouched||rr,status:g.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),O=S[0],x=S[1],E=Object(r.useCallback)((function(t,e){return new Promise((function(n,r){var i=g.validate(t,e);null==i?n(nr):Gn(i)?i.then((function(t){n(t||nr)}),(function(t){r(t)})):n(i)}))}),[g.validate]),M=Object(r.useCallback)((function(t,e){var n=g.validationSchema,r=zn(n)?n(e):n,i=e&&r.validateAt?r.validateAt(e,t):function(t,e,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var i=ar(t);return e[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}(t,r);return new Promise((function(t,e){i.then((function(){t(nr)}),(function(n){"ValidationError"===n.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return Yn(e,t.path,t.message);var n=t.inner,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;Kn(e,a.path)||(e=Yn(e,a.path,a.message))}}return e}(n)):e(n)}))}))}),[g.validationSchema]),T=Object(r.useCallback)((function(t,e){return new Promise((function(n){return n(w.current[t].validate(e))}))}),[]),$=Object(r.useCallback)((function(t){var e=Object.keys(w.current).filter((function(t){return zn(w.current[t].validate)})),n=e.length>0?e.map((function(e){return T(e,Kn(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(t){return t.reduce((function(t,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(t=Yn(t,e[r],n)),t}),{})}))}),[T]),A=Object(r.useCallback)((function(t){return Promise.all([$(t),g.validationSchema?M(t):{},g.validate?E(t):{}]).then((function(t){var e=t[0],n=t[1],r=t[2];return l.all([e,n,r],{arrayMerge:ur})}))}),[g.validate,g.validationSchema,$,E,M]),k=cr((function(t){return void 0===t&&(t=O.values),Object(Pn.unstable_runWithPriority)(Pn.unstable_LowPriority,(function(){return A(t).then((function(t){return _.current&&x({type:"SET_ERRORS",payload:t}),t})).catch((function(t){0}))}))})),C=cr((function(t){return void 0===t&&(t=O.values),x({type:"SET_ISVALIDATING",payload:!0}),A(t).then((function(t){return _.current&&(x({type:"SET_ISVALIDATING",payload:!1}),o()(O.errors,t)||x({type:"SET_ERRORS",payload:t})),t}))}));Object(r.useEffect)((function(){s&&!0===_.current&&o()(m.current,g.initialValues)&&k(m.current)}),[s,k]);var I=Object(r.useCallback)((function(t){var e=t&&t.values?t.values:m.current,n=t&&t.errors?t.errors:b.current?b.current:g.initialErrors||{},r=t&&t.touched?t.touched:v.current?v.current:g.initialTouched||{},i=t&&t.status?t.status:y.current?y.current:g.initialStatus;m.current=e,b.current=n,v.current=r,y.current=i;var o=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:n,touched:r,status:i,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"===typeof t.submitCount?t.submitCount:0}})};if(g.onReset){var a=g.onReset(O.values,Q);Gn(a)?a.then(o):o()}else o()}),[g.initialErrors,g.initialStatus,g.initialTouched]);Object(r.useEffect)((function(){!0!==_.current||o()(m.current,g.initialValues)||(d&&(m.current=g.initialValues,I()),s&&k(m.current))}),[d,g.initialValues,I,s,k]),Object(r.useEffect)((function(){d&&!0===_.current&&!o()(b.current,g.initialErrors)&&(b.current=g.initialErrors||nr,x({type:"SET_ERRORS",payload:g.initialErrors||nr}))}),[d,g.initialErrors]),Object(r.useEffect)((function(){d&&!0===_.current&&!o()(v.current,g.initialTouched)&&(v.current=g.initialTouched||rr,x({type:"SET_TOUCHED",payload:g.initialTouched||rr}))}),[d,g.initialTouched]),Object(r.useEffect)((function(){d&&!0===_.current&&!o()(y.current,g.initialStatus)&&(y.current=g.initialStatus,x({type:"SET_STATUS",payload:g.initialStatus}))}),[d,g.initialStatus,g.initialTouched]);var P=cr((function(t){if(w.current[t]&&zn(w.current[t].validate)){var e=Kn(O.values,t),n=w.current[t].validate(e);return Gn(n)?(x({type:"SET_ISVALIDATING",payload:!0}),n.then((function(t){return t})).then((function(e){x({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),x({type:"SET_ISVALIDATING",payload:!1})}))):(x({type:"SET_FIELD_ERROR",payload:{field:t,value:n}}),Promise.resolve(n))}return g.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),M(O.values,t).then((function(t){return t})).then((function(e){x({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),x({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),N=Object(r.useCallback)((function(t,e){var n=e.validate;w.current[t]={validate:n}}),[]),R=Object(r.useCallback)((function(t){delete w.current[t]}),[]),j=cr((function(t,e){return x({type:"SET_TOUCHED",payload:t}),(void 0===e?a:e)?k(O.values):Promise.resolve()})),D=Object(r.useCallback)((function(t){x({type:"SET_ERRORS",payload:t})}),[]),L=cr((function(t,e){var r=zn(t)?t(O.values):t;return x({type:"SET_VALUES",payload:r}),(void 0===e?n:e)?k(r):Promise.resolve()})),F=Object(r.useCallback)((function(t,e){x({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),B=cr((function(t,e,r){return x({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===r?n:r)?k(Yn(O.values,t,e)):Promise.resolve()})),U=Object(r.useCallback)((function(t,e){var n,r=e,i=t;if(!qn(t)){t.persist&&t.persist();var o=t.target?t.target:t.currentTarget,a=o.type,u=o.name,s=o.id,c=o.value,f=o.checked,l=(o.outerHTML,o.options),d=o.multiple;r=e||(u||s),i=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(t,e,n){if("boolean"===typeof t)return Boolean(e);var r=[],i=!1,o=-1;if(Array.isArray(t))r=t,i=(o=t.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(e);if(e&&n&&!i)return r.concat(n);if(!i)return r;return r.slice(0,o).concat(r.slice(o+1))}(Kn(O.values,r),f,c):d?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(l):c}r&&B(r,i)}),[B,O.values]),z=cr((function(t){if(qn(t))return function(e){return U(e,t)};U(t)})),H=cr((function(t,e,n){return void 0===e&&(e=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===n?a:n)?k(O.values):Promise.resolve()})),V=Object(r.useCallback)((function(t,e){t.persist&&t.persist();var n=t.target,r=n.name,i=n.id,o=(n.outerHTML,e||(r||i));H(o,!0)}),[H]),q=cr((function(t){if(qn(t))return function(e){return V(e,t)};V(t)})),W=Object(r.useCallback)((function(t){zn(t)?x({type:"SET_FORMIK_STATE",payload:t}):x({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),G=Object(r.useCallback)((function(t){x({type:"SET_STATUS",payload:t})}),[]),K=Object(r.useCallback)((function(t){x({type:"SET_ISSUBMITTING",payload:t})}),[]),Y=cr((function(){return x({type:"SUBMIT_ATTEMPT"}),C().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var n;try{if(void 0===(n=X()))return}catch(r){throw r}return Promise.resolve(n).then((function(t){return _.current&&x({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(_.current)throw x({type:"SUBMIT_FAILURE"}),t}))}if(_.current&&(x({type:"SUBMIT_FAILURE"}),e))throw t}))})),Z=cr((function(t){t&&t.preventDefault&&zn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&zn(t.stopPropagation)&&t.stopPropagation(),Y().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),Q={resetForm:I,validateForm:C,validateField:P,setErrors:D,setFieldError:F,setFieldTouched:H,setFieldValue:B,setStatus:G,setSubmitting:K,setTouched:j,setValues:L,setFormikState:W,submitForm:Y},X=cr((function(){return h(O.values,Q)})),J=cr((function(t){t&&t.preventDefault&&zn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&zn(t.stopPropagation)&&t.stopPropagation(),I()})),tt=Object(r.useCallback)((function(t){return{value:Kn(O.values,t),error:Kn(O.errors,t),touched:!!Kn(O.touched,t),initialValue:Kn(m.current,t),initialTouched:!!Kn(v.current,t),initialError:Kn(b.current,t)}}),[O.errors,O.touched,O.values]),et=Object(r.useCallback)((function(t){return{setValue:function(e,n){return B(t,e,n)},setTouched:function(e,n){return H(t,e,n)},setError:function(e){return F(t,e)}}}),[B,H,F]),nt=Object(r.useCallback)((function(t){var e=Hn(t),n=e?t.name:t,r=Kn(O.values,n),i={name:n,value:r,onChange:z,onBlur:q};if(e){var o=t.type,a=t.value,u=t.as,s=t.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!(!Array.isArray(r)||!~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===u&&s&&(i.value=i.value||[],i.multiple=!0)}return i}),[q,z,O.values]),rt=Object(r.useMemo)((function(){return!o()(m.current,O.values)}),[m.current,O.values]),it=Object(r.useMemo)((function(){return"undefined"!==typeof c?rt?O.errors&&0===Object.keys(O.errors).length:!1!==c&&zn(c)?c(g):c:O.errors&&0===Object.keys(O.errors).length}),[c,rt,O.errors,g]);return Dn({},O,{initialValues:m.current,initialErrors:b.current,initialTouched:v.current,initialStatus:y.current,handleBlur:q,handleChange:z,handleReset:J,handleSubmit:Z,resetForm:I,setErrors:D,setFormikState:W,setFieldTouched:H,setFieldValue:B,setFieldError:F,setStatus:G,setSubmitting:K,setTouched:j,setValues:L,submitForm:Y,validateForm:C,validateField:P,isValid:it,dirty:rt,unregisterField:R,registerField:N,getFieldProps:nt,getFieldMeta:tt,getFieldHelpers:et,validateOnBlur:a,validateOnChange:n,validateOnMount:s})}function or(t){var e=ir(t),n=t.component,i=t.children,o=t.render,a=t.innerRef;return Object(r.useImperativeHandle)(a,(function(){return e})),Object(r.createElement)(Xn,{value:e},n?Object(r.createElement)(n,e):o?o(e):i?zn(i)?i(e):Wn(i)?null:r.Children.only(i):null)}function ar(t){var e=Array.isArray(t)?[]:{};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=String(n);!0===Array.isArray(t[r])?e[r]=t[r].map((function(t){return!0===Array.isArray(t)||C(t)?ar(t):""!==t?t:void 0})):C(t[r])?e[r]=ar(t[r]):e[r]=""!==t[r]?t[r]:void 0}return e}function ur(t,e,n){var r=t.slice();return e.forEach((function(e,i){if("undefined"===typeof r[i]){var o=!1!==n.clone&&n.isMergeableObject(e);r[i]=o?l(Array.isArray(e)?[]:{},e,n):e}else n.isMergeableObject(e)?r[i]=l(t[i],e,n):-1===t.indexOf(e)&&r.push(e)})),r}var sr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;function cr(t){var e=Object(r.useRef)(t);return sr((function(){e.current=t})),Object(r.useCallback)((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.current.apply(void 0,n)}),[])}function fr(t){var e=t.validate,n=t.name,i=t.render,o=t.children,a=t.as,u=t.component,s=Fn(t,["validate","name","render","children","as","component"]),c=Fn(tr(),["validate","validationSchema"]);var f=c.registerField,l=c.unregisterField;Object(r.useEffect)((function(){return f(n,{validate:e}),function(){l(n)}}),[f,l,n,e]);var d=c.getFieldProps(Dn({name:n},s)),h=c.getFieldMeta(n),p={field:d,form:c};if(i)return i(Dn({},p,{meta:h}));if(zn(o))return o(Dn({},p,{meta:h}));if(u){if("string"===typeof u){var g=s.innerRef,m=Fn(s,["innerRef"]);return Object(r.createElement)(u,Dn({ref:g},d,m),o)}return Object(r.createElement)(u,Dn({field:d,form:c},s),o)}var b=a||"input";if("string"===typeof b){var v=s.innerRef,y=Fn(s,["innerRef"]);return Object(r.createElement)(b,Dn({ref:v},d,y),o)}return Object(r.createElement)(b,Dn({},d,s),o)}var lr=Object(r.forwardRef)((function(t,e){var n=t.action,i=Fn(t,["action"]),o=n||"#",a=tr(),u=a.handleReset,s=a.handleSubmit;return Object(r.createElement)("form",Object.assign({onSubmit:s,ref:e,onReset:u,action:o},i))}));function dr(t){var e=function(e){return Object(r.createElement)(Jn,null,(function(n){return n||Object(In.a)(!1),Object(r.createElement)(t,Object.assign({},e,{formik:n}))}))},n=t.displayName||t.name||t.constructor&&t.constructor.name||"Component";return e.WrappedComponent=t,e.displayName="FormikConnect("+n+")",Rn()(e,t)}lr.displayName="Form";var hr=function(t,e,n){var r=pr(t);return r.splice(e,0,n),r},pr=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(Dn({},t,{length:e+1}))}return[]},gr=function(t){function e(e){var n;return(n=t.call(this,e)||this).updateArrayField=function(t,e,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)((function(n){var i="function"===typeof r?r:t,a="function"===typeof e?e:t,u=Yn(n.values,o,t(Kn(n.values,o))),s=r?i(Kn(n.errors,o)):void 0,c=e?a(Kn(n.touched,o)):void 0;return Un(s)&&(s=void 0),Un(c)&&(c=void 0),Dn({},n,{values:u,errors:r?Yn(n.errors,o,s):n.errors,touched:e?Yn(n.touched,o,c):n.touched})}))},n.push=function(t){return n.updateArrayField((function(e){return[].concat(pr(e),[jn(t)])}),!1,!1)},n.handlePush=function(t){return function(){return n.push(t)}},n.swap=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=pr(t),i=r[e];return r[e]=r[n],r[n]=i,r}(n,t,e)}),!0,!0)},n.handleSwap=function(t,e){return function(){return n.swap(t,e)}},n.move=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=pr(t),i=r[e];return r.splice(e,1),r.splice(n,0,i),r}(n,t,e)}),!0,!0)},n.handleMove=function(t,e){return function(){return n.move(t,e)}},n.insert=function(t,e){return n.updateArrayField((function(n){return hr(n,t,e)}),(function(e){return hr(e,t,null)}),(function(e){return hr(e,t,null)}))},n.handleInsert=function(t,e){return function(){return n.insert(t,e)}},n.replace=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=pr(t);return r[e]=n,r}(n,t,e)}),!1,!1)},n.handleReplace=function(t,e){return function(){return n.replace(t,e)}},n.unshift=function(t){var e=-1;return n.updateArrayField((function(n){var r=n?[t].concat(n):[t];return e<0&&(e=r.length),r}),(function(t){var n=t?[null].concat(t):[null];return e<0&&(e=n.length),n}),(function(t){var n=t?[null].concat(t):[null];return e<0&&(e=n.length),n})),e},n.handleUnshift=function(t){return function(){return n.unshift(t)}},n.handleRemove=function(t){return function(){return n.remove(t)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Bn(n)),n.pop=n.pop.bind(Bn(n)),n}Ln(e,t);var n=e.prototype;return n.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!o()(Kn(t.formik.values,t.name),Kn(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(t){var e;return this.updateArrayField((function(n){var r=n?pr(n):[];return e||(e=r[t]),zn(r.splice)&&r.splice(t,1),r}),!0,!0),e},n.pop=function(){var t;return this.updateArrayField((function(e){var n=e;return t||(t=n&&n.pop&&n.pop()),n}),!0,!0),t},n.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,n=e.component,i=e.render,o=e.children,a=e.name,u=Dn({},t,{form:Fn(e.formik,["validate","validationSchema"]),name:a});return n?Object(r.createElement)(n,u):i?i(u):o?"function"===typeof o?o(u):Wn(o)?null:r.Children.only(o):null},e}(r.Component);gr.defaultProps={validateOnChange:!0};var mr=dr(gr),br=(r.Component,dr(function(t){function e(e){var n;n=t.call(this,e)||this;var r=e.render,i=e.children,o=e.component,a=e.as;e.name;return r&&Object(In.a)(!1),o&&r&&Object(In.a)(!1),a&&i&&zn(i)&&Object(In.a)(!1),o&&i&&zn(i)&&Object(In.a)(!1),r&&i&&!Wn(i)&&Object(In.a)(!1),n}Ln(e,t);var n=e.prototype;return n.shouldComponentUpdate=function(t){return this.props.shouldUpdate?this.props.shouldUpdate(t,this.props):t.name!==this.props.name||Kn(t.formik.values,this.props.name)!==Kn(this.props.formik.values,this.props.name)||Kn(t.formik.errors,this.props.name)!==Kn(this.props.formik.errors,this.props.name)||Kn(t.formik.touched,this.props.name)!==Kn(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(t).length||t.formik.isSubmitting!==this.props.formik.isSubmitting},n.componentDidMount=function(){this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentDidUpdate=function(t){this.props.name!==t.name&&(this.props.formik.unregisterField(t.name),this.props.formik.registerField(this.props.name,{validate:this.props.validate})),this.props.validate!==t.validate&&this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentWillUnmount=function(){this.props.formik.unregisterField(this.props.name)},n.render=function(){var t=this.props,e=t.name,n=t.render,i=t.as,o=t.children,a=t.component,u=t.formik,s=Fn(t,["validate","name","render","as","children","component","shouldUpdate","formik"]),c=Fn(u,["validate","validationSchema"]),f={value:"radio"===s.type||"checkbox"===s.type?s.value:Kn(u.values,e),name:e,onChange:u.handleChange,onBlur:u.handleBlur},l={field:f,meta:{value:Kn(u.values,e),error:Kn(u.errors,e),touched:!!Kn(u.touched,e),initialValue:Kn(u.initialValues,e),initialTouched:!!Kn(u.initialTouched,e),initialError:Kn(u.initialErrors,e)},form:c};if(n)return n(l);if(zn(o))return o(l);if(a){if("string"===typeof a){var d=s.innerRef,h=Fn(s,["innerRef"]);return Object(r.createElement)(a,Dn({ref:d},f,h),o)}return Object(r.createElement)(a,Dn({field:f,form:u},s),o)}var p=i||"input";if("string"===typeof p){var g=s.innerRef,m=Fn(s,["innerRef"]);return Object(r.createElement)(p,Dn({ref:g},f,m),o)}return Object(r.createElement)(p,Dn({},f,s),o)},e}(r.Component)))},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){t.exports=n(607)()},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return s}));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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{s(r.next(t))}catch(e){o(e)}}function u(t){try{s(r.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}s((r=r.apply(t,e||[])).next())}))}function u(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function s(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}},function(t,e,n){"use strict";function r(t){var e,n,i="";if("string"===typeof t||"number"===typeof t)i+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(i&&(i+=" "),i+=n);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.a=function(){for(var t,e,n=0,i="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(i&&(i+=" "),i+=e);return i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(32),i=n(57);function o(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return Object(i.a)(n)?e:Object(r.a)((function(e){return t(n,e)}));default:return Object(i.a)(n)&&Object(i.a)(o)?e:Object(i.a)(n)?Object(r.a)((function(e){return t(e,o)})):Object(i.a)(o)?Object(r.a)((function(e){return t(n,e)})):t(n,o)}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(65);function i(t,e){if(null==t)return{};var n,i,o=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},,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}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(209);function i(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Object(r.a)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){s=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=n.n(o),u=(n(13),n(125)),s=n.n(u),c=n(975),f=n(1013),l=n(401),d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=e.defaultTheme,u=e.withTheme,d=void 0!==u&&u,h=e.name,p=Object(i.a)(e,["defaultTheme","withTheme","name"]);var g=h,m=Object(c.a)(t,Object(r.a)({defaultTheme:o,Component:n,name:h||n.displayName,classNamePrefix:g},p)),b=a.a.forwardRef((function(t,e){t.classes;var u,s=t.innerRef,c=Object(i.a)(t,["classes","innerRef"]),p=m(Object(r.a)({},n.defaultProps,t)),g=c;return("string"===typeof h||d)&&(u=Object(l.a)()||o,h&&(g=Object(f.a)({theme:u,name:h,props:c})),d&&!g.theme&&(g.theme=u)),a.a.createElement(n,Object(r.a)({ref:s||e,classes:p},g))}));return s()(b,n),b}},h=n(136);e.a=function(t,e){return d(t,Object(r.a)({defaultTheme:h.a},e))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(22);function i(t){Object(r.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof 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://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(t,e,n){"use strict";n.r(e),n.d(e,"hexToRgb",(function(){return r.g})),n.d(e,"rgbToHex",(function(){return r.k})),n.d(e,"hslToRgb",(function(){return r.h})),n.d(e,"decomposeColor",(function(){return r.b})),n.d(e,"recomposeColor",(function(){return r.j})),n.d(e,"getContrastRatio",(function(){return r.e})),n.d(e,"getLuminance",(function(){return r.f})),n.d(e,"emphasize",(function(){return r.c})),n.d(e,"fade",(function(){return r.d})),n.d(e,"darken",(function(){return r.a})),n.d(e,"lighten",(function(){return r.i})),n.d(e,"createMuiTheme",(function(){return i.a})),n.d(e,"unstable_createMuiStrictModeTheme",(function(){return a})),n.d(e,"createStyles",(function(){return u})),n.d(e,"makeStyles",(function(){return s.a})),n.d(e,"responsiveFontSizes",(function(){return v})),n.d(e,"styled",(function(){return y.a})),n.d(e,"easing",(function(){return _.c})),n.d(e,"duration",(function(){return _.b})),n.d(e,"useTheme",(function(){return w.a})),n.d(e,"withStyles",(function(){return S.a})),n.d(e,"withTheme",(function(){return k})),n.d(e,"createGenerateClassName",(function(){return C.a})),n.d(e,"jssPreset",(function(){return I.a})),n.d(e,"ServerStyleSheets",(function(){return D})),n.d(e,"StylesProvider",(function(){return j.b})),n.d(e,"MuiThemeProvider",(function(){return L.a})),n.d(e,"ThemeProvider",(function(){return L.a}));var r=n(35),i=n(208),o=n(393);function a(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return i.a.apply(void 0,[Object(o.a)({unstable_strictMode:!0},t)].concat(n))}function u(t){return t}var s=n(407),c=n(4),f=n(284),l=n(58);function d(t){return String(parseFloat(t)).length===String(t).length}function h(t){return parseFloat(t)}function p(t){return function(e,n){var r=String(e).match(/[\d.\-+]*\s*(.*)/)[1]||"";if(r===n)return e;var i=h(e);if("px"!==r)if("em"===r)i=h(e)*h(t);else if("rem"===r)return i=h(e)*h(t),e;var o=i;if("px"!==n)if("em"===n)o=i/h(t);else{if("rem"!==n)return e;o=i/h(t)}return parseFloat(o.toFixed(5))+n}}function g(t){var e=t.size,n=t.grid,r=e-e%n,i=r+n;return e-r<i-e?r:i}function m(t){var e=t.lineHeight;return t.pixels/(e*t.htmlFontSize)}function b(t){var e=t.cssProperty,n=t.min,r=t.max,i=t.unit,o=void 0===i?"rem":i,a=t.breakpoints,u=void 0===a?[600,960,1280]:a,s=t.transform,c=void 0===s?null:s,f=Object(l.a)({},e,"".concat(n).concat(o)),d=(r-n)/u[u.length-1];return u.forEach((function(t){var r=n+d*t;null!==c&&(r=c(r)),f["@media (min-width:".concat(t,"px)")]=Object(l.a)({},e,"".concat(Math.round(1e4*r)/1e4).concat(o))})),f}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.breakpoints,r=void 0===n?["sm","md","lg"]:n,i=e.disableAlign,o=void 0!==i&&i,a=e.factor,u=void 0===a?2:a,s=e.variants,l=void 0===s?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:s,h=Object(c.a)({},t);h.typography=Object(c.a)({},h.typography);var v=h.typography,y=p(v.htmlFontSize),_=r.map((function(t){return h.breakpoints.values[t]}));return l.forEach((function(t){var e=v[t],n=parseFloat(y(e.fontSize,"rem"));if(!(n<=1)){var r=n,i=1+(r-1)/u,a=e.lineHeight;if(!d(a)&&!o)throw new Error(Object(f.a)(6));d(a)||(a=parseFloat(y(a,"rem"))/parseFloat(n));var s=null;o||(s=function(t){return g({size:t,grid:m({pixels:4,lineHeight:a,htmlFontSize:v.htmlFontSize})})}),v[t]=Object(c.a)({},e,b({cssProperty:"fontSize",min:i,max:r,unit:"rem",breakpoints:_,transform:s}))}})),h}var y=n(280),_=n(90),w=n(96),S=n(24),O=n(17),x=n(1),E=n.n(x),M=(n(13),n(125)),T=n.n(M),$=n(401);function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,n=function(t){var n=E.a.forwardRef((function(n,r){var i=n.innerRef,o=Object(O.a)(n,["innerRef"]),a=Object($.a)()||e;return E.a.createElement(t,Object(c.a)({theme:a,ref:i||r},o))}));return T()(n,t),n};return n}A();var k=A({defaultTheme:n(136).a}),C=n(971),I=n(574),P=n(297),N=n(171),R=n(73),j=n(1008),D=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(P.a)(this,t),this.options=e}return Object(N.a)(t,[{key:"collect",value:function(t){var e=new Map;this.sheetsRegistry=new R.b;var n=Object(C.a)();return E.a.createElement(j.b,Object(c.a)({sheetsManager:e,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),t)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(t){return E.a.createElement("style",Object(c.a)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},t))}}]),t}(),L=n(1096)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return E})),n.d(e,"d",(function(){return V})),n.d(e,"e",(function(){return W})),n.d(e,"f",(function(){return K})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return P})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return A})),n.d(e,"k",(function(){return x})),n.d(e,"l",(function(){return C})),n.d(e,"m",(function(){return T})),n.d(e,"n",(function(){return $})),n.d(e,"o",(function(){return k})),n.d(e,"p",(function(){return l})),n.d(e,"q",(function(){return tt})),n.d(e,"r",(function(){return S})),n.d(e,"s",(function(){return w})),n.d(e,"t",(function(){return p})),n.d(e,"u",(function(){return m})),n.d(e,"v",(function(){return g})),n.d(e,"w",(function(){return v})),n.d(e,"x",(function(){return Q})),n.d(e,"y",(function(){return X})),n.d(e,"z",(function(){return nt})),n.d(e,"A",(function(){return it})),n.d(e,"B",(function(){return ot})),n.d(e,"C",(function(){return q})),n.d(e,"D",(function(){return z})),n.d(e,"E",(function(){return h})),n.d(e,"F",(function(){return _})),n.d(e,"G",(function(){return c})),n.d(e,"H",(function(){return b})),n.d(e,"I",(function(){return J}));var r=n(99),i=n(31),o=n(14),a=n(532),u=n.n(a);n(77);function s(t,e,n,r){if(function(t){return"IntValue"===t.kind}(n)||function(t){return"FloatValue"===t.kind}(n))t[e.value]=Number(n.value);else if(function(t){return"BooleanValue"===t.kind}(n)||function(t){return"StringValue"===t.kind}(n))t[e.value]=n.value;else if(function(t){return"ObjectValue"===t.kind}(n)){var o={};n.fields.map((function(t){return s(o,t.name,t.value,r)})),t[e.value]=o}else if(function(t){return"Variable"===t.kind}(n)){var a=(r||{})[n.name.value];t[e.value]=a}else if(function(t){return"ListValue"===t.kind}(n))t[e.value]=n.values.map((function(t){var n={};return s(n,e,t,r),n[e.value]}));else if(function(t){return"EnumValue"===t.kind}(n))t[e.value]=n.value;else{if(!function(t){return"NullValue"===t.kind}(n))throw new i.a(17);t[e.value]=null}}function c(t,e){var n=null;t.directives&&(n={},t.directives.forEach((function(t){n[t.name.value]={},t.arguments&&t.arguments.forEach((function(r){var i=r.name,o=r.value;return s(n[t.name.value],i,o,e)}))})));var r=null;return t.arguments&&t.arguments.length&&(r={},t.arguments.forEach((function(t){var n=t.name,i=t.value;return s(r,n,i,e)}))),l(t.name.value,r,n)}var f=["connection","include","skip","client","rest","export"];function l(t,e,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=e,o={};return r.forEach((function(t){o[t]=i[t]})),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=t;if(e){var s=u()(e);a+="("+s+")"}return n&&Object.keys(n).forEach((function(t){-1===f.indexOf(t)&&(n[t]&&Object.keys(n[t]).length?a+="@"+t+"("+JSON.stringify(n[t])+")":a+="@"+t)})),a}function d(t,e){if(t.arguments&&t.arguments.length){var n={};return t.arguments.forEach((function(t){var r=t.name,i=t.value;return s(n,r,i,e)})),n}return null}function h(t){return t.alias?t.alias.value:t.name.value}function p(t){return"Field"===t.kind}function g(t){return"InlineFragment"===t.kind}function m(t){return t&&"id"===t.type&&"boolean"===typeof t.generated}function b(t,e){return void 0===e&&(e=!1),Object(o.a)({type:"id",generated:e},"string"===typeof t?{id:t,typename:void 0}:t)}function v(t){return null!=t&&"object"===typeof t&&"json"===t.type}function y(t,e){if(t.directives&&t.directives.length){var n={};return t.directives.forEach((function(t){n[t.name.value]=d(t,e)})),n}return null}function _(t,e){return void 0===e&&(e={}),(n=t.directives,n?n.filter(O).map((function(t){var e=t.arguments;t.name.value,Object(i.b)(e&&1===e.length,14);var n=e[0];Object(i.b)(n.name&&"if"===n.name.value,15);var r=n.value;return Object(i.b)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:t,ifArgument:n}})):[]).every((function(t){var n=t.directive,r=t.ifArgument,o=!1;return"Variable"===r.value.kind?(o=e[r.value.name.value],Object(i.b)(void 0!==o,13)):o=r.value.value,"skip"===n.name.value?!o:o}));var n}function w(t,e){return function(t){var e=[];return Object(r.b)(t,{Directive:function(t){e.push(t.name.value)}}),e}(e).some((function(e){return t.indexOf(e)>-1}))}function S(t){return t&&w(["client"],t)&&w(["export"],t)}function O(t){var e=t.name.value;return"skip"===e||"include"===e}function x(t,e){var n=e,r=[];return t.definitions.forEach((function(t){if("OperationDefinition"===t.kind)throw new i.a(11);"FragmentDefinition"===t.kind&&r.push(t)})),"undefined"===typeof n&&(Object(i.b)(1===r.length,12),n=r[0].name.value),Object(o.a)(Object(o.a)({},t),{definitions:Object(o.e)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],t.definitions)})}function E(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach((function(e){"undefined"!==typeof e&&null!==e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function M(t){Object(i.b)(t&&"Document"===t.kind,2);var e=t.definitions.filter((function(t){return"FragmentDefinition"!==t.kind})).map((function(t){if("OperationDefinition"!==t.kind)throw new i.a(3);return t}));return Object(i.b)(e.length<=1,4),t}function T(t){return M(t),t.definitions.filter((function(t){return"OperationDefinition"===t.kind}))[0]}function $(t){return t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&t.name})).map((function(t){return t.name.value}))[0]||null}function A(t){return t.definitions.filter((function(t){return"FragmentDefinition"===t.kind}))}function k(t){var e=T(t);return Object(i.b)(e&&"query"===e.operation,6),e}function C(t){var e;M(t);for(var n=0,r=t.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||e||(e=o)}if(e)return e;throw new i.a(10)}function I(t){void 0===t&&(t=[]);var e={};return t.forEach((function(t){e[t.name.value]=t})),e}function P(t){if(t&&t.variableDefinitions&&t.variableDefinitions.length){var e=t.variableDefinitions.filter((function(t){return t.defaultValue})).map((function(t){var e=t.variable,n=t.defaultValue,r={};return s(r,e.name,n),r}));return E.apply(void 0,Object(o.e)([{}],e))}return{}}function N(t,e,n){var r=0;return t.forEach((function(n,i){e.call(this,n,i,t)&&(t[r++]=n)}),n),t.length=r,t}var R={kind:"Field",name:{kind:"Name",value:"__typename"}};function j(t,e){return t.selectionSet.selections.every((function(t){return"FragmentSpread"===t.kind&&j(e[t.name.value],e)}))}function D(t){return j(T(t)||function(t){Object(i.b)("Document"===t.kind,7),Object(i.b)(t.definitions.length<=1,8);var e=t.definitions[0];return Object(i.b)("FragmentDefinition"===e.kind,9),e}(t),I(A(t)))?null:t}function L(t){return function(e){return t.some((function(t){return t.name&&t.name===e.name.value||t.test&&t.test(e)}))}}function F(t,e){var n=Object.create(null),i=[],a=Object.create(null),u=[],s=D(Object(r.b)(e,{Variable:{enter:function(t,e,r){"VariableDefinition"!==r.kind&&(n[t.name.value]=!0)}},Field:{enter:function(e){if(t&&e.directives&&(t.some((function(t){return t.remove}))&&e.directives&&e.directives.some(L(t))))return e.arguments&&e.arguments.forEach((function(t){"Variable"===t.value.kind&&i.push({name:t.value.name.value})})),e.selectionSet&&H(e.selectionSet).forEach((function(t){u.push({name:t.name.value})})),null}},FragmentSpread:{enter:function(t){a[t.name.value]=!0}},Directive:{enter:function(e){if(L(t)(e))return null}}}));return s&&N(i,(function(t){return!n[t.name]})).length&&(s=function(t,e){var n=function(t){return function(e){return t.some((function(t){return e.value&&"Variable"===e.value.kind&&e.value.name&&(t.name===e.value.name.value||t.test&&t.test(e))}))}}(t);return D(Object(r.b)(e,{OperationDefinition:{enter:function(e){return Object(o.a)(Object(o.a)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return!t.some((function(t){return t.name===e.variable.name.value}))}))})}},Field:{enter:function(e){if(t.some((function(t){return t.remove}))){var r=0;if(e.arguments.forEach((function(t){n(t)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(t){if(n(t))return null}}}))}(i,s)),s&&N(u,(function(t){return!a[t.name]})).length&&(s=function(t,e){function n(e){if(t.some((function(t){return t.name===e.name.value})))return null}return D(Object(r.b)(e,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(u,s)),s}function B(t){return Object(r.b)(M(t),{SelectionSet:{enter:function(t,e,n){if(!n||"OperationDefinition"!==n.kind){var r=t.selections;if(r)if(!r.some((function(t){return p(t)&&("__typename"===t.name.value||0===t.name.value.lastIndexOf("__",0))}))){var i=n;if(!(p(i)&&i.directives&&i.directives.some((function(t){return"export"===t.name.value}))))return Object(o.a)(Object(o.a)({},t),{selections:Object(o.e)(r,[R])})}}}}})}var U={test:function(t){var e="connection"===t.name.value;return e&&(!t.arguments||t.arguments.some((function(t){return"key"===t.name.value}))),e}};function z(t){return F([U],M(t))}function H(t){var e=[];return t.selections.forEach((function(t){(p(t)||g(t))&&t.selectionSet?H(t.selectionSet).forEach((function(t){return e.push(t)})):"FragmentSpread"===t.kind&&e.push(t)})),e}function V(t){return"query"===C(t).operation?t:Object(r.b)(t,{OperationDefinition:{enter:function(t){return Object(o.a)(Object(o.a)({},t),{operation:"query"})}}})}function q(t){M(t);var e=F([{test:function(t){return"client"===t.name.value},remove:!0}],t);return e&&(e=Object(r.b)(e,{FragmentDefinition:{enter:function(t){if(t.selectionSet&&t.selectionSet.selections.every((function(t){return p(t)&&"__typename"===t.name.value})))return null}}})),e}var W="function"===typeof WeakMap&&!("object"===typeof navigator&&"ReactNative"===navigator.product),G=Object.prototype.toString;function K(t){return Y(t,new Map)}function Y(t,e){switch(G.call(t)){case"[object Array]":if(e.has(t))return e.get(t);var n=t.slice(0);return e.set(t,n),n.forEach((function(t,r){n[r]=Y(t,e)})),n;case"[object Object]":if(e.has(t))return e.get(t);var r=Object.create(Object.getPrototypeOf(t));return e.set(t,r),Object.keys(t).forEach((function(n){r[n]=Y(t[n],e)})),r;default:return t}}function Z(e){return("undefined"!==typeof t?"production":"development")===e}function Q(){return!0===Z("production")}function X(){return!0===Z("test")}function J(t){try{return t()}catch(e){console.error&&console.error(e)}}function tt(t){return t.errors&&t.errors.length}function et(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(e){null===t[e]||"object"!==typeof t[e]&&"function"!==typeof t[e]||Object.isFrozen(t[e])||et(t[e])})),t}function nt(t){if((!0===Z("development")||X())&&!("function"===typeof Symbol&&"string"===typeof Symbol("")))return et(t);return t}var rt=Object.prototype.hasOwnProperty;function it(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ot(t)}function ot(t){var e=t[0]||{},n=t.length;if(n>1){var r=[];e=st(e,r);for(var i=1;i<n;++i)e=ut(e,t[i],r)}return e}function at(t){return null!==t&&"object"===typeof t}function ut(t,e,n){return at(e)&&at(t)?(Object.isExtensible&&!Object.isExtensible(t)&&(t=st(t,n)),Object.keys(e).forEach((function(r){var i=e[r];if(rt.call(t,r)){var o=t[r];i!==o&&(t[r]=ut(st(o,n),i,n))}else t[r]=i})),t):e}function st(t,e){return null!==t&&"object"===typeof t&&e.indexOf(t)<0&&(t=Array.isArray(t)?t.slice(0):Object(o.a)({__proto__:Object.getPrototypeOf(t)},t),e.push(t)),t}Object.create({})}).call(this,n(70))},function(t,e,n){"use strict";n.r(e),n.d(e,"version",(function(){return r})),n.d(e,"bisect",(function(){return m})),n.d(e,"bisectRight",(function(){return h})),n.d(e,"bisectLeft",(function(){return p})),n.d(e,"bisectCenter",(function(){return g})),n.d(e,"ascending",(function(){return i})),n.d(e,"bisector",(function(){return o})),n.d(e,"count",(function(){return b})),n.d(e,"cross",(function(){return O})),n.d(e,"cumsum",(function(){return x})),n.d(e,"descending",(function(){return E})),n.d(e,"deviation",(function(){return T})),n.d(e,"extent",(function(){return $})),n.d(e,"fsum",(function(){return I})),n.d(e,"Adder",(function(){return C})),n.d(e,"group",(function(){return G})),n.d(e,"groups",(function(){return K})),n.d(e,"index",(function(){return Q})),n.d(e,"indexes",(function(){return X})),n.d(e,"rollup",(function(){return Y})),n.d(e,"rollups",(function(){return Z})),n.d(e,"groupSort",(function(){return rt})),n.d(e,"bin",(function(){return gt})),n.d(e,"histogram",(function(){return gt})),n.d(e,"thresholdFreedmanDiaconis",(function(){return St})),n.d(e,"thresholdScott",(function(){return Ot})),n.d(e,"thresholdSturges",(function(){return pt})),n.d(e,"max",(function(){return mt})),n.d(e,"maxIndex",(function(){return xt})),n.d(e,"mean",(function(){return Et})),n.d(e,"median",(function(){return Mt})),n.d(e,"merge",(function(){return At})),n.d(e,"min",(function(){return bt})),n.d(e,"minIndex",(function(){return kt})),n.d(e,"nice",(function(){return ht})),n.d(e,"pairs",(function(){return Ct})),n.d(e,"permute",(function(){return et})),n.d(e,"quantile",(function(){return _t})),n.d(e,"quantileSorted",(function(){return wt})),n.d(e,"quickselect",(function(){return vt})),n.d(e,"range",(function(){return Pt})),n.d(e,"least",(function(){return Nt})),n.d(e,"leastIndex",(function(){return Rt})),n.d(e,"greatest",(function(){return jt})),n.d(e,"greatestIndex",(function(){return Dt})),n.d(e,"scan",(function(){return Lt})),n.d(e,"shuffle",(function(){return Ft})),n.d(e,"shuffler",(function(){return Bt})),n.d(e,"sum",(function(){return Ut})),n.d(e,"ticks",(function(){return ft})),n.d(e,"tickIncrement",(function(){return lt})),n.d(e,"tickStep",(function(){return dt})),n.d(e,"transpose",(function(){return zt})),n.d(e,"variance",(function(){return M})),n.d(e,"zip",(function(){return Vt})),n.d(e,"every",(function(){return qt})),n.d(e,"some",(function(){return Wt})),n.d(e,"filter",(function(){return Gt})),n.d(e,"map",(function(){return Kt})),n.d(e,"reduce",(function(){return Yt})),n.d(e,"reverse",(function(){return Zt})),n.d(e,"sort",(function(){return nt})),n.d(e,"difference",(function(){return Qt})),n.d(e,"disjoint",(function(){return Xt})),n.d(e,"intersection",(function(){return te})),n.d(e,"subset",(function(){return ne})),n.d(e,"superset",(function(){return ee})),n.d(e,"union",(function(){return re})),n.d(e,"InternMap",(function(){return B})),n.d(e,"InternSet",(function(){return U})),n.d(e,"axisTop",(function(){return he})),n.d(e,"axisRight",(function(){return pe})),n.d(e,"axisBottom",(function(){return ge})),n.d(e,"axisLeft",(function(){return me})),n.d(e,"brush",(function(){return Vo})),n.d(e,"brushX",(function(){return zo})),n.d(e,"brushY",(function(){return Ho})),n.d(e,"brushSelection",(function(){return Uo})),n.d(e,"chord",(function(){return na})),n.d(e,"chordTranspose",(function(){return ra})),n.d(e,"chordDirected",(function(){return ia})),n.d(e,"ribbon",(function(){return Oa})),n.d(e,"ribbonArrow",(function(){return xa})),n.d(e,"color",(function(){return lr})),n.d(e,"rgb",(function(){return gr})),n.d(e,"hsl",(function(){return Sr})),n.d(e,"lab",(function(){return Na})),n.d(e,"hcl",(function(){return za})),n.d(e,"lch",(function(){return Ua})),n.d(e,"gray",(function(){return Pa})),n.d(e,"cubehelix",(function(){return tu})),n.d(e,"contours",(function(){return fu})),n.d(e,"contourDensity",(function(){return mu})),n.d(e,"Delaunay",(function(){return Fu})),n.d(e,"Voronoi",(function(){return Iu})),n.d(e,"dispatch",(function(){return Oe})),n.d(e,"drag",(function(){return Ku})),n.d(e,"dragDisable",(function(){return qn})),n.d(e,"dragEnable",(function(){return Wn})),n.d(e,"dsvFormat",(function(){return es})),n.d(e,"csvParse",(function(){return rs})),n.d(e,"csvParseRows",(function(){return is})),n.d(e,"csvFormat",(function(){return os})),n.d(e,"csvFormatBody",(function(){return as})),n.d(e,"csvFormatRows",(function(){return us})),n.d(e,"csvFormatRow",(function(){return ss})),n.d(e,"csvFormatValue",(function(){return cs})),n.d(e,"tsvParse",(function(){return ls})),n.d(e,"tsvParseRows",(function(){return ds})),n.d(e,"tsvFormat",(function(){return hs})),n.d(e,"tsvFormatBody",(function(){return ps})),n.d(e,"tsvFormatRows",(function(){return gs})),n.d(e,"tsvFormatRow",(function(){return ms})),n.d(e,"tsvFormatValue",(function(){return bs})),n.d(e,"autoType",(function(){return vs})),n.d(e,"easeLinear",(function(){return _s})),n.d(e,"easeQuad",(function(){return Os})),n.d(e,"easeQuadIn",(function(){return ws})),n.d(e,"easeQuadOut",(function(){return Ss})),n.d(e,"easeQuadInOut",(function(){return Os})),n.d(e,"easeCubic",(function(){return so})),n.d(e,"easeCubicIn",(function(){return ao})),n.d(e,"easeCubicOut",(function(){return uo})),n.d(e,"easeCubicInOut",(function(){return so})),n.d(e,"easePoly",(function(){return Ms})),n.d(e,"easePolyIn",(function(){return xs})),n.d(e,"easePolyOut",(function(){return Es})),n.d(e,"easePolyInOut",(function(){return Ms})),n.d(e,"easeSin",(function(){return Cs})),n.d(e,"easeSinIn",(function(){return As})),n.d(e,"easeSinOut",(function(){return ks})),n.d(e,"easeSinInOut",(function(){return Cs})),n.d(e,"easeExp",(function(){return Rs})),n.d(e,"easeExpIn",(function(){return Ps})),n.d(e,"easeExpOut",(function(){return Ns})),n.d(e,"easeExpInOut",(function(){return Rs})),n.d(e,"easeCircle",(function(){return Ls})),n.d(e,"easeCircleIn",(function(){return js})),n.d(e,"easeCircleOut",(function(){return Ds})),n.d(e,"easeCircleInOut",(function(){return Ls})),n.d(e,"easeBounce",(function(){return zs})),n.d(e,"easeBounceIn",(function(){return Us})),n.d(e,"easeBounceOut",(function(){return zs})),n.d(e,"easeBounceInOut",(function(){return Hs})),n.d(e,"easeBack",(function(){return Gs})),n.d(e,"easeBackIn",(function(){return qs})),n.d(e,"easeBackOut",(function(){return Ws})),n.d(e,"easeBackInOut",(function(){return Gs})),n.d(e,"easeElastic",(function(){return Zs})),n.d(e,"easeElasticIn",(function(){return Ys})),n.d(e,"easeElasticOut",(function(){return Zs})),n.d(e,"easeElasticInOut",(function(){return Qs})),n.d(e,"blob",(function(){return Js})),n.d(e,"buffer",(function(){return ec})),n.d(e,"dsv",(function(){return oc})),n.d(e,"csv",(function(){return ac})),n.d(e,"tsv",(function(){return uc})),n.d(e,"image",(function(){return sc})),n.d(e,"json",(function(){return fc})),n.d(e,"text",(function(){return rc})),n.d(e,"xml",(function(){return dc})),n.d(e,"html",(function(){return hc})),n.d(e,"svg",(function(){return pc})),n.d(e,"forceCenter",(function(){return gc})),n.d(e,"forceCollide",(function(){return $c})),n.d(e,"forceLink",(function(){return Cc})),n.d(e,"forceManyBody",(function(){return Dc})),n.d(e,"forceRadial",(function(){return Lc})),n.d(e,"forceSimulation",(function(){return jc})),n.d(e,"forceX",(function(){return Fc})),n.d(e,"forceY",(function(){return Bc})),n.d(e,"formatDefaultLocale",(function(){return nf})),n.d(e,"format",(function(){return Kc})),n.d(e,"formatPrefix",(function(){return Yc})),n.d(e,"formatLocale",(function(){return ef})),n.d(e,"formatSpecifier",(function(){return Vc})),n.d(e,"FormatSpecifier",(function(){return qc})),n.d(e,"precisionFixed",(function(){return rf})),n.d(e,"precisionPrefix",(function(){return of})),n.d(e,"precisionRound",(function(){return af})),n.d(e,"geoArea",(function(){return ul})),n.d(e,"geoBounds",(function(){return zl})),n.d(e,"geoCentroid",(function(){return td})),n.d(e,"geoCircle",(function(){return ld})),n.d(e,"geoClipAntimeridian",(function(){return Sd})),n.d(e,"geoClipCircle",(function(){return Od})),n.d(e,"geoClipExtent",(function(){return Cd})),n.d(e,"geoClipRectangle",(function(){return Md})),n.d(e,"geoContains",(function(){return Kd})),n.d(e,"geoDistance",(function(){return Fd})),n.d(e,"geoGraticule",(function(){return Qd})),n.d(e,"geoGraticule10",(function(){return Xd})),n.d(e,"geoInterpolate",(function(){return rh})),n.d(e,"geoLength",(function(){return jd})),n.d(e,"geoPath",(function(){return ep})),n.d(e,"geoAlbers",(function(){return yp})),n.d(e,"geoAlbersUsa",(function(){return _p})),n.d(e,"geoAzimuthalEqualArea",(function(){return xp})),n.d(e,"geoAzimuthalEqualAreaRaw",(function(){return Op})),n.d(e,"geoAzimuthalEquidistant",(function(){return Mp})),n.d(e,"geoAzimuthalEquidistantRaw",(function(){return Ep})),n.d(e,"geoConicConformal",(function(){return Ip})),n.d(e,"geoConicConformalRaw",(function(){return Cp})),n.d(e,"geoConicEqualArea",(function(){return vp})),n.d(e,"geoConicEqualAreaRaw",(function(){return bp})),n.d(e,"geoConicEquidistant",(function(){return jp})),n.d(e,"geoConicEquidistantRaw",(function(){return Rp})),n.d(e,"geoEqualEarth",(function(){return Hp})),n.d(e,"geoEqualEarthRaw",(function(){return zp})),n.d(e,"geoEquirectangular",(function(){return Np})),n.d(e,"geoEquirectangularRaw",(function(){return Pp})),n.d(e,"geoGnomonic",(function(){return qp})),n.d(e,"geoGnomonicRaw",(function(){return Vp})),n.d(e,"geoIdentity",(function(){return Wp})),n.d(e,"geoProjection",(function(){return pp})),n.d(e,"geoProjectionMutator",(function(){return gp})),n.d(e,"geoMercator",(function(){return $p})),n.d(e,"geoMercatorRaw",(function(){return Tp})),n.d(e,"geoNaturalEarth1",(function(){return Kp})),n.d(e,"geoNaturalEarth1Raw",(function(){return Gp})),n.d(e,"geoOrthographic",(function(){return Zp})),n.d(e,"geoOrthographicRaw",(function(){return Yp})),n.d(e,"geoStereographic",(function(){return Xp})),n.d(e,"geoStereographicRaw",(function(){return Qp})),n.d(e,"geoTransverseMercator",(function(){return tg})),n.d(e,"geoTransverseMercatorRaw",(function(){return Jp})),n.d(e,"geoRotation",(function(){return sd})),n.d(e,"geoStream",(function(){return zf})),n.d(e,"geoTransform",(function(){return np})),n.d(e,"cluster",(function(){return ig})),n.d(e,"hierarchy",(function(){return sg})),n.d(e,"pack",(function(){return Pg})),n.d(e,"packSiblings",(function(){return Tg})),n.d(e,"packEnclose",(function(){return pg})),n.d(e,"partition",(function(){return Fg})),n.d(e,"stratify",(function(){return Vg})),n.d(e,"tree",(function(){return Qg})),n.d(e,"treemap",(function(){return nm})),n.d(e,"treemapBinary",(function(){return rm})),n.d(e,"treemapDice",(function(){return Lg})),n.d(e,"treemapSlice",(function(){return Xg})),n.d(e,"treemapSliceDice",(function(){return im})),n.d(e,"treemapSquarify",(function(){return em})),n.d(e,"treemapResquarify",(function(){return om})),n.d(e,"interpolate",(function(){return Yr})),n.d(e,"interpolateArray",(function(){return Fr})),n.d(e,"interpolateBasis",(function(){return Mr})),n.d(e,"interpolateBasisClosed",(function(){return Tr})),n.d(e,"interpolateDate",(function(){return Ur})),n.d(e,"interpolateDiscrete",(function(){return am})),n.d(e,"interpolateHue",(function(){return um})),n.d(e,"interpolateNumber",(function(){return zr})),n.d(e,"interpolateNumberArray",(function(){return Dr})),n.d(e,"interpolateObject",(function(){return Hr})),n.d(e,"interpolateRound",(function(){return sm})),n.d(e,"interpolateString",(function(){return Kr})),n.d(e,"interpolateTransformCss",(function(){return Ti})),n.d(e,"interpolateTransformSvg",(function(){return $i})),n.d(e,"interpolateZoom",(function(){return fm})),n.d(e,"interpolateRgb",(function(){return Pr})),n.d(e,"interpolateRgbBasis",(function(){return Rr})),n.d(e,"interpolateRgbBasisClosed",(function(){return jr})),n.d(e,"interpolateHsl",(function(){return dm})),n.d(e,"interpolateHslLong",(function(){return hm})),n.d(e,"interpolateLab",(function(){return pm})),n.d(e,"interpolateHcl",(function(){return mm})),n.d(e,"interpolateHclLong",(function(){return bm})),n.d(e,"interpolateCubehelix",(function(){return ym})),n.d(e,"interpolateCubehelixLong",(function(){return _m})),n.d(e,"piecewise",(function(){return wm})),n.d(e,"quantize",(function(){return Sm})),n.d(e,"path",(function(){return da})),n.d(e,"polygonArea",(function(){return Om})),n.d(e,"polygonCentroid",(function(){return xm})),n.d(e,"polygonHull",(function(){return Tm})),n.d(e,"polygonContains",(function(){return $m})),n.d(e,"polygonLength",(function(){return Am})),n.d(e,"quadtree",(function(){return _c})),n.d(e,"randomUniform",(function(){return Cm})),n.d(e,"randomInt",(function(){return Im})),n.d(e,"randomNormal",(function(){return Pm})),n.d(e,"randomLogNormal",(function(){return Nm})),n.d(e,"randomBates",(function(){return jm})),n.d(e,"randomIrwinHall",(function(){return Rm})),n.d(e,"randomExponential",(function(){return Dm})),n.d(e,"randomPareto",(function(){return Lm})),n.d(e,"randomBernoulli",(function(){return Fm})),n.d(e,"randomGeometric",(function(){return Bm})),n.d(e,"randomBinomial",(function(){return Hm})),n.d(e,"randomGamma",(function(){return Um})),n.d(e,"randomBeta",(function(){return zm})),n.d(e,"randomWeibull",(function(){return Vm})),n.d(e,"randomCauchy",(function(){return qm})),n.d(e,"randomLogistic",(function(){return Wm})),n.d(e,"randomPoisson",(function(){return Gm})),n.d(e,"randomLcg",(function(){return Qm})),n.d(e,"scaleBand",(function(){return nb})),n.d(e,"scalePoint",(function(){return ib})),n.d(e,"scaleIdentity",(function(){return bb})),n.d(e,"scaleLinear",(function(){return mb})),n.d(e,"scaleLog",(function(){return Mb})),n.d(e,"scaleSymlog",(function(){return kb})),n.d(e,"scaleOrdinal",(function(){return eb})),n.d(e,"scaleImplicit",(function(){return tb})),n.d(e,"scalePow",(function(){return Rb})),n.d(e,"scaleSqrt",(function(){return jb})),n.d(e,"scaleRadial",(function(){return Fb})),n.d(e,"scaleQuantile",(function(){return Bb})),n.d(e,"scaleQuantize",(function(){return Ub})),n.d(e,"scaleThreshold",(function(){return zb})),n.d(e,"scaleTime",(function(){return j_})),n.d(e,"scaleUtc",(function(){return W_})),n.d(e,"scaleSequential",(function(){return Y_})),n.d(e,"scaleSequentialLog",(function(){return Z_})),n.d(e,"scaleSequentialPow",(function(){return X_})),n.d(e,"scaleSequentialSqrt",(function(){return J_})),n.d(e,"scaleSequentialSymlog",(function(){return Q_})),n.d(e,"scaleSequentialQuantile",(function(){return tw})),n.d(e,"scaleDiverging",(function(){return nw})),n.d(e,"scaleDivergingLog",(function(){return rw})),n.d(e,"scaleDivergingPow",(function(){return ow})),n.d(e,"scaleDivergingSqrt",(function(){return aw})),n.d(e,"scaleDivergingSymlog",(function(){return iw})),n.d(e,"tickFormat",(function(){return pb})),n.d(e,"schemeCategory10",(function(){return sw})),n.d(e,"schemeAccent",(function(){return cw})),n.d(e,"schemeDark2",(function(){return fw})),n.d(e,"schemePaired",(function(){return lw})),n.d(e,"schemePastel1",(function(){return dw})),n.d(e,"schemePastel2",(function(){return hw})),n.d(e,"schemeSet1",(function(){return pw})),n.d(e,"schemeSet2",(function(){return gw})),n.d(e,"schemeSet3",(function(){return mw})),n.d(e,"schemeTableau10",(function(){return bw})),n.d(e,"interpolateBrBG",(function(){return _w})),n.d(e,"schemeBrBG",(function(){return yw})),n.d(e,"interpolatePRGn",(function(){return Sw})),n.d(e,"schemePRGn",(function(){return ww})),n.d(e,"interpolatePiYG",(function(){return xw})),n.d(e,"schemePiYG",(function(){return Ow})),n.d(e,"interpolatePuOr",(function(){return Mw})),n.d(e,"schemePuOr",(function(){return Ew})),n.d(e,"interpolateRdBu",(function(){return $w})),n.d(e,"schemeRdBu",(function(){return Tw})),n.d(e,"interpolateRdGy",(function(){return kw})),n.d(e,"schemeRdGy",(function(){return Aw})),n.d(e,"interpolateRdYlBu",(function(){return Iw})),n.d(e,"schemeRdYlBu",(function(){return Cw})),n.d(e,"interpolateRdYlGn",(function(){return Nw})),n.d(e,"schemeRdYlGn",(function(){return Pw})),n.d(e,"interpolateSpectral",(function(){return jw})),n.d(e,"schemeSpectral",(function(){return Rw})),n.d(e,"interpolateBuGn",(function(){return Lw})),n.d(e,"schemeBuGn",(function(){return Dw})),n.d(e,"interpolateBuPu",(function(){return Bw})),n.d(e,"schemeBuPu",(function(){return Fw})),n.d(e,"interpolateGnBu",(function(){return zw})),n.d(e,"schemeGnBu",(function(){return Uw})),n.d(e,"interpolateOrRd",(function(){return Vw})),n.d(e,"schemeOrRd",(function(){return Hw})),n.d(e,"interpolatePuBuGn",(function(){return Ww})),n.d(e,"schemePuBuGn",(function(){return qw})),n.d(e,"interpolatePuBu",(function(){return Kw})),n.d(e,"schemePuBu",(function(){return Gw})),n.d(e,"interpolatePuRd",(function(){return Zw})),n.d(e,"schemePuRd",(function(){return Yw})),n.d(e,"interpolateRdPu",(function(){return Xw})),n.d(e,"schemeRdPu",(function(){return Qw})),n.d(e,"interpolateYlGnBu",(function(){return tS})),n.d(e,"schemeYlGnBu",(function(){return Jw})),n.d(e,"interpolateYlGn",(function(){return nS})),n.d(e,"schemeYlGn",(function(){return eS})),n.d(e,"interpolateYlOrBr",(function(){return iS})),n.d(e,"schemeYlOrBr",(function(){return rS})),n.d(e,"interpolateYlOrRd",(function(){return aS})),n.d(e,"schemeYlOrRd",(function(){return oS})),n.d(e,"interpolateBlues",(function(){return sS})),n.d(e,"schemeBlues",(function(){return uS})),n.d(e,"interpolateGreens",(function(){return fS})),n.d(e,"schemeGreens",(function(){return cS})),n.d(e,"interpolateGreys",(function(){return dS})),n.d(e,"schemeGreys",(function(){return lS})),n.d(e,"interpolatePurples",(function(){return pS})),n.d(e,"schemePurples",(function(){return hS})),n.d(e,"interpolateReds",(function(){return mS})),n.d(e,"schemeReds",(function(){return gS})),n.d(e,"interpolateOranges",(function(){return vS})),n.d(e,"schemeOranges",(function(){return bS})),n.d(e,"interpolateCividis",(function(){return yS})),n.d(e,"interpolateCubehelixDefault",(function(){return _S})),n.d(e,"interpolateRainbow",(function(){return xS})),n.d(e,"interpolateWarm",(function(){return wS})),n.d(e,"interpolateCool",(function(){return SS})),n.d(e,"interpolateSinebow",(function(){return $S})),n.d(e,"interpolateTurbo",(function(){return AS})),n.d(e,"interpolateViridis",(function(){return CS})),n.d(e,"interpolateMagma",(function(){return IS})),n.d(e,"interpolateInferno",(function(){return PS})),n.d(e,"interpolatePlasma",(function(){return NS})),n.d(e,"create",(function(){return RS})),n.d(e,"creator",(function(){return En})),n.d(e,"local",(function(){return DS})),n.d(e,"matcher",(function(){return ke})),n.d(e,"namespace",(function(){return qe})),n.d(e,"namespaces",(function(){return Ve})),n.d(e,"pointer",(function(){return Qr})),n.d(e,"pointers",(function(){return FS})),n.d(e,"select",(function(){return zn})),n.d(e,"selectAll",(function(){return BS})),n.d(e,"selection",(function(){return Un})),n.d(e,"selector",(function(){return Me})),n.d(e,"selectorAll",(function(){return Ae})),n.d(e,"style",(function(){return nn})),n.d(e,"window",(function(){return Xe})),n.d(e,"arc",(function(){return sO})),n.d(e,"area",(function(){return mO})),n.d(e,"line",(function(){return gO})),n.d(e,"pie",(function(){return yO})),n.d(e,"areaRadial",(function(){return EO})),n.d(e,"radialArea",(function(){return EO})),n.d(e,"lineRadial",(function(){return xO})),n.d(e,"radialLine",(function(){return xO})),n.d(e,"pointRadial",(function(){return MO})),n.d(e,"linkHorizontal",(function(){return PO})),n.d(e,"linkVertical",(function(){return NO})),n.d(e,"linkRadial",(function(){return RO})),n.d(e,"symbol",(function(){return tx})),n.d(e,"symbols",(function(){return JO})),n.d(e,"symbolCircle",(function(){return jO})),n.d(e,"symbolCross",(function(){return DO})),n.d(e,"symbolDiamond",(function(){return BO})),n.d(e,"symbolSquare",(function(){return qO})),n.d(e,"symbolStar",(function(){return VO})),n.d(e,"symbolTriangle",(function(){return GO})),n.d(e,"symbolWye",(function(){return XO})),n.d(e,"curveBasisClosed",(function(){return ax})),n.d(e,"curveBasisOpen",(function(){return sx})),n.d(e,"curveBasis",(function(){return ix})),n.d(e,"curveBundle",(function(){return fx})),n.d(e,"curveCardinalClosed",(function(){return gx})),n.d(e,"curveCardinalOpen",(function(){return bx})),n.d(e,"curveCardinal",(function(){return hx})),n.d(e,"curveCatmullRomClosed",(function(){return Sx})),n.d(e,"curveCatmullRomOpen",(function(){return xx})),n.d(e,"curveCatmullRom",(function(){return _x})),n.d(e,"curveLinearClosed",(function(){return Mx})),n.d(e,"curveLinear",(function(){return dO})),n.d(e,"curveMonotoneX",(function(){return Nx})),n.d(e,"curveMonotoneY",(function(){return Rx})),n.d(e,"curveNatural",(function(){return Lx})),n.d(e,"curveStep",(function(){return Bx})),n.d(e,"curveStepAfter",(function(){return zx})),n.d(e,"curveStepBefore",(function(){return Ux})),n.d(e,"stack",(function(){return Gx})),n.d(e,"stackOffsetExpand",(function(){return Kx})),n.d(e,"stackOffsetDiverging",(function(){return Yx})),n.d(e,"stackOffsetNone",(function(){return Hx})),n.d(e,"stackOffsetSilhouette",(function(){return Zx})),n.d(e,"stackOffsetWiggle",(function(){return Qx})),n.d(e,"stackOrderAppearance",(function(){return Xx})),n.d(e,"stackOrderAscending",(function(){return tE})),n.d(e,"stackOrderDescending",(function(){return nE})),n.d(e,"stackOrderInsideOut",(function(){return rE})),n.d(e,"stackOrderNone",(function(){return Vx})),n.d(e,"stackOrderReverse",(function(){return iE})),n.d(e,"timeInterval",(function(){return qb})),n.d(e,"timeMillisecond",(function(){return Cv})),n.d(e,"timeMilliseconds",(function(){return Iv})),n.d(e,"utcMillisecond",(function(){return Cv})),n.d(e,"utcMilliseconds",(function(){return Iv})),n.d(e,"timeSecond",(function(){return $v})),n.d(e,"timeSeconds",(function(){return Av})),n.d(e,"utcSecond",(function(){return $v})),n.d(e,"utcSeconds",(function(){return Av})),n.d(e,"timeMinute",(function(){return Ev})),n.d(e,"timeMinutes",(function(){return Mv})),n.d(e,"timeHour",(function(){return Sv})),n.d(e,"timeHours",(function(){return Ov})),n.d(e,"timeDay",(function(){return yv})),n.d(e,"timeDays",(function(){return _v})),n.d(e,"timeWeek",(function(){return iv})),n.d(e,"timeWeeks",(function(){return lv})),n.d(e,"timeSunday",(function(){return iv})),n.d(e,"timeSundays",(function(){return lv})),n.d(e,"timeMonday",(function(){return ov})),n.d(e,"timeMondays",(function(){return dv})),n.d(e,"timeTuesday",(function(){return av})),n.d(e,"timeTuesdays",(function(){return hv})),n.d(e,"timeWednesday",(function(){return uv})),n.d(e,"timeWednesdays",(function(){return pv})),n.d(e,"timeThursday",(function(){return sv})),n.d(e,"timeThursdays",(function(){return gv})),n.d(e,"timeFriday",(function(){return cv})),n.d(e,"timeFridays",(function(){return mv})),n.d(e,"timeSaturday",(function(){return fv})),n.d(e,"timeSaturdays",(function(){return bv})),n.d(e,"timeMonth",(function(){return Zb})),n.d(e,"timeMonths",(function(){return Qb})),n.d(e,"timeYear",(function(){return Gb})),n.d(e,"timeYears",(function(){return Kb})),n.d(e,"utcMinute",(function(){return V_})),n.d(e,"utcMinutes",(function(){return q_})),n.d(e,"utcHour",(function(){return U_})),n.d(e,"utcHours",(function(){return z_})),n.d(e,"utcDay",(function(){return Yv})),n.d(e,"utcDays",(function(){return Zv})),n.d(e,"utcWeek",(function(){return Nv})),n.d(e,"utcWeeks",(function(){return Uv})),n.d(e,"utcSunday",(function(){return Nv})),n.d(e,"utcSundays",(function(){return Uv})),n.d(e,"utcMonday",(function(){return Rv})),n.d(e,"utcMondays",(function(){return zv})),n.d(e,"utcTuesday",(function(){return jv})),n.d(e,"utcTuesdays",(function(){return Hv})),n.d(e,"utcWednesday",(function(){return Dv})),n.d(e,"utcWednesdays",(function(){return Vv})),n.d(e,"utcThursday",(function(){return Lv})),n.d(e,"utcThursdays",(function(){return qv})),n.d(e,"utcFriday",(function(){return Fv})),n.d(e,"utcFridays",(function(){return Wv})),n.d(e,"utcSaturday",(function(){return Bv})),n.d(e,"utcSaturdays",(function(){return Gv})),n.d(e,"utcMonth",(function(){return L_})),n.d(e,"utcMonths",(function(){return F_})),n.d(e,"utcYear",(function(){return Xv})),n.d(e,"utcYears",(function(){return Jv})),n.d(e,"timeFormatDefaultLocale",(function(){return M_})),n.d(e,"timeFormat",(function(){return oy})),n.d(e,"timeParse",(function(){return ay})),n.d(e,"utcFormat",(function(){return uy})),n.d(e,"utcParse",(function(){return sy})),n.d(e,"timeFormatLocale",(function(){return ry})),n.d(e,"isoFormat",(function(){return aE})),n.d(e,"isoParse",(function(){return uE})),n.d(e,"now",(function(){return ai})),n.d(e,"timer",(function(){return ci})),n.d(e,"timerFlush",(function(){return fi})),n.d(e,"timeout",(function(){return pi})),n.d(e,"interval",(function(){return sE})),n.d(e,"transition",(function(){return ro})),n.d(e,"active",(function(){return ho})),n.d(e,"interrupt",(function(){return Si})),n.d(e,"zoom",(function(){return SE})),n.d(e,"zoomTransform",(function(){return hE})),n.d(e,"zoomIdentity",(function(){return dE}));var r="6.5.0",i=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},o=function(t){var e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=function(e,n){return t(e)-n},n=function(t){return function(e,n){return i(t(e),n)}}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);var a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}};var a=n(34),u=n.n(a),s=n(23),c=u.a.mark(l),f=function(t){return null===t?NaN:+t};function l(t,e){var n,r,i,o,a,f,l;return u.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(void 0!==e){u.next=21;break}n=Object(s.a)(t),u.prev=2,n.s();case 4:if((r=n.n()).done){u.next=11;break}if(!(null!=(i=r.value)&&(i=+i)>=i)){u.next=9;break}return u.next=9,i;case 9:u.next=4;break;case 11:u.next=16;break;case 13:u.prev=13,u.t0=u.catch(2),n.e(u.t0);case 16:return u.prev=16,n.f(),u.finish(16);case 19:u.next=40;break;case 21:o=-1,a=Object(s.a)(t),u.prev=23,a.s();case 25:if((f=a.n()).done){u.next=32;break}if(l=f.value,!(null!=(l=e(l,++o,t))&&(l=+l)>=l)){u.next=30;break}return u.next=30,l;case 30:u.next=25;break;case 32:u.next=37;break;case 34:u.prev=34,u.t1=u.catch(23),a.e(u.t1);case 37:return u.prev=37,a.f(),u.finish(37);case 40:case"end":return u.stop()}}),c,null,[[2,13,16,19],[23,34,37,40]])}var d=o(i),h=d.right,p=d.left,g=o(f).center,m=h;function b(t,e){var n=0;if(void 0===e){var r,i=Object(s.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(o=+o)>=o&&++n}}catch(l){i.e(l)}finally{i.f()}}else{var a,u=-1,c=Object(s.a)(t);try{for(c.s();!(a=c.n()).done;){var f=a.value;null!=(f=e(f,++u,t))&&(f=+f)>=f&&++n}}catch(l){c.e(l)}finally{c.f()}}return n}var v=n(50);function y(t){return 0|t.length}function _(t){return!(t>0)}function w(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function S(t){return function(e){return t.apply(void 0,Object(v.a)(e))}}function O(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r="function"===typeof e[e.length-1]&&S(e.pop()),i=(e=e.map(w)).map(y),o=e.length-1,a=new Array(o+1).fill(0),u=[];if(o<0||i.some(_))return u;for(;;){u.push(a.map((function(t,n){return e[n][t]})));for(var s=o;++a[s]===i[s];){if(0===s)return r?u.map(r):u;a[s--]=0}}}function x(t,e){var n=0,r=0;return Float64Array.from(t,void 0===e?function(t){return n+=+t||0}:function(i){return n+=+e(i,r++,t)||0})}var E=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN};function M(t,e){var n,r=0,i=0,o=0;if(void 0===e){var a,u=Object(s.a)(t);try{for(u.s();!(a=u.n()).done;){var c=a.value;null!=c&&(c=+c)>=c&&(o+=(n=c-i)*(c-(i+=n/++r)))}}catch(p){u.e(p)}finally{u.f()}}else{var f,l=-1,d=Object(s.a)(t);try{for(d.s();!(f=d.n()).done;){var h=f.value;null!=(h=e(h,++l,t))&&(h=+h)>=h&&(o+=(n=h-i)*(h-(i+=n/++r)))}}catch(p){d.e(p)}finally{d.f()}}if(r>1)return o/(r-1)}function T(t,e){var n=M(t,e);return n?Math.sqrt(n):n}var $=function(t,e){var n,r;if(void 0===e){var i,o=Object(s.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(void 0===n?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}}catch(d){o.e(d)}finally{o.f()}}else{var u,c=-1,f=Object(s.a)(t);try{for(f.s();!(u=f.n()).done;){var l=u.value;null!=(l=e(l,++c,t))&&(void 0===n?l>=l&&(n=r=l):(n>l&&(n=l),r<l&&(r=l)))}}catch(d){f.e(d)}finally{f.f()}}return[n,r]},A=n(45),k=n(46),C=function(){function t(){Object(A.a)(this,t),this._partials=new Float64Array(32),this._n=0}return Object(k.a)(t,[{key:"add",value:function(t){for(var e=this._partials,n=0,r=0;r<this._n&&r<32;r++){var i=e[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[n++]=a),t=o}return e[n]=t,this._n=n+1,this}},{key:"valueOf",value:function(){var t,e,n,r=this._partials,i=this._n,o=0;if(i>0){for(o=r[--i];i>0&&(t=o,!(n=(e=r[--i])-((o=t+e)-t))););i>0&&(n<0&&r[i-1]<0||n>0&&r[i-1]>0)&&(e=2*n)==(t=o+e)-o&&(o=t)}return o}}]),t}(),I=function(t,e){var n=new C;if(void 0===e){var r,i=Object(s.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;(o=+o)&&n.add(o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,u=-1,c=Object(s.a)(t);try{for(c.s();!(a=c.n()).done;){var f=a.value;(f=+e(f,++u,t))&&n.add(f)}}catch(l){c.e(l)}finally{c.f()}}return+n},P=n(2),N=n(190),R=n(62),j=n(51),D=n(86),L=n(87),F=n(250),B=function(t){Object(D.a)(n,t);var e=Object(L.a)(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;Object(A.a)(this,n),t=e.call(this),Object.defineProperties(Object(N.a)(t),{_intern:{value:new Map},_key:{value:i}});var o,a=Object(s.a)(r);try{for(a.s();!(o=a.n()).done;){var u=Object(P.a)(o.value,2),c=u[0],f=u[1];t.set(c,f)}}catch(l){a.e(l)}finally{a.f()}return t}return Object(k.a)(n,[{key:"get",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"get",this).call(this,z(this,t))}},{key:"has",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"has",this).call(this,z(this,t))}},{key:"set",value:function(t,e){return Object(R.a)(Object(j.a)(n.prototype),"set",this).call(this,H(this,t),e)}},{key:"delete",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"delete",this).call(this,V(this,t))}}]),n}(Object(F.a)(Map)),U=function(t){Object(D.a)(n,t);var e=Object(L.a)(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;Object(A.a)(this,n),t=e.call(this),Object.defineProperties(Object(N.a)(t),{_intern:{value:new Map},_key:{value:i}});var o,a=Object(s.a)(r);try{for(a.s();!(o=a.n()).done;){var u=o.value;t.add(u)}}catch(c){a.e(c)}finally{a.f()}return t}return Object(k.a)(n,[{key:"has",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"has",this).call(this,z(this,t))}},{key:"add",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"add",this).call(this,H(this,t))}},{key:"delete",value:function(t){return Object(R.a)(Object(j.a)(n.prototype),"delete",this).call(this,V(this,t))}}]),n}(Object(F.a)(Set));function z(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)?n.get(r):e}function H(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)?n.get(r):(n.set(r,e),e)}function V(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)&&(e=n.get(e),n.delete(r)),e}function q(t){return null!==t&&"object"===typeof t?t.valueOf():t}var W=function(t){return t};function G(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return tt(t,W,W,n)}function K(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return tt(t,Array.from,W,n)}function Y(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return tt(t,W,e,r)}function Z(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return tt(t,Array.from,e,r)}function Q(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return tt(t,W,J,n)}function X(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return tt(t,Array.from,J,n)}function J(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function tt(t,e,n,r){return function t(i,o){if(o>=r.length)return n(i);var a,u=new B,c=r[o++],f=-1,l=Object(s.a)(i);try{for(l.s();!(a=l.n()).done;){var d=a.value,h=c(d,++f,i),p=u.get(h);p?p.push(d):u.set(h,[d])}}catch(_){l.e(_)}finally{l.f()}var g,m=Object(s.a)(u);try{for(m.s();!(g=m.n()).done;){var b=Object(P.a)(g.value,2),v=b[0],y=b[1];u.set(v,t(y,o))}}catch(_){m.e(_)}finally{m.f()}return e(u)}(t,0)}var et=function(t,e){return Array.from(e,(function(e){return t[e]}))};function nt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);var o=n,a=Object(P.a)(o,1),u=a[0],c=void 0===u?i:u;if(1===c.length||n.length>1){var f=Uint32Array.from(t,(function(t,e){return e}));return n.length>1?(n=n.map((function(e){return t.map(e)})),f.sort((function(t,e){var r,o=Object(s.a)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,u=i(a[t],a[e]);if(u)return u}}catch(c){o.e(c)}finally{o.f()}}))):(c=t.map(c),f.sort((function(t,e){return i(c[t],c[e])}))),et(t,f)}return t.sort(c)}function rt(t,e,n){return(1===e.length?nt(Y(t,e,n),(function(t,e){var n=Object(P.a)(t,2),r=n[0],o=n[1],a=Object(P.a)(e,2),u=a[0],s=a[1];return i(o,s)||i(r,u)})):nt(G(t,n),(function(t,n){var r=Object(P.a)(t,2),o=r[0],a=r[1],u=Object(P.a)(n,2),s=u[0],c=u[1];return e(a,c)||i(o,s)}))).map((function(t){return Object(P.a)(t,1)[0]}))}var it=Array.prototype,ot=it.slice,at=(it.map,function(t){return function(){return t}}),ut=Math.sqrt(50),st=Math.sqrt(10),ct=Math.sqrt(2),ft=function(t,e,n){var r,i,o,a,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=lt(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++u<i;)o[u]=(t+u)*a;else for(a=-a,t=Math.ceil(t*a),e=Math.floor(e*a),o=new Array(i=Math.ceil(e-t+1));++u<i;)o[u]=(t+u)/a;return r&&o.reverse(),o};function lt(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ut?10:o>=st?5:o>=ct?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ut?10:o>=st?5:o>=ct?2:1)}function dt(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ut?i*=10:o>=st?i*=5:o>=ct&&(i*=2),e<t?-i:i}function ht(t,e,n){for(var r;;){var i=lt(t,e,n);if(i===r||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}var pt=function(t){return Math.ceil(Math.log(b(t))/Math.LN2)+1},gt=function(){var t=W,e=$,n=pt;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a=r.length,u=new Array(a);for(i=0;i<a;++i)u[i]=t(r[i],i,r);var s=e(u),c=s[0],f=s[1],l=n(u,c,f);if(!Array.isArray(l)){var d=f,h=+l;if(e===$){var p=ht(c,f,h),g=Object(P.a)(p,2);c=g[0],f=g[1]}if((l=ft(c,f,h))[l.length-1]>=f)if(d>=f&&e===$){var b=lt(c,f,h);isFinite(b)&&(b>0?f=(Math.floor(f/b)+1)*b:b<0&&(f=(Math.ceil(f*-b)+1)/-b))}else l.pop()}for(var v=l.length;l[0]<=c;)l.shift(),--v;for(;l[v-1]>f;)l.pop(),--v;var y,_=new Array(v+1);for(i=0;i<=v;++i)(y=_[i]=[]).x0=i>0?l[i-1]:c,y.x1=i<v?l[i]:f;for(i=0;i<a;++i)c<=(o=u[i])&&o<=f&&_[m(l,o,0,v)].push(r[i]);return _}return r.value=function(e){return arguments.length?(t="function"===typeof e?e:at(e),r):t},r.domain=function(t){return arguments.length?(e="function"===typeof t?t:at([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"===typeof t?t:Array.isArray(t)?at(ot.call(t)):at(t),r):n},r};function mt(t,e){var n;if(void 0===e){var r,i=Object(s.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n<o||void 0===n&&o>=o)&&(n=o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,u=-1,c=Object(s.a)(t);try{for(c.s();!(a=c.n()).done;){var f=a.value;null!=(f=e(f,++u,t))&&(n<f||void 0===n&&f>=f)&&(n=f)}}catch(l){c.e(l)}finally{c.f()}}return n}function bt(t,e){var n;if(void 0===e){var r,i=Object(s.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n>o||void 0===n&&o>=o)&&(n=o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,u=-1,c=Object(s.a)(t);try{for(c.s();!(a=c.n()).done;){var f=a.value;null!=(f=e(f,++u,t))&&(n>f||void 0===n&&f>=f)&&(n=f)}}catch(l){c.e(l)}finally{c.f()}}return n}function vt(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i;r>n;){if(r-n>600){var a=r-n+1,u=e-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),f=.5*Math.sqrt(s*c*(a-c)/a)*(u-a/2<0?-1:1),l=Math.max(n,Math.floor(e-u*c/a+f)),d=Math.min(r,Math.floor(e+(a-u)*c/a+f));vt(t,e,l,d,o)}var h=t[e],p=n,g=r;for(yt(t,n,e),o(t[r],h)>0&&yt(t,n,r);p<g;){for(yt(t,p,g),++p,--g;o(t[p],h)<0;)++p;for(;o(t[g],h)>0;)--g}0===o(t[n],h)?yt(t,n,g):yt(t,++g,r),g<=e&&(n=g+1),e<=g&&(r=g-1)}return t}function yt(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _t(t,e,n){if(r=(t=Float64Array.from(l(t,n))).length){if((e=+e)<=0||r<2)return bt(t);if(e>=1)return mt(t);var r,i=(r-1)*e,o=Math.floor(i),a=mt(vt(t,o).subarray(0,o+1));return a+(bt(t.subarray(o+1))-a)*(i-o)}}function wt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),u=+n(t[o+1],o+1,t);return a+(u-a)*(i-o)}}var St=function(t,e,n){return Math.ceil((n-e)/(2*(_t(t,.75)-_t(t,.25))*Math.pow(b(t),-1/3)))},Ot=function(t,e,n){return Math.ceil((n-e)/(3.5*T(t)*Math.pow(b(t),-1/3)))};function xt(t,e){var n,r=-1,i=-1;if(void 0===e){var o,a=Object(s.a)(t);try{for(a.s();!(o=a.n()).done;){var u=o.value;++i,null!=u&&(n<u||void 0===n&&u>=u)&&(n=u,r=i)}}catch(d){a.e(d)}finally{a.f()}}else{var c,f=Object(s.a)(t);try{for(f.s();!(c=f.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(n<l||void 0===n&&l>=l)&&(n=l,r=i)}}catch(d){f.e(d)}finally{f.f()}}return r}function Et(t,e){var n=0,r=0;if(void 0===e){var i,o=Object(s.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(a=+a)>=a&&(++n,r+=a)}}catch(d){o.e(d)}finally{o.f()}}else{var u,c=-1,f=Object(s.a)(t);try{for(f.s();!(u=f.n()).done;){var l=u.value;null!=(l=e(l,++c,t))&&(l=+l)>=l&&(++n,r+=l)}}catch(d){f.e(d)}finally{f.f()}}if(n)return r/n}var Mt=function(t,e){return _t(t,.5,e)},Tt=u.a.mark($t);function $t(t){var e,n,r;return u.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=Object(s.a)(t),i.prev=1,e.s();case 3:if((n=e.n()).done){i.next=8;break}return r=n.value,i.delegateYield(r,"t0",6);case 6:i.next=3;break;case 8:i.next=13;break;case 10:i.prev=10,i.t1=i.catch(1),e.e(i.t1);case 13:return i.prev=13,e.f(),i.finish(13);case 16:case"end":return i.stop()}}),Tt,null,[[1,10,13,16]])}function At(t){return Array.from($t(t))}function kt(t,e){var n,r=-1,i=-1;if(void 0===e){var o,a=Object(s.a)(t);try{for(a.s();!(o=a.n()).done;){var u=o.value;++i,null!=u&&(n>u||void 0===n&&u>=u)&&(n=u,r=i)}}catch(d){a.e(d)}finally{a.f()}}else{var c,f=Object(s.a)(t);try{for(f.s();!(c=f.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(n>l||void 0===n&&l>=l)&&(n=l,r=i)}}catch(d){f.e(d)}finally{f.f()}}return r}function Ct(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:It,i=[],o=!1,a=Object(s.a)(t);try{for(a.s();!(n=a.n()).done;){var u=n.value;o&&i.push(r(e,u)),e=u,o=!0}}catch(c){a.e(c)}finally{a.f()}return i}function It(t,e){return[t,e]}var Pt=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o};function Nt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,r=!1;if(1===n.length){var o,a,u=Object(s.a)(t);try{for(u.s();!(a=u.n()).done;){var c=a.value,f=n(c);(r?i(f,o)<0:0===i(f,f))&&(e=c,o=f,r=!0)}}catch(p){u.e(p)}finally{u.f()}}else{var l,d=Object(s.a)(t);try{for(d.s();!(l=d.n()).done;){var h=l.value;(r?n(h,e)<0:0===n(h,h))&&(e=h,r=!0)}}catch(p){d.e(p)}finally{d.f()}}return e}function Rt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if(1===n.length)return kt(t,n);var r,o=-1,a=-1,u=Object(s.a)(t);try{for(u.s();!(r=u.n()).done;){var c=r.value;++a,(o<0?0===n(c,c):n(c,e)<0)&&(e=c,o=a)}}catch(f){u.e(f)}finally{u.f()}return o}function jt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,r=!1;if(1===n.length){var o,a,u=Object(s.a)(t);try{for(u.s();!(a=u.n()).done;){var c=a.value,f=n(c);(r?i(f,o)>0:0===i(f,f))&&(e=c,o=f,r=!0)}}catch(p){u.e(p)}finally{u.f()}}else{var l,d=Object(s.a)(t);try{for(d.s();!(l=d.n()).done;){var h=l.value;(r?n(h,e)>0:0===n(h,h))&&(e=h,r=!0)}}catch(p){d.e(p)}finally{d.f()}}return e}function Dt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if(1===n.length)return xt(t,n);var r,o=-1,a=-1,u=Object(s.a)(t);try{for(u.s();!(r=u.n()).done;){var c=r.value;++a,(o<0?0===n(c,c):n(c,e)>0)&&(e=c,o=a)}}catch(f){u.e(f)}finally{u.f()}return o}function Lt(t,e){var n=Rt(t,e);return n<0?void 0:n}var Ft=Bt(Math.random);function Bt(t){return function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=r-(n=+n);i;){var o=t()*i--|0,a=e[i+n];e[i+n]=e[o+n],e[o+n]=a}return e}}function Ut(t,e){var n=0;if(void 0===e){var r,i=Object(s.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;(o=+o)&&(n+=o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,u=-1,c=Object(s.a)(t);try{for(c.s();!(a=c.n()).done;){var f=a.value;(f=+e(f,++u,t))&&(n+=f)}}catch(l){c.e(l)}finally{c.f()}}return n}var zt=function(t){if(!(i=t.length))return[];for(var e=-1,n=bt(t,Ht),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r};function Ht(t){return t.length}var Vt=function(){return zt(arguments)};function qt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var n,r=-1,i=Object(s.a)(t);try{for(i.s();!(n=i.n()).done;){if(!e(n.value,++r,t))return!1}}catch(o){i.e(o)}finally{i.f()}return!0}function Wt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var n,r=-1,i=Object(s.a)(t);try{for(i.s();!(n=i.n()).done;){if(e(n.value,++r,t))return!0}}catch(o){i.e(o)}finally{i.f()}return!1}function Gt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var n,r=[],i=-1,o=Object(s.a)(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;e(a,++i,t)&&r.push(a)}}catch(u){o.e(u)}finally{o.f()}return r}function Kt(t,e){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!==typeof e)throw new TypeError("mapper is not a function");return Array.from(t,(function(n,r){return e(n,r,t)}))}function Yt(t,e,n){if("function"!==typeof e)throw new TypeError("reducer is not a function");var r,i,o=t[Symbol.iterator](),a=-1;if(arguments.length<3){var u=o.next();if(r=u.done,n=u.value,r)return;++a}for(;r=(s=o.next()).done,i=s.value,!r;){var s;n=e(n,i,++a,t)}return n}function Zt(t){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Qt(t){t=new Set(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a,u=o[i],c=Object(s.a)(u);try{for(c.s();!(a=c.n()).done;){var f=a.value;t.delete(f)}}catch(l){c.e(l)}finally{c.f()}}return t}function Xt(t,e){var n,r=e[Symbol.iterator](),i=new Set,o=Object(s.a)(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(i.has(a))return!1;for(var u=void 0,c=void 0;u=(f=r.next()).value,c=f.done,f;){var f;if(c)break;if(Object.is(a,u))return!1;i.add(u)}}}catch(l){o.e(l)}finally{o.f()}return!0}function Jt(t){return t instanceof Set?t:new Set(t)}function te(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t=new Set(t),n=n.map(Jt);var i,o=Object(s.a)(t);try{t:for(o.s();!(i=o.n()).done;){var a,u=i.value,c=Object(s.a)(n);try{for(c.s();!(a=c.n()).done;){var f=a.value;if(!f.has(u)){t.delete(u);continue t}}}catch(l){c.e(l)}finally{c.f()}}}catch(l){o.e(l)}finally{o.f()}return t}function ee(t,e){var n,r=t[Symbol.iterator](),i=new Set,o=Object(s.a)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(!i.has(a))for(var u=void 0,c=void 0;u=(f=r.next()).value,c=f.done,f;){var f;if(c)return!1;if(i.add(u),Object.is(a,u))break}}}catch(l){o.e(l)}finally{o.f()}return!0}function ne(t,e){return ee(e,t)}function re(){for(var t=new Set,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a,u=o[i],c=Object(s.a)(u);try{for(c.s();!(a=c.n()).done;){var f=a.value;t.add(f)}}catch(l){c.e(l)}finally{c.f()}}return t}var ie=Array.prototype.slice,oe=function(t){return t},ae=1e-6;function ue(t){return"translate("+(t+.5)+",0)"}function se(t){return"translate(0,"+(t+.5)+")"}function ce(t){return function(e){return+t(e)}}function fe(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function le(){return!this.__axis}function de(t,e){var n=[],r=null,i=null,o=6,a=6,u=3,s=1===t||4===t?-1:1,c=4===t||2===t?"x":"y",f=1===t||3===t?ue:se;function l(l){var d=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,h=null==i?e.tickFormat?e.tickFormat.apply(e,n):oe:i,p=Math.max(o,0)+u,g=e.range(),m=+g[0]+.5,b=+g[g.length-1]+.5,v=(e.bandwidth?fe:ce)(e.copy()),y=l.selection?l.selection():l,_=y.selectAll(".domain").data([null]),w=y.selectAll(".tick").data(d,e).order(),S=w.exit(),O=w.enter().append("g").attr("class","tick"),x=w.select("line"),E=w.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(O),x=x.merge(O.append("line").attr("stroke","currentColor").attr(c+"2",s*o)),E=E.merge(O.append("text").attr("fill","currentColor").attr(c,s*p).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),l!==y&&(_=_.transition(l),w=w.transition(l),x=x.transition(l),E=E.transition(l),S=S.transition(l).attr("opacity",ae).attr("transform",(function(t){return isFinite(t=v(t))?f(t):this.getAttribute("transform")})),O.attr("opacity",ae).attr("transform",(function(t){var e=this.parentNode.__axis;return f(e&&isFinite(e=e(t))?e:v(t))}))),S.remove(),_.attr("d",4===t||2==t?a?"M"+s*a+","+m+"H0.5V"+b+"H"+s*a:"M0.5,"+m+"V"+b:a?"M"+m+","+s*a+"V0.5H"+b+"V"+s*a:"M"+m+",0.5H"+b),w.attr("opacity",1).attr("transform",(function(t){return f(v(t))})),x.attr(c+"2",s*o),E.attr(c,s*p).text(h),y.filter(le).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),y.each((function(){this.__axis=v}))}return l.scale=function(t){return arguments.length?(e=t,l):e},l.ticks=function(){return n=ie.call(arguments),l},l.tickArguments=function(t){return arguments.length?(n=null==t?[]:ie.call(t),l):n.slice()},l.tickValues=function(t){return arguments.length?(r=null==t?null:ie.call(t),l):r&&r.slice()},l.tickFormat=function(t){return arguments.length?(i=t,l):i},l.tickSize=function(t){return arguments.length?(o=a=+t,l):o},l.tickSizeInner=function(t){return arguments.length?(o=+t,l):o},l.tickSizeOuter=function(t){return arguments.length?(a=+t,l):a},l.tickPadding=function(t){return arguments.length?(u=+t,l):u},l}function he(t){return de(1,t)}function pe(t){return de(2,t)}function ge(t){return de(3,t)}function me(t){return de(4,t)}var be={value:function(){}};function ve(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new ye(r)}function ye(t){this._=t}function _e(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function we(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Se(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=be,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ye.prototype=ve.prototype={constructor:ye,on:function(t,e){var n,r=this._,i=_e(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=Se(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Se(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=we(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ye(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var Oe=ve,xe=n(5);function Ee(){}var Me=function(t){return null==t?Ee:function(){return this.querySelector(t)}},Te=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function $e(){return[]}var Ae=function(t){return null==t?$e:function(){return this.querySelectorAll(t)}};var ke=function(t){return function(){return this.matches(t)}};function Ce(t){return function(e){return e.matches(t)}}var Ie=Array.prototype.find;function Pe(){return this.firstElementChild}var Ne=Array.prototype.filter;function Re(){return this.children}var je=function(t){return new Array(t.length)};function De(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}De.prototype={constructor:De,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Le=function(t){return function(){return t}};function Fe(t,e,n,r,i,o){for(var a,u=0,s=e.length,c=o.length;u<c;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new De(t,o[u]);for(;u<s;++u)(a=e[u])&&(i[u]=a)}function Be(t,e,n,r,i,o,a){var u,s,c,f=new Map,l=e.length,d=o.length,h=new Array(l);for(u=0;u<l;++u)(s=e[u])&&(h[u]=c=a.call(s,s.__data__,u,e)+"",f.has(c)?i[u]=s:f.set(c,s));for(u=0;u<d;++u)c=a.call(t,o[u],u,o)+"",(s=f.get(c))?(r[u]=s,s.__data__=o[u],f.delete(c)):n[u]=new De(t,o[u]);for(u=0;u<l;++u)(s=e[u])&&f.get(h[u])===s&&(i[u]=s)}function Ue(t){return t.__data__}function ze(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var He="http://www.w3.org/1999/xhtml",Ve={svg:"http://www.w3.org/2000/svg",xhtml:He,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},qe=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Ve.hasOwnProperty(e)?{space:Ve[e],local:t}:t};function We(t){return function(){this.removeAttribute(t)}}function Ge(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ke(t,e){return function(){this.setAttribute(t,e)}}function Ye(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ze(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Qe(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var Xe=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Je(t){return function(){this.style.removeProperty(t)}}function tn(t,e,n){return function(){this.style.setProperty(t,e,n)}}function en(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function nn(t,e){return t.style.getPropertyValue(e)||Xe(t).getComputedStyle(t,null).getPropertyValue(e)}function rn(t){return function(){delete this[t]}}function on(t,e){return function(){this[t]=e}}function an(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function un(t){return t.trim().split(/^|\s+/)}function sn(t){return t.classList||new cn(t)}function cn(t){this._node=t,this._names=un(t.getAttribute("class")||"")}function fn(t,e){for(var n=sn(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function ln(t,e){for(var n=sn(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function dn(t){return function(){fn(this,t)}}function hn(t){return function(){ln(this,t)}}function pn(t,e){return function(){(e.apply(this,arguments)?fn:ln)(this,t)}}cn.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function gn(){this.textContent=""}function mn(t){return function(){this.textContent=t}}function bn(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function vn(){this.innerHTML=""}function yn(t){return function(){this.innerHTML=t}}function _n(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function wn(){this.nextSibling&&this.parentNode.appendChild(this)}function Sn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function On(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===He&&e.documentElement.namespaceURI===He?e.createElement(t):e.createElementNS(n,t)}}function xn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var En=function(t){var e=qe(t);return(e.local?xn:On)(e)};function Mn(){return null}function Tn(){var t=this.parentNode;t&&t.removeChild(this)}function $n(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function An(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function kn(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Cn(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function In(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Pn(t,e,n){var r=Xe(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Nn(t,e){return function(){return Pn(this,t,e)}}function Rn(t,e){return function(){return Pn(this,t,e.apply(this,arguments))}}var jn=u.a.mark(Dn);function Dn(){var t,e,n,r,i,o,a;return u.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:t=this._groups,e=0,n=t.length;case 1:if(!(e<n)){u.next=13;break}r=t[e],i=0,o=r.length;case 3:if(!(i<o)){u.next=10;break}if(!(a=r[i])){u.next=7;break}return u.next=7,a;case 7:++i,u.next=3;break;case 10:++e,u.next=1;break;case 13:case"end":return u.stop()}}),jn,this)}var Ln=[null];function Fn(t,e){this._groups=t,this._parents=e}function Bn(){return new Fn([[document.documentElement]],Ln)}Fn.prototype=Bn.prototype=Object(xe.a)({constructor:Fn,select:function(t){"function"!==typeof t&&(t=Me(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,u=e[i],s=u.length,c=r[i]=new Array(s),f=0;f<s;++f)(o=u[f])&&(a=t.call(o,o.__data__,f,u))&&("__data__"in o&&(a.__data__=o.__data__),c[f]=a);return new Fn(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:Te(e)}}(t):Ae(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,u=e[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new Fn(r,i)},selectChild:function(t){return this.select(null==t?Pe:function(t){return function(){return Ie.call(this.children,t)}}("function"===typeof t?t:Ce(t)))},selectChildren:function(t){return this.selectAll(null==t?Re:function(t){return function(){return Ne.call(this.children,t)}}("function"===typeof t?t:Ce(t)))},filter:function(t){"function"!==typeof t&&(t=ke(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new Fn(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,Ue);var n=e?Be:Fe,r=this._parents,i=this._groups;"function"!==typeof t&&(t=Le(t));for(var o=i.length,a=new Array(o),u=new Array(o),s=new Array(o),c=0;c<o;++c){var f=r[c],l=i[c],d=l.length,h=Te(t.call(f,f&&f.__data__,c,r)),p=h.length,g=u[c]=new Array(p),m=a[c]=new Array(p),b=s[c]=new Array(d);n(f,l,g,m,b,h,e);for(var v,y,_=0,w=0;_<p;++_)if(v=g[_]){for(_>=w&&(w=_+1);!(y=m[w])&&++w<p;);v._next=y||null}}return(a=new Fn(a,r))._enter=u,a._exit=s,a},enter:function(){return new Fn(this._enter||this._groups.map(je),this._parents)},exit:function(){return new Fn(this._exit||this._groups.map(je),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"===typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof Fn))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],f=n[u],l=c.length,d=a[u]=new Array(l),h=0;h<l;++h)(s=c[h]||f[h])&&(d[h]=s);for(;u<r;++u)a[u]=e[u];return new Fn(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ze);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,c=i[o]=new Array(s),f=0;f<s;++f)(a=u[f])&&(c[f]=a);c.sort(e)}return new Fn(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t,e=0,n=Object(s.a)(this);try{for(n.s();!(t=n.n()).done;){t.value;++e}}catch(r){n.e(r)}finally{n.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=qe(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?Ge:We:"function"===typeof e?n.local?Qe:Ze:n.local?Ye:Ke)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Je:"function"===typeof e?en:tn)(t,e,null==n?"":n)):nn(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?rn:"function"===typeof e?an:on)(t,e)):this.node()[t]},classed:function(t,e){var n=un(t+"");if(arguments.length<2){for(var r=sn(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?pn:e?dn:hn)(n,e))},text:function(t){return arguments.length?this.each(null==t?gn:("function"===typeof t?bn:mn)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?vn:("function"===typeof t?_n:yn)(t)):this.node().innerHTML},raise:function(){return this.each(wn)},lower:function(){return this.each(Sn)},append:function(t){var e="function"===typeof t?t:En(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"===typeof t?t:En(t),r=null==e?Mn:"function"===typeof e?e:Me(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Tn)},clone:function(t){return this.select(t?An:$n)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=kn(t+""),a=o.length;if(!(arguments.length<2)){for(u=e?In:Cn,r=0;r<a;++r)this.each(u(o[r],e,n));return this}var u=this.node().__on;if(u)for(var s,c=0,f=u.length;c<f;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value},dispatch:function(t,e){return this.each(("function"===typeof e?Rn:Nn)(t,e))}},Symbol.iterator,Dn);var Un=Bn,zn=function(t){return"string"===typeof t?new Fn([[document.querySelector(t)]],[document.documentElement]):new Fn([[t]],Ln)};function Hn(t){t.stopImmediatePropagation()}var Vn=function(t){t.preventDefault(),t.stopImmediatePropagation()},qn=function(t){var e=t.document.documentElement,n=zn(t).on("dragstart.drag",Vn,!0);"onselectstart"in e?n.on("selectstart.drag",Vn,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function Wn(t,e){var n=t.document.documentElement,r=zn(t).on("dragstart.drag",null);e&&(r.on("click.drag",Vn,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var Gn=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Kn(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Yn(){}var Zn=.7,Qn=1/Zn,Xn="\\s*([+-]?\\d+)\\s*",Jn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",tr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",er=/^#([0-9a-f]{3,8})$/,nr=new RegExp("^rgb\\("+[Xn,Xn,Xn]+"\\)$"),rr=new RegExp("^rgb\\("+[tr,tr,tr]+"\\)$"),ir=new RegExp("^rgba\\("+[Xn,Xn,Xn,Jn]+"\\)$"),or=new RegExp("^rgba\\("+[tr,tr,tr,Jn]+"\\)$"),ar=new RegExp("^hsl\\("+[Jn,tr,tr]+"\\)$"),ur=new RegExp("^hsla\\("+[Jn,tr,tr,Jn]+"\\)$"),sr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function cr(){return this.rgb().formatHex()}function fr(){return this.rgb().formatRgb()}function lr(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=er.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?dr(e):3===n?new mr(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?hr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?hr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=nr.exec(t))?new mr(e[1],e[2],e[3],1):(e=rr.exec(t))?new mr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ir.exec(t))?hr(e[1],e[2],e[3],e[4]):(e=or.exec(t))?hr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ar.exec(t))?_r(e[1],e[2]/100,e[3]/100,1):(e=ur.exec(t))?_r(e[1],e[2]/100,e[3]/100,e[4]):sr.hasOwnProperty(t)?dr(sr[t]):"transparent"===t?new mr(NaN,NaN,NaN,0):null}function dr(t){return new mr(t>>16&255,t>>8&255,255&t,1)}function hr(t,e,n,r){return r<=0&&(t=e=n=NaN),new mr(t,e,n,r)}function pr(t){return t instanceof Yn||(t=lr(t)),t?new mr((t=t.rgb()).r,t.g,t.b,t.opacity):new mr}function gr(t,e,n,r){return 1===arguments.length?pr(t):new mr(t,e,n,null==r?1:r)}function mr(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function br(){return"#"+yr(this.r)+yr(this.g)+yr(this.b)}function vr(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function yr(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function _r(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Or(t,e,n,r)}function wr(t){if(t instanceof Or)return new Or(t.h,t.s,t.l,t.opacity);if(t instanceof Yn||(t=lr(t)),!t)return new Or;if(t instanceof Or)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=e===o?(n-r)/u+6*(n<r):n===o?(r-e)/u+2:(e-n)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new Or(a,u,s,t.opacity)}function Sr(t,e,n,r){return 1===arguments.length?wr(t):new Or(t,e,n,null==r?1:r)}function Or(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function xr(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Er(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Gn(Yn,lr,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:cr,formatHex:cr,formatHsl:function(){return wr(this).formatHsl()},formatRgb:fr,toString:fr}),Gn(mr,gr,Kn(Yn,{brighter:function(t){return t=null==t?Qn:Math.pow(Qn,t),new mr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Zn:Math.pow(Zn,t),new mr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:br,formatHex:br,formatRgb:vr,toString:vr})),Gn(Or,Sr,Kn(Yn,{brighter:function(t){return t=null==t?Qn:Math.pow(Qn,t),new Or(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Zn:Math.pow(Zn,t),new Or(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new mr(xr(t>=240?t-240:t+120,i,r),xr(t,i,r),xr(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Mr=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<e-1?t[r+2]:2*o-i;return Er((n-r/e)*e,a,i,o,u)}},Tr=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],u=t[(r+2)%e];return Er((n-r/e)*e,i,o,a,u)}},$r=function(t){return function(){return t}};function Ar(t,e){return function(n){return t+n*e}}function kr(t,e){var n=e-t;return n?Ar(t,n>180||n<-180?n-360*Math.round(n/360):n):$r(isNaN(t)?e:t)}function Cr(t){return 1===(t=+t)?Ir:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):$r(isNaN(e)?n:e)}}function Ir(t,e){var n=e-t;return n?Ar(t,n):$r(isNaN(t)?e:t)}var Pr=function t(e){var n=Cr(e);function r(t,e){var r=n((t=gr(t)).r,(e=gr(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Ir(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Nr(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),u=new Array(i);for(n=0;n<i;++n)r=gr(e[n]),o[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}var Rr=Nr(Mr),jr=Nr(Tr),Dr=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}};function Lr(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}var Fr=function(t,e){return(Lr(e)?Dr:Br)(t,e)};function Br(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Yr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}var Ur=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}},zr=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}},Hr=function(t,e){var n,r={},i={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?r[n]=Yr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},Vr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,qr=new RegExp(Vr.source,"g");var Wr,Gr,Kr=function(t,e){var n,r,i,o=Vr.lastIndex=qr.lastIndex=0,a=-1,u=[],s=[];for(t+="",e+="";(n=Vr.exec(t))&&(r=qr.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:zr(n,r)})),o=qr.lastIndex;return o<e.length&&(i=e.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?function(t){return function(e){return t(e)+""}}(s[0].x):function(t){return function(){return t}}(e):(e=s.length,function(t){for(var n,r=0;r<e;++r)u[(n=s[r]).i]=n.x(t);return u.join("")})},Yr=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?$r(e):("number"===r?zr:"string"===r?(n=lr(e))?(e=n,Pr):Kr:e instanceof lr?Pr:e instanceof Date?Ur:Lr(e)?Dr:Array.isArray(e)?Br:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?Hr:zr)(t,e)},Zr=function(t){for(var e;e=t.sourceEvent;)t=e;return t},Qr=function(t,e){if(t=Zr(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]},Xr=0,Jr=0,ti=0,ei=0,ni=0,ri=0,ii="object"===typeof performance&&performance.now?performance:Date,oi="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ai(){return ni||(oi(ui),ni=ii.now()+ri)}function ui(){ni=0}function si(){this._call=this._time=this._next=null}function ci(t,e,n){var r=new si;return r.restart(t,e,n),r}function fi(){ai(),++Xr;for(var t,e=Wr;e;)(t=ni-e._time)>=0&&e._call.call(null,t),e=e._next;--Xr}function li(){ni=(ei=ii.now())+ri,Xr=Jr=0;try{fi()}finally{Xr=0,function(){var t,e,n=Wr,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Wr=e);Gr=t,hi(r)}(),ni=0}}function di(){var t=ii.now(),e=t-ei;e>1e3&&(ri-=e,ei=t)}function hi(t){Xr||(Jr&&(Jr=clearTimeout(Jr)),t-ni>24?(t<1/0&&(Jr=setTimeout(li,t-ii.now()-ri)),ti&&(ti=clearInterval(ti))):(ti||(ei=ii.now(),ti=setInterval(di,1e3)),Xr=1,oi(li)))}si.prototype=ci.prototype={constructor:si,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?ai():+n)+(null==e?0:+e),this._next||Gr===this||(Gr?Gr._next=this:Wr=this,Gr=this),this._call=t,this._time=n,hi()},stop:function(){this._call&&(this._call=null,this._time=1/0,hi())}};var pi=function(t,e,n){var r=new si;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r},gi=Oe("start","end","cancel","interrupt"),mi=[],bi=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var c,f,l,d;if(1!==n.state)return s();for(c in i)if((d=i[c]).name===n.name){if(3===d.state)return pi(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(pi((function(){3===n.state&&(n.state=4,n.timer.restart(u,n.delay,n.time),u(o))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(l=n.tween.length),c=0,f=-1;c<l;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++f]=d);r.length=f+1}}function u(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=ci(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:gi,tween:mi,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})};function vi(t,e){var n=_i(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function yi(t,e){var n=_i(t,e);if(n.state>3)throw new Error("too late; already running");return n}function _i(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var wi,Si=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},Oi=180/Math.PI,xi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ei=function(t,e,n,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),t*r<e*n&&(t=-t,e=-e,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Oi,skewX:Math.atan(s)*Oi,scaleX:a,scaleY:u}};function Mi(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u=[],s=[];return o=t(o),a=t(a),function(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,e,null,n);u.push({i:s-4,x:zr(t,i)},{i:s-2,x:zr(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,u,s),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:zr(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,s),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:zr(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,s),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:zr(t,n)},{i:u-2,x:zr(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,s),o=a=null,function(t){for(var e,n=-1,r=s.length;++n<r;)u[(e=s[n]).i]=e.x(t);return u.join("")}}}var Ti=Mi((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?xi:Ei(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),$i=Mi((function(t){return null==t?xi:(wi||(wi=document.createElementNS("http://www.w3.org/2000/svg","g")),wi.setAttribute("transform",t),(t=wi.transform.baseVal.consolidate())?(t=t.matrix,Ei(t.a,t.b,t.c,t.d,t.e,t.f)):xi)}),", ",")",")");function Ai(t,e){var n,r;return function(){var i=yi(this,t),o=i.tween;if(o!==n)for(var a=0,u=(r=n=o).length;a<u;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function ki(t,e,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=yi(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===e){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function Ci(t,e,n){var r=t._id;return t.each((function(){var t=yi(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return _i(t,r).value[e]}}var Ii=function(t,e){var n;return("number"===typeof e?zr:e instanceof lr?Pr:(n=lr(e))?(e=n,Pr):Kr)(t,e)};function Pi(t){return function(){this.removeAttribute(t)}}function Ni(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ri(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function ji(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Di(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttribute(t))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttribute(t)}}function Li(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttributeNS(t.space,t.local)}}function Fi(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Bi(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Ui(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Bi(t,i)),n}return i._value=e,i}function zi(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Fi(t,i)),n}return i._value=e,i}function Hi(t,e){return function(){vi(this,t).delay=+e.apply(this,arguments)}}function Vi(t,e){return e=+e,function(){vi(this,t).delay=e}}function qi(t,e){return function(){yi(this,t).duration=+e.apply(this,arguments)}}function Wi(t,e){return e=+e,function(){yi(this,t).duration=e}}function Gi(t,e){if("function"!==typeof e)throw new Error;return function(){yi(this,t).ease=e}}function Ki(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?vi:yi;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(e,n),a.on=i}}var Yi=Un.prototype.constructor;function Zi(t){return function(){this.style.removeProperty(t)}}function Qi(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Xi(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Qi(t,o,n)),r}return o._value=e,o}function Ji(t){return function(e){this.textContent=t.call(this,e)}}function to(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Ji(r)),e}return r._value=t,r}var eo=0;function no(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function ro(t){return Un().transition(t)}function io(){return++eo}var oo=Un.prototype;function ao(t){return t*t*t}function uo(t){return--t*t*t+1}function so(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}no.prototype=ro.prototype=Object(xe.a)({constructor:no,select:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=Me(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],f=c.length,l=o[a]=new Array(f),d=0;d<f;++d)(u=c[d])&&(s=t.call(u,u.__data__,d,c))&&("__data__"in u&&(s.__data__=u.__data__),l[d]=s,bi(l[d],e,n,d,l,_i(u,n)));return new no(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=Ae(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],f=c.length,l=0;l<f;++l)if(s=c[l]){for(var d,h=t.call(s,s.__data__,l,c),p=_i(s,n),g=0,m=h.length;g<m;++g)(d=h[g])&&bi(d,e,n,g,h,p);o.push(h),a.push(s)}return new no(o,a,e,n)},filter:function(t){"function"!==typeof t&&(t=ke(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new no(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],f=n[u],l=c.length,d=a[u]=new Array(l),h=0;h<l;++h)(s=c[h]||f[h])&&(d[h]=s);for(;u<r;++u)a[u]=e[u];return new no(a,this._parents,this._name,this._id)},selection:function(){return new Yi(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=io(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var f=_i(a,e);bi(a,t,n,c,u,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new no(r,this._parents,t,n)},call:oo.call,nodes:oo.nodes,node:oo.node,size:oo.size,empty:oo.empty,each:oo.each,on:function(t,e){var n=this._id;return arguments.length<2?_i(this.node(),n).on.on(t):this.each(Ki(n,t,e))},attr:function(t,e){var n=qe(t),r="transform"===n?$i:Ii;return this.attrTween(t,"function"===typeof e?(n.local?Li:Di)(n,r,Ci(this,"attr."+t,e)):null==e?(n.local?Ni:Pi)(n):(n.local?ji:Ri)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var r=qe(t);return this.tween(n,(r.local?Ui:zi)(r,e))},style:function(t,e,n){var r="transform"===(t+="")?Ti:Ii;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=nn(this,t),a=(this.style.removeProperty(t),nn(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,Zi(t)):"function"===typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=nn(this,t),u=n(this),s=u+"";return null==u&&(this.style.removeProperty(t),s=u=nn(this,t)),a===s?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}}(t,r,Ci(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,u="end."+a;return function(){var s=yi(this,t),c=s.on,f=null==s.value[a]?o||(o=Zi(e)):void 0;c===n&&i===f||(r=(n=c).copy()).on(u,i=f),s.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=nn(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;return this.tween(r,Xi(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(Ci(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,to(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=_i(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Ai:ki)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Hi:Vi)(e,t)):_i(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?qi:Wi)(e,t)):_i(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Gi(e,t)):_i(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!==typeof n)throw new Error;yi(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var u={value:a},s={value:function(){0===--i&&o()}};n.each((function(){var n=yi(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(s)),n.on=e})),0===i&&o()}))}},Symbol.iterator,oo[Symbol.iterator]);var co={time:null,delay:0,duration:250,ease:so};function fo(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return n}Un.prototype.interrupt=function(t){return this.each((function(){Si(this,t)}))},Un.prototype.transition=function(t){var e,n;t instanceof no?(e=t._id,t=t._name):(e=io(),(n=co).time=ai(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&bi(a,t,e,c,u,n||fo(a,e));return new no(r,this._parents,t,e)};var lo=[null],ho=function(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>1&&n.name===e)return new no([[t]],lo,e,+r);return null},po=function(t){return function(){return t}};function go(t,e){var n=e.sourceEvent,r=e.target,i=e.selection,o=e.mode,a=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function mo(t){t.stopImmediatePropagation()}var bo=function(t){t.preventDefault(),t.stopImmediatePropagation()},vo={name:"drag"},yo={name:"space"},_o={name:"handle"},wo={name:"center"},So=Math.abs,Oo=Math.max,xo=Math.min;function Eo(t){return[+t[0],+t[1]]}function Mo(t){return[Eo(t[0]),Eo(t[1])]}var To={name:"x",handles:["w","e"].map(Ro),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},$o={name:"y",handles:["n","s"].map(Ro),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Ao={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Ro),input:function(t){return null==t?null:Mo(t)},output:function(t){return t}},ko={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Co={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Io={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Po={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},No={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Ro(t){return{type:t}}function jo(t){return!t.ctrlKey&&!t.button}function Do(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Lo(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fo(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Bo(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Uo(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function zo(){return qo(To)}function Ho(){return qo($o)}var Vo=function(){return qo(Ao)};function qo(t){var e,n=Do,r=jo,i=Lo,o=!0,a=Oe("start","brush","end"),u=6;function c(e){var n=e.property("__brush",m).selectAll(".overlay").data([Ro("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ko.overlay).merge(n).each((function(){var t=Fo(this).extent;zn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([Ro("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ko.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ko[t.type]})),e.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",p).on("touchend.brush touchcancel.brush",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=zn(this),e=Fo(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-u/2:e[0][0]-u/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-u/2:e[0][1]-u/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+u:u})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+u:u}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new d(t,e,n):r}function d(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function h(n){if((!e||n.touches)&&r.apply(this,arguments)){var i,a,u,c,d,h,p,g,m,b,v,y=this,_=n.target.__data__.type,w="selection"===(o&&n.metaKey?_="overlay":_)?vo:o&&n.altKey?wo:_o,S=t===$o?null:Po[_],O=t===To?null:No[_],x=Fo(y),E=x.extent,M=x.selection,T=E[0][0],$=E[0][1],A=E[1][0],k=E[1][1],C=0,I=0,P=S&&O&&o&&n.shiftKey,N=Array.from(n.touches||[n],(function(t){var e=t.identifier;return(t=Qr(t,y)).point0=t.slice(),t.identifier=e,t}));if("overlay"===_){M&&(m=!0);var R=[N[0],N[1]||N[0]];x.selection=M=[[i=t===$o?T:xo(R[0][0],R[1][0]),u=t===To?$:xo(R[0][1],R[1][1])],[d=t===$o?A:Oo(R[0][0],R[1][0]),p=t===To?k:Oo(R[0][1],R[1][1])]],N.length>1&&U()}else i=M[0][0],u=M[0][1],d=M[1][0],p=M[1][1];a=i,c=u,h=d,g=p;var j=zn(y).attr("pointer-events","none"),D=j.selectAll(".overlay").attr("cursor",ko[_]);Si(y);var L=l(y,arguments,!0).beforestart();if(n.touches)L.moved=B,L.ended=z;else{var F=zn(n.view).on("mousemove.brush",B,!0).on("mouseup.brush",z,!0);o&&F.on("keydown.brush",H,!0).on("keyup.brush",V,!0),qn(n.view)}f.call(y),L.start(n,w.name)}function B(t){var e,n=Object(s.a)(t.changedTouches||[t]);try{for(n.s();!(e=n.n()).done;){var r,i=e.value,o=Object(s.a)(N);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.identifier===i.identifier&&(a.cur=Qr(i,y))}}catch(d){o.e(d)}finally{o.f()}}}catch(d){n.e(d)}finally{n.f()}if(P&&!b&&!v&&1===N.length){var u=N[0];So(u.cur[0]-u[0])>So(u.cur[1]-u[1])?v=!0:b=!0}var c,f=Object(s.a)(N);try{for(f.s();!(c=f.n()).done;){var l=c.value;l.cur&&(l[0]=l.cur[0],l[1]=l.cur[1])}}catch(d){f.e(d)}finally{f.f()}m=!0,bo(t),U(t)}function U(t){var e,n=N[0],r=n.point0;switch(C=n[0]-r[0],I=n[1]-r[1],w){case yo:case vo:S&&(C=Oo(T-i,xo(A-d,C)),a=i+C,h=d+C),O&&(I=Oo($-u,xo(k-p,I)),c=u+I,g=p+I);break;case _o:N[1]?(S&&(a=Oo(T,xo(A,N[0][0])),h=Oo(T,xo(A,N[1][0])),S=1),O&&(c=Oo($,xo(k,N[0][1])),g=Oo($,xo(k,N[1][1])),O=1)):(S<0?(C=Oo(T-i,xo(A-i,C)),a=i+C,h=d):S>0&&(C=Oo(T-d,xo(A-d,C)),a=i,h=d+C),O<0?(I=Oo($-u,xo(k-u,I)),c=u+I,g=p):O>0&&(I=Oo($-p,xo(k-p,I)),c=u,g=p+I));break;case wo:S&&(a=Oo(T,xo(A,i-C*S)),h=Oo(T,xo(A,d+C*S))),O&&(c=Oo($,xo(k,u-I*O)),g=Oo($,xo(k,p+I*O)))}h<a&&(S*=-1,e=i,i=d,d=e,e=a,a=h,h=e,_ in Co&&D.attr("cursor",ko[_=Co[_]])),g<c&&(O*=-1,e=u,u=p,p=e,e=c,c=g,g=e,_ in Io&&D.attr("cursor",ko[_=Io[_]])),x.selection&&(M=x.selection),b&&(a=M[0][0],h=M[1][0]),v&&(c=M[0][1],g=M[1][1]),M[0][0]===a&&M[0][1]===c&&M[1][0]===h&&M[1][1]===g||(x.selection=[[a,c],[h,g]],f.call(y),L.brush(t,w.name))}function z(t){if(mo(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else Wn(t.view,m),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);j.attr("pointer-events","all"),D.attr("cursor",ko.overlay),x.selection&&(M=x.selection),Bo(M)&&(x.selection=null,f.call(y)),L.end(t,w.name)}function H(t){switch(t.keyCode){case 16:P=S&&O;break;case 18:w===_o&&(S&&(d=h-C*S,i=a+C*S),O&&(p=g-I*O,u=c+I*O),w=wo,U());break;case 32:w!==_o&&w!==wo||(S<0?d=h-C:S>0&&(i=a-C),O<0?p=g-I:O>0&&(u=c-I),w=yo,D.attr("cursor",ko.selection),U());break;default:return}bo(t)}function V(t){switch(t.keyCode){case 16:P&&(b=v=P=!1,U());break;case 18:w===wo&&(S<0?d=h:S>0&&(i=a),O<0?p=g:O>0&&(u=c),w=_o,U());break;case 32:w===yo&&(t.altKey?(S&&(d=h-C*S,i=a+C*S),O&&(p=g-I*O,u=c+I*O),w=wo):(S<0?d=h:S>0&&(i=a),O<0?p=g:O>0&&(u=c),w=_o),D.attr("cursor",ko[_]),U());break;default:return}bo(t)}}function p(t){l(this,arguments).moved(t)}function g(t){l(this,arguments).ended(t)}function m(){var e=this.__brush||{selection:null};return e.extent=Mo(n.apply(this,arguments)),e.dim=t,e}return c.move=function(e,n){e.tween?e.on("start.brush",(function(t){l(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){l(this,arguments).end(t)})).tween("brush",(function(){var e=this,r=e.__brush,i=l(e,arguments),o=r.selection,a=t.input("function"===typeof n?n.apply(this,arguments):n,r.extent),u=Yr(o,a);function s(t){r.selection=1===t&&null===a?null:u(t),f.call(e),i.brush()}return null!==o&&null!==a?s:s(1)})):e.each((function(){var e=this,r=arguments,i=e.__brush,o=t.input("function"===typeof n?n.apply(e,r):n,i.extent),a=l(e,r).beforestart();Si(e),i.selection=null===o?null:o,f.call(e),a.start().brush().end()}))},c.clear=function(t){c.move(t,null)},d.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,r){var i=zn(this.that).datum();a.call(e,this.that,new go(e,{sourceEvent:n,target:c,selection:t.output(this.state.selection),mode:r,dispatch:a}),i)}},c.extent=function(t){return arguments.length?(n="function"===typeof t?t:po(Mo(t)),c):n},c.filter=function(t){return arguments.length?(r="function"===typeof t?t:po(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"===typeof t?t:po(!!t),c):i},c.handleSize=function(t){return arguments.length?(u=+t,c):u},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=a.on.apply(a,arguments);return t===a?c:t},c}var Wo=Math.abs,Go=Math.cos,Ko=Math.sin,Yo=Math.PI,Zo=Yo/2,Qo=2*Yo,Xo=Math.max,Jo=1e-12;function ta(t,e){return Array.from({length:e-t},(function(e,n){return t+n}))}function ea(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}var na=function(){return oa(!1,!1)};function ra(){return oa(!1,!0)}function ia(){return oa(!0,!1)}function oa(t,e){var n=0,r=null,i=null,o=null;function a(a){var u,c=a.length,f=new Array(c),l=ta(0,c),d=new Array(c*c),h=new Array(c),p=0;a=Float64Array.from({length:c*c},e?function(t,e){return a[e%c][e/c|0]}:function(t,e){return a[e/c|0][e%c]});for(var g=0;g<c;++g){for(var m=0,b=0;b<c;++b)m+=a[g*c+b]+t*a[b*c+g];p+=f[g]=m}p=Xo(0,Qo-n*c)/p,u=p?n:Qo/c;var v=0;r&&l.sort((function(t,e){return r(f[t],f[e])}));var y,_=Object(s.a)(l);try{var w=function(){var e=y.value,n=v;if(t){var r=ta(1+~c,c).filter((function(t){return t<0?a[~t*c+e]:a[e*c+t]}));i&&r.sort((function(t,n){return i(t<0?-a[~t*c+e]:a[e*c+t],n<0?-a[~n*c+e]:a[e*c+n])}));var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var g=o.value;if(g<0)(d[~g*c+e]||(d[~g*c+e]={source:null,target:null})).target={index:e,startAngle:v,endAngle:v+=a[~g*c+e]*p,value:a[~g*c+e]};else(d[e*c+g]||(d[e*c+g]={source:null,target:null})).source={index:e,startAngle:v,endAngle:v+=a[e*c+g]*p,value:a[e*c+g]}}}catch(x){l.e(x)}finally{l.f()}h[e]={index:e,startAngle:n,endAngle:v,value:f[e]}}else{var m=ta(0,c).filter((function(t){return a[e*c+t]||a[t*c+e]}));i&&m.sort((function(t,n){return i(a[e*c+t],a[e*c+n])}));var b,_=Object(s.a)(m);try{for(_.s();!(b=_.n()).done;){var w=b.value,S=void 0;if(e<w?(S=d[e*c+w]||(d[e*c+w]={source:null,target:null})).source={index:e,startAngle:v,endAngle:v+=a[e*c+w]*p,value:a[e*c+w]}:((S=d[w*c+e]||(d[w*c+e]={source:null,target:null})).target={index:e,startAngle:v,endAngle:v+=a[e*c+w]*p,value:a[e*c+w]},e===w&&(S.source=S.target)),S.source&&S.target&&S.source.value<S.target.value){var O=S.source;S.source=S.target,S.target=O}}}catch(x){_.e(x)}finally{_.f()}h[e]={index:e,startAngle:n,endAngle:v,value:f[e]}}v+=u};for(_.s();!(y=_.n()).done;)w()}catch(S){_.e(S)}finally{_.f()}return(d=Object.values(d)).groups=h,o?d.sort(o):d}return a.padAngle=function(t){return arguments.length?(n=Xo(0,t),a):n},a.sortGroups=function(t){return arguments.length?(r=t,a):r},a.sortSubgroups=function(t){return arguments.length?(i=t,a):i},a.sortChords=function(t){return arguments.length?(null==t?o=null:(o=ea(t))._=t,a):o&&o._},a}var aa=Math.PI,ua=2*aa,sa=1e-6,ca=ua-sa;function fa(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function la(){return new fa}fa.prototype=la.prototype={constructor:fa,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,u=n-t,s=r-e,c=o-t,f=a-e,l=c*c+f*f;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(l>sa)if(Math.abs(f*u-s*c)>sa&&i){var d=n-o,h=r-a,p=u*u+s*s,g=d*d+h*h,m=Math.sqrt(p),b=Math.sqrt(l),v=i*Math.tan((aa-Math.acos((p+l-g)/(2*m*b)))/2),y=v/b,_=v/m;Math.abs(y-1)>sa&&(this._+="L"+(t+y*c)+","+(e+y*f)),this._+="A"+i+","+i+",0,0,"+ +(f*d>c*h)+","+(this._x1=t+_*u)+","+(this._y1=e+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),s=t+a,c=e+u,f=1^o,l=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>sa||Math.abs(this._y1-c)>sa)&&(this._+="L"+s+","+c),n&&(l<0&&(l=l%ua+ua),l>ca?this._+="A"+n+","+n+",0,1,"+f+","+(t-a)+","+(e-u)+"A"+n+","+n+",0,1,"+f+","+(this._x1=s)+","+(this._y1=c):l>sa&&(this._+="A"+n+","+n+",0,"+ +(l>=aa)+","+f+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var da=la,ha=Array.prototype.slice,pa=function(t){return function(){return t}};function ga(t){return t.source}function ma(t){return t.target}function ba(t){return t.radius}function va(t){return t.startAngle}function ya(t){return t.endAngle}function _a(){return 0}function wa(){return 10}function Sa(t){var e=ga,n=ma,r=ba,i=ba,o=va,a=ya,u=_a,s=null;function c(){var c,f=e.apply(this,arguments),l=n.apply(this,arguments),d=u.apply(this,arguments)/2,h=ha.call(arguments),p=+r.apply(this,(h[0]=f,h)),g=o.apply(this,h)-Zo,m=a.apply(this,h)-Zo,b=+i.apply(this,(h[0]=l,h)),v=o.apply(this,h)-Zo,y=a.apply(this,h)-Zo;if(s||(s=c=da()),d>Jo&&(Wo(m-g)>2*d+Jo?m>g?(g+=d,m-=d):(g-=d,m+=d):g=m=(g+m)/2,Wo(y-v)>2*d+Jo?y>v?(v+=d,y-=d):(v-=d,y+=d):v=y=(v+y)/2),s.moveTo(p*Go(g),p*Ko(g)),s.arc(0,0,p,g,m),g!==v||m!==y)if(t){var _=+t.apply(this,arguments),w=b-_,S=(v+y)/2;s.quadraticCurveTo(0,0,w*Go(v),w*Ko(v)),s.lineTo(b*Go(S),b*Ko(S)),s.lineTo(w*Go(y),w*Ko(y))}else s.quadraticCurveTo(0,0,b*Go(v),b*Ko(v)),s.arc(0,0,b,v,y);if(s.quadraticCurveTo(0,0,p*Go(g),p*Ko(g)),s.closePath(),c)return s=null,c+""||null}return t&&(c.headRadius=function(e){return arguments.length?(t="function"===typeof e?e:pa(+e),c):t}),c.radius=function(t){return arguments.length?(r=i="function"===typeof t?t:pa(+t),c):r},c.sourceRadius=function(t){return arguments.length?(r="function"===typeof t?t:pa(+t),c):r},c.targetRadius=function(t){return arguments.length?(i="function"===typeof t?t:pa(+t),c):i},c.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:pa(+t),c):o},c.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:pa(+t),c):a},c.padAngle=function(t){return arguments.length?(u="function"===typeof t?t:pa(+t),c):u},c.source=function(t){return arguments.length?(e=t,c):e},c.target=function(t){return arguments.length?(n=t,c):n},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}var Oa=function(){return Sa()};function xa(){return Sa(wa)}var Ea=Math.PI/180,Ma=180/Math.PI,Ta=.96422,$a=.82521,Aa=4/29,ka=6/29,Ca=3*ka*ka;function Ia(t){if(t instanceof Ra)return new Ra(t.l,t.a,t.b,t.opacity);if(t instanceof Ha)return Va(t);t instanceof mr||(t=pr(t));var e,n,r=Fa(t.r),i=Fa(t.g),o=Fa(t.b),a=ja((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=ja((.4360747*r+.3850649*i+.1430804*o)/Ta),n=ja((.0139322*r+.0971045*i+.7141733*o)/$a)),new Ra(116*a-16,500*(e-a),200*(a-n),t.opacity)}function Pa(t,e){return new Ra(t,0,0,null==e?1:e)}function Na(t,e,n,r){return 1===arguments.length?Ia(t):new Ra(t,e,n,null==r?1:r)}function Ra(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function ja(t){return t>.008856451679035631?Math.pow(t,1/3):t/Ca+Aa}function Da(t){return t>ka?t*t*t:Ca*(t-Aa)}function La(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Fa(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ba(t){if(t instanceof Ha)return new Ha(t.h,t.c,t.l,t.opacity);if(t instanceof Ra||(t=Ia(t)),0===t.a&&0===t.b)return new Ha(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Ma;return new Ha(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ua(t,e,n,r){return 1===arguments.length?Ba(t):new Ha(n,e,t,null==r?1:r)}function za(t,e,n,r){return 1===arguments.length?Ba(t):new Ha(t,e,n,null==r?1:r)}function Ha(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function Va(t){if(isNaN(t.h))return new Ra(t.l,0,0,t.opacity);var e=t.h*Ea;return new Ra(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Gn(Ra,Na,Kn(Yn,{brighter:function(t){return new Ra(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Ra(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new mr(La(3.1338561*(e=Ta*Da(e))-1.6168667*(t=1*Da(t))-.4906146*(n=$a*Da(n))),La(-.9787684*e+1.9161415*t+.033454*n),La(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Gn(Ha,za,Kn(Yn,{brighter:function(t){return new Ha(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new Ha(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Va(this).rgb()}}));var qa=-.14861,Wa=1.78277,Ga=-.29227,Ka=-.90649,Ya=1.97294,Za=-1.7884503806,Qa=3.5172982438,Xa=-.6557636667999999;function Ja(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);t instanceof mr||(t=pr(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Xa*r+Za*e-Qa*n)/(Xa+Za-Qa),o=r-i,a=(Ya*(n-i)-Ga*o)/Ka,u=Math.sqrt(a*a+o*o)/(Ya*i*(1-i)),s=u?Math.atan2(a,o)*Ma-120:NaN;return new eu(s<0?s+360:s,u,i,t.opacity)}function tu(t,e,n,r){return 1===arguments.length?Ja(t):new eu(t,e,n,null==r?1:r)}function eu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Gn(eu,tu,Kn(Yn,{brighter:function(t){return t=null==t?Qn:Math.pow(Qn,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Zn:Math.pow(Zn,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Ea,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new mr(255*(e+n*(qa*r+Wa*i)),255*(e+n*(Ga*r+Ka*i)),255*(e+n*(Ya*r)),this.opacity)}}));var nu=Array.prototype.slice,ru=function(t,e){return t-e},iu=function(t){return function(){return t}},ou=function(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=au(t,e[r]))return n;return 0};function au(t,e){for(var n=e[0],r=e[1],i=-1,o=0,a=t.length,u=a-1;o<a;u=o++){var s=t[o],c=s[0],f=s[1],l=t[u],d=l[0],h=l[1];if(uu(s,l,e))return 0;f>r!==h>r&&n<(d-c)*(r-f)/(h-f)+c&&(i=-i)}return i}function uu(t,e,n){var r,i,o,a;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])===(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],o=n[r],a=e[r],i<=o&&o<=a||a<=o&&o<=i)}var su=function(){},cu=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],fu=function(){var t=1,e=1,n=pt,r=u;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(ru);else{var r=$(t),i=r[0],a=r[1];e=dt(i,a,e),e=Pt(Math.floor(i/e)*e,Math.floor(a/e)*e,e)}return e.map((function(e){return o(t,e)}))}function o(n,i){var o=[],u=[];return function(n,r,i){var o,u,s,c,f,l,d=new Array,h=new Array;o=u=-1,c=n[0]>=r,cu[c<<1].forEach(p);for(;++o<t-1;)s=c,c=n[o+1]>=r,cu[s|c<<1].forEach(p);cu[c<<0].forEach(p);for(;++u<e-1;){for(o=-1,c=n[u*t+t]>=r,f=n[u*t]>=r,cu[c<<1|f<<2].forEach(p);++o<t-1;)s=c,c=n[u*t+t+o+1]>=r,l=f,f=n[u*t+o+1]>=r,cu[s|c<<1|f<<2|l<<3].forEach(p);cu[c|f<<3].forEach(p)}o=-1,f=n[u*t]>=r,cu[f<<2].forEach(p);for(;++o<t-1;)l=f,f=n[u*t+o+1]>=r,cu[f<<2|l<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+o,t[0][1]+u],s=[t[1][0]+o,t[1][1]+u],c=a(r),f=a(s);(e=h[c])?(n=d[f])?(delete h[e.end],delete d[n.start],e===n?(e.ring.push(s),i(e.ring)):d[e.start]=h[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[e.end],e.ring.push(s),h[e.end=f]=e):(e=d[f])?(n=h[c])?(delete d[e.start],delete h[n.end],e===n?(e.ring.push(s),i(e.ring)):d[n.start]=h[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[e.start],e.ring.unshift(r),d[e.start=c]=e):d[c]=h[f]={start:c,end:f,ring:[r,s]}}cu[f<<3].forEach(p)}(n,i,(function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r}(t)>0?o.push([t]):u.push(t)})),u.forEach((function(t){for(var e,n=0,r=o.length;n<r;++n)if(-1!==ou((e=o[n])[0],t))return void e.push(t)})),{type:"MultiPolygon",value:i,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function u(n,r,i){n.forEach((function(n){var o,a=n[0],u=n[1],s=0|a,c=0|u,f=r[c*t+s];a>0&&a<t&&s===a&&(o=r[c*t+s-1],n[0]=a+(i-o)/(f-o)-.5),u>0&&u<e&&c===u&&(o=r[(c-1)*t+s],n[1]=u+(i-o)/(f-o)-.5)}))}return i.contour=o,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.floor(n[0]),o=Math.floor(n[1]);if(!(r>=0&&o>=0))throw new Error("invalid size");return t=r,e=o,i},i.thresholds=function(t){return arguments.length?(n="function"===typeof t?t:Array.isArray(t)?iu(nu.call(t)):iu(t),i):n},i.smooth=function(t){return arguments.length?(r=t?u:su,i):r===u},i};function lu(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a<i;++a)for(var u=0,s=0;u<r+n;++u)u<r&&(s+=t.data[u+a*r]),u>=n&&(u>=o&&(s-=t.data[u-o+a*r]),e.data[u-n+a*r]=s/Math.min(u+1,r-1+o-u,o))}function du(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a<r;++a)for(var u=0,s=0;u<i+n;++u)u<i&&(s+=t.data[a+u*r]),u>=n&&(u>=o&&(s-=t.data[a+(u-o)*r]),e.data[a+(u-n)*r]=s/Math.min(u+1,i-1+o-u,o))}function hu(t){return t[0]}function pu(t){return t[1]}function gu(){return 1}var mu=function(){var t=hu,e=pu,n=gu,r=960,i=500,o=20,a=2,u=3*o,s=r+2*u>>a,c=i+2*u>>a,f=iu(20);function l(r){var i=new Float32Array(s*c),l=new Float32Array(s*c);r.forEach((function(r,o,f){var l=+t(r,o,f)+u>>a,d=+e(r,o,f)+u>>a,h=+n(r,o,f);l>=0&&l<s&&d>=0&&d<c&&(i[l+d*s]+=h)})),lu({width:s,height:c,data:i},{width:s,height:c,data:l},o>>a),du({width:s,height:c,data:l},{width:s,height:c,data:i},o>>a),lu({width:s,height:c,data:i},{width:s,height:c,data:l},o>>a),du({width:s,height:c,data:l},{width:s,height:c,data:i},o>>a),lu({width:s,height:c,data:i},{width:s,height:c,data:l},o>>a),du({width:s,height:c,data:l},{width:s,height:c,data:i},o>>a);var h=f(i);if(!Array.isArray(h)){var p=mt(i);h=dt(0,p,h),(h=Pt(0,Math.floor(p/h)*h,h)).shift()}return fu().thresholds(h).size([s,c])(i).map(d)}function d(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(h),t}function h(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function m(){return s=r+2*(u=3*o)>>a,c=i+2*u>>a,l}return l.x=function(e){return arguments.length?(t="function"===typeof e?e:iu(+e),l):t},l.y=function(t){return arguments.length?(e="function"===typeof t?t:iu(+t),l):e},l.weight=function(t){return arguments.length?(n="function"===typeof t?t:iu(+t),l):n},l.size=function(t){if(!arguments.length)return[r,i];var e=+t[0],n=+t[1];if(!(e>=0&&n>=0))throw new Error("invalid size");return r=e,i=n,m()},l.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),m()},l.thresholds=function(t){return arguments.length?(f="function"===typeof t?t:Array.isArray(t)?iu(nu.call(t)):iu(t),l):f},l.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),m()},l},bu=Math.pow(2,-52),vu=new Uint32Array(512),yu=function(){function t(e){Object(A.a)(this,t);var n=e.length>>1;if(n>0&&"number"!==typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var r=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*r),this._halfedges=new Int32Array(3*r),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}return Object(k.a)(t,[{key:"update",value:function(){for(var t=this.coords,e=this._hullPrev,n=this._hullNext,r=this._hullTri,i=this._hullHash,o=t.length>>1,a=1/0,u=1/0,s=-1/0,c=-1/0,f=0;f<o;f++){var l=t[2*f],d=t[2*f+1];l<a&&(a=l),d<u&&(u=d),l>s&&(s=l),d>c&&(c=d),this._ids[f]=f}for(var h,p,g,m=(a+s)/2,b=(u+c)/2,v=1/0,y=0;y<o;y++){var _=_u(m,b,t[2*y],t[2*y+1]);_<v&&(h=y,v=_)}var w=t[2*h],S=t[2*h+1];v=1/0;for(var O=0;O<o;O++)if(O!==h){var x=_u(w,S,t[2*O],t[2*O+1]);x<v&&x>0&&(p=O,v=x)}for(var E=t[2*p],M=t[2*p+1],T=1/0,$=0;$<o;$++)if($!==h&&$!==p){var A=xu(w,S,E,M,t[2*$],t[2*$+1]);A<T&&(g=$,T=A)}var k=t[2*g],C=t[2*g+1];if(T===1/0){for(var I=0;I<o;I++)this._dists[I]=t[2*I]-t[0]||t[2*I+1]-t[1];Eu(this._ids,this._dists,0,o-1);for(var P=new Uint32Array(o),N=0,R=0,j=-1/0;R<o;R++){var D=this._ids[R];this._dists[D]>j&&(P[N++]=D,j=this._dists[D])}return this.hull=P.subarray(0,N),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Su(w,S,E,M,k,C)){var L=p,F=E,B=M;p=g,E=k,M=C,g=L,k=F,C=B}var U=function(t,e,n,r,i,o){var a=n-t,u=r-e,s=i-t,c=o-e,f=a*a+u*u,l=s*s+c*c,d=.5/(a*c-u*s);return{x:t+(c*f-u*l)*d,y:e+(a*l-s*f)*d}}(w,S,E,M,k,C);this._cx=U.x,this._cy=U.y;for(var z=0;z<o;z++)this._dists[z]=_u(t[2*z],t[2*z+1],U.x,U.y);Eu(this._ids,this._dists,0,o-1),this._hullStart=h;var H=3;n[h]=e[g]=p,n[p]=e[h]=g,n[g]=e[p]=h,r[h]=0,r[p]=1,r[g]=2,i.fill(-1),i[this._hashKey(w,S)]=h,i[this._hashKey(E,M)]=p,i[this._hashKey(k,C)]=g,this.trianglesLen=0,this._addTriangle(h,p,g,-1,-1,-1);for(var V,q,W=0;W<this._ids.length;W++){var G=this._ids[W],K=t[2*G],Y=t[2*G+1];if(!(W>0&&Math.abs(K-V)<=bu&&Math.abs(Y-q)<=bu)&&(V=K,q=Y,G!==h&&G!==p&&G!==g)){for(var Z=0,Q=0,X=this._hashKey(K,Y);Q<this._hashSize&&(-1===(Z=i[(X+Q)%this._hashSize])||Z===n[Z]);Q++);for(var J=Z=e[Z],tt=void 0;tt=n[J],!Su(K,Y,t[2*J],t[2*J+1],t[2*tt],t[2*tt+1]);)if((J=tt)===Z){J=-1;break}if(-1!==J){var et=this._addTriangle(J,G,n[J],-1,-1,r[J]);r[G]=this._legalize(et+2),r[J]=et,H++;for(var nt=n[J];tt=n[nt],Su(K,Y,t[2*nt],t[2*nt+1],t[2*tt],t[2*tt+1]);)et=this._addTriangle(nt,G,tt,r[G],-1,r[nt]),r[G]=this._legalize(et+2),n[nt]=nt,H--,nt=tt;if(J===Z)for(;Su(K,Y,t[2*(tt=e[J])],t[2*tt+1],t[2*J],t[2*J+1]);)et=this._addTriangle(tt,G,J,-1,r[J],r[tt]),this._legalize(et+2),r[tt]=et,n[J]=J,H--,J=tt;this._hullStart=e[G]=J,n[J]=e[nt]=G,n[G]=nt,i[this._hashKey(K,Y)]=G,i[this._hashKey(t[2*J],t[2*J+1])]=J}}}this.hull=new Uint32Array(H);for(var rt=0,it=this._hullStart;rt<H;rt++)this.hull[rt]=it,it=n[it];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}},{key:"_hashKey",value:function(t,e){return Math.floor(function(t,e){var n=t/(Math.abs(t)+Math.abs(e));return(e>0?3-n:1+n)/4}(t-this._cx,e-this._cy)*this._hashSize)%this._hashSize}},{key:"_legalize",value:function(t){for(var e=this._triangles,n=this._halfedges,r=this.coords,i=0,o=0;;){var a=n[t],u=t-t%3;if(o=u+(t+2)%3,-1!==a){var s=a-a%3,c=u+(t+1)%3,f=s+(a+2)%3,l=e[o],d=e[t],h=e[c],p=e[f];if(Ou(r[2*l],r[2*l+1],r[2*d],r[2*d+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){e[t]=p,e[a]=l;var g=n[f];if(-1===g){var m=this._hullStart;do{if(this._hullTri[m]===f){this._hullTri[m]=t;break}m=this._hullPrev[m]}while(m!==this._hullStart)}this._link(t,g),this._link(a,n[o]),this._link(o,f);var b=s+(a+1)%3;i<vu.length&&(vu[i++]=b)}else{if(0===i)break;t=vu[--i]}}else{if(0===i)break;t=vu[--i]}}return o}},{key:"_link",value:function(t,e){this._halfedges[t]=e,-1!==e&&(this._halfedges[e]=t)}},{key:"_addTriangle",value:function(t,e,n,r,i,o){var a=this.trianglesLen;return this._triangles[a]=t,this._triangles[a+1]=e,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}],[{key:"from",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tu,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$u,i=e.length,o=new Float64Array(2*i),a=0;a<i;a++){var u=e[a];o[2*a]=n(u),o[2*a+1]=r(u)}return new t(o)}}]),t}();function _u(t,e,n,r){var i=t-n,o=e-r;return i*i+o*o}function wu(t,e,n,r,i,o){var a=(r-e)*(i-t),u=(n-t)*(o-e);return Math.abs(a-u)>=33306690738754716e-32*Math.abs(a+u)?a-u:0}function Su(t,e,n,r,i,o){return(wu(i,o,t,e,n,r)||wu(t,e,n,r,i,o)||wu(n,r,i,o,t,e))<0}function Ou(t,e,n,r,i,o,a,u){var s=t-a,c=e-u,f=n-a,l=r-u,d=i-a,h=o-u,p=f*f+l*l,g=d*d+h*h;return s*(l*g-p*h)-c*(f*g-p*d)+(s*s+c*c)*(f*h-l*d)<0}function xu(t,e,n,r,i,o){var a=n-t,u=r-e,s=i-t,c=o-e,f=a*a+u*u,l=s*s+c*c,d=.5/(a*c-u*s),h=(c*f-u*l)*d,p=(a*l-s*f)*d;return h*h+p*p}function Eu(t,e,n,r){if(r-n<=20)for(var i=n+1;i<=r;i++){for(var o=t[i],a=e[o],u=i-1;u>=n&&e[t[u]]>a;)t[u+1]=t[u--];t[u+1]=o}else{var s=n+1,c=r;Mu(t,n+r>>1,s),e[t[n]]>e[t[r]]&&Mu(t,n,r),e[t[s]]>e[t[r]]&&Mu(t,s,r),e[t[n]]>e[t[s]]&&Mu(t,n,s);for(var f=t[s],l=e[f];;){do{s++}while(e[t[s]]<l);do{c--}while(e[t[c]]>l);if(c<s)break;Mu(t,s,c)}t[n+1]=t[c],t[c]=f,r-s+1>=c-n?(Eu(t,e,s,r),Eu(t,e,n,c-1)):(Eu(t,e,n,c-1),Eu(t,e,s,r))}}function Mu(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Tu(t){return t[0]}function $u(t){return t[1]}var Au=1e-6,ku=function(){function t(){Object(A.a)(this,t),this._x0=this._y0=this._x1=this._y1=null,this._=""}return Object(k.a)(t,[{key:"moveTo",value:function(t,e){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}},{key:"lineTo",value:function(t,e){this._+="L".concat(this._x1=+t,",").concat(this._y1=+e)}},{key:"arc",value:function(t,e,n){var r=(t=+t)+(n=+n),i=e=+e;if(n<0)throw new Error("negative radius");null===this._x1?this._+="M".concat(r,",").concat(i):(Math.abs(this._x1-r)>Au||Math.abs(this._y1-i)>Au)&&(this._+="L"+r+","+i),n&&(this._+="A".concat(n,",").concat(n,",0,1,1,").concat(t-n,",").concat(e,"A").concat(n,",").concat(n,",0,1,1,").concat(this._x1=r,",").concat(this._y1=i))}},{key:"rect",value:function(t,e,n,r){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e,"h").concat(+n,"v").concat(+r,"h").concat(-n,"Z")}},{key:"value",value:function(){return this._||null}}]),t}(),Cu=function(){function t(){Object(A.a)(this,t),this._=[]}return Object(k.a)(t,[{key:"moveTo",value:function(t,e){this._.push([t,e])}},{key:"closePath",value:function(){this._.push(this._[0].slice())}},{key:"lineTo",value:function(t,e){this._.push([t,e])}},{key:"value",value:function(){return this._.length?this._:null}}]),t}(),Iu=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,960,500],r=Object(P.a)(n,4),i=r[0],o=r[1],a=r[2],u=r[3];if(Object(A.a)(this,t),!((a=+a)>=(i=+i))||!((u=+u)>=(o=+o)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=a,this.xmin=i,this.ymax=u,this.ymin=o,this._init()}return Object(k.a)(t,[{key:"update",value:function(){return this.delaunay.update(),this._init(),this}},{key:"_init",value:function(){for(var t,e,n=this.delaunay,r=n.points,i=n.hull,o=n.triangles,a=this.vectors,u=this.circumcenters=this._circumcenters.subarray(0,o.length/3*2),s=0,c=0,f=o.length;s<f;s+=3,c+=2){var l=2*o[s],d=2*o[s+1],h=2*o[s+2],p=r[l],g=r[l+1],m=r[d],b=r[d+1],v=r[h],y=r[h+1],_=m-p,w=b-g,S=v-p,O=y-g,x=_*_+w*w,E=S*S+O*O,M=2*(_*O-w*S);if(M)if(Math.abs(M)<1e-8)t=(p+v)/2,e=(g+y)/2;else{var T=1/M;t=p+(O*x-w*E)*T,e=g+(_*E-S*x)*T}else t=(p+v)/2-1e8*O,e=(g+y)/2+1e8*S;u[c]=t,u[c+1]=e}var $,A,k,C=i[i.length-1],I=4*C,P=r[2*C],N=r[2*C+1];a.fill(0);for(var R=0;R<i.length;++R)$=I,A=P,k=N,I=4*(C=i[R]),P=r[2*C],N=r[2*C+1],a[$+2]=a[I]=k-N,a[$+3]=a[I+1]=P-A}},{key:"render",value:function(t){var e=null==t?t=new ku:void 0,n=this.delaunay,r=n.halfedges,i=n.inedges,o=n.hull,a=this.circumcenters,u=this.vectors;if(o.length<=1)return null;for(var s=0,c=r.length;s<c;++s){var f=r[s];if(!(f<s)){var l=2*Math.floor(s/3),d=2*Math.floor(f/3),h=a[l],p=a[l+1],g=a[d],m=a[d+1];this._renderSegment(h,p,g,m,t)}}for(var b,v=o[o.length-1],y=0;y<o.length;++y){b=v,v=o[y];var _=2*Math.floor(i[v]/3),w=a[_],S=a[_+1],O=4*b,x=this._project(w,S,u[O+2],u[O+3]);x&&this._renderSegment(w,S,x[0],x[1],t)}return e&&e.value()}},{key:"renderBounds",value:function(t){var e=null==t?t=new ku:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),e&&e.value()}},{key:"renderCell",value:function(t,e){var n=null==e?e=new ku:void 0,r=this._clip(t);if(null!==r&&r.length){e.moveTo(r[0],r[1]);for(var i=r.length;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(var o=2;o<i;o+=2)r[o]===r[o-2]&&r[o+1]===r[o-1]||e.lineTo(r[o],r[o+1]);return e.closePath(),n&&n.value()}}},{key:"cellPolygons",value:u.a.mark((function t(){var e,n,r,i;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.delaunay.points,n=0,r=e.length/2;case 2:if(!(n<r)){t.next=11;break}if(!(i=this.cellPolygon(n))){t.next=8;break}return i.index=n,t.next=8,i;case 8:++n,t.next=2;break;case 11:case"end":return t.stop()}}),t,this)}))},{key:"cellPolygon",value:function(t){var e=new Cu;return this.renderCell(t,e),e.value()}},{key:"_renderSegment",value:function(t,e,n,r,i){var o,a=this._regioncode(t,e),u=this._regioncode(n,r);0===a&&0===u?(i.moveTo(t,e),i.lineTo(n,r)):(o=this._clipSegment(t,e,n,r,a,u))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}},{key:"contains",value:function(t,e,n){return(e=+e)===e&&(n=+n)===n&&this.delaunay._step(t,e,n)===t}},{key:"neighbors",value:u.a.mark((function t(e){var n,r,i,o,a,c,f,l,d;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=this._clip(e))){t.next=33;break}r=Object(s.a)(this.delaunay.neighbors(e)),t.prev=3,r.s();case 5:if((i=r.n()).done){t.next=25;break}if(o=i.value,!(a=this._clip(o))){t.next=23;break}c=0,f=n.length;case 10:if(!(c<f)){t.next=23;break}l=0,d=a.length;case 12:if(!(l<d)){t.next=20;break}if(n[c]!=a[l]||n[c+1]!=a[l+1]||n[(c+2)%f]!=a[(l+d-2)%d]||n[(c+3)%f]!=a[(l+d-1)%d]){t.next=17;break}return t.next=16,o;case 16:return t.abrupt("break",23);case 17:l+=2,t.next=12;break;case 20:c+=2,t.next=10;break;case 23:t.next=5;break;case 25:t.next=30;break;case 27:t.prev=27,t.t0=t.catch(3),r.e(t.t0);case 30:return t.prev=30,r.f(),t.finish(30);case 33:case"end":return t.stop()}}),t,this,[[3,27,30,33]])}))},{key:"_cell",value:function(t){var e=this.circumcenters,n=this.delaunay,r=n.inedges,i=n.halfedges,o=n.triangles,a=r[t];if(-1===a)return null;var u=[],s=a;do{var c=Math.floor(s/3);if(u.push(e[2*c],e[2*c+1]),o[s=s%3===2?s-2:s+1]!==t)break;s=i[s]}while(s!==a&&-1!==s);return u}},{key:"_clip",value:function(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];var e=this._cell(t);if(null===e)return null;var n=this.vectors,r=4*t;return n[r]||n[r+1]?this._clipInfinite(t,e,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(t,e)}},{key:"_clipFinite",value:function(t,e){for(var n,r,i,o,a,u=e.length,s=null,c=e[u-2],f=e[u-1],l=this._regioncode(c,f),d=0;d<u;d+=2)if(n=c,r=f,c=e[d],f=e[d+1],i=l,l=this._regioncode(c,f),0===i&&0===l)o=a,a=0,s?s.push(c,f):s=[c,f];else{var h=void 0,p=void 0,g=void 0,m=void 0,b=void 0;if(0===i){if(null===(h=this._clipSegment(n,r,c,f,i,l)))continue;var v=h,y=Object(P.a)(v,4);p=y[0],g=y[1],m=y[2],b=y[3]}else{if(null===(h=this._clipSegment(c,f,n,r,l,i)))continue;var _=h,w=Object(P.a)(_,4);m=w[0],b=w[1],p=w[2],g=w[3],o=a,a=this._edgecode(p,g),o&&a&&this._edge(t,o,a,s,s.length),s?s.push(p,g):s=[p,g]}o=a,a=this._edgecode(m,b),o&&a&&this._edge(t,o,a,s,s.length),s?s.push(m,b):s=[m,b]}if(s)o=a,a=this._edgecode(s[0],s[1]),o&&a&&this._edge(t,o,a,s,s.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}},{key:"_clipSegment",value:function(t,e,n,r,i,o){for(;;){if(0===i&&0===o)return[t,e,n,r];if(i&o)return null;var a=void 0,u=void 0,s=i||o;8&s?(a=t+(n-t)*(this.ymax-e)/(r-e),u=this.ymax):4&s?(a=t+(n-t)*(this.ymin-e)/(r-e),u=this.ymin):2&s?(u=e+(r-e)*(this.xmax-t)/(n-t),a=this.xmax):(u=e+(r-e)*(this.xmin-t)/(n-t),a=this.xmin),i?(t=a,e=u,i=this._regioncode(t,e)):(n=a,r=u,o=this._regioncode(n,r))}}},{key:"_clipInfinite",value:function(t,e,n,r,i,o){var a,u=Array.from(e);if((a=this._project(u[0],u[1],n,r))&&u.unshift(a[0],a[1]),(a=this._project(u[u.length-2],u[u.length-1],i,o))&&u.push(a[0],a[1]),u=this._clipFinite(t,u))for(var s,c=0,f=u.length,l=this._edgecode(u[f-2],u[f-1]);c<f;c+=2)s=l,l=this._edgecode(u[c],u[c+1]),s&&l&&(c=this._edge(t,s,l,u,c),f=u.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(u=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return u}},{key:"_edge",value:function(t,e,n,r,i){for(;e!==n;){var o=void 0,a=void 0;switch(e){case 5:e=4;continue;case 4:e=6,o=this.xmax,a=this.ymin;break;case 6:e=2;continue;case 2:e=10,o=this.xmax,a=this.ymax;break;case 10:e=8;continue;case 8:e=9,o=this.xmin,a=this.ymax;break;case 9:e=1;continue;case 1:e=5,o=this.xmin,a=this.ymin}r[i]===o&&r[i+1]===a||!this.contains(t,o,a)||(r.splice(i,0,o,a),i+=2)}if(r.length>4)for(var u=0;u<r.length;u+=2){var s=(u+2)%r.length,c=(u+4)%r.length;(r[u]===r[s]&&r[s]===r[c]||r[u+1]===r[s+1]&&r[s+1]===r[c+1])&&(r.splice(s,2),u-=2)}return i}},{key:"_project",value:function(t,e,n,r){var i,o,a,u=1/0;if(r<0){if(e<=this.ymin)return null;(i=(this.ymin-e)/r)<u&&(a=this.ymin,o=t+(u=i)*n)}else if(r>0){if(e>=this.ymax)return null;(i=(this.ymax-e)/r)<u&&(a=this.ymax,o=t+(u=i)*n)}if(n>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/n)<u&&(o=this.xmax,a=e+(u=i)*r)}else if(n<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/n)<u&&(o=this.xmin,a=e+(u=i)*r)}return[o,a]}},{key:"_edgecode",value:function(t,e){return(t===this.xmin?1:t===this.xmax?2:0)|(e===this.ymin?4:e===this.ymax?8:0)}},{key:"_regioncode",value:function(t,e){return(t<this.xmin?1:t>this.xmax?2:0)|(e<this.ymin?4:e>this.ymax?8:0)}}]),t}(),Pu=u.a.mark(Uu),Nu=2*Math.PI,Ru=Math.pow;function ju(t){return t[0]}function Du(t){return t[1]}function Lu(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}var Fu=function(){function t(e){Object(A.a)(this,t),this._delaunator=new yu(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}return Object(k.a)(t,[{key:"update",value:function(){return this._delaunator.update(),this._init(),this}},{key:"_init",value:function(){var t=this._delaunator,e=this.points;if(t.hull&&t.hull.length>2&&function(t){for(var e=t.triangles,n=t.coords,r=0;r<e.length;r+=3){var i=2*e[r],o=2*e[r+1],a=2*e[r+2];if((n[a]-n[i])*(n[o+1]-n[i+1])-(n[o]-n[i])*(n[a+1]-n[i+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:e.length/2},(function(t,e){return e})).sort((function(t,n){return e[2*t]-e[2*n]||e[2*t+1]-e[2*n+1]}));for(var n=this.collinear[0],r=this.collinear[this.collinear.length-1],i=[e[2*n],e[2*n+1],e[2*r],e[2*r+1]],o=1e-8*Math.hypot(i[3]-i[1],i[2]-i[0]),a=0,u=e.length/2;a<u;++a){var s=Lu(e[2*a],e[2*a+1],o);e[2*a]=s[0],e[2*a+1]=s[1]}this._delaunator=new yu(e)}else delete this.collinear;for(var c=this.halfedges=this._delaunator.halfedges,f=this.hull=this._delaunator.hull,l=this.triangles=this._delaunator.triangles,d=this.inedges.fill(-1),h=this._hullIndex.fill(-1),p=0,g=c.length;p<g;++p){var m=l[p%3===2?p-2:p+1];-1!==c[p]&&-1!==d[m]||(d[m]=p)}for(var b=0,v=f.length;b<v;++b)h[f[b]]=b;f.length<=2&&f.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=f[0],this.triangles[1]=f[1],this.triangles[2]=f[1],d[f[0]]=1,2===f.length&&(d[f[1]]=0))}},{key:"voronoi",value:function(t){return new Iu(this,t)}},{key:"neighbors",value:u.a.mark((function t(e){var n,r,i,o,a,s,c,f,l,d,h;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.inedges,r=this.hull,i=this._hullIndex,o=this.halfedges,a=this.triangles,!(s=this.collinear)){t.next=10;break}if(!((c=s.indexOf(e))>0)){t.next=6;break}return t.next=6,s[c-1];case 6:if(!(c<s.length-1)){t.next=9;break}return t.next=9,s[c+1];case 9:return t.abrupt("return");case 10:if(-1!==(f=n[e])){t.next=13;break}return t.abrupt("return");case 13:l=f,d=-1;case 14:return t.next=16,d=a[l];case 16:if(a[l=l%3===2?l-2:l+1]===e){t.next=19;break}return t.abrupt("return");case 19:if(-1!==(l=o[l])){t.next=26;break}if((h=r[(i[e]+1)%r.length])===d){t.next=25;break}return t.next=25,h;case 25:return t.abrupt("return");case 26:if(l!==f){t.next=14;break}case 27:case"end":return t.stop()}}),t,this)}))},{key:"find",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((t=+t)!==t||(e=+e)!==e)return-1;for(var r,i=n;(r=this._step(n,t,e))>=0&&r!==n&&r!==i;)n=r;return r}},{key:"_step",value:function(t,e,n){var r=this.inedges,i=this.hull,o=this._hullIndex,a=this.halfedges,u=this.triangles,s=this.points;if(-1===r[t]||!s.length)return(t+1)%(s.length>>1);var c=t,f=Ru(e-s[2*t],2)+Ru(n-s[2*t+1],2),l=r[t],d=l;do{var h=u[d],p=Ru(e-s[2*h],2)+Ru(n-s[2*h+1],2);if(p<f&&(f=p,c=h),u[d=d%3===2?d-2:d+1]!==t)break;if(-1===(d=a[d])){if((d=i[(o[t]+1)%i.length])!==h&&Ru(e-s[2*d],2)+Ru(n-s[2*d+1],2)<f)return d;break}}while(d!==l);return c}},{key:"render",value:function(t){for(var e=null==t?t=new ku:void 0,n=this.points,r=this.halfedges,i=this.triangles,o=0,a=r.length;o<a;++o){var u=r[o];if(!(u<o)){var s=2*i[o],c=2*i[u];t.moveTo(n[s],n[s+1]),t.lineTo(n[c],n[c+1])}}return this.renderHull(t),e&&e.value()}},{key:"renderPoints",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=null==t?t=new ku:void 0,r=this.points,i=0,o=r.length;i<o;i+=2){var a=r[i],u=r[i+1];t.moveTo(a+e,u),t.arc(a,u,e,0,Nu)}return n&&n.value()}},{key:"renderHull",value:function(t){var e=null==t?t=new ku:void 0,n=this.hull,r=this.points,i=2*n[0],o=n.length;t.moveTo(r[i],r[i+1]);for(var a=1;a<o;++a){var u=2*n[a];t.lineTo(r[u],r[u+1])}return t.closePath(),e&&e.value()}},{key:"hullPolygon",value:function(){var t=new Cu;return this.renderHull(t),t.value()}},{key:"renderTriangle",value:function(t,e){var n=null==e?e=new ku:void 0,r=this.points,i=this.triangles,o=2*i[t*=3],a=2*i[t+1],u=2*i[t+2];return e.moveTo(r[o],r[o+1]),e.lineTo(r[a],r[a+1]),e.lineTo(r[u],r[u+1]),e.closePath(),n&&n.value()}},{key:"trianglePolygons",value:u.a.mark((function t(){var e,n,r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.triangles,n=0,r=e.length/3;case 2:if(!(n<r)){t.next=8;break}return t.next=5,this.trianglePolygon(n);case 5:++n,t.next=2;break;case 8:case"end":return t.stop()}}),t,this)}))},{key:"trianglePolygon",value:function(t){var e=new Cu;return this.renderTriangle(t,e),e.value()}}],[{key:"from",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ju,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Du,i=arguments.length>3?arguments[3]:void 0;return new t("length"in e?Bu(e,n,r,i):Float64Array.from(Uu(e,n,r,i)))}}]),t}();function Bu(t,e,n,r){for(var i=t.length,o=new Float64Array(2*i),a=0;a<i;++a){var u=t[a];o[2*a]=e.call(r,u,a,t),o[2*a+1]=n.call(r,u,a,t)}return o}function Uu(t,e,n,r){var i,o,a,c;return u.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:i=0,o=Object(s.a)(t),u.prev=2,o.s();case 4:if((a=o.n()).done){u.next=13;break}return c=a.value,u.next=8,e.call(r,c,i,t);case 8:return u.next=10,n.call(r,c,i,t);case 10:++i;case 11:u.next=4;break;case 13:u.next=18;break;case 15:u.prev=15,u.t0=u.catch(2),o.e(u.t0);case 18:return u.prev=18,o.f(),u.finish(18);case 21:case"end":return u.stop()}}),Pu,null,[[2,15,18,21]])}var zu=function(t){return function(){return t}};function Hu(t,e){var n=e.sourceEvent,r=e.subject,i=e.target,o=e.identifier,a=e.active,u=e.x,s=e.y,c=e.dx,f=e.dy,l=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:u,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:l}})}function Vu(t){return!t.ctrlKey&&!t.button}function qu(){return this.parentNode}function Wu(t,e){return null==e?{x:t.x,y:t.y}:e}function Gu(){return navigator.maxTouchPoints||"ontouchstart"in this}Hu.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Ku=function(){var t,e,n,r,i=Vu,o=qu,a=Wu,u=Gu,s={},c=Oe("start","drag","end"),f=0,l=0;function d(t){t.on("mousedown.drag",h).filter(u).on("touchstart.drag",m).on("touchmove.drag",b).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function h(a,u){if(!r&&i.call(this,a,u)){var s=y(this,o.call(this,a,u),a,u,"mouse");s&&(zn(a.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),qn(a.view),Hn(a),n=!1,t=a.clientX,e=a.clientY,s("start",a))}}function p(r){if(Vn(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>l}s.mouse("drag",r)}function g(t){zn(t.view).on("mousemove.drag mouseup.drag",null),Wn(t.view,n),Vn(t),s.mouse("end",t)}function m(t,e){if(i.call(this,t,e)){var n,r,a=t.changedTouches,u=o.call(this,t,e),s=a.length;for(n=0;n<s;++n)(r=y(this,u,t,e,a[n].identifier,a[n]))&&(Hn(t),r("start",t,a[n]))}}function b(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=s[r[e].identifier])&&(Vn(t),n("drag",t,r[e]))}function v(t){var e,n,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),e=0;e<o;++e)(n=s[i[e].identifier])&&(Hn(t),n("end",t,i[e]))}function y(t,e,n,r,i,o){var u,l,h,p=c.copy(),g=Qr(o||n,e);if(null!=(h=a.call(t,new Hu("beforestart",{sourceEvent:n,target:d,identifier:i,active:f,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return u=h.x-g[0]||0,l=h.y-g[1]||0,function n(o,a,c){var m,b=g;switch(o){case"start":s[i]=n,m=f++;break;case"end":delete s[i],--f;case"drag":g=Qr(c||a,e),m=f}p.call(o,t,new Hu(o,{sourceEvent:a,subject:h,target:d,identifier:i,active:m,x:g[0]+u,y:g[1]+l,dx:g[0]-b[0],dy:g[1]-b[1],dispatch:p}),r)}}return d.filter=function(t){return arguments.length?(i="function"===typeof t?t:zu(!!t),d):i},d.container=function(t){return arguments.length?(o="function"===typeof t?t:zu(t),d):o},d.subject=function(t){return arguments.length?(a="function"===typeof t?t:zu(t),d):a},d.touchable=function(t){return arguments.length?(u="function"===typeof t?t:zu(!!t),d):u},d.on=function(){var t=c.on.apply(c,arguments);return t===c?d:t},d.clickDistance=function(t){return arguments.length?(l=(t=+t)*t,d):Math.sqrt(l)},d},Yu={},Zu={};function Qu(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function Xu(t){var e=Object.create(null),n=[];return t.forEach((function(t){for(var r in t)r in e||n.push(e[r]=r)})),n}function Ju(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function ts(t){var e,n=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+Ju(-e,6):e>9999?"+"+Ju(e,6):Ju(e,4))+"-"+Ju(t.getUTCMonth()+1,2)+"-"+Ju(t.getUTCDate(),2)+(o?"T"+Ju(n,2)+":"+Ju(r,2)+":"+Ju(i,2)+"."+Ju(o,3)+"Z":i?"T"+Ju(n,2)+":"+Ju(r,2)+":"+Ju(i,2)+"Z":r||n?"T"+Ju(n,2)+":"+Ju(r,2)+"Z":"")}var es=function(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],o=t.length,a=0,u=0,s=o<=0,c=!1;function f(){if(s)return Zu;if(c)return c=!1,Yu;var e,r,i=a;if(34===t.charCodeAt(i)){for(;a++<o&&34!==t.charCodeAt(a)||34===t.charCodeAt(++a););return(e=a)>=o?s=!0:10===(r=t.charCodeAt(a++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if(10===(r=t.charCodeAt(e=a++)))c=!0;else if(13===r)c=!0,10===t.charCodeAt(a)&&++a;else if(r!==n)continue;return t.slice(i,e)}return s=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(r=f())!==Zu;){for(var l=[];r!==Yu&&r!==Zu;)l.push(r),r=f();e&&null==(l=e(l,u++))||i.push(l)}return i}function i(e,n){return e.map((function(e){return n.map((function(t){return a(e[t])})).join(t)}))}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?ts(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=r(t,(function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=Qu(t);return function(r,i){return e(n(r),i,t)}}(t,e):Qu(t)}));return o.columns=i||[],o},parseRows:r,format:function(e,n){return null==n&&(n=Xu(e)),[n.map(a).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=Xu(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}},ns=es(","),rs=ns.parse,is=ns.parseRows,os=ns.format,as=ns.formatBody,us=ns.formatRows,ss=ns.formatRow,cs=ns.formatValue,fs=es("\t"),ls=fs.parse,ds=fs.parseRows,hs=fs.format,ps=fs.formatBody,gs=fs.formatRows,ms=fs.formatRow,bs=fs.formatValue;function vs(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;ys&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}var ys=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),_s=function(t){return+t};function ws(t){return t*t}function Ss(t){return t*(2-t)}function Os(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var xs=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),Es=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Ms=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Ts=Math.PI,$s=Ts/2;function As(t){return 1===+t?1:1-Math.cos(t*$s)}function ks(t){return Math.sin(t*$s)}function Cs(t){return(1-Math.cos(Ts*t))/2}function Is(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Ps(t){return Is(1-+t)}function Ns(t){return 1-Is(t)}function Rs(t){return((t*=2)<=1?Is(1-t):2-Is(t-1))/2}function js(t){return 1-Math.sqrt(1-t*t)}function Ds(t){return Math.sqrt(1- --t*t)}function Ls(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Fs=4/11,Bs=7.5625;function Us(t){return 1-zs(1-t)}function zs(t){return(t=+t)<Fs?Bs*t*t:t<.7272727272727273?Bs*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Bs*(t-=.8181818181818182)*t+.9375:Bs*(t-=.9545454545454546)*t+.984375}function Hs(t){return((t*=2)<=1?1-zs(1-t):zs(t-1)+1)/2}var Vs=1.70158,qs=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(Vs),Ws=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(Vs),Gs=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(Vs),Ks=2*Math.PI,Ys=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Ks);function i(t){return e*Is(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Ks)},i.period=function(n){return t(e,n)},i}(1,.3),Zs=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Ks);function i(t){return 1-e*Is(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Ks)},i.period=function(n){return t(e,n)},i}(1,.3),Qs=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Ks);function i(t){return((t=2*t-1)<0?e*Is(-t)*Math.sin((r-t)/n):2-e*Is(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Ks)},i.period=function(n){return t(e,n)},i}(1,.3);function Xs(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var Js=function(t,e){return fetch(t,e).then(Xs)};function tc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var ec=function(t,e){return fetch(t,e).then(tc)};function nc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var rc=function(t,e){return fetch(t,e).then(nc)};function ic(t){return function(e,n,r){return 2===arguments.length&&"function"===typeof n&&(r=n,n=void 0),rc(e,n).then((function(e){return t(e,r)}))}}function oc(t,e,n,r){3===arguments.length&&"function"===typeof n&&(r=n,n=void 0);var i=es(t);return rc(e,n).then((function(t){return i.parse(t,r)}))}var ac=ic(rs),uc=ic(ls),sc=function(t,e){return new Promise((function(n,r){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=r,i.onload=function(){n(i)},i.src=t}))};function cc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}var fc=function(t,e){return fetch(t,e).then(cc)};function lc(t){return function(e,n){return rc(e,n).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}var dc=lc("application/xml"),hc=lc("text/html"),pc=lc("image/svg+xml"),gc=function(t,e){var n,r=1;function i(){var i,o,a=n.length,u=0,s=0;for(i=0;i<a;++i)u+=(o=n[i]).x,s+=o.y;for(u=(u/a-t)*r,s=(s/a-e)*r,i=0;i<a;++i)(o=n[i]).x-=u,o.y-=s}return null==t&&(t=0),null==e&&(e=0),i.initialize=function(t){n=t},i.x=function(e){return arguments.length?(t=+e,i):t},i.y=function(t){return arguments.length?(e=+t,i):e},i.strength=function(t){return arguments.length?(r=+t,i):r},i};function mc(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,u,s,c,f,l,d,h=t._root,p={data:r},g=t._x0,m=t._y0,b=t._x1,v=t._y1;if(!h)return t._root=p,t;for(;h.length;)if((c=e>=(o=(g+b)/2))?g=o:b=o,(f=n>=(a=(m+v)/2))?m=a:v=a,i=h,!(h=h[l=f<<1|c]))return i[l]=p,t;if(u=+t._x.call(null,h.data),s=+t._y.call(null,h.data),e===u&&n===s)return p.next=h,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+b)/2))?g=o:b=o,(f=n>=(a=(m+v)/2))?m=a:v=a}while((l=f<<1|c)===(d=(s>=a)<<1|u>=o));return i[d]=h,i[l]=p,t}var bc=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function vc(t){return t[0]}function yc(t){return t[1]}function _c(t,e,n){var r=new wc(null==e?vc:e,null==n?yc:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function wc(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Sc(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Oc=_c.prototype=wc.prototype;Oc.copy=function(){var t,e,n=new wc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Sc(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Sc(e));return n},Oc.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return mc(this.cover(e,n),e,n,t)},Oc.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,f=-1/0,l=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,u[n]=i,r<s&&(s=r),r>f&&(f=r),i<c&&(c=i),i>l&&(l=i));if(s>f||c>l)return this;for(this.cover(s,c).cover(f,l),n=0;n<o;++n)mc(this,a[n],u[n],t[n]);return this},Oc.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var a,u,s=i-n||1,c=this._root;n>t||t>=i||r>e||e>=o;)switch(u=(e<r)<<1|t<n,(a=new Array(4))[u]=c,c=a,s*=2,u){case 0:i=n+s,o=r+s;break;case 1:n=i-s,o=r+s;break;case 2:i=n+s,r=o-s;break;case 3:n=i-s,r=o-s}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},Oc.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},Oc.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Oc.find=function(t,e,n){var r,i,o,a,u,s,c,f=this._x0,l=this._y0,d=this._x1,h=this._y1,p=[],g=this._root;for(g&&p.push(new bc(g,f,l,d,h)),null==n?n=1/0:(f=t-n,l=e-n,d=t+n,h=e+n,n*=n);s=p.pop();)if(!(!(g=s.node)||(i=s.x0)>d||(o=s.y0)>h||(a=s.x1)<f||(u=s.y1)<l))if(g.length){var m=(i+a)/2,b=(o+u)/2;p.push(new bc(g[3],m,b,a,u),new bc(g[2],i,b,m,u),new bc(g[1],m,o,a,b),new bc(g[0],i,o,m,b)),(c=(e>=b)<<1|t>=m)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var v=t-+this._x.call(null,g.data),y=e-+this._y.call(null,g.data),_=v*v+y*y;if(_<n){var w=Math.sqrt(n=_);f=t-w,l=e-w,d=t+w,h=e+w,r=g.data}}return r},Oc.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,u,s,c,f,l,d,h=this._root,p=this._x0,g=this._y0,m=this._x1,b=this._y1;if(!h)return this;if(h.length)for(;;){if((c=o>=(u=(p+m)/2))?p=u:m=u,(f=a>=(s=(g+b)/2))?g=s:b=s,e=h,!(h=h[l=f<<1|c]))return this;if(!h.length)break;(e[l+1&3]||e[l+2&3]||e[l+3&3])&&(n=e,d=l)}for(;h.data!==t;)if(r=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,r?(i?r.next=i:delete r.next,this):e?(i?e[l]=i:delete e[l],(h=e[0]||e[1]||e[2]||e[3])&&h===(e[3]||e[2]||e[1]||e[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},Oc.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},Oc.root=function(){return this._root},Oc.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},Oc.visit=function(t){var e,n,r,i,o,a,u=[],s=this._root;for(s&&u.push(new bc(s,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(s=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&s.length){var c=(r+o)/2,f=(i+a)/2;(n=s[3])&&u.push(new bc(n,c,f,o,a)),(n=s[2])&&u.push(new bc(n,r,f,c,a)),(n=s[1])&&u.push(new bc(n,c,i,o,f)),(n=s[0])&&u.push(new bc(n,r,i,c,f))}return this},Oc.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new bc(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,u=e.y0,s=e.x1,c=e.y1,f=(a+s)/2,l=(u+c)/2;(o=i[0])&&n.push(new bc(o,a,u,f,l)),(o=i[1])&&n.push(new bc(o,f,u,s,l)),(o=i[2])&&n.push(new bc(o,a,l,f,c)),(o=i[3])&&n.push(new bc(o,f,l,s,c))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Oc.x=function(t){return arguments.length?(this._x=t,this):this._x},Oc.y=function(t){return arguments.length?(this._y=t,this):this._y};var xc=function(t){return function(){return t}},Ec=function(t){return 1e-6*(t()-.5)};function Mc(t){return t.x+t.vx}function Tc(t){return t.y+t.vy}var $c=function(t){var e,n,r,i=1,o=1;function a(){for(var t,a,s,c,f,l,d,h=e.length,p=0;p<o;++p)for(a=_c(e,Mc,Tc).visitAfter(u),t=0;t<h;++t)s=e[t],l=n[s.index],d=l*l,c=s.x+s.vx,f=s.y+s.vy,a.visit(g);function g(t,e,n,o,a){var u=t.data,h=t.r,p=l+h;if(!u)return e>c+p||o<c-p||n>f+p||a<f-p;if(u.index>s.index){var g=c-u.x-u.vx,m=f-u.y-u.vy,b=g*g+m*m;b<p*p&&(0===g&&(b+=(g=Ec(r))*g),0===m&&(b+=(m=Ec(r))*m),b=(p-(b=Math.sqrt(b)))/b*i,s.vx+=(g*=b)*(p=(h*=h)/(d+h)),s.vy+=(m*=b)*p,u.vx-=g*(p=1-p),u.vy-=m*p)}}}function u(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r<o;++r)i=e[r],n[i.index]=+t(i,r,e)}}return"function"!==typeof t&&(t=xc(null==t?1:+t)),a.initialize=function(t,n){e=t,r=n,s()},a.iterations=function(t){return arguments.length?(o=+t,a):o},a.strength=function(t){return arguments.length?(i=+t,a):i},a.radius=function(e){return arguments.length?(t="function"===typeof e?e:xc(+e),s(),a):t},a};function Ac(t){return t.index}function kc(t,e){var n=t.get(e);if(!n)throw new Error("node not found: "+e);return n}var Cc=function(t){var e,n,r,i,o,a,u=Ac,s=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=xc(30),f=1;function l(r){for(var i=0,u=t.length;i<f;++i)for(var s,c,l,d,h,p,g,m=0;m<u;++m)c=(s=t[m]).source,d=(l=s.target).x+l.vx-c.x-c.vx||Ec(a),h=l.y+l.vy-c.y-c.vy||Ec(a),d*=p=((p=Math.sqrt(d*d+h*h))-n[m])/p*r*e[m],h*=p,l.vx-=d*(g=o[m]),l.vy-=h*g,c.vx+=d*(g=1-g),c.vy+=h*g}function d(){if(r){var a,s,c=r.length,f=t.length,l=new Map(r.map((function(t,e){return[u(t,e,r),t]})));for(a=0,i=new Array(c);a<f;++a)(s=t[a]).index=a,"object"!==typeof s.source&&(s.source=kc(l,s.source)),"object"!==typeof s.target&&(s.target=kc(l,s.target)),i[s.source.index]=(i[s.source.index]||0)+1,i[s.target.index]=(i[s.target.index]||0)+1;for(a=0,o=new Array(f);a<f;++a)s=t[a],o[a]=i[s.source.index]/(i[s.source.index]+i[s.target.index]);e=new Array(f),h(),n=new Array(f),p()}}function h(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+s(t[n],n,t)}function p(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+c(t[e],e,t)}return null==t&&(t=[]),l.initialize=function(t,e){r=t,a=e,d()},l.links=function(e){return arguments.length?(t=e,d(),l):t},l.id=function(t){return arguments.length?(u=t,l):u},l.iterations=function(t){return arguments.length?(f=+t,l):f},l.strength=function(t){return arguments.length?(s="function"===typeof t?t:xc(+t),h(),l):s},l.distance=function(t){return arguments.length?(c="function"===typeof t?t:xc(+t),p(),l):c},l},Ic=4294967296;function Pc(t){return t.x}function Nc(t){return t.y}var Rc=Math.PI*(3-Math.sqrt(5)),jc=function(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,u=new Map,s=ci(l),c=Oe("tick","end"),f=function(){var t=1;return function(){return(t=(1664525*t+1013904223)%Ic)/Ic}}();function l(){d(),c.call("tick",e),n<r&&(s.stop(),c.call("end",e))}function d(r){var s,c,f=t.length;void 0===r&&(r=1);for(var l=0;l<r;++l)for(n+=(o-n)*i,u.forEach((function(t){t(n)})),s=0;s<f;++s)null==(c=t[s]).fx?c.x+=c.vx*=a:(c.x=c.fx,c.vx=0),null==c.fy?c.y+=c.vy*=a:(c.y=c.fy,c.vy=0);return e}function h(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(.5+n),o=n*Rc;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function p(e){return e.initialize&&e.initialize(t,f),e}return null==t&&(t=[]),h(),e={tick:d,restart:function(){return s.restart(l),e},stop:function(){return s.stop(),e},nodes:function(n){return arguments.length?(t=n,h(),u.forEach(p),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},randomSource:function(t){return arguments.length?(f=t,u.forEach(p),e):f},force:function(t,n){return arguments.length>1?(null==n?u.delete(t):u.set(t,p(n)),e):u.get(t)},find:function(e,n,r){var i,o,a,u,s,c=0,f=t.length;for(null==r?r=1/0:r*=r,c=0;c<f;++c)(a=(i=e-(u=t[c]).x)*i+(o=n-u.y)*o)<r&&(s=u,r=a);return s},on:function(t,n){return arguments.length>1?(c.on(t,n),e):c.on(t)}}},Dc=function(){var t,e,n,r,i,o=xc(-30),a=1,u=1/0,s=.81;function c(n){var i,o=t.length,a=_c(t,Pc,Nc).visitAfter(l);for(r=n,i=0;i<o;++i)e=t[i],a.visit(d)}function f(){if(t){var e,n,r=t.length;for(i=new Array(r),e=0;e<r;++e)n=t[e],i[n.index]=+o(n,e,t)}}function l(t){var e,n,r,o,a,u=0,s=0;if(t.length){for(r=o=a=0;a<4;++a)(e=t[a])&&(n=Math.abs(e.value))&&(u+=e.value,s+=n,r+=n*e.x,o+=n*e.y);t.x=r/s,t.y=o/s}else{(e=t).x=e.data.x,e.y=e.data.y;do{u+=i[e.data.index]}while(e=e.next)}t.value=u}function d(t,o,c,f){if(!t.value)return!0;var l=t.x-e.x,d=t.y-e.y,h=f-o,p=l*l+d*d;if(h*h/s<p)return p<u&&(0===l&&(p+=(l=Ec(n))*l),0===d&&(p+=(d=Ec(n))*d),p<a&&(p=Math.sqrt(a*p)),e.vx+=l*t.value*r/p,e.vy+=d*t.value*r/p),!0;if(!(t.length||p>=u)){(t.data!==e||t.next)&&(0===l&&(p+=(l=Ec(n))*l),0===d&&(p+=(d=Ec(n))*d),p<a&&(p=Math.sqrt(a*p)));do{t.data!==e&&(h=i[t.data.index]*r/p,e.vx+=l*h,e.vy+=d*h)}while(t=t.next)}}return c.initialize=function(e,r){t=e,n=r,f()},c.strength=function(t){return arguments.length?(o="function"===typeof t?t:xc(+t),f(),c):o},c.distanceMin=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c.distanceMax=function(t){return arguments.length?(u=t*t,c):Math.sqrt(u)},c.theta=function(t){return arguments.length?(s=t*t,c):Math.sqrt(s)},c},Lc=function(t,e,n){var r,i,o,a=xc(.1);function u(t){for(var a=0,u=r.length;a<u;++a){var s=r[a],c=s.x-e||1e-6,f=s.y-n||1e-6,l=Math.sqrt(c*c+f*f),d=(o[a]-l)*i[a]*t/l;s.vx+=c*d,s.vy+=f*d}}function s(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)o[e]=+t(r[e],e,r),i[e]=isNaN(o[e])?0:+a(r[e],e,r)}}return"function"!==typeof t&&(t=xc(+t)),null==e&&(e=0),null==n&&(n=0),u.initialize=function(t){r=t,s()},u.strength=function(t){return arguments.length?(a="function"===typeof t?t:xc(+t),s(),u):a},u.radius=function(e){return arguments.length?(t="function"===typeof e?e:xc(+e),s(),u):t},u.x=function(t){return arguments.length?(e=+t,u):e},u.y=function(t){return arguments.length?(n=+t,u):n},u},Fc=function(t){var e,n,r,i=xc(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(r[o]-i.x)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=xc(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:xc(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"===typeof e?e:xc(+e),a(),o):t},o},Bc=function(t){var e,n,r,i=xc(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(r[o]-i.y)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=xc(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:xc(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"===typeof e?e:xc(+e),a(),o):t},o};function Uc(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var zc=function(t){return(t=Uc(Math.abs(t)))?t[1]:NaN},Hc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Vc(t){if(!(e=Hc.exec(t)))throw new Error("invalid format: "+t);var e;return new qc({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function qc(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Vc.prototype=qc.prototype,qc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Wc,Gc,Kc,Yc,Zc=function(t,e){var n=Uc(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Qc={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Zc(100*t,e)},r:Zc,s:function(t,e){var n=Uc(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Wc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Uc(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Xc=function(t){return t},Jc=Array.prototype.map,tf=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],ef=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Xc:(e=Jc.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=e[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Xc:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Jc.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",f=void 0===t.nan?"NaN":t.nan+"";function l(t){var e=(t=Vc(t)).fill,n=t.align,l=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,b=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Qc[v]||(void 0===m&&(m=12),b=!0,v="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===d?o:/[%p]/.test(v)?s:"",w=Qc[v],S=/[defgprs%]/.test(v);function O(t){var i,o,s,d=y,O=_;if("c"===v)O=w(t)+O,t="";else{var x=(t=+t)<0||1/t<0;if(t=isNaN(t)?f:w(Math.abs(t),m),b&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),x&&0===+t&&"+"!==l&&(x=!1),d=(x?"("===l?l:c:"-"===l||"("===l?"":l)+d,O=("s"===v?tf[8+Wc/3]:"")+O+(x&&"("===l?")":""),S)for(i=-1,o=t.length;++i<o;)if(48>(s=t.charCodeAt(i))||s>57){O=(46===s?a+t.slice(i+1):t.slice(i))+O,t=t.slice(0,i);break}}g&&!h&&(t=r(t,1/0));var E=d.length+t.length+O.length,M=E<p?new Array(p-E+1).join(e):"";switch(g&&h&&(t=r(M+t,M.length?p-O.length:1/0),M=""),n){case"<":t=d+t+O+M;break;case"=":t=d+M+t+O;break;case"^":t=M.slice(0,E=M.length>>1)+d+t+O+M.slice(E);break;default:t=M+d+t+O}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),O.toString=function(){return t+""},O}return{format:l,formatPrefix:function(t,e){var n=l(((t=Vc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(zc(e)/3))),i=Math.pow(10,-r),o=tf[8+r/3];return function(t){return n(i*t)+o}}}};function nf(t){return Gc=ef(t),Kc=Gc.format,Yc=Gc.formatPrefix,Gc}nf({thousands:",",grouping:[3],currency:["$",""]});var rf=function(t){return Math.max(0,-zc(Math.abs(t)))},of=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(zc(e)/3)))-zc(Math.abs(t)))},af=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,zc(e)-zc(t))+1},uf=1e-6,sf=1e-12,cf=Math.PI,ff=cf/2,lf=cf/4,df=2*cf,hf=180/cf,pf=cf/180,gf=Math.abs,mf=Math.atan,bf=Math.atan2,vf=Math.cos,yf=Math.ceil,_f=Math.exp,wf=(Math.floor,Math.hypot),Sf=Math.log,Of=Math.pow,xf=Math.sin,Ef=Math.sign||function(t){return t>0?1:t<0?-1:0},Mf=Math.sqrt,Tf=Math.tan;function $f(t){return t>1?0:t<-1?cf:Math.acos(t)}function Af(t){return t>1?ff:t<-1?-ff:Math.asin(t)}function kf(t){return(t=xf(t/2))*t}function Cf(){}function If(t,e){t&&Nf.hasOwnProperty(t.type)&&Nf[t.type](t,e)}var Pf={Feature:function(t,e){If(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)If(n[r].geometry,e)}},Nf={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Rf(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Rf(n[r],e,0)},Polygon:function(t,e){jf(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)jf(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)If(n[r],e)}};function Rf(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function jf(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Rf(t[n],e,1);e.polygonEnd()}var Df,Lf,Ff,Bf,Uf,zf=function(t,e){t&&Pf.hasOwnProperty(t.type)?Pf[t.type](t,e):If(t,e)},Hf=new C,Vf=new C,qf={point:Cf,lineStart:Cf,lineEnd:Cf,polygonStart:function(){Hf=new C,qf.lineStart=Wf,qf.lineEnd=Gf},polygonEnd:function(){var t=+Hf;Vf.add(t<0?df+t:t),this.lineStart=this.lineEnd=this.point=Cf},sphere:function(){Vf.add(df)}};function Wf(){qf.point=Kf}function Gf(){Yf(Df,Lf)}function Kf(t,e){qf.point=Yf,Df=t,Lf=e,Ff=t*=pf,Bf=vf(e=(e*=pf)/2+lf),Uf=xf(e)}function Yf(t,e){var n=(t*=pf)-Ff,r=n>=0?1:-1,i=r*n,o=vf(e=(e*=pf)/2+lf),a=xf(e),u=Uf*a,s=Bf*o+u*vf(i),c=u*r*xf(i);Hf.add(bf(c,s)),Ff=t,Bf=o,Uf=a}var Zf,Qf,Xf,Jf,tl,el,nl,rl,il,ol,al,ul=function(t){return Vf=new C,zf(t,qf),2*Vf};function sl(t){return[bf(t[1],t[0]),Af(t[2])]}function cl(t){var e=t[0],n=t[1],r=vf(n);return[r*vf(e),r*xf(e),xf(n)]}function fl(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function ll(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function dl(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function hl(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function pl(t){var e=Mf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var gl={point:ml,lineStart:vl,lineEnd:yl,polygonStart:function(){gl.point=_l,gl.lineStart=wl,gl.lineEnd=Sl,il=new C,qf.polygonStart()},polygonEnd:function(){qf.polygonEnd(),gl.point=ml,gl.lineStart=vl,gl.lineEnd=yl,Hf<0?(Zf=-(Xf=180),Qf=-(Jf=90)):il>uf?Jf=90:il<-1e-6&&(Qf=-90),al[0]=Zf,al[1]=Xf},sphere:function(){Zf=-(Xf=180),Qf=-(Jf=90)}};function ml(t,e){ol.push(al=[Zf=t,Xf=t]),e<Qf&&(Qf=e),e>Jf&&(Jf=e)}function bl(t,e){var n=cl([t*pf,e*pf]);if(rl){var r=ll(rl,n),i=ll([r[1],-r[0],0],r);pl(i),i=sl(i);var o,a=t-tl,u=a>0?1:-1,s=i[0]*hf*u,c=gf(a)>180;c^(u*tl<s&&s<u*t)?(o=i[1]*hf)>Jf&&(Jf=o):c^(u*tl<(s=(s+360)%360-180)&&s<u*t)?(o=-i[1]*hf)<Qf&&(Qf=o):(e<Qf&&(Qf=e),e>Jf&&(Jf=e)),c?t<tl?Ol(Zf,t)>Ol(Zf,Xf)&&(Xf=t):Ol(t,Xf)>Ol(Zf,Xf)&&(Zf=t):Xf>=Zf?(t<Zf&&(Zf=t),t>Xf&&(Xf=t)):t>tl?Ol(Zf,t)>Ol(Zf,Xf)&&(Xf=t):Ol(t,Xf)>Ol(Zf,Xf)&&(Zf=t)}else ol.push(al=[Zf=t,Xf=t]);e<Qf&&(Qf=e),e>Jf&&(Jf=e),rl=n,tl=t}function vl(){gl.point=bl}function yl(){al[0]=Zf,al[1]=Xf,gl.point=ml,rl=null}function _l(t,e){if(rl){var n=t-tl;il.add(gf(n)>180?n+(n>0?360:-360):n)}else el=t,nl=e;qf.point(t,e),bl(t,e)}function wl(){qf.lineStart()}function Sl(){_l(el,nl),qf.lineEnd(),gf(il)>uf&&(Zf=-(Xf=180)),al[0]=Zf,al[1]=Xf,rl=null}function Ol(t,e){return(e-=t)<0?e+360:e}function xl(t,e){return t[0]-e[0]}function El(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Ml,Tl,$l,Al,kl,Cl,Il,Pl,Nl,Rl,jl,Dl,Ll,Fl,Bl,Ul,zl=function(t){var e,n,r,i,o,a,u;if(Jf=Xf=-(Zf=Qf=1/0),ol=[],zf(t,gl),n=ol.length){for(ol.sort(xl),e=1,o=[r=ol[0]];e<n;++e)El(r,(i=ol[e])[0])||El(r,i[1])?(Ol(r[0],i[1])>Ol(r[0],r[1])&&(r[1]=i[1]),Ol(i[0],r[1])>Ol(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(u=Ol(r[1],i[0]))>a&&(a=u,Zf=i[0],Xf=r[1])}return ol=al=null,Zf===1/0||Qf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Zf,Qf],[Xf,Jf]]},Hl={sphere:Cf,point:Vl,lineStart:Wl,lineEnd:Yl,polygonStart:function(){Hl.lineStart=Zl,Hl.lineEnd=Ql},polygonEnd:function(){Hl.lineStart=Wl,Hl.lineEnd=Yl}};function Vl(t,e){t*=pf;var n=vf(e*=pf);ql(n*vf(t),n*xf(t),xf(e))}function ql(t,e,n){++Ml,$l+=(t-$l)/Ml,Al+=(e-Al)/Ml,kl+=(n-kl)/Ml}function Wl(){Hl.point=Gl}function Gl(t,e){t*=pf;var n=vf(e*=pf);Fl=n*vf(t),Bl=n*xf(t),Ul=xf(e),Hl.point=Kl,ql(Fl,Bl,Ul)}function Kl(t,e){t*=pf;var n=vf(e*=pf),r=n*vf(t),i=n*xf(t),o=xf(e),a=bf(Mf((a=Bl*o-Ul*i)*a+(a=Ul*r-Fl*o)*a+(a=Fl*i-Bl*r)*a),Fl*r+Bl*i+Ul*o);Tl+=a,Cl+=a*(Fl+(Fl=r)),Il+=a*(Bl+(Bl=i)),Pl+=a*(Ul+(Ul=o)),ql(Fl,Bl,Ul)}function Yl(){Hl.point=Vl}function Zl(){Hl.point=Xl}function Ql(){Jl(Dl,Ll),Hl.point=Vl}function Xl(t,e){Dl=t,Ll=e,t*=pf,e*=pf,Hl.point=Jl;var n=vf(e);Fl=n*vf(t),Bl=n*xf(t),Ul=xf(e),ql(Fl,Bl,Ul)}function Jl(t,e){t*=pf;var n=vf(e*=pf),r=n*vf(t),i=n*xf(t),o=xf(e),a=Bl*o-Ul*i,u=Ul*r-Fl*o,s=Fl*i-Bl*r,c=wf(a,u,s),f=Af(c),l=c&&-f/c;Nl.add(l*a),Rl.add(l*u),jl.add(l*s),Tl+=f,Cl+=f*(Fl+(Fl=r)),Il+=f*(Bl+(Bl=i)),Pl+=f*(Ul+(Ul=o)),ql(Fl,Bl,Ul)}var td=function(t){Ml=Tl=$l=Al=kl=Cl=Il=Pl=0,Nl=new C,Rl=new C,jl=new C,zf(t,Hl);var e=+Nl,n=+Rl,r=+jl,i=wf(e,n,r);return i<sf&&(e=Cl,n=Il,r=Pl,Tl<uf&&(e=$l,n=Al,r=kl),(i=wf(e,n,r))<sf)?[NaN,NaN]:[bf(n,e)*hf,Af(r/i)*hf]},ed=function(t){return function(){return t}},nd=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function rd(t,e){return[gf(t)>cf?t+Math.round(-t/df)*df:t,e]}function id(t,e,n){return(t%=df)?e||n?nd(ad(t),ud(e,n)):ad(t):e||n?ud(e,n):rd}function od(t){return function(e,n){return[(e+=t)>cf?e-df:e<-cf?e+df:e,n]}}function ad(t){var e=od(t);return e.invert=od(-t),e}function ud(t,e){var n=vf(t),r=xf(t),i=vf(e),o=xf(e);function a(t,e){var a=vf(e),u=vf(t)*a,s=xf(t)*a,c=xf(e),f=c*n+u*r;return[bf(s*i-f*o,u*n-c*r),Af(f*i+s*o)]}return a.invert=function(t,e){var a=vf(e),u=vf(t)*a,s=xf(t)*a,c=xf(e),f=c*i-s*o;return[bf(s*i+c*o,u*n+f*r),Af(f*n-u*r)]},a}rd.invert=rd;var sd=function(t){function e(e){return(e=t(e[0]*pf,e[1]*pf))[0]*=hf,e[1]*=hf,e}return t=id(t[0]*pf,t[1]*pf,t.length>2?t[2]*pf:0),e.invert=function(e){return(e=t.invert(e[0]*pf,e[1]*pf))[0]*=hf,e[1]*=hf,e},e};function cd(t,e,n,r,i,o){if(n){var a=vf(e),u=xf(e),s=r*n;null==i?(i=e+r*df,o=e-s/2):(i=fd(a,i),o=fd(a,o),(r>0?i<o:i>o)&&(i+=r*df));for(var c,f=i;r>0?f>o:f<o;f-=s)c=sl([a,-u*vf(f),-u*xf(f)]),t.point(c[0],c[1])}}function fd(t,e){(e=cl(e))[0]-=t,pl(e);var n=$f(-e[1]);return((-e[2]<0?-n:n)+df-uf)%df}var ld=function(){var t,e,n=ed([0,0]),r=ed(90),i=ed(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=hf,n[1]*=hf}};function a(){var a=n.apply(this,arguments),u=r.apply(this,arguments)*pf,s=i.apply(this,arguments)*pf;return t=[],e=id(-a[0]*pf,-a[1]*pf,0).invert,cd(o,u,s,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"===typeof t?t:ed([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"===typeof t?t:ed(+t),a):r},a.precision=function(t){return arguments.length?(i="function"===typeof t?t:ed(+t),a):i},a},dd=function(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:Cf,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},hd=function(t,e){return gf(t[0]-e[0])<uf&&gf(t[1]-e[1])<uf};function pd(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var gd=function(t,e,n,r,i){var o,a,u=[],s=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(hd(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}a[0]+=2e-6}u.push(n=new pd(r,t,null,!0)),s.push(n.o=new pd(r,null,n,!1)),u.push(n=new pd(a,t,null,!1)),s.push(n.o=new pd(a,null,n,!0))}})),u.length){for(s.sort(e),md(u),md(s),o=0,a=s.length;o<a;++o)s[o].e=n=!n;for(var c,f,l=u[0];;){for(var d=l,h=!0;d.v;)if((d=d.n)===l)return;c=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(h)for(o=0,a=c.length;o<a;++o)i.point((f=c[o])[0],f[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(h)for(c=d.p.z,o=c.length-1;o>=0;--o)i.point((f=c[o])[0],f[1]);else r(d.x,d.p.x,-1,i);d=d.p}c=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}};function md(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function bd(t){return gf(t[0])<=cf?t[0]:Ef(t[0])*((gf(t[0])+cf)%df-cf)}var vd=function(t,e){var n=bd(e),r=e[1],i=xf(r),o=[xf(n),-vf(n),0],a=0,u=0,s=new C;1===i?r=ff+uf:-1===i&&(r=-ff-uf);for(var c=0,f=t.length;c<f;++c)if(d=(l=t[c]).length)for(var l,d,h=l[d-1],p=bd(h),g=h[1]/2+lf,m=xf(g),b=vf(g),v=0;v<d;++v,p=_,m=S,b=O,h=y){var y=l[v],_=bd(y),w=y[1]/2+lf,S=xf(w),O=vf(w),x=_-p,E=x>=0?1:-1,M=E*x,T=M>cf,$=m*S;if(s.add(bf($*E*xf(M),b*O+$*vf(M))),a+=T?x+E*df:x,T^p>=n^_>=n){var A=ll(cl(h),cl(y));pl(A);var k=ll(o,A);pl(k);var I=(T^x>=0?-1:1)*Af(k[2]);(r>I||r===I&&(A[0]||A[1]))&&(u+=T^x>=0?1:-1)}}return(a<-1e-6||a<uf&&s<-1e-12)^1&u},yd=function(t,e,n,r){return function(i){var o,a,u,s=e(i),c=dd(),f=e(c),l=!1,d={point:h,lineStart:g,lineEnd:m,polygonStart:function(){d.point=b,d.lineStart=v,d.lineEnd=y,a=[],o=[]},polygonEnd:function(){d.point=h,d.lineStart=g,d.lineEnd=m,a=At(a);var t=vd(o,r);a.length?(l||(i.polygonStart(),l=!0),gd(a,wd,t,n,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(e,n){t(e,n)&&i.point(e,n)}function p(t,e){s.point(t,e)}function g(){d.point=p,s.lineStart()}function m(){d.point=h,s.lineEnd()}function b(t,e){u.push([t,e]),f.point(t,e)}function v(){f.lineStart(),u=[]}function y(){b(u[0][0],u[0][1]),f.lineEnd();var t,e,n,r,s=f.clean(),d=c.result(),h=d.length;if(u.pop(),o.push(u),u=null,h)if(1&s){if((e=(n=d[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else h>1&&2&s&&d.push(d.pop().concat(d.shift())),a.push(d.filter(_d))}return d}};function _d(t){return t.length>1}function wd(t,e){return((t=t.x)[0]<0?t[1]-ff-uf:ff-t[1])-((e=e.x)[0]<0?e[1]-ff-uf:ff-e[1])}var Sd=yd((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var u=o>0?cf:-cf,s=gf(o-n);gf(s-cf)<uf?(t.point(n,r=(r+a)/2>0?ff:-ff),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),e=0):i!==u&&s>=cf&&(gf(n-i)<uf&&(n-=i*uf),gf(o-u)<uf&&(o-=u*uf),r=function(t,e,n,r){var i,o,a=xf(t-n);return gf(a)>uf?mf((xf(e)*(o=vf(r))*xf(n)-xf(r)*(i=vf(e))*xf(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),e=0),t.point(n=o,r=a),i=u},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*ff,r.point(-cf,i),r.point(0,i),r.point(cf,i),r.point(cf,0),r.point(cf,-i),r.point(0,-i),r.point(-cf,-i),r.point(-cf,0),r.point(-cf,i);else if(gf(t[0]-e[0])>uf){var o=t[0]<e[0]?cf:-cf;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}),[-cf,-ff]);var Od=function(t){var e=vf(t),n=6*pf,r=e>0,i=gf(e)>uf;function o(t,n){return vf(t)*vf(n)>e}function a(t,n,r){var i=[1,0,0],o=ll(cl(t),cl(n)),a=fl(o,o),u=o[0],s=a-u*u;if(!s)return!r&&t;var c=e*a/s,f=-e*u/s,l=ll(i,o),d=hl(i,c);dl(d,hl(o,f));var h=l,p=fl(d,h),g=fl(h,h),m=p*p-g*(fl(d,d)-1);if(!(m<0)){var b=Mf(m),v=hl(h,(-p-b)/g);if(dl(v,d),v=sl(v),!r)return v;var y,_=t[0],w=n[0],S=t[1],O=n[1];w<_&&(y=_,_=w,w=y);var x=w-_,E=gf(x-cf)<uf;if(!E&&O<S&&(y=S,S=O,O=y),E||x<uf?E?S+O>0^v[1]<(gf(v[0]-_)<uf?S:O):S<=v[1]&&v[1]<=O:x>cf^(_<=v[0]&&v[0]<=w)){var M=hl(h,(-p+b)/g);return dl(M,d),[v,sl(M)]}}}function u(e,n){var i=r?t:cf-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return yd(o,(function(t){var e,n,s,c,f;return{lineStart:function(){c=s=!1,f=1},point:function(l,d){var h,p=[l,d],g=o(l,d),m=r?g?0:u(l,d):g?u(l+(l<0?cf:-cf),d):0;if(!e&&(c=s=g)&&t.lineStart(),g!==s&&(!(h=a(e,p))||hd(e,h)||hd(p,h))&&(p[2]=1),g!==s)f=0,g?(t.lineStart(),h=a(p,e),t.point(h[0],h[1])):(h=a(e,p),t.point(h[0],h[1],2),t.lineEnd()),e=h;else if(i&&e&&r^g){var b;m&n||!(b=a(p,e,!0))||(f=0,r?(t.lineStart(),t.point(b[0][0],b[0][1]),t.point(b[1][0],b[1][1]),t.lineEnd()):(t.point(b[1][0],b[1][1]),t.lineEnd(),t.lineStart(),t.point(b[0][0],b[0][1],3)))}!g||e&&hd(e,p)||t.point(p[0],p[1]),e=p,s=g,n=m},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return f|(c&&s)<<1}}}),(function(e,r,i,o){cd(o,t,n,i,e,r)}),r?[0,-t]:[-cf,t-cf])},xd=1e9,Ed=-xd;function Md(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,u,c){var f=0,l=0;if(null==i||(f=a(i,u))!==(l=a(o,u))||s(i,o)<0^u>0)do{c.point(0===f||3===f?t:n,f>1?r:e)}while((f=(f+u+4)%4)!==l);else c.point(o[0],o[1])}function a(r,i){return gf(r[0]-t)<uf?i>0?0:3:gf(r[0]-n)<uf?i>0?2:1:gf(r[1]-e)<uf?i>0?1:0:i>0?3:2}function u(t,e){return s(t.x,e.x)}function s(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var s,c,f,l,d,h,p,g,m,b,v,y=a,_=dd(),w={point:S,lineStart:function(){w.point=O,c&&c.push(f=[]);b=!0,m=!1,p=g=NaN},lineEnd:function(){s&&(O(l,d),h&&m&&_.rejoin(),s.push(_.result()));w.point=S,m&&y.lineEnd()},polygonStart:function(){y=_,s=[],c=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;n<i;++n)for(var o,a,u=c[n],s=1,f=u.length,l=u[0],d=l[0],h=l[1];s<f;++s)o=d,a=h,d=(l=u[s])[0],h=l[1],a<=r?h>r&&(d-o)*(r-a)>(h-a)*(t-o)&&++e:h<=r&&(d-o)*(r-a)<(h-a)*(t-o)&&--e;return e}(),n=v&&e,i=(s=At(s)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&gd(s,u,e,o,a),a.polygonEnd());y=a,s=c=f=null}};function S(t,e){i(t,e)&&y.point(t,e)}function O(o,a){var u=i(o,a);if(c&&f.push([o,a]),b)l=o,d=a,h=u,b=!1,u&&(y.lineStart(),y.point(o,a));else if(u&&m)y.point(o,a);else{var s=[p=Math.max(Ed,Math.min(xd,p)),g=Math.max(Ed,Math.min(xd,g))],_=[o=Math.max(Ed,Math.min(xd,o)),a=Math.max(Ed,Math.min(xd,a))];!function(t,e,n,r,i,o){var a,u=t[0],s=t[1],c=0,f=1,l=e[0]-u,d=e[1]-s;if(a=n-u,l||!(a>0)){if(a/=l,l<0){if(a<c)return;a<f&&(f=a)}else if(l>0){if(a>f)return;a>c&&(c=a)}if(a=i-u,l||!(a<0)){if(a/=l,l<0){if(a>f)return;a>c&&(c=a)}else if(l>0){if(a<c)return;a<f&&(f=a)}if(a=r-s,d||!(a>0)){if(a/=d,d<0){if(a<c)return;a<f&&(f=a)}else if(d>0){if(a>f)return;a>c&&(c=a)}if(a=o-s,d||!(a<0)){if(a/=d,d<0){if(a>f)return;a>c&&(c=a)}else if(d>0){if(a<c)return;a<f&&(f=a)}return c>0&&(t[0]=u+c*l,t[1]=s+c*d),f<1&&(e[0]=u+f*l,e[1]=s+f*d),!0}}}}}(s,_,t,e,n,r)?u&&(y.lineStart(),y.point(o,a),v=!1):(m||(y.lineStart(),y.point(s[0],s[1])),y.point(_[0],_[1]),u||y.lineEnd(),v=!1)}p=o,g=a,m=u}return w}}var Td,$d,Ad,kd,Cd=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=Md(r,i,o,a)(e=n)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=e=null,n):[[r,i],[o,a]]}}},Id={sphere:Cf,point:Cf,lineStart:function(){Id.point=Nd,Id.lineEnd=Pd},lineEnd:Cf,polygonStart:Cf,polygonEnd:Cf};function Pd(){Id.point=Id.lineEnd=Cf}function Nd(t,e){$d=t*=pf,Ad=xf(e*=pf),kd=vf(e),Id.point=Rd}function Rd(t,e){t*=pf;var n=xf(e*=pf),r=vf(e),i=gf(t-$d),o=vf(i),a=r*xf(i),u=kd*n-Ad*r*o,s=Ad*n+kd*r*o;Td.add(bf(Mf(a*a+u*u),s)),$d=t,Ad=n,kd=r}var jd=function(t){return Td=new C,zf(t,Id),+Td},Dd=[null,null],Ld={type:"LineString",coordinates:Dd},Fd=function(t,e){return Dd[0]=t,Dd[1]=e,jd(Ld)},Bd={Feature:function(t,e){return zd(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(zd(n[r].geometry,e))return!0;return!1}},Ud={Sphere:function(){return!0},Point:function(t,e){return Hd(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Hd(n[r],e))return!0;return!1},LineString:function(t,e){return Vd(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Vd(n[r],e))return!0;return!1},Polygon:function(t,e){return qd(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(qd(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(zd(n[r],e))return!0;return!1}};function zd(t,e){return!(!t||!Ud.hasOwnProperty(t.type))&&Ud[t.type](t,e)}function Hd(t,e){return 0===Fd(t,e)}function Vd(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=Fd(t[o],e)))return!0;if(o>0&&(i=Fd(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<sf*i)return!0;n=r}return!1}function qd(t,e){return!!vd(t.map(Wd),Gd(e))}function Wd(t){return(t=t.map(Gd)).pop(),t}function Gd(t){return[t[0]*pf,t[1]*pf]}var Kd=function(t,e){return(t&&Bd.hasOwnProperty(t.type)?Bd[t.type]:zd)(t,e)};function Yd(t,e,n){var r=Pt(t,e-uf,n).concat(e);return function(t){return r.map((function(e){return[t,e]}))}}function Zd(t,e,n){var r=Pt(t,e-uf,n).concat(e);return function(t){return r.map((function(e){return[e,t]}))}}function Qd(){var t,e,n,r,i,o,a,u,s,c,f,l,d=10,h=d,p=90,g=360,m=2.5;function b(){return{type:"MultiLineString",coordinates:v()}}function v(){return Pt(yf(r/p)*p,n,p).map(f).concat(Pt(yf(u/g)*g,a,g).map(l)).concat(Pt(yf(e/d)*d,t,d).filter((function(t){return gf(t%p)>uf})).map(s)).concat(Pt(yf(o/h)*h,i,h).filter((function(t){return gf(t%g)>uf})).map(c))}return b.lines=function(){return v().map((function(t){return{type:"LineString",coordinates:t}}))},b.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(l(a).slice(1),f(n).reverse().slice(1),l(u).reverse().slice(1))]}},b.extent=function(t){return arguments.length?b.extentMajor(t).extentMinor(t):b.extentMinor()},b.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),u>a&&(t=u,u=a,a=t),b.precision(m)):[[r,u],[n,a]]},b.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],o=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),o>i&&(n=o,o=i,i=n),b.precision(m)):[[e,o],[t,i]]},b.step=function(t){return arguments.length?b.stepMajor(t).stepMinor(t):b.stepMinor()},b.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],b):[p,g]},b.stepMinor=function(t){return arguments.length?(d=+t[0],h=+t[1],b):[d,h]},b.precision=function(d){return arguments.length?(m=+d,s=Yd(o,i,90),c=Zd(e,t,m),f=Yd(u,a,90),l=Zd(r,n,m),b):m},b.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Xd(){return Qd()()}var Jd,th,eh,nh,rh=function(t,e){var n=t[0]*pf,r=t[1]*pf,i=e[0]*pf,o=e[1]*pf,a=vf(r),u=xf(r),s=vf(o),c=xf(o),f=a*vf(n),l=a*xf(n),d=s*vf(i),h=s*xf(i),p=2*Af(Mf(kf(o-r)+a*s*kf(i-n))),g=xf(p),m=p?function(t){var e=xf(t*=p)/g,n=xf(p-t)/g,r=n*f+e*d,i=n*l+e*h,o=n*u+e*c;return[bf(i,r)*hf,bf(o,Mf(r*r+i*i))*hf]}:function(){return[n*hf,r*hf]};return m.distance=p,m},ih=function(t){return t},oh=new C,ah=new C,uh={point:Cf,lineStart:Cf,lineEnd:Cf,polygonStart:function(){uh.lineStart=sh,uh.lineEnd=lh},polygonEnd:function(){uh.lineStart=uh.lineEnd=uh.point=Cf,oh.add(gf(ah)),ah=new C},result:function(){var t=oh/2;return oh=new C,t}};function sh(){uh.point=ch}function ch(t,e){uh.point=fh,Jd=eh=t,th=nh=e}function fh(t,e){ah.add(nh*t-eh*e),eh=t,nh=e}function lh(){fh(Jd,th)}var dh=uh,hh=1/0,ph=hh,gh=-hh,mh=gh;var bh,vh,yh,_h,wh={point:function(t,e){t<hh&&(hh=t);t>gh&&(gh=t);e<ph&&(ph=e);e>mh&&(mh=e)},lineStart:Cf,lineEnd:Cf,polygonStart:Cf,polygonEnd:Cf,result:function(){var t=[[hh,ph],[gh,mh]];return gh=mh=-(ph=hh=1/0),t}},Sh=0,Oh=0,xh=0,Eh=0,Mh=0,Th=0,$h=0,Ah=0,kh=0,Ch={point:Ih,lineStart:Ph,lineEnd:jh,polygonStart:function(){Ch.lineStart=Dh,Ch.lineEnd=Lh},polygonEnd:function(){Ch.point=Ih,Ch.lineStart=Ph,Ch.lineEnd=jh},result:function(){var t=kh?[$h/kh,Ah/kh]:Th?[Eh/Th,Mh/Th]:xh?[Sh/xh,Oh/xh]:[NaN,NaN];return Sh=Oh=xh=Eh=Mh=Th=$h=Ah=kh=0,t}};function Ih(t,e){Sh+=t,Oh+=e,++xh}function Ph(){Ch.point=Nh}function Nh(t,e){Ch.point=Rh,Ih(yh=t,_h=e)}function Rh(t,e){var n=t-yh,r=e-_h,i=Mf(n*n+r*r);Eh+=i*(yh+t)/2,Mh+=i*(_h+e)/2,Th+=i,Ih(yh=t,_h=e)}function jh(){Ch.point=Ih}function Dh(){Ch.point=Fh}function Lh(){Bh(bh,vh)}function Fh(t,e){Ch.point=Bh,Ih(bh=yh=t,vh=_h=e)}function Bh(t,e){var n=t-yh,r=e-_h,i=Mf(n*n+r*r);Eh+=i*(yh+t)/2,Mh+=i*(_h+e)/2,Th+=i,$h+=(i=_h*t-yh*e)*(yh+t),Ah+=i*(_h+e),kh+=3*i,Ih(yh=t,_h=e)}var Uh=Ch;function zh(t){this._context=t}zh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,df)}},result:Cf};var Hh,Vh,qh,Wh,Gh,Kh=new C,Yh={point:Cf,lineStart:function(){Yh.point=Zh},lineEnd:function(){Hh&&Qh(Vh,qh),Yh.point=Cf},polygonStart:function(){Hh=!0},polygonEnd:function(){Hh=null},result:function(){var t=+Kh;return Kh=new C,t}};function Zh(t,e){Yh.point=Qh,Vh=Wh=t,qh=Gh=e}function Qh(t,e){Wh-=t,Gh-=e,Kh.add(Mf(Wh*Wh+Gh*Gh)),Wh=t,Gh=e}var Xh=Yh;function Jh(){this._string=[]}function tp(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Jh.prototype={_radius:4.5,_circle:tp(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=tp(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var ep=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"===typeof i&&r.pointRadius(+i.apply(this,arguments)),zf(t,n(r))),r.result()}return o.area=function(t){return zf(t,n(dh)),dh.result()},o.measure=function(t){return zf(t,n(Xh)),Xh.result()},o.bounds=function(t){return zf(t,n(wh)),wh.result()},o.centroid=function(t){return zf(t,n(Uh)),Uh.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,ih):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new Jh):new zh(e=t),"function"!==typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"===typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},np=function(t){return{stream:rp(t)}};function rp(t){return function(e){var n=new ip;for(var r in t)n[r]=t[r];return n.stream=e,n}}function ip(){}function op(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),zf(n,t.stream(wh)),e(wh.result()),null!=r&&t.clipExtent(r),t}function ap(t,e,n){return op(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,u=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,u])}),n)}function up(t,e,n){return ap(t,[[0,0],e],n)}function sp(t,e,n){return op(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])}),n)}function cp(t,e,n){return op(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])}),n)}ip.prototype={constructor:ip,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var fp=vf(30*pf),lp=function(t,e){return+e?function(t,e){function n(r,i,o,a,u,s,c,f,l,d,h,p,g,m){var b=c-r,v=f-i,y=b*b+v*v;if(y>4*e&&g--){var _=a+d,w=u+h,S=s+p,O=Mf(_*_+w*w+S*S),x=Af(S/=O),E=gf(gf(S)-1)<uf||gf(o-l)<uf?(o+l)/2:bf(w,_),M=t(E,x),T=M[0],$=M[1],A=T-r,k=$-i,C=v*A-b*k;(C*C/y>e||gf((b*A+v*k)/y-.5)>.3||a*d+u*h+s*p<fp)&&(n(r,i,o,a,u,s,T,$,E,_/=O,w/=O,S,g,m),m.point(T,$),n(T,$,E,_,w,S,c,f,l,d,h,p,g,m))}}return function(e){var r,i,o,a,u,s,c,f,l,d,h,p,g={point:m,lineStart:b,lineEnd:y,polygonStart:function(){e.polygonStart(),g.lineStart=_},polygonEnd:function(){e.polygonEnd(),g.lineStart=b}};function m(n,r){n=t(n,r),e.point(n[0],n[1])}function b(){f=NaN,g.point=v,e.lineStart()}function v(r,i){var o=cl([r,i]),a=t(r,i);n(f,l,c,d,h,p,f=a[0],l=a[1],c=r,d=o[0],h=o[1],p=o[2],16,e),e.point(f,l)}function y(){g.point=m,e.lineEnd()}function _(){b(),g.point=w,g.lineEnd=S}function w(t,e){v(r=t,e),i=f,o=l,a=d,u=h,s=p,g.point=v}function S(){n(f,l,c,d,h,p,i,o,r,a,u,s,16,e),g.lineEnd=y,y()}return g}}(t,e):function(t){return rp({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)};var dp=rp({point:function(t,e){this.stream.point(t*pf,e*pf)}});function hp(t,e,n,r,i,o){if(!o)return function(t,e,n,r,i){function o(o,a){return[e+t*(o*=r),n-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*r,(n-a)/t*i]},o}(t,e,n,r,i);var a=vf(o),u=xf(o),s=a*t,c=u*t,f=a/t,l=u/t,d=(u*n-a*e)/t,h=(u*e+a*n)/t;function p(t,o){return[s*(t*=r)-c*(o*=i)+e,n-c*t-s*o]}return p.invert=function(t,e){return[r*(f*t-l*e+d),i*(h-l*t-f*e)]},p}function pp(t){return gp((function(){return t}))()}function gp(t){var e,n,r,i,o,a,u,s,c,f,l=150,d=480,h=250,p=0,g=0,m=0,b=0,v=0,y=0,_=1,w=1,S=null,O=Sd,x=null,E=ih,M=.5;function T(t){return s(t[0]*pf,t[1]*pf)}function $(t){return(t=s.invert(t[0],t[1]))&&[t[0]*hf,t[1]*hf]}function A(){var t=hp(l,0,0,_,w,y).apply(null,e(p,g)),r=hp(l,d-t[0],h-t[1],_,w,y);return n=id(m,b,v),u=nd(e,r),s=nd(n,u),a=lp(u,M),k()}function k(){return c=f=null,T}return T.stream=function(t){return c&&f===t?c:c=dp(function(t){return rp({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(O(a(E(f=t)))))},T.preclip=function(t){return arguments.length?(O=t,S=void 0,k()):O},T.postclip=function(t){return arguments.length?(E=t,x=r=i=o=null,k()):E},T.clipAngle=function(t){return arguments.length?(O=+t?Od(S=t*pf):(S=null,Sd),k()):S*hf},T.clipExtent=function(t){return arguments.length?(E=null==t?(x=r=i=o=null,ih):Md(x=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),k()):null==x?null:[[x,r],[i,o]]},T.scale=function(t){return arguments.length?(l=+t,A()):l},T.translate=function(t){return arguments.length?(d=+t[0],h=+t[1],A()):[d,h]},T.center=function(t){return arguments.length?(p=t[0]%360*pf,g=t[1]%360*pf,A()):[p*hf,g*hf]},T.rotate=function(t){return arguments.length?(m=t[0]%360*pf,b=t[1]%360*pf,v=t.length>2?t[2]%360*pf:0,A()):[m*hf,b*hf,v*hf]},T.angle=function(t){return arguments.length?(y=t%360*pf,A()):y*hf},T.reflectX=function(t){return arguments.length?(_=t?-1:1,A()):_<0},T.reflectY=function(t){return arguments.length?(w=t?-1:1,A()):w<0},T.precision=function(t){return arguments.length?(a=lp(u,M=t*t),k()):Mf(M)},T.fitExtent=function(t,e){return ap(T,t,e)},T.fitSize=function(t,e){return up(T,t,e)},T.fitWidth=function(t,e){return sp(T,t,e)},T.fitHeight=function(t,e){return cp(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&$,A()}}function mp(t){var e=0,n=cf/3,r=gp(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*pf,n=t[1]*pf):[e*hf,n*hf]},i}function bp(t,e){var n=xf(t),r=(n+xf(e))/2;if(gf(r)<uf)return function(t){var e=vf(t);function n(t,n){return[t*e,xf(n)/e]}return n.invert=function(t,n){return[t/e,Af(n*e)]},n}(t);var i=1+n*(2*r-n),o=Mf(i)/r;function a(t,e){var n=Mf(i-2*r*xf(e))/r;return[n*xf(t*=r),o-n*vf(t)]}return a.invert=function(t,e){var n=o-e,a=bf(t,gf(n))*Ef(n);return n*r<0&&(a-=cf*Ef(t)*Ef(n)),[a/r,Af((i-(t*t+n*n)*r*r)/(2*r))]},a}var vp=function(){return mp(bp).scale(155.424).center([0,33.6442])},yp=function(){return vp().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var _p=function(){var t,e,n,r,i,o,a=yp(),u=vp().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=vp().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function f(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function l(){return t=e=null,f}return f.invert=function(t){var e=a.scale(),n=a.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:a).invert(t)},f.stream=function(n){return t&&e===n?t:t=function(t){var e=t.length;return{point:function(n,r){for(var i=-1;++i<e;)t[i].point(n,r)},sphere:function(){for(var n=-1;++n<e;)t[n].sphere()},lineStart:function(){for(var n=-1;++n<e;)t[n].lineStart()},lineEnd:function(){for(var n=-1;++n<e;)t[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<e;)t[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<e;)t[n].polygonEnd()}}}([a.stream(e=n),u.stream(n),s.stream(n)])},f.precision=function(t){return arguments.length?(a.precision(t),u.precision(t),s.precision(t),l()):a.precision()},f.scale=function(t){return arguments.length?(a.scale(t),u.scale(.35*t),s.scale(t),f.translate(a.translate())):a.scale()},f.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],f=+t[1];return n=a.translate(t).clipExtent([[o-.455*e,f-.238*e],[o+.455*e,f+.238*e]]).stream(c),r=u.translate([o-.307*e,f+.201*e]).clipExtent([[o-.425*e+uf,f+.12*e+uf],[o-.214*e-uf,f+.234*e-uf]]).stream(c),i=s.translate([o-.205*e,f+.212*e]).clipExtent([[o-.214*e+uf,f+.166*e+uf],[o-.115*e-uf,f+.234*e-uf]]).stream(c),l()},f.fitExtent=function(t,e){return ap(f,t,e)},f.fitSize=function(t,e){return up(f,t,e)},f.fitWidth=function(t,e){return sp(f,t,e)},f.fitHeight=function(t,e){return cp(f,t,e)},f.scale(1070)};function wp(t){return function(e,n){var r=vf(e),i=vf(n),o=t(r*i);return o===1/0?[2,0]:[o*i*xf(e),o*xf(n)]}}function Sp(t){return function(e,n){var r=Mf(e*e+n*n),i=t(r),o=xf(i),a=vf(i);return[bf(e*o,r*a),Af(r&&n*o/r)]}}var Op=wp((function(t){return Mf(2/(1+t))}));Op.invert=Sp((function(t){return 2*Af(t/2)}));var xp=function(){return pp(Op).scale(124.75).clipAngle(179.999)},Ep=wp((function(t){return(t=$f(t))&&t/xf(t)}));Ep.invert=Sp((function(t){return t}));var Mp=function(){return pp(Ep).scale(79.4188).clipAngle(179.999)};function Tp(t,e){return[t,Sf(Tf((ff+e)/2))]}Tp.invert=function(t,e){return[t,2*mf(_f(e))-ff]};var $p=function(){return Ap(Tp).scale(961/df)};function Ap(t){var e,n,r,i=pp(t),o=i.center,a=i.scale,u=i.translate,s=i.clipExtent,c=null;function f(){var o=cf*a(),u=i(sd(i.rotate()).invert([0,0]));return s(null==c?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===Tp?[[Math.max(u[0]-o,c),e],[Math.min(u[0]+o,n),r]]:[[c,Math.max(u[1]-o,e)],[n,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),f()):a()},i.translate=function(t){return arguments.length?(u(t),f()):u()},i.center=function(t){return arguments.length?(o(t),f()):o()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),f()):null==c?null:[[c,e],[n,r]]},f()}function kp(t){return Tf((ff+t)/2)}function Cp(t,e){var n=vf(t),r=t===e?xf(t):Sf(n/vf(e))/Sf(kp(e)/kp(t)),i=n*Of(kp(t),r)/r;if(!r)return Tp;function o(t,e){i>0?e<-ff+uf&&(e=-ff+uf):e>ff-uf&&(e=ff-uf);var n=i/Of(kp(e),r);return[n*xf(r*t),i-n*vf(r*t)]}return o.invert=function(t,e){var n=i-e,o=Ef(r)*Mf(t*t+n*n),a=bf(t,gf(n))*Ef(n);return n*r<0&&(a-=cf*Ef(t)*Ef(n)),[a/r,2*mf(Of(i/o,1/r))-ff]},o}var Ip=function(){return mp(Cp).scale(109.5).parallels([30,30])};function Pp(t,e){return[t,e]}Pp.invert=Pp;var Np=function(){return pp(Pp).scale(152.63)};function Rp(t,e){var n=vf(t),r=t===e?xf(t):(n-vf(e))/(e-t),i=n/r+t;if(gf(r)<uf)return Pp;function o(t,e){var n=i-e,o=r*t;return[n*xf(o),i-n*vf(o)]}return o.invert=function(t,e){var n=i-e,o=bf(t,gf(n))*Ef(n);return n*r<0&&(o-=cf*Ef(t)*Ef(n)),[o/r,i-Ef(r)*Mf(t*t+n*n)]},o}var jp=function(){return mp(Rp).scale(131.154).center([0,13.9389])},Dp=1.340264,Lp=-.081106,Fp=893e-6,Bp=.003796,Up=Mf(3)/2;function zp(t,e){var n=Af(Up*xf(e)),r=n*n,i=r*r*r;return[t*vf(n)/(Up*(Dp+3*Lp*r+i*(7*Fp+9*Bp*r))),n*(Dp+Lp*r+i*(Fp+Bp*r))]}zp.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(Dp+Lp*i+o*(Fp+Bp*i))-e)/(Dp+3*Lp*i+o*(7*Fp+9*Bp*i)))*r)*i*i,!(gf(n)<sf));++a);return[Up*t*(Dp+3*Lp*i+o*(7*Fp+9*Bp*i))/vf(r),Af(xf(r)/Up)]};var Hp=function(){return pp(zp).scale(177.158)};function Vp(t,e){var n=vf(e),r=vf(t)*n;return[n*xf(t)/r,xf(e)/r]}Vp.invert=Sp(mf);var qp=function(){return pp(Vp).scale(144.049).clipAngle(60)},Wp=function(){var t,e,n,r,i,o,a,u=1,s=0,c=0,f=1,l=1,d=0,h=null,p=1,g=1,m=rp({point:function(t,e){var n=y([t,e]);this.stream.point(n[0],n[1])}}),b=ih;function v(){return p=u*f,g=u*l,o=a=null,y}function y(n){var r=n[0]*p,i=n[1]*g;if(d){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+s,i+c]}return y.invert=function(n){var r=n[0]-s,i=n[1]-c;if(d){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/p,i/g]},y.stream=function(t){return o&&a===t?o:o=m(b(a=t))},y.postclip=function(t){return arguments.length?(b=t,h=n=r=i=null,v()):b},y.clipExtent=function(t){return arguments.length?(b=null==t?(h=n=r=i=null,ih):Md(h=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),v()):null==h?null:[[h,n],[r,i]]},y.scale=function(t){return arguments.length?(u=+t,v()):u},y.translate=function(t){return arguments.length?(s=+t[0],c=+t[1],v()):[s,c]},y.angle=function(n){return arguments.length?(e=xf(d=n%360*pf),t=vf(d),v()):d*hf},y.reflectX=function(t){return arguments.length?(f=t?-1:1,v()):f<0},y.reflectY=function(t){return arguments.length?(l=t?-1:1,v()):l<0},y.fitExtent=function(t,e){return ap(y,t,e)},y.fitSize=function(t,e){return up(y,t,e)},y.fitWidth=function(t,e){return sp(y,t,e)},y.fitHeight=function(t,e){return cp(y,t,e)},y};function Gp(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}Gp.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(gf(n)>uf&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var Kp=function(){return pp(Gp).scale(175.295)};function Yp(t,e){return[vf(e)*xf(t),xf(e)]}Yp.invert=Sp(Af);var Zp=function(){return pp(Yp).scale(249.5).clipAngle(90.000001)};function Qp(t,e){var n=vf(e),r=1+vf(t)*n;return[n*xf(t)/r,xf(e)/r]}Qp.invert=Sp((function(t){return 2*mf(t)}));var Xp=function(){return pp(Qp).scale(250).clipAngle(142)};function Jp(t,e){return[Sf(Tf((ff+e)/2)),-t]}Jp.invert=function(t,e){return[-e,2*mf(_f(t))-ff]};var tg=function(){var t=Ap(Jp),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};function eg(t,e){return t.parent===e.parent?1:2}function ng(t,e){return t+e.x}function rg(t,e){return Math.max(t,e.y)}var ig=function(){var t=eg,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(ng,0)/t.length}(n),e.y=function(t){return 1+t.reduce(rg,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=u.x-t(u,s)/2,f=s.x+t(s,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(f-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i};function og(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}var ag=u.a.mark(ug);function ug(){var t,e,n,r,i,o;return u.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:n=[t=this];case 1:e=n.reverse(),n=[];case 2:if(!(t=e.pop())){a.next=8;break}return a.next=5,t;case 5:if(r=t.children)for(i=0,o=r.length;i<o;++i)n.push(r[i]);a.next=2;break;case 8:if(n.length){a.next=1;break}case 9:case"end":return a.stop()}}),ag,this)}function sg(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=fg)):void 0===e&&(e=cg);for(var n,r,i,o,a,u=new hg(t),s=[u];n=s.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new hg(i[o])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(dg)}function cg(t){return t.children}function fg(t){return Array.isArray(t)?t[1]:null}function lg(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function dg(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function hg(t){this.data=t,this.depth=this.height=0,this.parent=null}hg.prototype=sg.prototype=Object(xe.a)({constructor:hg,count:function(){return this.eachAfter(og)},each:function(t,e){var n,r=-1,i=Object(s.a)(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.call(e,o,++r,this)}}catch(a){i.e(a)}finally{i.f()}return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],u=[],s=-1;o=a.pop();)if(u.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=u.pop();)t.call(e,o,++s,this);return this},eachBefore:function(t,e){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(t,e){var n,r=-1,i=Object(s.a)(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.call(e,o,++r,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return sg(this).eachBefore(lg)}},Symbol.iterator,ug);var pg=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(Array.from(t))).length,o=[];r<i;)e=t[r],n&&bg(n,e)?++r:(n=yg(o=gg(o,e)),r=0);return n};function gg(t,e){var n,r;if(vg(e,t))return[e];for(n=0;n<t.length;++n)if(mg(e,t[n])&&vg(_g(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(mg(_g(t[n],t[r]),e)&&mg(_g(t[n],e),t[r])&&mg(_g(t[r],e),t[n])&&vg(wg(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function mg(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function bg(t,e){var n=t.r-e.r+1e-9*Math.max(t.r,e.r,1),r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function vg(t,e){for(var n=0;n<e.length;++n)if(!bg(t,e[n]))return!1;return!0}function yg(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return _g(t[0],t[1]);case 3:return wg(t[0],t[1],t[2])}var e}function _g(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,u=e.r,s=o-n,c=a-r,f=u-i,l=Math.sqrt(s*s+c*c);return{x:(n+o+s/l*f)/2,y:(r+a+c/l*f)/2,r:(l+i+u)/2}}function wg(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,u=e.y,s=e.r,c=n.x,f=n.y,l=n.r,d=r-a,h=r-c,p=i-u,g=i-f,m=s-o,b=l-o,v=r*r+i*i-o*o,y=v-a*a-u*u+s*s,_=v-c*c-f*f+l*l,w=h*p-d*g,S=(p*_-g*y)/(2*w)-r,O=(g*m-p*b)/w,x=(h*y-d*_)/(2*w)-i,E=(d*b-h*m)/w,M=O*O+E*E-1,T=2*(o+S*O+x*E),$=S*S+x*x-o*o,A=-(M?(T+Math.sqrt(T*T-4*M*$))/(2*M):$/T);return{x:r+S+O*A,y:i+x+E*A,r:A}}function Sg(t,e,n){var r,i,o,a,u=t.x-e.x,s=t.y-e.y,c=u*u+s*s;c?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(c+a-i)/(2*c),o=Math.sqrt(Math.max(0,a/c-r*r)),n.x=t.x-r*u-o*s,n.y=t.y-r*s+o*u):(r=(c+i-a)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*u-o*s,n.y=e.y+r*s+o*u)):(n.x=e.x+n.r,n.y=e.y)}function Og(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function xg(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function Eg(t){this._=t,this.next=null,this.previous=null}function Mg(t){if(!(o=(e=t,t="object"===typeof e&&"length"in e?e:Array.from(e)).length))return 0;var e,n,r,i,o,a,u,s,c,f,l,d;if((n=t[0]).x=0,n.y=0,!(o>1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(o>2))return n.r+r.r;Sg(r,n,i=t[2]),n=new Eg(n),r=new Eg(r),i=new Eg(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;t:for(s=3;s<o;++s){Sg(n._,r._,i=t[s]),i=new Eg(i),c=r.next,f=n.previous,l=r._.r,d=n._.r;do{if(l<=d){if(Og(c._,i._)){r=c,n.next=r,r.previous=n,--s;continue t}l+=c._.r,c=c.next}else{if(Og(f._,i._)){(n=f).next=r,r.previous=n,--s;continue t}d+=f._.r,f=f.previous}}while(c!==f.next);for(i.previous=n,i.next=r,n.next=r.previous=r=i,a=xg(n);(i=i.next)!==r;)(u=xg(i))<a&&(n=i,a=u);r=n.next}for(n=[r._],i=r;(i=i.next)!==r;)n.push(i._);for(i=pg(n),s=0;s<o;++s)(n=t[s]).x-=i.x,n.y-=i.y;return i.r}var Tg=function(t){return Mg(t),t};function $g(t){return null==t?null:Ag(t)}function Ag(t){if("function"!==typeof t)throw new Error;return t}function kg(){return 0}var Cg=function(t){return function(){return t}};function Ig(t){return Math.sqrt(t.value)}var Pg=function(){var t=null,e=1,n=1,r=kg;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(Ng(t)).eachAfter(Rg(r,.5)).eachBefore(jg(1)):i.eachBefore(Ng(Ig)).eachAfter(Rg(kg,1)).eachAfter(Rg(r,i.r/Math.min(e,n))).eachBefore(jg(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=$g(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"===typeof t?t:Cg(+t),i):r},i};function Ng(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Rg(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,u=t(n)*e||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Mg(r),u)for(i=0;i<a;++i)r[i].r-=u;n.r=o+u}}}function jg(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}var Dg=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Lg=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-e)/t.value;++u<s;)(o=a[u]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c},Fg=function(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&Lg(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,u=r.y1-n;a<i&&(i=a=(i+a)/2),u<o&&(o=u=(o+u)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=u}}(e,o)),r&&i.eachBefore(Dg),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i},Bg={depth:-1},Ug={};function zg(t){return t.id}function Hg(t){return t.parentId}var Vg=function(){var t=zg,e=Hg;function n(n){var r,i,o,a,u,s,c,f=Array.from(n),l=f.length,d=new Map;for(i=0;i<l;++i)r=f[i],u=f[i]=new hg(r),null!=(s=t(r,i,n))&&(s+="")&&(c=u.id=s,d.set(c,d.has(c)?Ug:u)),null!=(s=e(r,i,n))&&(s+="")&&(u.parent=s);for(i=0;i<l;++i)if(s=(u=f[i]).parent){if(!(a=d.get(s)))throw new Error("missing: "+s);if(a===Ug)throw new Error("ambiguous: "+s);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=Bg,o.eachBefore((function(t){t.depth=t.parent.depth+1,--l})).eachBefore(dg),o.parent=null,l>0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=Ag(e),n):t},n.parentId=function(t){return arguments.length?(e=Ag(t),n):e},n};function qg(t,e){return t.parent===e.parent?1:2}function Wg(t){var e=t.children;return e?e[0]:t.t}function Gg(t){var e=t.children;return e?e[e.length-1]:t.t}function Kg(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function Yg(t,e,n){return t.a.parent===e.parent?t.a:n}function Zg(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Zg.prototype=Object.create(hg.prototype);var Qg=function(){var t=qg,e=1,n=1,r=null;function i(i){var s=function(t){for(var e,n,r,i,o,a=new Zg(t,0),u=[a];e=u.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(n=e.children[i]=new Zg(r[i],i)),n.parent=e;return(a.parent=new Zg(null,0)).children=[a],a}(i);if(s.eachAfter(o),s.parent.m=-s.z,s.eachBefore(a),r)i.eachBefore(u);else{var c=i,f=i,l=i;i.eachBefore((function(t){t.x<c.x&&(c=t),t.x>f.x&&(f=t),t.depth>l.depth&&(l=t)}));var d=c===f?1:t(c,f)/2,h=d-c.x,p=e/(f.x+d+h),g=n/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+h)*p,t.y=t.depth*g}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,u=n,s=o.parent.children[0],c=o.m,f=a.m,l=u.m,d=s.m;u=Gg(u),o=Wg(o),u&&o;)s=Wg(s),(a=Gg(a)).a=e,(i=u.z+l-o.z-c+t(u._,o._))>0&&(Kg(Yg(u,e,r),e,i),c+=i,f+=i),l+=u.m,c+=o.m,d+=s.m,f+=a.m;u&&!Gg(a)&&(a.t=u,a.m+=l-f),o&&!Wg(s)&&(s.t=o,s.m+=c-d,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},Xg=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-n)/t.value;++u<s;)(o=a[u]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c},Jg=(1+Math.sqrt(5))/2;function tm(t,e,n,r,i,o){for(var a,u,s,c,f,l,d,h,p,g,m,b=[],v=e.children,y=0,_=0,w=v.length,S=e.value;y<w;){s=i-n,c=o-r;do{f=v[_++].value}while(!f&&_<w);for(l=d=f,m=f*f*(g=Math.max(c/s,s/c)/(S*t)),p=Math.max(d/m,m/l);_<w;++_){if(f+=u=v[_].value,u<l&&(l=u),u>d&&(d=u),m=f*f*g,(h=Math.max(d/m,m/l))>p){f-=u;break}p=h}b.push(a={value:f,dice:s<c,children:v.slice(y,_)}),a.dice?Lg(a,n,r,i,S?r+=c*f/S:o):Xg(a,n,r,S?n+=s*f/S:i,o),S-=f,y=_}return b}var em=function t(e){function n(t,n,r,i,o){tm(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Jg),nm=function(){var t=em,e=!1,n=1,r=1,i=[0],o=kg,a=kg,u=kg,s=kg,c=kg;function f(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(l),i=[0],e&&t.eachBefore(Dg),t}function l(e){var n=i[e.depth],r=e.x0+n,f=e.y0+n,l=e.x1-n,d=e.y1-n;l<r&&(r=l=(r+l)/2),d<f&&(f=d=(f+d)/2),e.x0=r,e.y0=f,e.x1=l,e.y1=d,e.children&&(n=i[e.depth+1]=o(e)/2,r+=c(e)-n,f+=a(e)-n,(l-=u(e)-n)<r&&(r=l=(r+l)/2),(d-=s(e)-n)<f&&(f=d=(f+d)/2),t(e,r,f,l,d))}return f.round=function(t){return arguments.length?(e=!!t,f):e},f.size=function(t){return arguments.length?(n=+t[0],r=+t[1],f):[n,r]},f.tile=function(e){return arguments.length?(t=Ag(e),f):t},f.padding=function(t){return arguments.length?f.paddingInner(t).paddingOuter(t):f.paddingInner()},f.paddingInner=function(t){return arguments.length?(o="function"===typeof t?t:Cg(+t),f):o},f.paddingOuter=function(t){return arguments.length?f.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):f.paddingTop()},f.paddingTop=function(t){return arguments.length?(a="function"===typeof t?t:Cg(+t),f):a},f.paddingRight=function(t){return arguments.length?(u="function"===typeof t?t:Cg(+t),f):u},f.paddingBottom=function(t){return arguments.length?(s="function"===typeof t?t:Cg(+t),f):s},f.paddingLeft=function(t){return arguments.length?(c="function"===typeof t?t:Cg(+t),f):c},f},rm=function(t,e,n,r,i){var o,a,u=t.children,s=u.length,c=new Array(s+1);for(c[0]=a=o=0;o<s;++o)c[o+1]=a+=u[o].value;!function t(e,n,r,i,o,a,s){if(e>=n-1){var f=u[e];return f.x0=i,f.y0=o,f.x1=a,void(f.y1=s)}var l=c[e],d=r/2+l,h=e+1,p=n-1;for(;h<p;){var g=h+p>>>1;c[g]<d?h=g+1:p=g}d-c[h-1]<c[h]-d&&e+1<h&&--h;var m=c[h]-l,b=r-m;if(a-i>s-o){var v=r?(i*b+a*m)/r:a;t(e,h,m,i,o,v,s),t(h,n,b,v,o,a,s)}else{var y=r?(o*b+s*m)/r:s;t(e,h,m,i,o,a,y),t(h,n,b,i,y,a,s)}}(0,s,t.value,e,n,r,i)},im=function(t,e,n,r,i){(1&t.depth?Xg:Lg)(t,e,n,r,i)},om=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,u,s,c,f,l=-1,d=a.length,h=t.value;++l<d;){for(s=(u=a[l]).children,c=u.value=0,f=s.length;c<f;++c)u.value+=s[c].value;u.dice?Lg(u,n,r,i,h?r+=(o-r)*u.value/h:o):Xg(u,n,r,h?n+=(i-n)*u.value/h:i,o),h-=u.value}else t._squarify=a=tm(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Jg),am=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},um=function(t,e){var n=kr(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},sm=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}};function cm(t){return((t=Math.exp(t))+1/t)/2}var fm=function t(e,n,r){function i(t,i){var o,a,u=t[0],s=t[1],c=t[2],f=i[0],l=i[1],d=i[2],h=f-u,p=l-s,g=h*h+p*p;if(g<1e-12)a=Math.log(d/c)/e,o=function(t){return[u+t*h,s+t*p,c*Math.exp(e*t*a)]};else{var m=Math.sqrt(g),b=(d*d-c*c+r*g)/(2*c*n*m),v=(d*d-c*c-r*g)/(2*d*n*m),y=Math.log(Math.sqrt(b*b+1)-b),_=Math.log(Math.sqrt(v*v+1)-v);a=(_-y)/e,o=function(t){var r,i=t*a,o=cm(y),f=c/(n*m)*(o*(r=e*i+y,((r=Math.exp(2*r))-1)/(r+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[u+f*h,s+f*p,c*o/cm(e*i+y)]}}return o.duration=1e3*a*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);function lm(t){return function(e,n){var r=t((e=Sr(e)).h,(n=Sr(n)).h),i=Ir(e.s,n.s),o=Ir(e.l,n.l),a=Ir(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var dm=lm(kr),hm=lm(Ir);function pm(t,e){var n=Ir((t=Na(t)).l,(e=Na(e)).l),r=Ir(t.a,e.a),i=Ir(t.b,e.b),o=Ir(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function gm(t){return function(e,n){var r=t((e=za(e)).h,(n=za(n)).h),i=Ir(e.c,n.c),o=Ir(e.l,n.l),a=Ir(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var mm=gm(kr),bm=gm(Ir);function vm(t){return function e(n){function r(e,r){var i=t((e=tu(e)).h,(r=tu(r)).h),o=Ir(e.s,r.s),a=Ir(e.l,r.l),u=Ir(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}var ym=vm(kr),_m=vm(Ir);function wm(t,e){void 0===e&&(e=t,t=Yr);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}var Sm=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n},Om=function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2},xm=function(t){for(var e,n,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)e=u,u=t[r],s+=n=e[0]*u[1]-u[0]*e[1],o+=(e[0]+u[0])*n,a+=(e[1]+u[1])*n;return[o/(s*=3),a/s]};function Em(t,e){return t[0]-e[0]||t[1]-e[1]}function Mm(t){var e,n,r,i,o=t.length,a=[0,1],u=2;for(e=2;e<o;++e){for(;u>1&&(n=t[a[u-2]],r=t[a[u-1]],i=t[e],(r[0]-n[0])*(i[1]-n[1])-(r[1]-n[1])*(i[0]-n[0])<=0);)--u;a[u++]=e}return a.slice(0,u)}var Tm=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(Em),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=Mm(r),a=Mm(i),u=a[0]===o[0],s=a[a.length-1]===o[o.length-1],c=[];for(e=o.length-1;e>=0;--e)c.push(t[r[o[e]][2]]);for(e=+u;e<a.length-s;++e)c.push(t[r[a[e]][2]]);return c},$m=function(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],u=e[1],s=o[0],c=o[1],f=!1,l=0;l<i;++l)n=(o=t[l])[0],(r=o[1])>u!==c>u&&a<(s-n)*(u-r)/(c-r)+n&&(f=!f),s=n,c=r;return f},Am=function(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r<i;)e=a,n=u,e-=a=(o=t[r])[0],n-=u=o[1],s+=Math.hypot(e,n);return s},km=Math.random,Cm=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(km),Im=function t(e){function n(t,n){return arguments.length<2&&(n=t,t=0),t=Math.floor(t),n=Math.floor(n)-t,function(){return Math.floor(e()*n+t)}}return n.source=t,n}(km),Pm=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*e()-1,o=2*e()-1,i=r*r+o*o}while(!i||i>1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(km),Nm=function t(e){var n=Pm.source(e);function r(){var t=n.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(km),Rm=function t(e){function n(t){return(t=+t)<=0?function(){return 0}:function(){for(var n=0,r=t;r>1;--r)n+=e();return n+r*e()}}return n.source=t,n}(km),jm=function t(e){var n=Rm.source(e);function r(t){if(0===(t=+t))return e;var r=n(t);return function(){return r()/t}}return r.source=t,r}(km),Dm=function t(e){function n(t){return function(){return-Math.log1p(-e())/t}}return n.source=t,n}(km),Lm=function t(e){function n(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-e(),t)}}return n.source=t,n}(km),Fm=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+t)}}return n.source=t,n}(km),Bm=function t(e){function n(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?function(){return 1/0}:1===t?function(){return 1}:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-e())/t)})}return n.source=t,n}(km),Um=function t(e){var n=Pm.source(e)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return function(){return 0};if(r=null==r?1:+r,1===t)return function(){return-Math.log1p(-e())*r};var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?function(){return Math.pow(e(),1/t)}:function(){return 1};return function(){do{do{var t=n(),u=1+o*t}while(u<=0);u*=u*u;var s=1-e()}while(s>=1-.0331*t*t*t*t&&Math.log(s)>=.5*t*t+i*(1-u+Math.log(u)));return i*u*a()*r}}return r.source=t,r}(km),zm=function t(e){var n=Um.source(e);function r(t,e){var r=n(t),i=n(e);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(km),Hm=function t(e){var n=Bm.source(e),r=zm.source(e);function i(t,e){return t=+t,(e=+e)>=1?function(){return t}:e<=0?function(){return 0}:function(){for(var i=0,o=t,a=e;o*a>16&&o*(1-a)>16;){var u=Math.floor((o+1)*a),s=r(u,o-u+1)();s<=a?(i+=u,o-=u,a=(a-s)/(1-s)):(o=u-1,a/=s)}for(var c=a<.5,f=n(c?a:1-a),l=f(),d=0;l<=o;++d)l+=f();return i+(c?d:o-d)}}return i.source=t,i}(km),Vm=function t(e){function n(t,n,r){var i;return 0===(t=+t)?i=function(t){return-Math.log(t)}:(t=1/t,i=function(e){return Math.pow(e,t)}),n=null==n?0:+n,r=null==r?1:+r,function(){return n+r*i(-Math.log1p(-e()))}}return n.source=t,n}(km),qm=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){return t+n*Math.tan(Math.PI*e())}}return n.source=t,n}(km),Wm=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){var r=e();return t+n*Math.log(r/(1-r))}}return n.source=t,n}(km),Gm=function t(e){var n=Um.source(e),r=Hm.source(e);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),u=n(a)();if(u>o)return i+r(a-1,o/u)();i+=a,o-=u}for(var s=-Math.log1p(-e()),c=0;s<=o;++c)s-=Math.log1p(-e());return i+c}}return i.source=t,i}(km),Km=1664525,Ym=1013904223,Zm=1/4294967296;function Qm(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Math.random(),e=0|(0<=t&&t<1?t/Zm:Math.abs(t));return function(){return Zm*((e=Km*e+Ym|0)>>>0)}}function Xm(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Jm(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}var tb=Symbol("implicit");function eb(){var t=new Map,e=[],n=[],r=tb;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==tb)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;var r,o=Object(s.a)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,u=a+"";t.has(u)||t.set(u,e.push(a))}}catch(c){o.e(c)}finally{o.f()}return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return eb(e,n).unknown(r)},Xm.apply(i,arguments),i}function nb(){var t,e,n=eb().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,u=!1,s=0,c=0,f=.5;function l(){var n=r().length,l=a<o,d=l?a:o,h=l?o:a;t=(h-d)/Math.max(1,n-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(n-s))*f,e=t*(1-s),u&&(d=Math.round(d),e=Math.round(e));var p=Pt(n).map((function(e){return d+t*e}));return i(l?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){var e,n;return arguments.length?(e=t,n=Object(P.a)(e,2),o=n[0],a=n[1],o=+o,a=+a,l()):[o,a]},n.rangeRound=function(t){var e,n;return e=t,n=Object(P.a)(e,2),o=n[0],a=n[1],o=+o,a=+a,u=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(u=!!t,l()):u},n.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),l()):s},n.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),l()):s},n.paddingOuter=function(t){return arguments.length?(c=+t,l()):c},n.align=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),l()):f},n.copy=function(){return nb(r(),[o,a]).round(u).paddingInner(s).paddingOuter(c).align(f)},Xm.apply(l(),arguments)}function rb(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return rb(e())},t}function ib(){return rb(nb.apply(null,arguments).paddingInner(1))}function ob(t){return+t}var ab=[0,1];function ub(t){return t}function sb(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function cb(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=sb(i,r),o=n(a,o)):(r=sb(r,i),o=n(o,a)),function(t){return o(r(t))}}function fb(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=sb(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=m(t,e,1,r)-1;return o[n](i[n](e))}}function lb(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function db(){var t,e,n,r,i,o,a=ab,u=ab,s=Yr,c=ub;function f(){var t=Math.min(a.length,u.length);return c!==ub&&(c=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(a[0],a[t-1])),r=t>2?fb:cb,i=o=null,l}function l(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),u,s)))(t(c(e)))}return l.invert=function(n){return c(e((o||(o=r(u,a.map(t),zr)))(n)))},l.domain=function(t){return arguments.length?(a=Array.from(t,ob),f()):a.slice()},l.range=function(t){return arguments.length?(u=Array.from(t),f()):u.slice()},l.rangeRound=function(t){return u=Array.from(t),s=sm,f()},l.clamp=function(t){return arguments.length?(c=!!t||ub,f()):c!==ub},l.interpolate=function(t){return arguments.length?(s=t,f()):s},l.unknown=function(t){return arguments.length?(n=t,l):n},function(n,r){return t=n,e=r,f()}}function hb(){return db()(ub,ub)}function pb(t,e,n,r){var i,o=dt(t,e,n);switch((r=Vc(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=of(o,a))||(r.precision=i),Yc(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=af(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=rf(o))||(r.precision=i-2*("%"===r.type))}return Kc(r)}function gb(t){var e=t.domain;return t.ticks=function(t){var n=e();return ft(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return pb(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,u=o.length-1,s=o[a],c=o[u],f=10;for(c<s&&(i=s,s=c,c=i,i=a,a=u,u=i);f-- >0;){if((i=lt(s,c,n))===r)return o[a]=s,o[u]=c,e(o);if(i>0)s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function mb(){var t=hb();return t.copy=function(){return lb(t,mb())},Xm.apply(t,arguments),gb(t)}function bb(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,ob),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return bb(t).unknown(e)},t=arguments.length?Array.from(t,ob):[0,1],gb(n)}function vb(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function yb(t){return Math.log(t)}function _b(t){return Math.exp(t)}function wb(t){return-Math.log(-t)}function Sb(t){return-Math.exp(-t)}function Ob(t){return isFinite(t)?+("1e"+t):t<0?0:t}function xb(t){return function(e){return-t(-e)}}function Eb(t){var e,n,r=t(yb,_b),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?Ob:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=xb(e),n=xb(n),t(wb,Sb)):t(yb,_b),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),u=a[0],s=a[a.length-1];(r=s<u)&&(d=u,u=s,s=d);var c,f,l,d=e(u),h=e(s),p=null==t?10:+t,g=[];if(!(o%1)&&h-d<p){if(d=Math.floor(d),h=Math.ceil(h),u>0){for(;d<=h;++d)for(f=1,c=n(d);f<o;++f)if(!((l=c*f)<u)){if(l>s)break;g.push(l)}}else for(;d<=h;++d)for(f=o-1,c=n(d);f>=1;--f)if(!((l=c*f)<u)){if(l>s)break;g.push(l)}2*g.length<p&&(g=ft(u,s,p))}else g=ft(d,h,Math.min(h-d,p)).map(n);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=Kc(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(vb(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function Mb(){var t=Eb(db()).domain([1,10]);return t.copy=function(){return lb(t,Mb()).base(t.base())},Xm.apply(t,arguments),t}function Tb(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function $b(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Ab(t){var e=1,n=t(Tb(e),$b(e));return n.constant=function(n){return arguments.length?t(Tb(e=+n),$b(e)):e},gb(n)}function kb(){var t=Ab(db());return t.copy=function(){return lb(t,kb()).constant(t.constant())},Xm.apply(t,arguments)}function Cb(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Ib(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Pb(t){return t<0?-t*t:t*t}function Nb(t){var e=t(ub,ub),n=1;function r(){return 1===n?t(ub,ub):.5===n?t(Ib,Pb):t(Cb(n),Cb(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},gb(e)}function Rb(){var t=Nb(db());return t.copy=function(){return lb(t,Rb()).exponent(t.exponent())},Xm.apply(t,arguments),t}function jb(){return Rb.apply(null,arguments).exponent(.5)}function Db(t){return Math.sign(t)*t*t}function Lb(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Fb(){var t,e=hb(),n=[0,1],r=!1;function i(n){var i=Lb(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(Db(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,ob)).map(Db)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Fb(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},Xm.apply(i,arguments),gb(i)}function Bb(){var t,e=[],n=[],r=[];function o(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=wt(e,t/i);return a}function a(e){return isNaN(e=+e)?t:n[m(r,e)]}return a.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];var n,r=Object(s.a)(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;null==a||isNaN(a=+a)||e.push(a)}}catch(u){r.e(u)}finally{r.f()}return e.sort(i),o()},a.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return r.slice()},a.copy=function(){return Bb().domain(e).range(n).unknown(t)},Xm.apply(a,arguments)}function Ub(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return e<=e?o[m(i,e,0,r)]:t}function u(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){var r,i;return arguments.length?(r=t,i=Object(P.a)(r,2),e=i[0],n=i[1],e=+e,n=+n,u()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Ub().domain([e,n]).range(o).unknown(t)},Xm.apply(gb(a),arguments)}function zb(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[m(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return zb().domain(e).range(n).unknown(t)},Xm.apply(i,arguments)}var Hb=new Date,Vb=new Date;function qb(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,u=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return u;do{u.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return u},i.filter=function(n){return qb((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Hb.setTime(+e),Vb.setTime(+r),t(Hb),t(Vb),Math.floor(n(Hb,Vb))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t===0}:function(e){return i.count(0,e)%t===0}):i:null}),i}var Wb=qb((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Wb.every=function(t){return isFinite(t=Math.floor(t))&&t>0?qb((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Gb=Wb,Kb=Wb.range,Yb=qb((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),Zb=Yb,Qb=Yb.range,Xb=1e3,Jb=6e4,tv=36e5,ev=864e5,nv=6048e5;function rv(t){return qb((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jb)/nv}))}var iv=rv(0),ov=rv(1),av=rv(2),uv=rv(3),sv=rv(4),cv=rv(5),fv=rv(6),lv=iv.range,dv=ov.range,hv=av.range,pv=uv.range,gv=sv.range,mv=cv.range,bv=fv.range,vv=qb((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jb)/ev}),(function(t){return t.getDate()-1})),yv=vv,_v=vv.range,wv=qb((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Xb-t.getMinutes()*Jb)}),(function(t,e){t.setTime(+t+e*tv)}),(function(t,e){return(e-t)/tv}),(function(t){return t.getHours()})),Sv=wv,Ov=wv.range,xv=qb((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Xb)}),(function(t,e){t.setTime(+t+e*Jb)}),(function(t,e){return(e-t)/Jb}),(function(t){return t.getMinutes()})),Ev=xv,Mv=xv.range,Tv=qb((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*Xb)}),(function(t,e){return(e-t)/Xb}),(function(t){return t.getUTCSeconds()})),$v=Tv,Av=Tv.range,kv=qb((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));kv.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?qb((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):kv:null};var Cv=kv,Iv=kv.range;function Pv(t){return qb((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/nv}))}var Nv=Pv(0),Rv=Pv(1),jv=Pv(2),Dv=Pv(3),Lv=Pv(4),Fv=Pv(5),Bv=Pv(6),Uv=Nv.range,zv=Rv.range,Hv=jv.range,Vv=Dv.range,qv=Lv.range,Wv=Fv.range,Gv=Bv.range,Kv=qb((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/ev}),(function(t){return t.getUTCDate()-1})),Yv=Kv,Zv=Kv.range,Qv=qb((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Qv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?qb((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Xv=Qv,Jv=Qv.range;function ty(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ey(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ny(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function ry(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=gy(i),f=my(i),l=gy(o),d=my(o),h=gy(a),p=my(a),g=gy(u),m=my(u),b=gy(s),v=my(s),y={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Dy,e:Dy,f:zy,g:Jy,G:e_,H:Ly,I:Fy,j:By,L:Uy,m:Hy,M:Vy,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:x_,s:E_,S:qy,u:Wy,U:Gy,V:Yy,w:Zy,W:Qy,x:null,X:null,y:Xy,Y:t_,Z:n_,"%":O_},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:r_,e:r_,f:s_,g:y_,G:w_,H:i_,I:o_,j:a_,L:u_,m:c_,M:f_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:x_,s:E_,S:l_,u:d_,U:h_,V:g_,w:m_,W:b_,x:null,X:null,y:v_,Y:__,Z:S_,"%":O_},w={a:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=b.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return x(t,e,n,r)},d:Ty,e:Ty,f:Py,g:Oy,G:Sy,H:Ay,I:Ay,j:$y,L:Iy,m:My,M:ky,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=f.get(r[0].toLowerCase()),n+r[0].length):-1},q:Ey,Q:Ry,s:jy,S:Cy,u:vy,U:yy,V:_y,w:by,W:wy,x:function(t,e,r){return x(t,n,e,r)},X:function(t,e,n){return x(t,r,e,n)},y:Oy,Y:Sy,Z:xy,"%":Ny};function S(t,e){return function(n){var r,i,o,a=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=cy[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function O(t,e){return function(n){var r,i,o=ny(1900,void 0,1);if(x(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=ey(ny(o.y,0,1))).getUTCDay(),r=i>4||0===i?Rv.ceil(r):Rv(r),r=Yv.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ty(ny(o.y,0,1))).getDay(),r=i>4||0===i?ov.ceil(r):ov(r),r=yv.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ey(ny(o.y,0,1)).getUTCDay():ty(ny(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ey(o)):ty(o)}}function x(t,e,n,r){for(var i,o,a=0,u=e.length,s=n.length;a<u;){if(r>=s)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in cy?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=S(n,y),y.X=S(r,y),y.c=S(e,y),_.x=S(n,_),_.X=S(r,_),_.c=S(e,_),{format:function(t){var e=S(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=O(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=S(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=O(t+="",!0);return e.toString=function(){return t},e}}}var iy,oy,ay,uy,sy,cy={"-":"",_:" ",0:"0"},fy=/^\s*\d+/,ly=/^%/,dy=/[\\^$*+?|[\]().{}]/g;function hy(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function py(t){return t.replace(dy,"\\$&")}function gy(t){return new RegExp("^(?:"+t.map(py).join("|")+")","i")}function my(t){return new Map(t.map((function(t,e){return[t.toLowerCase(),e]})))}function by(t,e,n){var r=fy.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function vy(t,e,n){var r=fy.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function yy(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function _y(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function wy(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Sy(t,e,n){var r=fy.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Oy(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function xy(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ey(t,e,n){var r=fy.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function My(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ty(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function $y(t,e,n){var r=fy.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ay(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function ky(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Cy(t,e,n){var r=fy.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Iy(t,e,n){var r=fy.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Py(t,e,n){var r=fy.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ny(t,e,n){var r=ly.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Ry(t,e,n){var r=fy.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function jy(t,e,n){var r=fy.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Dy(t,e){return hy(t.getDate(),e,2)}function Ly(t,e){return hy(t.getHours(),e,2)}function Fy(t,e){return hy(t.getHours()%12||12,e,2)}function By(t,e){return hy(1+yv.count(Gb(t),t),e,3)}function Uy(t,e){return hy(t.getMilliseconds(),e,3)}function zy(t,e){return Uy(t,e)+"000"}function Hy(t,e){return hy(t.getMonth()+1,e,2)}function Vy(t,e){return hy(t.getMinutes(),e,2)}function qy(t,e){return hy(t.getSeconds(),e,2)}function Wy(t){var e=t.getDay();return 0===e?7:e}function Gy(t,e){return hy(iv.count(Gb(t)-1,t),e,2)}function Ky(t){var e=t.getDay();return e>=4||0===e?sv(t):sv.ceil(t)}function Yy(t,e){return t=Ky(t),hy(sv.count(Gb(t),t)+(4===Gb(t).getDay()),e,2)}function Zy(t){return t.getDay()}function Qy(t,e){return hy(ov.count(Gb(t)-1,t),e,2)}function Xy(t,e){return hy(t.getFullYear()%100,e,2)}function Jy(t,e){return hy((t=Ky(t)).getFullYear()%100,e,2)}function t_(t,e){return hy(t.getFullYear()%1e4,e,4)}function e_(t,e){var n=t.getDay();return hy((t=n>=4||0===n?sv(t):sv.ceil(t)).getFullYear()%1e4,e,4)}function n_(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+hy(e/60|0,"0",2)+hy(e%60,"0",2)}function r_(t,e){return hy(t.getUTCDate(),e,2)}function i_(t,e){return hy(t.getUTCHours(),e,2)}function o_(t,e){return hy(t.getUTCHours()%12||12,e,2)}function a_(t,e){return hy(1+Yv.count(Xv(t),t),e,3)}function u_(t,e){return hy(t.getUTCMilliseconds(),e,3)}function s_(t,e){return u_(t,e)+"000"}function c_(t,e){return hy(t.getUTCMonth()+1,e,2)}function f_(t,e){return hy(t.getUTCMinutes(),e,2)}function l_(t,e){return hy(t.getUTCSeconds(),e,2)}function d_(t){var e=t.getUTCDay();return 0===e?7:e}function h_(t,e){return hy(Nv.count(Xv(t)-1,t),e,2)}function p_(t){var e=t.getUTCDay();return e>=4||0===e?Lv(t):Lv.ceil(t)}function g_(t,e){return t=p_(t),hy(Lv.count(Xv(t),t)+(4===Xv(t).getUTCDay()),e,2)}function m_(t){return t.getUTCDay()}function b_(t,e){return hy(Rv.count(Xv(t)-1,t),e,2)}function v_(t,e){return hy(t.getUTCFullYear()%100,e,2)}function y_(t,e){return hy((t=p_(t)).getUTCFullYear()%100,e,2)}function __(t,e){return hy(t.getUTCFullYear()%1e4,e,4)}function w_(t,e){var n=t.getUTCDay();return hy((t=n>=4||0===n?Lv(t):Lv.ceil(t)).getUTCFullYear()%1e4,e,4)}function S_(){return"+0000"}function O_(){return"%"}function x_(t){return+t}function E_(t){return Math.floor(+t/1e3)}function M_(t){return iy=ry(t),oy=iy.format,ay=iy.parse,uy=iy.utcFormat,sy=iy.utcParse,iy}M_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var T_=1e3,$_=6e4,A_=36e5,k_=864e5,C_=2592e6,I_=31536e6;function P_(t){return new Date(t)}function N_(t){return t instanceof Date?+t:+new Date(+t)}function R_(t,e,n,r,i,a,u,s,c){var f=hb(),l=f.invert,d=f.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),b=c("%a %d"),v=c("%b %d"),y=c("%B"),_=c("%Y"),w=[[u,1,T_],[u,5,5e3],[u,15,15e3],[u,30,3e4],[a,1,$_],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,A_],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,k_],[r,2,1728e5],[n,1,6048e5],[e,1,C_],[e,3,7776e6],[t,1,I_]];function S(o){return(u(o)<o?h:a(o)<o?p:i(o)<o?g:r(o)<o?m:e(o)<o?n(o)<o?b:v:t(o)<o?y:_)(o)}function O(e,n,r){if(null==e&&(e=10),"number"===typeof e){var i,a=Math.abs(r-n)/e,u=o((function(t){return t[2]})).right(w,a);return u===w.length?(i=dt(n/I_,r/I_,e),e=t):u?(i=(u=w[a/w[u-1][2]<w[u][2]/a?u-1:u])[1],e=u[0]):(i=Math.max(dt(n,r,e),1),e=s),e.every(i)}return e}return f.invert=function(t){return new Date(l(t))},f.domain=function(t){return arguments.length?d(Array.from(t,N_)):d().map(P_)},f.ticks=function(t){var e,n=d(),r=n[0],i=n[n.length-1],o=i<r;return o&&(e=r,r=i,i=e),e=(e=O(t,r,i))?e.range(r,i+1):[],o?e.reverse():e},f.tickFormat=function(t,e){return null==e?S:c(e)},f.nice=function(t){var e=d();return(t=O(t,e[0],e[e.length-1]))?d(vb(e,t)):f},f.copy=function(){return lb(f,R_(t,e,n,r,i,a,u,s,c))},f}function j_(){return Xm.apply(R_(Gb,Zb,iv,yv,Sv,Ev,$v,Cv,oy).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var D_=qb((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),L_=D_,F_=D_.range,B_=qb((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*tv)}),(function(t,e){return(e-t)/tv}),(function(t){return t.getUTCHours()})),U_=B_,z_=B_.range,H_=qb((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Jb)}),(function(t,e){return(e-t)/Jb}),(function(t){return t.getUTCMinutes()})),V_=H_,q_=H_.range;function W_(){return Xm.apply(R_(Xv,L_,Nv,Yv,U_,V_,$v,Cv,uy).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function G_(){var t,e,n,r,i,o=0,a=1,u=ub,s=!1;function c(e){return isNaN(e=+e)?i:u(0===n?.5:(e=(r(e)-t)*n,s?Math.max(0,Math.min(1,e)):e))}function f(t){return function(e){var n,r,i,o;return arguments.length?(n=e,i=(r=Object(P.a)(n,2))[0],o=r[1],u=t(i,o),c):[u(0),u(1)]}}return c.domain=function(i){var u,s;return arguments.length?(u=i,s=Object(P.a)(u,2),o=s[0],a=s[1],t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),c):[o,a]},c.clamp=function(t){return arguments.length?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=f(Yr),c.rangeRound=f(sm),c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),c}}function K_(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Y_(){var t=gb(G_()(ub));return t.copy=function(){return K_(t,Y_())},Jm.apply(t,arguments)}function Z_(){var t=Eb(G_()).domain([1,10]);return t.copy=function(){return K_(t,Z_()).base(t.base())},Jm.apply(t,arguments)}function Q_(){var t=Ab(G_());return t.copy=function(){return K_(t,Q_()).constant(t.constant())},Jm.apply(t,arguments)}function X_(){var t=Nb(G_());return t.copy=function(){return K_(t,X_()).exponent(t.exponent())},Jm.apply(t,arguments)}function J_(){return X_.apply(null,arguments).exponent(.5)}function tw(){var t=[],e=ub;function n(n){if(!isNaN(n=+n))return e((m(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];var r,o=Object(s.a)(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;null==a||isNaN(a=+a)||t.push(a)}}catch(u){o.e(u)}finally{o.f()}return t.sort(i),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map((function(n,r){return e(r/(t.length-1))}))},n.quantiles=function(e){return Array.from({length:e+1},(function(n,r){return _t(t,r/e)}))},n.copy=function(){return tw(e).domain(t)},Jm.apply(n,arguments)}function ew(){var t,e,n,r,i,o,a,u=0,s=.5,c=1,f=1,l=ub,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(f*t<f*e?r:i),l(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(e){var n,r,i,o,a;return arguments.length?(n=e,i=(r=Object(P.a)(n,3))[0],o=r[1],a=r[2],l=wm(t,[i,o,a]),h):[l(0),l(.5),l(1)]}}return h.domain=function(a){var l,d;return arguments.length?(l=a,d=Object(P.a)(l,3),u=d[0],s=d[1],c=d[2],t=o(u=+u),e=o(s=+s),n=o(c=+c),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f=e<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(l=t,h):l},h.range=p(Yr),h.rangeRound=p(sm),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),e=a(s),n=a(c),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f=e<t?-1:1,h}}function nw(){var t=gb(ew()(ub));return t.copy=function(){return K_(t,nw())},Jm.apply(t,arguments)}function rw(){var t=Eb(ew()).domain([.1,1,10]);return t.copy=function(){return K_(t,rw()).base(t.base())},Jm.apply(t,arguments)}function iw(){var t=Ab(ew());return t.copy=function(){return K_(t,iw()).constant(t.constant())},Jm.apply(t,arguments)}function ow(){var t=Nb(ew());return t.copy=function(){return K_(t,ow()).exponent(t.exponent())},Jm.apply(t,arguments)}function aw(){return ow.apply(null,arguments).exponent(.5)}var uw=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n},sw=uw("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),cw=uw("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),fw=uw("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),lw=uw("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),dw=uw("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),hw=uw("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),pw=uw("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),gw=uw("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),mw=uw("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),bw=uw("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),vw=function(t){return Rr(t[t.length-1])},yw=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(uw),_w=vw(yw),ww=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(uw),Sw=vw(ww),Ow=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(uw),xw=vw(Ow),Ew=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(uw),Mw=vw(Ew),Tw=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(uw),$w=vw(Tw),Aw=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(uw),kw=vw(Aw),Cw=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(uw),Iw=vw(Cw),Pw=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(uw),Nw=vw(Pw),Rw=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(uw),jw=vw(Rw),Dw=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(uw),Lw=vw(Dw),Fw=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(uw),Bw=vw(Fw),Uw=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(uw),zw=vw(Uw),Hw=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(uw),Vw=vw(Hw),qw=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(uw),Ww=vw(qw),Gw=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(uw),Kw=vw(Gw),Yw=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(uw),Zw=vw(Yw),Qw=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(uw),Xw=vw(Qw),Jw=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(uw),tS=vw(Jw),eS=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(uw),nS=vw(eS),rS=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(uw),iS=vw(rS),oS=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(uw),aS=vw(oS),uS=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(uw),sS=vw(uS),cS=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(uw),fS=vw(cS),lS=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(uw),dS=vw(lS),hS=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(uw),pS=vw(hS),gS=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(uw),mS=vw(gS),bS=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(uw),vS=vw(bS),yS=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},_S=_m(tu(300,.5,0),tu(-240,.5,1)),wS=_m(tu(-100,.75,.35),tu(80,1.5,.8)),SS=_m(tu(260,.75,.35),tu(80,1.5,.8)),OS=tu(),xS=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return OS.h=360*t-100,OS.s=1.5-1.5*e,OS.l=.8-.9*e,OS+""},ES=gr(),MS=Math.PI/3,TS=2*Math.PI/3,$S=function(t){var e;return t=(.5-t)*Math.PI,ES.r=255*(e=Math.sin(t))*e,ES.g=255*(e=Math.sin(t+MS))*e,ES.b=255*(e=Math.sin(t+TS))*e,ES+""},AS=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function kS(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var CS=kS(uw("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),IS=kS(uw("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),PS=kS(uw("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),NS=kS(uw("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),RS=function(t){return zn(En(t).call(document.documentElement))},jS=0;function DS(){return new LS}function LS(){this._="@"+(++jS).toString(36)}LS.prototype=DS.prototype={constructor:LS,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var FS=function(t,e){return t.target&&(t=Zr(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,(function(t){return Qr(t,e)}))},BS=function(t){return"string"===typeof t?new Fn([document.querySelectorAll(t)],[document.documentElement]):new Fn([null==t?[]:Te(t)],Ln)},US=function(t){return function(){return t}},zS=Math.abs,HS=Math.atan2,VS=Math.cos,qS=Math.max,WS=Math.min,GS=Math.sin,KS=Math.sqrt,YS=1e-12,ZS=Math.PI,QS=ZS/2,XS=2*ZS;function JS(t){return t>1?0:t<-1?ZS:Math.acos(t)}function tO(t){return t>=1?QS:t<=-1?-QS:Math.asin(t)}function eO(t){return t.innerRadius}function nO(t){return t.outerRadius}function rO(t){return t.startAngle}function iO(t){return t.endAngle}function oO(t){return t&&t.padAngle}function aO(t,e,n,r,i,o,a,u){var s=n-t,c=r-e,f=a-i,l=u-o,d=l*s-f*c;if(!(d*d<YS))return[t+(d=(f*(e-o)-l*(t-i))/d)*s,e+d*c]}function uO(t,e,n,r,i,o,a){var u=t-n,s=e-r,c=(a?o:-o)/KS(u*u+s*s),f=c*s,l=-c*u,d=t+f,h=e+l,p=n+f,g=r+l,m=(d+p)/2,b=(h+g)/2,v=p-d,y=g-h,_=v*v+y*y,w=i-o,S=d*g-p*h,O=(y<0?-1:1)*KS(qS(0,w*w*_-S*S)),x=(S*y-v*O)/_,E=(-S*v-y*O)/_,M=(S*y+v*O)/_,T=(-S*v+y*O)/_,$=x-m,A=E-b,k=M-m,C=T-b;return $*$+A*A>k*k+C*C&&(x=M,E=T),{cx:x,cy:E,x01:-f,y01:-l,x11:x*(i/w-1),y11:E*(i/w-1)}}var sO=function(){var t=eO,e=nO,n=US(0),r=null,i=rO,o=iO,a=oO,u=null;function s(){var s,c,f=+t.apply(this,arguments),l=+e.apply(this,arguments),d=i.apply(this,arguments)-QS,h=o.apply(this,arguments)-QS,p=zS(h-d),g=h>d;if(u||(u=s=da()),l<f&&(c=l,l=f,f=c),l>YS)if(p>XS-YS)u.moveTo(l*VS(d),l*GS(d)),u.arc(0,0,l,d,h,!g),f>YS&&(u.moveTo(f*VS(h),f*GS(h)),u.arc(0,0,f,h,d,g));else{var m,b,v=d,y=h,_=d,w=h,S=p,O=p,x=a.apply(this,arguments)/2,E=x>YS&&(r?+r.apply(this,arguments):KS(f*f+l*l)),M=WS(zS(l-f)/2,+n.apply(this,arguments)),T=M,$=M;if(E>YS){var A=tO(E/f*GS(x)),k=tO(E/l*GS(x));(S-=2*A)>YS?(_+=A*=g?1:-1,w-=A):(S=0,_=w=(d+h)/2),(O-=2*k)>YS?(v+=k*=g?1:-1,y-=k):(O=0,v=y=(d+h)/2)}var C=l*VS(v),I=l*GS(v),P=f*VS(w),N=f*GS(w);if(M>YS){var R,j=l*VS(y),D=l*GS(y),L=f*VS(_),F=f*GS(_);if(p<ZS&&(R=aO(C,I,L,F,j,D,P,N))){var B=C-R[0],U=I-R[1],z=j-R[0],H=D-R[1],V=1/GS(JS((B*z+U*H)/(KS(B*B+U*U)*KS(z*z+H*H)))/2),q=KS(R[0]*R[0]+R[1]*R[1]);T=WS(M,(f-q)/(V-1)),$=WS(M,(l-q)/(V+1))}}O>YS?$>YS?(m=uO(L,F,C,I,l,$,g),b=uO(j,D,P,N,l,$,g),u.moveTo(m.cx+m.x01,m.cy+m.y01),$<M?u.arc(m.cx,m.cy,$,HS(m.y01,m.x01),HS(b.y01,b.x01),!g):(u.arc(m.cx,m.cy,$,HS(m.y01,m.x01),HS(m.y11,m.x11),!g),u.arc(0,0,l,HS(m.cy+m.y11,m.cx+m.x11),HS(b.cy+b.y11,b.cx+b.x11),!g),u.arc(b.cx,b.cy,$,HS(b.y11,b.x11),HS(b.y01,b.x01),!g))):(u.moveTo(C,I),u.arc(0,0,l,v,y,!g)):u.moveTo(C,I),f>YS&&S>YS?T>YS?(m=uO(P,N,j,D,f,-T,g),b=uO(C,I,L,F,f,-T,g),u.lineTo(m.cx+m.x01,m.cy+m.y01),T<M?u.arc(m.cx,m.cy,T,HS(m.y01,m.x01),HS(b.y01,b.x01),!g):(u.arc(m.cx,m.cy,T,HS(m.y01,m.x01),HS(m.y11,m.x11),!g),u.arc(0,0,f,HS(m.cy+m.y11,m.cx+m.x11),HS(b.cy+b.y11,b.cx+b.x11),g),u.arc(b.cx,b.cy,T,HS(b.y11,b.x11),HS(b.y01,b.x01),!g))):u.arc(0,0,f,w,_,g):u.lineTo(P,N)}else u.moveTo(0,0);if(u.closePath(),s)return u=null,s+""||null}return s.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-ZS/2;return[VS(r)*n,GS(r)*n]},s.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:US(+e),s):t},s.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:US(+t),s):e},s.cornerRadius=function(t){return arguments.length?(n="function"===typeof t?t:US(+t),s):n},s.padRadius=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:US(+t),s):r},s.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:US(+t),s):i},s.endAngle=function(t){return arguments.length?(o="function"===typeof t?t:US(+t),s):o},s.padAngle=function(t){return arguments.length?(a="function"===typeof t?t:US(+t),s):a},s.context=function(t){return arguments.length?(u=null==t?null:t,s):u},s},cO=Array.prototype.slice,fO=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function lO(t){this._context=t}lO.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var dO=function(t){return new lO(t)};function hO(t){return t[0]}function pO(t){return t[1]}var gO=function(t,e){var n=US(!0),r=null,i=dO,o=null;function a(a){var u,s,c,f=(a=fO(a)).length,l=!1;for(null==r&&(o=i(c=da())),u=0;u<=f;++u)!(u<f&&n(s=a[u],u,a))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(s,u,a),+e(s,u,a));if(c)return o=null,c+""||null}return t="function"===typeof t?t:void 0===t?hO:US(t),e="function"===typeof e?e:void 0===e?pO:US(e),a.x=function(e){return arguments.length?(t="function"===typeof e?e:US(+e),a):t},a.y=function(t){return arguments.length?(e="function"===typeof t?t:US(+t),a):e},a.defined=function(t){return arguments.length?(n="function"===typeof t?t:US(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},mO=function(t,e,n){var r=null,i=US(!0),o=null,a=dO,u=null;function s(s){var c,f,l,d,h,p=(s=fO(s)).length,g=!1,m=new Array(p),b=new Array(p);for(null==o&&(u=a(h=da())),c=0;c<=p;++c){if(!(c<p&&i(d=s[c],c,s))===g)if(g=!g)f=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),l=c-1;l>=f;--l)u.point(m[l],b[l]);u.lineEnd(),u.areaEnd()}g&&(m[c]=+t(d,c,s),b[c]=+e(d,c,s),u.point(r?+r(d,c,s):m[c],n?+n(d,c,s):b[c]))}if(h)return u=null,h+""||null}function c(){return gO().defined(i).curve(a).context(o)}return t="function"===typeof t?t:void 0===t?hO:US(+t),e="function"===typeof e?e:US(void 0===e?0:+e),n="function"===typeof n?n:void 0===n?pO:US(+n),s.x=function(e){return arguments.length?(t="function"===typeof e?e:US(+e),r=null,s):t},s.x0=function(e){return arguments.length?(t="function"===typeof e?e:US(+e),s):t},s.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:US(+t),s):r},s.y=function(t){return arguments.length?(e="function"===typeof t?t:US(+t),n=null,s):e},s.y0=function(t){return arguments.length?(e="function"===typeof t?t:US(+t),s):e},s.y1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:US(+t),s):n},s.lineX0=s.lineY0=function(){return c().x(t).y(e)},s.lineY1=function(){return c().x(t).y(n)},s.lineX1=function(){return c().x(r).y(e)},s.defined=function(t){return arguments.length?(i="function"===typeof t?t:US(!!t),s):i},s.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),s):a},s.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),s):o},s},bO=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},vO=function(t){return t},yO=function(){var t=vO,e=bO,n=null,r=US(0),i=US(XS),o=US(0);function a(a){var u,s,c,f,l,d=(a=fO(a)).length,h=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),b=Math.min(XS,Math.max(-XS,i.apply(this,arguments)-m)),v=Math.min(Math.abs(b)/d,o.apply(this,arguments)),y=v*(b<0?-1:1);for(u=0;u<d;++u)(l=g[p[u]=u]=+t(a[u],u,a))>0&&(h+=l);for(null!=e?p.sort((function(t,n){return e(g[t],g[n])})):null!=n&&p.sort((function(t,e){return n(a[t],a[e])})),u=0,c=h?(b-d*y)/h:0;u<d;++u,m=f)s=p[u],f=m+((l=g[s])>0?l*c:0)+y,g[s]={data:a[s],index:u,value:l,startAngle:m,endAngle:f,padAngle:v};return g}return a.value=function(e){return arguments.length?(t="function"===typeof e?e:US(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"===typeof t?t:US(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:US(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:US(+t),a):o},a},_O=SO(dO);function wO(t){this._curve=t}function SO(t){function e(e){return new wO(t(e))}return e._curve=t,e}function OO(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(SO(t)):e()._curve},t}wO.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var xO=function(){return OO(gO().curve(_O))},EO=function(){var t=mO().curve(_O),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return OO(n())},delete t.lineX0,t.lineEndAngle=function(){return OO(r())},delete t.lineX1,t.lineInnerRadius=function(){return OO(i())},delete t.lineY0,t.lineOuterRadius=function(){return OO(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(SO(t)):e()._curve},t},MO=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]};function TO(t){return t.source}function $O(t){return t.target}function AO(t){var e=TO,n=$O,r=hO,i=pO,o=null;function a(){var a,u=cO.call(arguments),s=e.apply(this,u),c=n.apply(this,u);if(o||(o=a=da()),t(o,+r.apply(this,(u[0]=s,u)),+i.apply(this,u),+r.apply(this,(u[0]=c,u)),+i.apply(this,u)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(r="function"===typeof t?t:US(+t),a):r},a.y=function(t){return arguments.length?(i="function"===typeof t?t:US(+t),a):i},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function kO(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function CO(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function IO(t,e,n,r,i){var o=MO(e,n),a=MO(e,n=(n+i)/2),u=MO(r,n),s=MO(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],s[0],s[1])}function PO(){return AO(kO)}function NO(){return AO(CO)}function RO(){var t=AO(IO);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var jO={draw:function(t,e){var n=Math.sqrt(e/ZS);t.moveTo(n,0),t.arc(0,0,n,0,XS)}},DO={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},LO=Math.sqrt(1/3),FO=2*LO,BO={draw:function(t,e){var n=Math.sqrt(e/FO),r=n*LO;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},UO=Math.sin(ZS/10)/Math.sin(7*ZS/10),zO=Math.sin(XS/10)*UO,HO=-Math.cos(XS/10)*UO,VO={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=zO*n,i=HO*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=XS*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*n,-u*n),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},qO={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},WO=Math.sqrt(3),GO={draw:function(t,e){var n=-Math.sqrt(e/(3*WO));t.moveTo(0,2*n),t.lineTo(-WO*n,-n),t.lineTo(WO*n,-n),t.closePath()}},KO=-.5,YO=Math.sqrt(3)/2,ZO=1/Math.sqrt(12),QO=3*(ZO/2+1),XO={draw:function(t,e){var n=Math.sqrt(e/QO),r=n/2,i=n*ZO,o=r,a=n*ZO+n,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(KO*r-YO*i,YO*r+KO*i),t.lineTo(KO*o-YO*a,YO*o+KO*a),t.lineTo(KO*u-YO*s,YO*u+KO*s),t.lineTo(KO*r+YO*i,KO*i-YO*r),t.lineTo(KO*o+YO*a,KO*a-YO*o),t.lineTo(KO*u+YO*s,KO*s-YO*u),t.closePath()}},JO=[jO,DO,BO,qO,VO,GO,XO],tx=function(t,e){var n=null;function r(){var r;if(n||(n=r=da()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"===typeof t?t:US(t||jO),e="function"===typeof e?e:US(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"===typeof e?e:US(e),r):t},r.size=function(t){return arguments.length?(e="function"===typeof t?t:US(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r},ex=function(){};function nx(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function rx(t){this._context=t}rx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:nx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var ix=function(t){return new rx(t)};function ox(t){this._context=t}ox.prototype={areaStart:ex,areaEnd:ex,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:nx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var ax=function(t){return new ox(t)};function ux(t){this._context=t}ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:nx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var sx=function(t){return new ux(t)};function cx(t,e){this._basis=new rx(t),this._beta=e}cx.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,u=e[n]-o,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*e[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var fx=function t(e){function n(t){return 1===e?new rx(t):new cx(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function lx(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function dx(t,e){this._context=t,this._k=(1-e)/6}dx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:lx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:lx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var hx=function t(e){function n(t){return new dx(t,e)}return n.tension=function(e){return t(+e)},n}(0);function px(t,e){this._context=t,this._k=(1-e)/6}px.prototype={areaStart:ex,areaEnd:ex,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:lx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var gx=function t(e){function n(t){return new px(t,e)}return n.tension=function(e){return t(+e)},n}(0);function mx(t,e){this._context=t,this._k=(1-e)/6}mx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:lx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bx=function t(e){function n(t){return new mx(t,e)}return n.tension=function(e){return t(+e)},n}(0);function vx(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>YS){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>YS){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/f,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function yx(t,e){this._context=t,this._alpha=e}yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:vx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var _x=function t(e){function n(t){return e?new yx(t,e):new dx(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function wx(t,e){this._context=t,this._alpha=e}wx.prototype={areaStart:ex,areaEnd:ex,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Sx=function t(e){function n(t){return e?new wx(t,e):new px(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ox(t,e){this._context=t,this._alpha=e}Ox.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:vx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xx=function t(e){function n(t){return e?new Ox(t,e):new mx(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ex(t){this._context=t}Ex.prototype={areaStart:ex,areaEnd:ex,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var Mx=function(t){return new Ex(t)};function Tx(t){return t<0?-1:1}function $x(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(Tx(o)+Tx(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ax(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function kx(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function Cx(t){this._context=t}function Ix(t){this._context=new Px(t)}function Px(t){this._context=t}function Nx(t){return new Cx(t)}function Rx(t){return new Ix(t)}function jx(t){this._context=t}function Dx(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}Cx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:kx(this,this._t0,Ax(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,kx(this,Ax(this,n=$x(this,t,e)),n);break;default:kx(this,this._t0,n=$x(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Ix.prototype=Object.create(Cx.prototype)).point=function(t,e){Cx.prototype.point.call(this,e,t)},Px.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},jx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Dx(t),i=Dx(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Lx=function(t){return new jx(t)};function Fx(t,e){this._context=t,this._t=e}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var Bx=function(t){return new Fx(t,.5)};function Ux(t){return new Fx(t,0)}function zx(t){return new Fx(t,1)}var Hx=function(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},Vx=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function qx(t,e){return t[e]}function Wx(t){var e=[];return e.key=t,e}var Gx=function(){var t=US([]),e=Vx,n=Hx,r=qx;function i(i){var o,a,u,c=Array.from(t.apply(this,arguments),Wx),f=c.length,l=-1,d=Object(s.a)(i);try{for(d.s();!(u=d.n()).done;){var h=u.value;for(o=0,++l;o<f;++o)(c[o][l]=[0,+r(h,c[o].key,l,i)]).data=h}}catch(p){d.e(p)}finally{d.f()}for(o=0,a=fO(e(c));o<f;++o)c[a[o]].index=o;return n(c,a),c}return i.keys=function(e){return arguments.length?(t="function"===typeof e?e:US(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"===typeof t?t:US(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Vx:"function"===typeof t?t:US(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?Hx:t,i):n},i},Kx=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Hx(t,e)}},Yx=function(t,e){if((u=t.length)>0)for(var n,r,i,o,a,u,s=0,c=t[e[0]].length;s<c;++s)for(o=a=0,n=0;n<u;++n)(i=(r=t[e[n]][s])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},Zx=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}Hx(t,e)}},Qx=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<i;++u){for(var f=t[e[u]],l=f[a][1]||0,d=(l-(f[a-1][1]||0))/2,h=0;h<u;++h){var p=t[e[h]];d+=(p[a][1]||0)-(p[a-1][1]||0)}s+=l,c+=d*l}n[a-1][1]+=n[a-1][0]=o,s&&(o-=c/s)}n[a-1][1]+=n[a-1][0]=o,Hx(t,e)}},Xx=function(t){var e=t.map(Jx);return Vx(t).sort((function(t,n){return e[t]-e[n]}))};function Jx(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}var tE=function(t){var e=t.map(eE);return Vx(t).sort((function(t,n){return e[t]-e[n]}))};function eE(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}var nE=function(t){return tE(t).reverse()},rE=function(t){var e,n,r=t.length,i=t.map(eE),o=Xx(t),a=0,u=0,s=[],c=[];for(e=0;e<r;++e)n=o[e],a<u?(a+=i[n],s.push(n)):(u+=i[n],c.push(n));return c.reverse().concat(s)},iE=function(t){return Vx(t).reverse()},oE="%Y-%m-%dT%H:%M:%S.%LZ";var aE=Date.prototype.toISOString?function(t){return t.toISOString()}:uy(oE);var uE=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:sy(oE),sE=function(t,e,n){var r=new si,i=e;return null==e?(r.restart(t,e,n),r):(r._restart=r.restart,r.restart=function(t,e,n){e=+e,n=null==n?ai():+n,r._restart((function o(a){a+=i,r._restart(o,i+=e,n),t(a)}),e,n)},r.restart(t,e,n),r)},cE=function(t){return function(){return t}};function fE(t,e){var n=e.sourceEvent,r=e.target,i=e.transform,o=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function lE(t,e,n){this.k=t,this.x=e,this.y=n}lE.prototype={constructor:lE,scale:function(t){return 1===t?this:new lE(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new lE(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var dE=new lE(1,0,0);function hE(t){for(;!t.__zoom;)if(!(t=t.parentNode))return dE;return t.__zoom}function pE(t){t.stopImmediatePropagation()}hE.prototype=lE.prototype;var gE=function(t){t.preventDefault(),t.stopImmediatePropagation()};function mE(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function bE(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function vE(){return this.__zoom||dE}function yE(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function _E(){return navigator.maxTouchPoints||"ontouchstart"in this}function wE(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var SE=function(){var t,e,n,r=mE,i=bE,o=wE,a=yE,u=_E,s=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,l=fm,d=Oe("start","zoom","end"),h=500,p=0,g=10;function m(t){t.property("__zoom",vE).on("wheel.zoom",O).on("mousedown.zoom",x).on("dblclick.zoom",E).filter(u).on("touchstart.zoom",M).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",$).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(s[0],Math.min(s[1],e)))===t.k?t:new lE(e,t.x,t.y)}function v(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new lE(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function _(t,e,n,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(r),u=i.apply(t,o),s=null==n?y(u):"function"===typeof n?n.apply(t,o):n,c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,d="function"===typeof e?e.apply(t,o):e,h=l(f.invert(s).concat(c/f.k),d.invert(s).concat(c/d.k));return function(t){if(1===t)t=d;else{var e=h(t),n=c/e[2];t=new lE(n,s[0]-e[0]*n,s[1]-e[1]*n)}a.zoom(null,t)}}))}function w(t,e,n){return!n&&t.__zooming||new S(t,e)}function S(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function O(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(r.apply(this,arguments)){var u=w(this,n).event(t),f=this.__zoom,l=Math.max(s[0],Math.min(s[1],f.k*Math.pow(2,a.apply(this,arguments)))),d=Qr(t);if(u.wheel)u.mouse[0][0]===d[0]&&u.mouse[0][1]===d[1]||(u.mouse[1]=f.invert(u.mouse[0]=d)),clearTimeout(u.wheel);else{if(f.k===l)return;u.mouse=[d,f.invert(d)],Si(this),u.start()}gE(t),u.wheel=setTimeout(h,150),u.zoom("mouse",o(v(b(f,l),u.mouse[0],u.mouse[1]),u.extent,c))}function h(){u.wheel=null,u.end()}}function x(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];if(!n&&r.apply(this,arguments)){var u=w(this,i,!0).event(t),s=zn(t.view).on("mousemove.zoom",g,!0).on("mouseup.zoom",m,!0),f=Qr(t,l),l=t.currentTarget,d=t.clientX,h=t.clientY;qn(t.view),pE(t),u.mouse=[f,this.__zoom.invert(f)],Si(this),u.start()}function g(t){if(gE(t),!u.moved){var e=t.clientX-d,n=t.clientY-h;u.moved=e*e+n*n>p}u.event(t).zoom("mouse",o(v(u.that.__zoom,u.mouse[0]=Qr(t,l),u.mouse[1]),u.extent,c))}function m(t){s.on("mousemove.zoom mouseup.zoom",null),Wn(t.view,u.moved),gE(t),u.event(t).end()}}function E(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(r.apply(this,arguments)){var u=this.__zoom,s=Qr(t.changedTouches?t.changedTouches[0]:t,this),l=u.invert(s),d=u.k*(t.shiftKey?.5:2),h=o(v(b(u,d),s,l),i.apply(this,n),c);gE(t),f>0?zn(this).transition().duration(f).call(_,h,s,t):zn(this).call(m.transform,h,s,t)}}function M(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(r.apply(this,arguments)){var u,s,c,f,l=n.touches,d=l.length,p=w(this,o,n.changedTouches.length===d).event(n);for(pE(n),s=0;s<d;++s)c=l[s],f=[f=Qr(c,this),this.__zoom.invert(f),c.identifier],p.touch0?p.touch1||p.touch0[2]===f[2]||(p.touch1=f,p.taps=0):(p.touch0=f,u=!0,p.taps=1+!!t);t&&(t=clearTimeout(t)),u&&(p.taps<2&&(e=f[0],t=setTimeout((function(){t=null}),h)),Si(this),p.start())}}function T(t){if(this.__zooming){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i,a,u,s,f=w(this,n).event(t),l=t.changedTouches,d=l.length;for(gE(t),i=0;i<d;++i)a=l[i],u=Qr(a,this),f.touch0&&f.touch0[2]===a.identifier?f.touch0[0]=u:f.touch1&&f.touch1[2]===a.identifier&&(f.touch1[0]=u);if(a=f.that.__zoom,f.touch1){var h=f.touch0[0],p=f.touch0[1],g=f.touch1[0],m=f.touch1[1],y=(y=g[0]-h[0])*y+(y=g[1]-h[1])*y,_=(_=m[0]-p[0])*_+(_=m[1]-p[1])*_;a=b(a,Math.sqrt(y/_)),u=[(h[0]+g[0])/2,(h[1]+g[1])/2],s=[(p[0]+m[0])/2,(p[1]+m[1])/2]}else{if(!f.touch0)return;u=f.touch0[0],s=f.touch0[1]}f.zoom("touch",o(v(a,u,s),f.extent,c))}}function $(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.__zooming){var a,u,s=w(this,i).event(t),c=t.changedTouches,f=c.length;for(pE(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),h),a=0;a<f;++a)u=c[a],s.touch0&&s.touch0[2]===u.identifier?delete s.touch0:s.touch1&&s.touch1[2]===u.identifier&&delete s.touch1;if(s.touch1&&!s.touch0&&(s.touch0=s.touch1,delete s.touch1),s.touch0)s.touch0[1]=this.__zoom.invert(s.touch0[0]);else if(s.end(),2===s.taps&&(u=Qr(u,this),Math.hypot(e[0]-u[0],e[1]-u[1])<g)){var l=zn(this).on("dblclick.zoom");l&&l.apply(this,arguments)}}}return m.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",vE),t!==i?_(t,e,n,r):i.interrupt().each((function(){w(this,arguments).event(r).start().zoom(null,"function"===typeof e?e.apply(this,arguments):e).end()}))},m.scaleBy=function(t,e,n,r){m.scaleTo(t,(function(){var t=this.__zoom.k,n="function"===typeof e?e.apply(this,arguments):e;return t*n}),n,r)},m.scaleTo=function(t,e,n,r){m.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?y(t):"function"===typeof n?n.apply(this,arguments):n,u=r.invert(a),s="function"===typeof e?e.apply(this,arguments):e;return o(v(b(r,s),a,u),t,c)}),n,r)},m.translateBy=function(t,e,n,r){m.transform(t,(function(){return o(this.__zoom.translate("function"===typeof e?e.apply(this,arguments):e,"function"===typeof n?n.apply(this,arguments):n),i.apply(this,arguments),c)}),null,r)},m.translateTo=function(t,e,n,r,a){m.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,u=null==r?y(t):"function"===typeof r?r.apply(this,arguments):r;return o(dE.translate(u[0],u[1]).scale(a.k).translate("function"===typeof e?-e.apply(this,arguments):-e,"function"===typeof n?-n.apply(this,arguments):-n),t,c)}),r,a)},S.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=zn(this.that).datum();d.call(t,this.that,new fE(t,{sourceEvent:this.sourceEvent,target:m,type:t,transform:this.that.__zoom,dispatch:d}),e)}},m.wheelDelta=function(t){return arguments.length?(a="function"===typeof t?t:cE(+t),m):a},m.filter=function(t){return arguments.length?(r="function"===typeof t?t:cE(!!t),m):r},m.touchable=function(t){return arguments.length?(u="function"===typeof t?t:cE(!!t),m):u},m.extent=function(t){return arguments.length?(i="function"===typeof t?t:cE([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),m):i},m.scaleExtent=function(t){return arguments.length?(s[0]=+t[0],s[1]=+t[1],m):[s[0],s[1]]},m.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m.constrain=function(t){return arguments.length?(o=t,m):o},m.duration=function(t){return arguments.length?(f=+t,m):f},m.interpolate=function(t){return arguments.length?(l=t,m):l},m.on=function(){var t=d.on.apply(d,arguments);return t===d?m:t},m.clickDistance=function(t){return arguments.length?(p=(t=+t)*t,m):Math.sqrt(p)},m.tapDistance=function(t){return arguments.length?(g=+t,m):g},m}},function(t,e,n){"use strict";(function(t){var r=n(732),i=n(733),o=n(734);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!s.TYPED_ARRAY_SUPPORT&&!(this instanceof s))return new s(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);s.TYPED_ARRAY_SUPPORT?(t=e).__proto__=s.prototype:t=d(t,e);return t}(t,e,n,r):"string"===typeof e?function(t,e,n){"string"===typeof n&&""!==n||(n="utf8");if(!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=u(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(s.isBuffer(e)){var n=0|h(e.length);return 0===(t=u(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||(r=e.length)!==r?u(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(f(e),t=u(t,e<0?0:0|h(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e){var n=e.length<0?0:0|h(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(s.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 U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(t).length;default:if(r)return U(t).length;e=(""+e).toLowerCase(),r=!0}}function g(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 k(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return $(this,e,n);case"latin1":case"binary":return A(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function b(t,e,n,r,i){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=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"===typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var o,a=1,u=t.length,s=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,u/=2,s/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var f=-1;for(o=n;o<u;o++)if(c(t,o)===c(e,-1===f?0:o-f)){if(-1===f&&(f=o),o-f+1===s)return f*a}else-1!==f&&(o-=o-f),f=-1}else for(n+s>u&&(n=u-s),o=n;o>=0;o--){for(var l=!0,d=0;d<s;d++)if(c(t,o+d)!==c(e,d)){l=!1;break}if(l)return o}return-1}function y(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[n+a]=u}return a}function _(t,e,n,r){return H(U(e,t.length-n),t,n,r)}function w(t,e,n,r){return H(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function S(t,e,n,r){return w(t,e,n,r)}function O(t,e,n,r){return H(z(e),t,n,r)}function x(t,e,n,r){return H(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function E(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,u,s,c=t[i],f=null,l=c>239?4:c>223?3:c>191?2:1;if(i+l<=n)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(o=t[i+1]))&&(s=(31&c)<<6|63&o)>127&&(f=s);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(f=s);break;case 4:o=t[i+1],a=t[i+2],u=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&u)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(f=s)}null===f?(f=65533,l=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=l}return function(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=T));return n}(r)}e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return c(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return function(t,e,n,r){return f(e),e<=0?u(t,e):void 0!==n?"string"===typeof r?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}(null,t,e,n)},s.allocUnsafe=function(t){return l(null,t)},s.allocUnsafeSlow=function(t){return l(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?M(this,0,t):g.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,n,r,i){if(!s.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===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),u=Math.min(o,a),c=this.slice(r,i),f=t.slice(e,n),l=0;l<u;++l)if(c[l]!==f[l]){o=c[l],a=f[l];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return b(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return b(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function $(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function A(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=B(t[o]);return i}function C(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function I(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function N(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function j(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,o){return o||j(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function L(t,e,n,r,o){return o||j(t,0,n,8),i.write(t,e,n,r,52,8),n+8}s.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),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=s.prototype;else{var i=e-t;n=new s(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},s.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||P(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||P(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=0,a=1,u=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/a>>0)-u&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/a>>0)-u&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return L(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return L(this,t,e,!1,n)},s.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<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},s.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=s.isBuffer(t)?t:U(new s(t,r).toString()),u=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%u]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.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;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function H(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(59))},function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s}));var r=n(14),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(t,e){return t.__proto__=e,t}:o,u=function(t){function e(n){void 0===n&&(n=i);var r=t.call(this,"number"===typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,a(r,e.prototype),r}return Object(r.c)(e,t),e}(Error);function s(t,e){if(!t)throw new u(e)}function c(t){return function(){return console[t].apply(console,arguments)}}!function(t){t.warn=c("warn"),t.error=c("error")}(s||(s={}));var f={env:{}};if("object"===typeof t)f=t;else try{Function("stub","process = stub")(f)}catch(l){}}).call(this,n(70))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(57);function i(t){return function e(n){return 0===arguments.length||Object(r.a)(n)?e:t.apply(this,arguments)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(284);function i(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){t.exports=n(719)},function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"k",(function(){return a})),n.d(e,"h",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"j",(function(){return c})),n.d(e,"e",(function(){return f})),n.d(e,"f",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"a",(function(){return p})),n.d(e,"i",(function(){return g}));var r=n(284);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){if(0===t.indexOf("#"))return t;var e=s(t).values;return"#".concat(e.map((function(t){return function(t){var e=t.toString(16);return 1===e.length?"0".concat(e):e}(t)})).join(""))}function u(t){var e=(t=s(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",f=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(u+="a",f.push(e[3])),c({type:u,values:f})}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(o(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function c(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function f(t,e){var n=l(t),r=l(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function l(t){var e="hsl"===(t=s(t)).type?s(u(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(t)>.5?p(t,e):g(t,e)}function h(t,e){return t=s(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,c(t)}function p(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return c(t)}function g(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return c(t)}},function(t,e,n){var r=n(29),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},function(t,e,n){var r;!function(i){"use strict";var o,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,s=Math.floor,c="[BigNumber Error] ",f=c+"Number primitive has more than 15 significant digits: ",l=1e14,d=14,h=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],g=1e7,m=1e9;function b(t){var e=0|t;return t>0||t===e?e:e-1}function v(t){for(var e,n,r=1,i=t.length,o=t[0]+"";r<i;){for(e=t[r++]+"",n=d-e.length;n--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function y(t,e){var n,r,i=t.c,o=e.c,a=t.s,u=e.s,s=t.e,c=e.e;if(!a||!u)return null;if(n=i&&!i[0],r=o&&!o[0],n||r)return n?r?0:-u:a;if(a!=u)return a;if(n=a<0,r=s==c,!i||!o)return r?0:!i^n?1:-1;if(!r)return s>c^n?1:-1;for(u=(s=i.length)<(c=o.length)?s:c,a=0;a<u;a++)if(i[a]!=o[a])return i[a]>o[a]^n?1:-1;return s==c?0:s>c^n?1:-1}function _(t,e,n,r){if(t<e||t>n||t!==s(t))throw Error(c+(r||"Argument")+("number"==typeof t?t<e||t>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function w(t){var e=t.c.length-1;return b(t.e/d)==e&&t.c[e]%2!=0}function S(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function O(t,e,n){var r,i;if(e<0){for(i=n+".";++e;i+=n);t=i+t}else if(++e>(r=t.length)){for(i=n,e-=r;--e;i+=n);t+=i}else e<r&&(t=t.slice(0,e)+"."+t.slice(e));return t}(o=function t(e){var n,r,i,o=j.prototype={constructor:j,toString:null,valueOf:null},x=new j(1),E=20,M=4,T=-7,$=21,A=-1e7,k=1e7,C=!1,I=1,P=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},R="0123456789abcdefghijklmnopqrstuvwxyz";function j(t,e){var n,o,u,c,l,p,g,m,b=this;if(!(b instanceof j))return new j(t,e);if(null==e){if(t&&!0===t._isBigNumber)return b.s=t.s,void(!t.c||t.e>k?b.c=b.e=null:t.e<A?b.c=[b.e=0]:(b.e=t.e,b.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(b.s=1/t<0?(t=-t,-1):1,t===~~t){for(c=0,l=t;l>=10;l/=10,c++);return void(c>k?b.c=b.e=null:(b.e=c,b.c=[t]))}m=String(t)}else{if(!a.test(m=String(t)))return i(b,m,p);b.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(c=m.indexOf("."))>-1&&(m=m.replace(".","")),(l=m.search(/e/i))>0?(c<0&&(c=l),c+=+m.slice(l+1),m=m.substring(0,l)):c<0&&(c=m.length)}else{if(_(e,2,R.length,"Base"),10==e)return B(b=new j(t),E+b.e+1,M);if(m=String(t),p="number"==typeof t){if(0*t!=0)return i(b,m,p,e);if(b.s=1/t<0?(m=m.slice(1),-1):1,j.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(f+t)}else b.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=R.slice(0,e),c=l=0,g=m.length;l<g;l++)if(n.indexOf(o=m.charAt(l))<0){if("."==o){if(l>c){c=g;continue}}else if(!u&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){u=!0,l=-1,c=0;continue}return i(b,String(t),p,e)}p=!1,(c=(m=r(m,e,10,b.s)).indexOf("."))>-1?m=m.replace(".",""):c=m.length}for(l=0;48===m.charCodeAt(l);l++);for(g=m.length;48===m.charCodeAt(--g););if(m=m.slice(l,++g)){if(g-=l,p&&j.DEBUG&&g>15&&(t>h||t!==s(t)))throw Error(f+b.s*t);if((c=c-l-1)>k)b.c=b.e=null;else if(c<A)b.c=[b.e=0];else{if(b.e=c,b.c=[],l=(c+1)%d,c<0&&(l+=d),l<g){for(l&&b.c.push(+m.slice(0,l)),g-=d;l<g;)b.c.push(+m.slice(l,l+=d));l=d-(m=m.slice(l)).length}else l-=g;for(;l--;m+="0");b.c.push(+m)}}else b.c=[b.e=0]}function D(t,e,n,r){var i,o,a,u,s;if(null==n?n=M:_(n,0,8),!t.c)return t.toString();if(i=t.c[0],a=t.e,null==e)s=v(t.c),s=1==r||2==r&&(a<=T||a>=$)?S(s,a):O(s,a,"0");else if(o=(t=B(new j(t),e,n)).e,u=(s=v(t.c)).length,1==r||2==r&&(e<=o||o<=T)){for(;u<e;s+="0",u++);s=S(s,o)}else if(e-=a,s=O(s,o,"0"),o+1>u){if(--e>0)for(s+=".";e--;s+="0");}else if((e+=o-u)>0)for(o+1==u&&(s+=".");e--;s+="0");return t.s<0&&i?"-"+s:s}function L(t,e){for(var n,r=1,i=new j(t[0]);r<t.length;r++){if(!(n=new j(t[r])).s){i=n;break}e.call(i,n)&&(i=n)}return i}function F(t,e,n){for(var r=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,r++);return(n=r+n*d-1)>k?t.c=t.e=null:n<A?t.c=[t.e=0]:(t.e=n,t.c=e),t}function B(t,e,n,r){var i,o,a,c,f,h,g,m=t.c,b=p;if(m){t:{for(i=1,c=m[0];c>=10;c/=10,i++);if((o=e-i)<0)o+=d,a=e,g=(f=m[h=0])/b[i-a-1]%10|0;else if((h=u((o+1)/d))>=m.length){if(!r)break t;for(;m.length<=h;m.push(0));f=g=0,i=1,a=(o%=d)-d+1}else{for(f=c=m[h],i=1;c>=10;c/=10,i++);g=(a=(o%=d)-d+i)<0?0:f/b[i-a-1]%10|0}if(r=r||e<0||null!=m[h+1]||(a<0?f:f%b[i-a-1]),r=n<4?(g||r)&&(0==n||n==(t.s<0?3:2)):g>5||5==g&&(4==n||r||6==n&&(o>0?a>0?f/b[i-a]:0:m[h-1])%10&1||n==(t.s<0?8:7)),e<1||!m[0])return m.length=0,r?(e-=t.e+1,m[0]=b[(d-e%d)%d],t.e=-e||0):m[0]=t.e=0,t;if(0==o?(m.length=h,c=1,h--):(m.length=h+1,c=b[d-o],m[h]=a>0?s(f/b[i-a]%b[a])*c:0),r)for(;;){if(0==h){for(o=1,a=m[0];a>=10;a/=10,o++);for(a=m[0]+=c,c=1;a>=10;a/=10,c++);o!=c&&(t.e++,m[0]==l&&(m[0]=1));break}if(m[h]+=c,m[h]!=l)break;m[h--]=0,c=1}for(o=m.length;0===m[--o];m.pop());}t.e>k?t.c=t.e=null:t.e<A&&(t.c=[t.e=0])}return t}function U(t){var e,n=t.e;return null===n?t.toString():(e=v(t.c),e=n<=T||n>=$?S(e,n):O(e,n,"0"),t.s<0?"-"+e:e)}return j.clone=t,j.ROUND_UP=0,j.ROUND_DOWN=1,j.ROUND_CEIL=2,j.ROUND_FLOOR=3,j.ROUND_HALF_UP=4,j.ROUND_HALF_DOWN=5,j.ROUND_HALF_EVEN=6,j.ROUND_HALF_CEIL=7,j.ROUND_HALF_FLOOR=8,j.EUCLID=9,j.config=j.set=function(t){var e,n;if(null!=t){if("object"!=typeof t)throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(_(n=t[e],0,m,e),E=n),t.hasOwnProperty(e="ROUNDING_MODE")&&(_(n=t[e],0,8,e),M=n),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((n=t[e])&&n.pop?(_(n[0],-m,0,e),_(n[1],0,m,e),T=n[0],$=n[1]):(_(n,-m,m,e),T=-($=n<0?-n:n))),t.hasOwnProperty(e="RANGE"))if((n=t[e])&&n.pop)_(n[0],-m,-1,e),_(n[1],1,m,e),A=n[0],k=n[1];else{if(_(n,-m,m,e),!n)throw Error(c+e+" cannot be zero: "+n);A=-(k=n<0?-n:n)}if(t.hasOwnProperty(e="CRYPTO")){if((n=t[e])!==!!n)throw Error(c+e+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw C=!n,Error(c+"crypto unavailable");C=n}else C=n}if(t.hasOwnProperty(e="MODULO_MODE")&&(_(n=t[e],0,9,e),I=n),t.hasOwnProperty(e="POW_PRECISION")&&(_(n=t[e],0,m,e),P=n),t.hasOwnProperty(e="FORMAT")){if("object"!=typeof(n=t[e]))throw Error(c+e+" not an object: "+n);N=n}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(n=t[e])||/^.$|[+-.\s]|(.).*\1/.test(n))throw Error(c+e+" invalid: "+n);R=n}}return{DECIMAL_PLACES:E,ROUNDING_MODE:M,EXPONENTIAL_AT:[T,$],RANGE:[A,k],CRYPTO:C,MODULO_MODE:I,POW_PRECISION:P,FORMAT:N,ALPHABET:R}},j.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!j.DEBUG)return!0;var e,n,r=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(r)){if((1===o||-1===o)&&i>=-m&&i<=m&&i===s(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break t}if((e=(i+1)%d)<1&&(e+=d),String(r[0]).length==e){for(e=0;e<r.length;e++)if((n=r[e])<0||n>=l||n!==s(n))break t;if(0!==n)return!0}}}else if(null===r&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(c+"Invalid BigNumber: "+t)},j.maximum=j.max=function(){return L(arguments,o.lt)},j.minimum=j.min=function(){return L(arguments,o.gt)},j.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return s(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var n,r,i,o,a,f=0,l=[],h=new j(x);if(null==t?t=E:_(t,0,m),o=u(t/d),C)if(crypto.getRandomValues){for(n=crypto.getRandomValues(new Uint32Array(o*=2));f<o;)(a=131072*n[f]+(n[f+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),n[f]=r[0],n[f+1]=r[1]):(l.push(a%1e14),f+=2);f=o/2}else{if(!crypto.randomBytes)throw C=!1,Error(c+"crypto unavailable");for(n=crypto.randomBytes(o*=7);f<o;)(a=281474976710656*(31&n[f])+1099511627776*n[f+1]+4294967296*n[f+2]+16777216*n[f+3]+(n[f+4]<<16)+(n[f+5]<<8)+n[f+6])>=9e15?crypto.randomBytes(7).copy(n,f):(l.push(a%1e14),f+=7);f=o/7}if(!C)for(;f<o;)(a=e())<9e15&&(l[f++]=a%1e14);for(o=l[--f],t%=d,o&&t&&(a=p[d-t],l[f]=s(o/a)*a);0===l[f];l.pop(),f--);if(f<0)l=[i=0];else{for(i=-1;0===l[0];l.splice(0,1),i-=d);for(f=1,a=l[0];a>=10;a/=10,f++);f<d&&(i-=d-f)}return h.e=i,h.c=l,h}}(),j.sum=function(){for(var t=1,e=arguments,n=new j(e[0]);t<e.length;)n=n.plus(e[t++]);return n},r=function(){var t="0123456789";function e(t,e,n,r){for(var i,o,a=[0],u=0,s=t.length;u<s;){for(o=a.length;o--;a[o]*=e);for(a[0]+=r.indexOf(t.charAt(u++)),i=0;i<a.length;i++)a[i]>n-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/n|0,a[i]%=n)}return a.reverse()}return function(r,i,o,a,u){var s,c,f,l,d,h,p,g,m=r.indexOf("."),b=E,y=M;for(m>=0&&(l=P,P=0,r=r.replace(".",""),h=(g=new j(i)).pow(r.length-m),P=l,g.c=e(O(v(h.c),h.e,"0"),10,o,t),g.e=g.c.length),f=l=(p=e(r,i,o,u?(s=R,t):(s=t,R))).length;0==p[--l];p.pop());if(!p[0])return s.charAt(0);if(m<0?--f:(h.c=p,h.e=f,h.s=a,p=(h=n(h,g,b,y,o)).c,d=h.r,f=h.e),m=p[c=f+b+1],l=o/2,d=d||c<0||null!=p[c+1],d=y<4?(null!=m||d)&&(0==y||y==(h.s<0?3:2)):m>l||m==l&&(4==y||d||6==y&&1&p[c-1]||y==(h.s<0?8:7)),c<1||!p[0])r=d?O(s.charAt(1),-b,s.charAt(0)):s.charAt(0);else{if(p.length=c,d)for(--o;++p[--c]>o;)p[c]=0,c||(++f,p=[1].concat(p));for(l=p.length;!p[--l];);for(m=0,r="";m<=l;r+=s.charAt(p[m++]));r=O(r,f,s.charAt(0))}return r}}(),n=function(){function t(t,e,n){var r,i,o,a,u=0,s=t.length,c=e%g,f=e/g|0;for(t=t.slice();s--;)u=((i=c*(o=t[s]%g)+(r=f*o+(a=t[s]/g|0)*c)%g*g+u)/n|0)+(r/g|0)+f*a,t[s]=i%n;return u&&(t=[u].concat(t)),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n,r){for(var i=0;n--;)t[n]-=i,i=t[n]<e[n]?1:0,t[n]=i*r+t[n]-e[n];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(r,i,o,a,u){var c,f,h,p,g,m,v,y,_,w,S,O,x,E,M,T,$,A=r.s==i.s?1:-1,k=r.c,C=i.c;if(!k||!k[0]||!C||!C[0])return new j(r.s&&i.s&&(k?!C||k[0]!=C[0]:C)?k&&0==k[0]||!C?0*A:A/0:NaN);for(_=(y=new j(A)).c=[],A=o+(f=r.e-i.e)+1,u||(u=l,f=b(r.e/d)-b(i.e/d),A=A/d|0),h=0;C[h]==(k[h]||0);h++);if(C[h]>(k[h]||0)&&f--,A<0)_.push(1),p=!0;else{for(E=k.length,T=C.length,h=0,A+=2,(g=s(u/(C[0]+1)))>1&&(C=t(C,g,u),k=t(k,g,u),T=C.length,E=k.length),x=T,S=(w=k.slice(0,T)).length;S<T;w[S++]=0);$=C.slice(),$=[0].concat($),M=C[0],C[1]>=u/2&&M++;do{if(g=0,(c=e(C,w,T,S))<0){if(O=w[0],T!=S&&(O=O*u+(w[1]||0)),(g=s(O/M))>1)for(g>=u&&(g=u-1),v=(m=t(C,g,u)).length,S=w.length;1==e(m,w,v,S);)g--,n(m,T<v?$:C,v,u),v=m.length,c=1;else 0==g&&(c=g=1),v=(m=C.slice()).length;if(v<S&&(m=[0].concat(m)),n(w,m,S,u),S=w.length,-1==c)for(;e(C,w,T,S)<1;)g++,n(w,T<S?$:C,S,u),S=w.length}else 0===c&&(g++,w=[0]);_[h++]=g,w[0]?w[S++]=k[x]||0:(w=[k[x]],S=1)}while((x++<E||null!=w[0])&&A--);p=null!=w[0],_[0]||_.splice(0,1)}if(u==l){for(h=1,A=_[0];A>=10;A/=10,h++);B(y,o+(y.e=h+f*d-1)+1,a,p)}else y.e=f,y.r=+p;return y}}(),i=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,n=/^\.([^.]+)$/,r=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,a,u,s){var f,l=u?a:a.replace(i,"");if(r.test(l))o.s=isNaN(l)?null:l<0?-1:1;else{if(!u&&(l=l.replace(t,(function(t,e,n){return f="x"==(n=n.toLowerCase())?16:"b"==n?2:8,s&&s!=f?t:e})),s&&(f=s,l=l.replace(e,"$1").replace(n,"0.$1")),a!=l))return new j(l,f);if(j.DEBUG)throw Error(c+"Not a"+(s?" base "+s:"")+" number: "+a);o.s=null}o.c=o.e=null}}(),o.absoluteValue=o.abs=function(){var t=new j(this);return t.s<0&&(t.s=1),t},o.comparedTo=function(t,e){return y(this,new j(t,e))},o.decimalPlaces=o.dp=function(t,e){var n,r,i,o=this;if(null!=t)return _(t,0,m),null==e?e=M:_(e,0,8),B(new j(o),t+o.e+1,e);if(!(n=o.c))return null;if(r=((i=n.length-1)-b(this.e/d))*d,i=n[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},o.dividedBy=o.div=function(t,e){return n(this,new j(t,e),E,M)},o.dividedToIntegerBy=o.idiv=function(t,e){return n(this,new j(t,e),0,1)},o.exponentiatedBy=o.pow=function(t,e){var n,r,i,o,a,f,l,h,p=this;if((t=new j(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+U(t));if(null!=e&&(e=new j(e)),a=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return h=new j(Math.pow(+U(p),a?2-w(t):+U(t))),e?h.mod(e):h;if(f=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new j(NaN);(r=!f&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||a&&p.c[1]>=24e7:p.c[0]<8e13||a&&p.c[0]<=9999975e7)))return o=p.s<0&&w(t)?-0:0,p.e>-1&&(o=1/o),new j(f?1/o:o);P&&(o=u(P/d+2))}for(a?(n=new j(.5),f&&(t.s=1),l=w(t)):l=(i=Math.abs(+U(t)))%2,h=new j(x);;){if(l){if(!(h=h.times(p)).c)break;o?h.c.length>o&&(h.c.length=o):r&&(h=h.mod(e))}if(i){if(0===(i=s(i/2)))break;l=i%2}else if(B(t=t.times(n),t.e+1,1),t.e>14)l=w(t);else{if(0===(i=+U(t)))break;l=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):r&&(p=p.mod(e))}return r?h:(f&&(h=x.div(h)),e?h.mod(e):o?B(h,P,M,undefined):h)},o.integerValue=function(t){var e=new j(this);return null==t?t=M:_(t,0,8),B(e,e.e+1,t)},o.isEqualTo=o.eq=function(t,e){return 0===y(this,new j(t,e))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(t,e){return y(this,new j(t,e))>0},o.isGreaterThanOrEqualTo=o.gte=function(t,e){return 1===(e=y(this,new j(t,e)))||0===e},o.isInteger=function(){return!!this.c&&b(this.e/d)>this.c.length-2},o.isLessThan=o.lt=function(t,e){return y(this,new j(t,e))<0},o.isLessThanOrEqualTo=o.lte=function(t,e){return-1===(e=y(this,new j(t,e)))||0===e},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(t,e){var n,r,i,o,a=this,u=a.s;if(e=(t=new j(t,e)).s,!u||!e)return new j(NaN);if(u!=e)return t.s=-e,a.plus(t);var s=a.e/d,c=t.e/d,f=a.c,h=t.c;if(!s||!c){if(!f||!h)return f?(t.s=-e,t):new j(h?a:NaN);if(!f[0]||!h[0])return h[0]?(t.s=-e,t):new j(f[0]?a:3==M?-0:0)}if(s=b(s),c=b(c),f=f.slice(),u=s-c){for((o=u<0)?(u=-u,i=f):(c=s,i=h),i.reverse(),e=u;e--;i.push(0));i.reverse()}else for(r=(o=(u=f.length)<(e=h.length))?u:e,u=e=0;e<r;e++)if(f[e]!=h[e]){o=f[e]<h[e];break}if(o&&(i=f,f=h,h=i,t.s=-t.s),(e=(r=h.length)-(n=f.length))>0)for(;e--;f[n++]=0);for(e=l-1;r>u;){if(f[--r]<h[r]){for(n=r;n&&!f[--n];f[n]=e);--f[n],f[r]+=l}f[r]-=h[r]}for(;0==f[0];f.splice(0,1),--c);return f[0]?F(t,f,c):(t.s=3==M?-1:1,t.c=[t.e=0],t)},o.modulo=o.mod=function(t,e){var r,i,o=this;return t=new j(t,e),!o.c||!t.s||t.c&&!t.c[0]?new j(NaN):!t.c||o.c&&!o.c[0]?new j(o):(9==I?(i=t.s,t.s=1,r=n(o,t,0,3),t.s=i,r.s*=i):r=n(o,t,0,I),(t=o.minus(r.times(t))).c[0]||1!=I||(t.s=o.s),t)},o.multipliedBy=o.times=function(t,e){var n,r,i,o,a,u,s,c,f,h,p,m,v,y,_,w=this,S=w.c,O=(t=new j(t,e)).c;if(!S||!O||!S[0]||!O[0])return!w.s||!t.s||S&&!S[0]&&!O||O&&!O[0]&&!S?t.c=t.e=t.s=null:(t.s*=w.s,S&&O?(t.c=[0],t.e=0):t.c=t.e=null),t;for(r=b(w.e/d)+b(t.e/d),t.s*=w.s,(s=S.length)<(h=O.length)&&(v=S,S=O,O=v,i=s,s=h,h=i),i=s+h,v=[];i--;v.push(0));for(y=l,_=g,i=h;--i>=0;){for(n=0,p=O[i]%_,m=O[i]/_|0,o=i+(a=s);o>i;)n=((c=p*(c=S[--a]%_)+(u=m*c+(f=S[a]/_|0)*p)%_*_+v[o]+n)/y|0)+(u/_|0)+m*f,v[o--]=c%y;v[o]=n}return n?++r:v.splice(0,1),F(t,v,r)},o.negated=function(){var t=new j(this);return t.s=-t.s||null,t},o.plus=function(t,e){var n,r=this,i=r.s;if(e=(t=new j(t,e)).s,!i||!e)return new j(NaN);if(i!=e)return t.s=-e,r.minus(t);var o=r.e/d,a=t.e/d,u=r.c,s=t.c;if(!o||!a){if(!u||!s)return new j(i/0);if(!u[0]||!s[0])return s[0]?t:new j(u[0]?r:0*i)}if(o=b(o),a=b(a),u=u.slice(),i=o-a){for(i>0?(a=o,n=s):(i=-i,n=u),n.reverse();i--;n.push(0));n.reverse()}for((i=u.length)-(e=s.length)<0&&(n=s,s=u,u=n,e=i),i=0;e;)i=(u[--e]=u[e]+s[e]+i)/l|0,u[e]=l===u[e]?0:u[e]%l;return i&&(u=[i].concat(u),++a),F(t,u,a)},o.precision=o.sd=function(t,e){var n,r,i,o=this;if(null!=t&&t!==!!t)return _(t,1,m),null==e?e=M:_(e,0,8),B(new j(o),t,e);if(!(n=o.c))return null;if(r=(i=n.length-1)*d+1,i=n[i]){for(;i%10==0;i/=10,r--);for(i=n[0];i>=10;i/=10,r++);}return t&&o.e+1>r&&(r=o.e+1),r},o.shiftedBy=function(t){return _(t,-9007199254740991,h),this.times("1e"+t)},o.squareRoot=o.sqrt=function(){var t,e,r,i,o,a=this,u=a.c,s=a.s,c=a.e,f=E+4,l=new j("0.5");if(1!==s||!u||!u[0])return new j(!s||s<0&&(!u||u[0])?NaN:u?a:1/0);if(0==(s=Math.sqrt(+U(a)))||s==1/0?(((e=v(u)).length+c)%2==0&&(e+="0"),s=Math.sqrt(+e),c=b((c+1)/2)-(c<0||c%2),r=new j(e=s==1/0?"1e"+c:(e=s.toExponential()).slice(0,e.indexOf("e")+1)+c)):r=new j(s+""),r.c[0])for((s=(c=r.e)+f)<3&&(s=0);;)if(o=r,r=l.times(o.plus(n(a,o,f,1))),v(o.c).slice(0,s)===(e=v(r.c)).slice(0,s)){if(r.e<c&&--s,"9999"!=(e=e.slice(s-3,s+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(B(r,r.e+E+2,1),t=!r.times(r).eq(a));break}if(!i&&(B(o,o.e+E+2,0),o.times(o).eq(a))){r=o;break}f+=4,s+=4,i=1}return B(r,r.e+E+1,M,t)},o.toExponential=function(t,e){return null!=t&&(_(t,0,m),t++),D(this,t,e,1)},o.toFixed=function(t,e){return null!=t&&(_(t,0,m),t=t+this.e+1),D(this,t,e)},o.toFormat=function(t,e,n){var r,i=this;if(null==n)null!=t&&e&&"object"==typeof e?(n=e,e=null):t&&"object"==typeof t?(n=t,t=e=null):n=N;else if("object"!=typeof n)throw Error(c+"Argument not an object: "+n);if(r=i.toFixed(t,e),i.c){var o,a=r.split("."),u=+n.groupSize,s=+n.secondaryGroupSize,f=n.groupSeparator||"",l=a[0],d=a[1],h=i.s<0,p=h?l.slice(1):l,g=p.length;if(s&&(o=u,u=s,s=o,g-=o),u>0&&g>0){for(o=g%u||u,l=p.substr(0,o);o<g;o+=u)l+=f+p.substr(o,u);s>0&&(l+=f+p.slice(o)),h&&(l="-"+l)}r=d?l+(n.decimalSeparator||"")+((s=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):l}return(n.prefix||"")+r+(n.suffix||"")},o.toFraction=function(t){var e,r,i,o,a,u,s,f,l,h,g,m,b=this,y=b.c;if(null!=t&&(!(s=new j(t)).isInteger()&&(s.c||1!==s.s)||s.lt(x)))throw Error(c+"Argument "+(s.isInteger()?"out of range: ":"not an integer: ")+U(s));if(!y)return new j(b);for(e=new j(x),l=r=new j(x),i=f=new j(x),m=v(y),a=e.e=m.length-b.e-1,e.c[0]=p[(u=a%d)<0?d+u:u],t=!t||s.comparedTo(e)>0?a>0?e:l:s,u=k,k=1/0,s=new j(m),f.c[0]=0;h=n(s,e,0,1),1!=(o=r.plus(h.times(i))).comparedTo(t);)r=i,i=o,l=f.plus(h.times(o=l)),f=o,e=s.minus(h.times(o=e)),s=o;return o=n(t.minus(r),i,0,1),f=f.plus(o.times(l)),r=r.plus(o.times(i)),f.s=l.s=b.s,g=n(l,i,a*=2,M).minus(b).abs().comparedTo(n(f,r,a,M).minus(b).abs())<1?[l,i]:[f,r],k=u,g},o.toNumber=function(){return+U(this)},o.toPrecision=function(t,e){return null!=t&&_(t,1,m),D(this,t,e,2)},o.toString=function(t){var e,n=this,i=n.s,o=n.e;return null===o?i?(e="Infinity",i<0&&(e="-"+e)):e="NaN":(null==t?e=o<=T||o>=$?S(v(n.c),o):O(v(n.c),o,"0"):10===t?e=O(v((n=B(new j(n),E+o+1,M)).c),n.e,"0"):(_(t,2,R.length,"Base"),e=r(O(v(n.c),o,"0"),10,t,i,!0)),i<0&&n.c[0]&&(e="-"+e)),e},o.valueOf=o.toJSON=function(){return U(this)},o._isBigNumber=!0,null!=e&&j.set(e),j}()).default=o.BigNumber=o,void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)}()},function(t,e,n){"use strict";function r(t,e,n){return(n=n||[]).length>=e?t.apply(null,n.slice(0,e).reverse()):function(){var i=Array.prototype.slice.call(arguments);return r(t,e,n.concat(i))}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){return function(){return null}}n.r(e),n.d(e,"chainPropTypes",(function(){return r})),n.d(e,"deepmerge",(function(){return i.a})),n.d(e,"elementAcceptingRef",(function(){return s})),n.d(e,"elementTypeAcceptingRef",(function(){return c})),n.d(e,"exactProp",(function(){return f})),n.d(e,"formatMuiErrorMessage",(function(){return l.a})),n.d(e,"getDisplayName",(function(){return v})),n.d(e,"HTMLElementType",(function(){return y})),n.d(e,"ponyfillGlobal",(function(){return _})),n.d(e,"refType",(function(){return w}));var i=n(393),o=n(13),a=n.n(o);var u=(a.a.element,function(){return null});u.isRequired=(a.a.element.isRequired,function(){return null});var s=u;var c=(o.elementType,function(){return null});n(58),n(4);function f(t){return t}var l=n(284),d=n(135),h=n(103),p=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function g(t){var e="".concat(t).match(p);return e&&e[1]||""}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.displayName||t.name||g(t)||e}function b(t,e,n){var r=m(e);return t.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function v(t){if(null!=t){if("string"===typeof t)return t;if("function"===typeof t)return m(t,"Component");if("object"===Object(d.a)(t))switch(t.$$typeof){case h.ForwardRef:return b(t,t.render,"ForwardRef");case h.Memo:return b(t,t.type,"memo");default:return}}}function y(t,e,n,r,i){return null}var _="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),w=a.a.oneOfType([a.a.func,a.a.object])},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(32),i=n(16),o=n(57);function a(t){return function e(n,a,u){switch(arguments.length){case 0:return e;case 1:return Object(o.a)(n)?e:Object(i.a)((function(e,r){return t(n,e,r)}));case 2:return Object(o.a)(n)&&Object(o.a)(a)?e:Object(o.a)(n)?Object(i.a)((function(e,n){return t(e,a,n)})):Object(o.a)(a)?Object(i.a)((function(e,r){return t(n,e,r)})):Object(r.a)((function(e){return t(n,a,e)}));default:return Object(o.a)(n)&&Object(o.a)(a)&&Object(o.a)(u)?e:Object(o.a)(n)&&Object(o.a)(a)?Object(i.a)((function(e,n){return t(e,n,u)})):Object(o.a)(n)&&Object(o.a)(u)?Object(i.a)((function(e,n){return t(e,a,n)})):Object(o.a)(a)&&Object(o.a)(u)?Object(i.a)((function(e,r){return t(n,e,r)})):Object(o.a)(n)?Object(r.a)((function(e){return t(e,a,u)})):Object(o.a)(a)?Object(r.a)((function(e){return t(n,e,u)})):Object(o.a)(u)?Object(r.a)((function(e){return t(n,a,e)})):t(n,a,u)}}}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),i=n(139);function o(t,e){return r.useMemo((function(){return null==t&&null==e?null:function(n){Object(i.a)(t,n),Object(i.a)(e,n)}}),[t,e])}},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<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=n(603)},function(t,e,n){(function(t,r){var i;(function(){var o,a="Expected a function",u="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,f=32,l=64,d=128,h=256,p=1/0,g=9007199254740991,m=NaN,b=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",f],["partialRight",l],["rearg",h]],y="[object Arguments]",_="[object Array]",w="[object Boolean]",S="[object Date]",O="[object Error]",x="[object Function]",E="[object GeneratorFunction]",M="[object Map]",T="[object Number]",$="[object Object]",A="[object Promise]",k="[object RegExp]",C="[object Set]",I="[object String]",P="[object Symbol]",N="[object WeakMap]",R="[object ArrayBuffer]",j="[object DataView]",D="[object Float32Array]",L="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",U="[object Int32Array]",z="[object Uint8Array]",H="[object Uint8ClampedArray]",V="[object Uint16Array]",q="[object Uint32Array]",W=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,Q=RegExp(Y.source),X=RegExp(Z.source),J=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,et=/<%=([\s\S]+?)%>/g,nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ot=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ot.source),ut=/^\s+|\s+$/g,st=/^\s+/,ct=/\s+$/,ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,dt=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,mt=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ot=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,Et="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Mt="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",$t="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",kt="\\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",Ct="['\u2019]",It="[\\ud800-\\udfff]",Pt="["+kt+"]",Nt="["+Et+"]",Rt="\\d+",jt="[\\u2700-\\u27bf]",Dt="["+Tt+"]",Lt="[^\\ud800-\\udfff"+kt+Rt+Mt+Tt+$t+"]",Ft="\\ud83c[\\udffb-\\udfff]",Bt="[^\\ud800-\\udfff]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",zt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ht="["+$t+"]",Vt="(?:"+Dt+"|"+Lt+")",qt="(?:"+Ht+"|"+Lt+")",Wt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Gt="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Nt+"|"+Ft+")"+"?",Yt="[\\ufe0e\\ufe0f]?",Zt=Yt+Kt+("(?:\\u200d(?:"+[Bt,Ut,zt].join("|")+")"+Yt+Kt+")*"),Qt="(?:"+[jt,Ut,zt].join("|")+")"+Zt,Xt="(?:"+[Bt+Nt+"?",Nt,Ut,zt,It].join("|")+")",Jt=RegExp(Ct,"g"),te=RegExp(Nt,"g"),ee=RegExp(Ft+"(?="+Ft+")|"+Xt+Zt,"g"),ne=RegExp([Ht+"?"+Dt+"+"+Wt+"(?="+[Pt,Ht,"$"].join("|")+")",qt+"+"+Gt+"(?="+[Pt,Ht+Vt,"$"].join("|")+")",Ht+"?"+Vt+"+"+Wt,Ht+"+"+Gt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rt,Qt].join("|"),"g"),re=RegExp("[\\u200d\\ud800-\\udfff"+Et+At+"]"),ie=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oe=["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"],ae=-1,ue={};ue[D]=ue[L]=ue[F]=ue[B]=ue[U]=ue[z]=ue[H]=ue[V]=ue[q]=!0,ue[y]=ue[_]=ue[R]=ue[w]=ue[j]=ue[S]=ue[O]=ue[x]=ue[M]=ue[T]=ue[$]=ue[k]=ue[C]=ue[I]=ue[N]=!1;var se={};se[y]=se[_]=se[R]=se[j]=se[w]=se[S]=se[D]=se[L]=se[F]=se[B]=se[U]=se[M]=se[T]=se[$]=se[k]=se[C]=se[I]=se[P]=se[z]=se[H]=se[V]=se[q]=!0,se[O]=se[x]=se[N]=!1;var ce={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},fe=parseFloat,le=parseInt,de="object"==typeof t&&t&&t.Object===Object&&t,he="object"==typeof self&&self&&self.Object===Object&&self,pe=de||he||Function("return this")(),ge=e&&!e.nodeType&&e,me=ge&&"object"==typeof r&&r&&!r.nodeType&&r,be=me&&me.exports===ge,ve=be&&de.process,ye=function(){try{var t=me&&me.require&&me.require("util").types;return t||ve&&ve.binding&&ve.binding("util")}catch(e){}}(),_e=ye&&ye.isArrayBuffer,we=ye&&ye.isDate,Se=ye&&ye.isMap,Oe=ye&&ye.isRegExp,xe=ye&&ye.isSet,Ee=ye&&ye.isTypedArray;function Me(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 Te(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function $e(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ke(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ce(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Ie(t,e){return!!(null==t?0:t.length)&&ze(t,e,0)>-1}function Pe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ne(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Re(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function je(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function De(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function Le(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Fe=We("length");function Be(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Ue(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function ze(t,e,n){return e===e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Ue(t,Ve,n)}function He(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ve(t){return t!==t}function qe(t,e){var n=null==t?0:t.length;return n?Ye(t,e)/n:m}function We(t){return function(e){return null==e?o:e[t]}}function Ge(t){return function(e){return null==t?o:t[e]}}function Ke(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Ye(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function Ze(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Qe(t){return function(e){return t(e)}}function Xe(t,e){return Ne(e,(function(e){return t[e]}))}function Je(t,e){return t.has(e)}function tn(t,e){for(var n=-1,r=t.length;++n<r&&ze(e,t[n],0)>-1;);return n}function en(t,e){for(var n=t.length;n--&&ze(e,t[n],0)>-1;);return n}function nn(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var rn=Ge({"\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"}),on=Ge({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(t){return"\\"+ce[t]}function un(t){return re.test(t)}function sn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function cn(t,e){return function(n){return t(e(n))}}function fn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==s||(t[n]=s,o[i++]=n)}return o}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function dn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function hn(t){return un(t)?function(t){var e=ee.lastIndex=0;for(;ee.test(t);)++e;return e}(t):Fe(t)}function pn(t){return un(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.split("")}(t)}var gn=Ge({"&":"&","<":"<",">":">",""":'"',"'":"'"});var mn=function t(e){var n=(e=null==e?pe:mn.defaults(pe.Object(),e,mn.pick(pe,oe))).Array,r=e.Date,i=e.Error,Et=e.Function,Mt=e.Math,Tt=e.Object,$t=e.RegExp,At=e.String,kt=e.TypeError,Ct=n.prototype,It=Et.prototype,Pt=Tt.prototype,Nt=e["__core-js_shared__"],Rt=It.toString,jt=Pt.hasOwnProperty,Dt=0,Lt=function(){var t=/[^.]+$/.exec(Nt&&Nt.keys&&Nt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ft=Pt.toString,Bt=Rt.call(Tt),Ut=pe._,zt=$t("^"+Rt.call(jt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=be?e.Buffer:o,Vt=e.Symbol,qt=e.Uint8Array,Wt=Ht?Ht.allocUnsafe:o,Gt=cn(Tt.getPrototypeOf,Tt),Kt=Tt.create,Yt=Pt.propertyIsEnumerable,Zt=Ct.splice,Qt=Vt?Vt.isConcatSpreadable:o,Xt=Vt?Vt.iterator:o,ee=Vt?Vt.toStringTag:o,re=function(){try{var t=lo(Tt,"defineProperty");return t({},"",{}),t}catch(e){}}(),ce=e.clearTimeout!==pe.clearTimeout&&e.clearTimeout,de=r&&r.now!==pe.Date.now&&r.now,he=e.setTimeout!==pe.setTimeout&&e.setTimeout,ge=Mt.ceil,me=Mt.floor,ve=Tt.getOwnPropertySymbols,ye=Ht?Ht.isBuffer:o,Fe=e.isFinite,Ge=Ct.join,bn=cn(Tt.keys,Tt),vn=Mt.max,yn=Mt.min,_n=r.now,wn=e.parseInt,Sn=Mt.random,On=Ct.reverse,xn=lo(e,"DataView"),En=lo(e,"Map"),Mn=lo(e,"Promise"),Tn=lo(e,"Set"),$n=lo(e,"WeakMap"),An=lo(Tt,"create"),kn=$n&&new $n,Cn={},In=Fo(xn),Pn=Fo(En),Nn=Fo(Mn),Rn=Fo(Tn),jn=Fo($n),Dn=Vt?Vt.prototype:o,Ln=Dn?Dn.valueOf:o,Fn=Dn?Dn.toString:o;function Bn(t){if(nu(t)&&!qa(t)&&!(t instanceof Vn)){if(t instanceof Hn)return t;if(jt.call(t,"__wrapped__"))return Bo(t)}return new Hn(t)}var Un=function(){function t(){}return function(e){if(!eu(e))return{};if(Kt)return Kt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function zn(){}function Hn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Vn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=b,this.__views__=[]}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Kn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Gn;++e<n;)this.add(t[e])}function Yn(t){var e=this.__data__=new Wn(t);this.size=e.size}function Zn(t,e){var n=qa(t),r=!n&&Va(t),i=!n&&!r&&Ya(t),o=!n&&!r&&!i&&fu(t),a=n||r||i||o,u=a?Ze(t.length,At):[],s=u.length;for(var c in t)!e&&!jt.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||yo(c,s))||u.push(c);return u}function Qn(t){var e=t.length;return e?t[Kr(0,e-1)]:o}function Xn(t,e){return jo(Ai(t),ur(e,0,t.length))}function Jn(t){return jo(Ai(t))}function tr(t,e,n){(n!==o&&!Ua(t[e],n)||n===o&&!(e in t))&&or(t,e,n)}function er(t,e,n){var r=t[e];jt.call(t,e)&&Ua(r,n)&&(n!==o||e in t)||or(t,e,n)}function nr(t,e){for(var n=t.length;n--;)if(Ua(t[n][0],e))return n;return-1}function rr(t,e,n,r){return dr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function ir(t,e){return t&&ki(e,Iu(e),t)}function or(t,e,n){"__proto__"==e&&re?re(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ar(t,e){for(var r=-1,i=e.length,a=n(i),u=null==t;++r<i;)a[r]=u?o:Tu(t,e[r]);return a}function ur(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function sr(t,e,n,r,i,a){var u,s=1&e,c=2&e,f=4&e;if(n&&(u=i?n(t,r,i,a):n(t)),u!==o)return u;if(!eu(t))return t;var l=qa(t);if(l){if(u=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return Ai(t,u)}else{var d=go(t),h=d==x||d==E;if(Ya(t))return Oi(t,s);if(d==$||d==y||h&&!i){if(u=c||h?{}:bo(t),!s)return c?function(t,e){return ki(t,po(t),e)}(t,function(t,e){return t&&ki(e,Pu(e),t)}(u,t)):function(t,e){return ki(t,ho(t),e)}(t,ir(u,t))}else{if(!se[d])return i?t:{};u=function(t,e,n){var r=t.constructor;switch(e){case R:return xi(t);case w:case S:return new r(+t);case j:return function(t,e){var n=e?xi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case D:case L:case F:case B:case U:case z:case H:case V:case q:return Ei(t,n);case M:return new r;case T:case I:return new r(t);case k:return function(t){var e=new t.constructor(t.source,mt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case C:return new r;case P:return i=t,Ln?Tt(Ln.call(i)):{}}var i}(t,d,s)}}a||(a=new Yn);var p=a.get(t);if(p)return p;a.set(t,u),uu(t)?t.forEach((function(r){u.add(sr(r,e,n,r,t,a))})):ru(t)&&t.forEach((function(r,i){u.set(i,sr(r,e,n,i,t,a))}));var g=l?o:(f?c?io:ro:c?Pu:Iu)(t);return $e(g||t,(function(r,i){g&&(r=t[i=r]),er(u,i,sr(r,e,n,i,t,a))})),u}function cr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Tt(t);r--;){var i=n[r],a=e[i],u=t[i];if(u===o&&!(i in t)||!a(u))return!1}return!0}function fr(t,e,n){if("function"!=typeof t)throw new kt(a);return Io((function(){t.apply(o,n)}),e)}function lr(t,e,n,r){var i=-1,o=Ie,a=!0,u=t.length,s=[],c=e.length;if(!u)return s;n&&(e=Ne(e,Qe(n))),r?(o=Pe,a=!1):e.length>=200&&(o=Je,a=!1,e=new Kn(e));t:for(;++i<u;){var f=t[i],l=null==n?f:n(f);if(f=r||0!==f?f:0,a&&l===l){for(var d=c;d--;)if(e[d]===l)continue t;s.push(f)}else o(e,l,r)||s.push(f)}return s}Bn.templateSettings={escape:J,evaluate:tt,interpolate:et,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Hn.prototype=Un(zn.prototype),Hn.prototype.constructor=Hn,Vn.prototype=Un(zn.prototype),Vn.prototype.constructor=Vn,qn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},qn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},qn.prototype.get=function(t){var e=this.__data__;if(An){var n=e[t];return n===u?o:n}return jt.call(e,t)?e[t]:o},qn.prototype.has=function(t){var e=this.__data__;return An?e[t]!==o:jt.call(e,t)},qn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=An&&e===o?u:e,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(t){var e=this.__data__,n=nr(e,t);return!(n<0)&&(n==e.length-1?e.pop():Zt.call(e,n,1),--this.size,!0)},Wn.prototype.get=function(t){var e=this.__data__,n=nr(e,t);return n<0?o:e[n][1]},Wn.prototype.has=function(t){return nr(this.__data__,t)>-1},Wn.prototype.set=function(t,e){var n=this.__data__,r=nr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(En||Wn),string:new qn}},Gn.prototype.delete=function(t){var e=co(this,t).delete(t);return this.size-=e?1:0,e},Gn.prototype.get=function(t){return co(this,t).get(t)},Gn.prototype.has=function(t){return co(this,t).has(t)},Gn.prototype.set=function(t,e){var n=co(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(t){return this.__data__.set(t,u),this},Kn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yn.prototype.get=function(t){return this.__data__.get(t)},Yn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!En||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(t,e),this.size=n.size,this};var dr=Pi(_r),hr=Pi(wr,!0);function pr(t,e){var n=!0;return dr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function gr(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],u=e(a);if(null!=u&&(s===o?u===u&&!cu(u):n(u,s)))var s=u,c=a}return c}function mr(t,e){var n=[];return dr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function br(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=vo),i||(i=[]);++o<a;){var u=t[o];e>0&&n(u)?e>1?br(u,e-1,n,r,i):Re(i,u):r||(i[i.length]=u)}return i}var vr=Ni(),yr=Ni(!0);function _r(t,e){return t&&vr(t,e,Iu)}function wr(t,e){return t&&yr(t,e,Iu)}function Sr(t,e){return Ce(e,(function(e){return Xa(t[e])}))}function Or(t,e){for(var n=0,r=(e=yi(e,t)).length;null!=t&&n<r;)t=t[Lo(e[n++])];return n&&n==r?t:o}function xr(t,e,n){var r=e(t);return qa(t)?r:Re(r,n(t))}function Er(t){return null==t?t===o?"[object Undefined]":"[object Null]":ee&&ee in Tt(t)?function(t){var e=jt.call(t,ee),n=t[ee];try{t[ee]=o;var r=!0}catch(a){}var i=Ft.call(t);r&&(e?t[ee]=n:delete t[ee]);return i}(t):function(t){return Ft.call(t)}(t)}function Mr(t,e){return t>e}function Tr(t,e){return null!=t&&jt.call(t,e)}function $r(t,e){return null!=t&&e in Tt(t)}function Ar(t,e,r){for(var i=r?Pe:Ie,a=t[0].length,u=t.length,s=u,c=n(u),f=1/0,l=[];s--;){var d=t[s];s&&e&&(d=Ne(d,Qe(e))),f=yn(d.length,f),c[s]=!r&&(e||a>=120&&d.length>=120)?new Kn(s&&d):o}d=t[0];var h=-1,p=c[0];t:for(;++h<a&&l.length<f;){var g=d[h],m=e?e(g):g;if(g=r||0!==g?g:0,!(p?Je(p,m):i(l,m,r))){for(s=u;--s;){var b=c[s];if(!(b?Je(b,m):i(t[s],m,r)))continue t}p&&p.push(m),l.push(g)}}return l}function kr(t,e,n){var r=null==(t=$o(t,e=yi(e,t)))?t:t[Lo(Qo(e))];return null==r?o:Me(r,t,n)}function Cr(t){return nu(t)&&Er(t)==y}function Ir(t,e,n,r,i){return t===e||(null==t||null==e||!nu(t)&&!nu(e)?t!==t&&e!==e:function(t,e,n,r,i,a){var u=qa(t),s=qa(e),c=u?_:go(t),f=s?_:go(e),l=(c=c==y?$:c)==$,d=(f=f==y?$:f)==$,h=c==f;if(h&&Ya(t)){if(!Ya(e))return!1;u=!0,l=!1}if(h&&!l)return a||(a=new Yn),u||fu(t)?eo(t,e,n,r,i,a):function(t,e,n,r,i,o,a){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case R:return!(t.byteLength!=e.byteLength||!o(new qt(t),new qt(e)));case w:case S:case T:return Ua(+t,+e);case O:return t.name==e.name&&t.message==e.message;case k:case I:return t==e+"";case M:var u=sn;case C:var s=1&r;if(u||(u=ln),t.size!=e.size&&!s)return!1;var c=a.get(t);if(c)return c==e;r|=2,a.set(t,e);var f=eo(u(t),u(e),r,i,o,a);return a.delete(t),f;case P:if(Ln)return Ln.call(t)==Ln.call(e)}return!1}(t,e,c,n,r,i,a);if(!(1&n)){var p=l&&jt.call(t,"__wrapped__"),g=d&&jt.call(e,"__wrapped__");if(p||g){var m=p?t.value():t,b=g?e.value():e;return a||(a=new Yn),i(m,b,n,r,a)}}if(!h)return!1;return a||(a=new Yn),function(t,e,n,r,i,a){var u=1&n,s=ro(t),c=s.length,f=ro(e).length;if(c!=f&&!u)return!1;var l=c;for(;l--;){var d=s[l];if(!(u?d in e:jt.call(e,d)))return!1}var h=a.get(t),p=a.get(e);if(h&&p)return h==e&&p==t;var g=!0;a.set(t,e),a.set(e,t);var m=u;for(;++l<c;){var b=t[d=s[l]],v=e[d];if(r)var y=u?r(v,b,d,e,t,a):r(b,v,d,t,e,a);if(!(y===o?b===v||i(b,v,n,r,a):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=t.constructor,w=e.constructor;_==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(t),a.delete(e),g}(t,e,n,r,i,a)}(t,e,n,r,Ir,i))}function Pr(t,e,n,r){var i=n.length,a=i,u=!r;if(null==t)return!a;for(t=Tt(t);i--;){var s=n[i];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<a;){var c=(s=n[i])[0],f=t[c],l=s[1];if(u&&s[2]){if(f===o&&!(c in t))return!1}else{var d=new Yn;if(r)var h=r(f,l,c,t,e,d);if(!(h===o?Ir(l,f,3,r,d):h))return!1}}return!0}function Nr(t){return!(!eu(t)||(e=t,Lt&&Lt in e))&&(Xa(t)?zt:yt).test(Fo(t));var e}function Rr(t){return"function"==typeof t?t:null==t?is:"object"==typeof t?qa(t)?Ur(t[0],t[1]):Br(t):hs(t)}function jr(t){if(!xo(t))return bn(t);var e=[];for(var n in Tt(t))jt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Dr(t){if(!eu(t))return function(t){var e=[];if(null!=t)for(var n in Tt(t))e.push(n);return e}(t);var e=xo(t),n=[];for(var r in t)("constructor"!=r||!e&&jt.call(t,r))&&n.push(r);return n}function Lr(t,e){return t<e}function Fr(t,e){var r=-1,i=Ga(t)?n(t.length):[];return dr(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}function Br(t){var e=fo(t);return 1==e.length&&e[0][2]?Mo(e[0][0],e[0][1]):function(n){return n===t||Pr(n,t,e)}}function Ur(t,e){return wo(t)&&Eo(e)?Mo(Lo(t),e):function(n){var r=Tu(n,t);return r===o&&r===e?$u(n,t):Ir(e,r,3)}}function zr(t,e,n,r,i){t!==e&&vr(e,(function(a,u){if(i||(i=new Yn),eu(a))!function(t,e,n,r,i,a,u){var s=ko(t,n),c=ko(e,n),f=u.get(c);if(f)return void tr(t,n,f);var l=a?a(s,c,n+"",t,e,u):o,d=l===o;if(d){var h=qa(c),p=!h&&Ya(c),g=!h&&!p&&fu(c);l=c,h||p||g?qa(s)?l=s:Ka(s)?l=Ai(s):p?(d=!1,l=Oi(c,!0)):g?(d=!1,l=Ei(c,!0)):l=[]:ou(c)||Va(c)?(l=s,Va(s)?l=vu(s):eu(s)&&!Xa(s)||(l=bo(c))):d=!1}d&&(u.set(c,l),i(l,c,r,a,u),u.delete(c));tr(t,n,l)}(t,e,u,n,zr,r,i);else{var s=r?r(ko(t,u),a,u+"",t,e,i):o;s===o&&(s=a),tr(t,u,s)}}),Pu)}function Hr(t,e){var n=t.length;if(n)return yo(e+=e<0?n:0,n)?t[e]:o}function Vr(t,e,n){e=e.length?Ne(e,(function(t){return qa(t)?function(e){return Or(e,1===t.length?t[0]:t)}:t})):[is];var r=-1;return e=Ne(e,Qe(so())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Fr(t,(function(t,n,i){return{criteria:Ne(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,u=n.length;for(;++r<a;){var s=Mi(i[r],o[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function qr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=Or(t,a);n(u,a)&&Jr(o,yi(a,t),u)}return o}function Wr(t,e,n,r){var i=r?He:ze,o=-1,a=e.length,u=t;for(t===e&&(e=Ai(e)),n&&(u=Ne(t,Qe(n)));++o<a;)for(var s=0,c=e[o],f=n?n(c):c;(s=i(u,f,s,r))>-1;)u!==t&&Zt.call(u,s,1),Zt.call(t,s,1);return t}function Gr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;yo(i)?Zt.call(t,i,1):li(t,i)}}return t}function Kr(t,e){return t+me(Sn()*(e-t+1))}function Yr(t,e){var n="";if(!t||e<1||e>g)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Zr(t,e){return Po(To(t,e,is),t+"")}function Qr(t){return Qn(Uu(t))}function Xr(t,e){var n=Uu(t);return jo(n,ur(e,0,n.length))}function Jr(t,e,n,r){if(!eu(t))return t;for(var i=-1,a=(e=yi(e,t)).length,u=a-1,s=t;null!=s&&++i<a;){var c=Lo(e[i]),f=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=s[c];(f=r?r(l,c,s):o)===o&&(f=eu(l)?l:yo(e[i+1])?[]:{})}er(s,c,f),s=s[c]}return t}var ti=kn?function(t,e){return kn.set(t,e),t}:is,ei=re?function(t,e){return re(t,"toString",{configurable:!0,enumerable:!1,value:es(e),writable:!0})}:is;function ni(t){return jo(Uu(t))}function ri(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=n(o);++i<o;)a[i]=t[i+e];return a}function ii(t,e){var n;return dr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function oi(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!cu(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ai(t,e,is,n)}function ai(t,e,n,r){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var u=(e=n(e))!==e,s=null===e,c=cu(e),f=e===o;i<a;){var l=me((i+a)/2),d=n(t[l]),h=d!==o,p=null===d,g=d===d,m=cu(d);if(u)var b=r||g;else b=f?g&&(r||h):s?g&&h&&(r||!p):c?g&&h&&!p&&(r||!m):!p&&!m&&(r?d<=e:d<e);b?i=l+1:a=l}return yn(a,4294967294)}function ui(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],u=e?e(a):a;if(!n||!Ua(u,s)){var s=u;o[i++]=0===a?0:a}}return o}function si(t){return"number"==typeof t?t:cu(t)?m:+t}function ci(t){if("string"==typeof t)return t;if(qa(t))return Ne(t,ci)+"";if(cu(t))return Fn?Fn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function fi(t,e,n){var r=-1,i=Ie,o=t.length,a=!0,u=[],s=u;if(n)a=!1,i=Pe;else if(o>=200){var c=e?null:Yi(t);if(c)return ln(c);a=!1,i=Je,s=new Kn}else s=e?[]:u;t:for(;++r<o;){var f=t[r],l=e?e(f):f;if(f=n||0!==f?f:0,a&&l===l){for(var d=s.length;d--;)if(s[d]===l)continue t;e&&s.push(l),u.push(f)}else i(s,l,n)||(s!==u&&s.push(l),u.push(f))}return u}function li(t,e){return null==(t=$o(t,e=yi(e,t)))||delete t[Lo(Qo(e))]}function di(t,e,n,r){return Jr(t,e,n(Or(t,e)),r)}function hi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ri(t,r?0:o,r?o+1:i):ri(t,r?o+1:0,r?i:o)}function pi(t,e){var n=t;return n instanceof Vn&&(n=n.value()),je(e,(function(t,e){return e.func.apply(e.thisArg,Re([t],e.args))}),n)}function gi(t,e,r){var i=t.length;if(i<2)return i?fi(t[0]):[];for(var o=-1,a=n(i);++o<i;)for(var u=t[o],s=-1;++s<i;)s!=o&&(a[o]=lr(a[o]||u,t[s],e,r));return fi(br(a,1),e,r)}function mi(t,e,n){for(var r=-1,i=t.length,a=e.length,u={};++r<i;){var s=r<a?e[r]:o;n(u,t[r],s)}return u}function bi(t){return Ka(t)?t:[]}function vi(t){return"function"==typeof t?t:is}function yi(t,e){return qa(t)?t:wo(t,e)?[t]:Do(yu(t))}var _i=Zr;function wi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:ri(t,e,n)}var Si=ce||function(t){return pe.clearTimeout(t)};function Oi(t,e){if(e)return t.slice();var n=t.length,r=Wt?Wt(n):new t.constructor(n);return t.copy(r),r}function xi(t){var e=new t.constructor(t.byteLength);return new qt(e).set(new qt(t)),e}function Ei(t,e){var n=e?xi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Mi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t===t,a=cu(t),u=e!==o,s=null===e,c=e===e,f=cu(e);if(!s&&!f&&!a&&t>e||a&&u&&c&&!s&&!f||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!f&&t<e||f&&n&&i&&!r&&!a||s&&n&&i||!u&&i||!c)return-1}return 0}function Ti(t,e,r,i){for(var o=-1,a=t.length,u=r.length,s=-1,c=e.length,f=vn(a-u,0),l=n(c+f),d=!i;++s<c;)l[s]=e[s];for(;++o<u;)(d||o<a)&&(l[r[o]]=t[o]);for(;f--;)l[s++]=t[o++];return l}function $i(t,e,r,i){for(var o=-1,a=t.length,u=-1,s=r.length,c=-1,f=e.length,l=vn(a-s,0),d=n(l+f),h=!i;++o<l;)d[o]=t[o];for(var p=o;++c<f;)d[p+c]=e[c];for(;++u<s;)(h||o<a)&&(d[p+r[u]]=t[o++]);return d}function Ai(t,e){var r=-1,i=t.length;for(e||(e=n(i));++r<i;)e[r]=t[r];return e}function ki(t,e,n,r){var i=!n;n||(n={});for(var a=-1,u=e.length;++a<u;){var s=e[a],c=r?r(n[s],t[s],s,n,t):o;c===o&&(c=t[s]),i?or(n,s,c):er(n,s,c)}return n}function Ci(t,e){return function(n,r){var i=qa(n)?Te:rr,o=e?e():{};return i(n,t,so(r,2),o)}}function Ii(t){return Zr((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,u&&_o(n[0],n[1],u)&&(a=i<3?o:a,i=1),e=Tt(e);++r<i;){var s=n[r];s&&t(e,s,r,a)}return e}))}function Pi(t,e){return function(n,r){if(null==n)return n;if(!Ga(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Tt(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ni(t){return function(e,n,r){for(var i=-1,o=Tt(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}function Ri(t){return function(e){var n=un(e=yu(e))?pn(e):o,r=n?n[0]:e.charAt(0),i=n?wi(n,1).join(""):e.slice(1);return r[t]()+i}}function ji(t){return function(e){return je(Xu(Vu(e).replace(Jt,"")),t,"")}}function Di(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Un(t.prototype),r=t.apply(n,e);return eu(r)?r:n}}function Li(t){return function(e,n,r){var i=Tt(e);if(!Ga(e)){var a=so(n,3);e=Iu(e),n=function(t){return a(i[t],t,i)}}var u=t(e,n,r);return u>-1?i[a?e[u]:u]:o}}function Fi(t){return no((function(e){var n=e.length,r=n,i=Hn.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new kt(a);if(i&&!s&&"wrapper"==ao(u))var s=new Hn([],!0)}for(r=s?r:n;++r<n;){var c=ao(u=e[r]),f="wrapper"==c?oo(u):o;s=f&&So(f[0])&&424==f[1]&&!f[4].length&&1==f[9]?s[ao(f[0])].apply(s,f[3]):1==u.length&&So(u)?s[c]():s.thru(u)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&qa(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function Bi(t,e,r,i,a,u,s,c,f,l){var h=e&d,p=1&e,g=2&e,m=24&e,b=512&e,v=g?o:Di(t);return function o(){for(var d=arguments.length,y=n(d),_=d;_--;)y[_]=arguments[_];if(m)var w=uo(o),S=nn(y,w);if(i&&(y=Ti(y,i,a,m)),u&&(y=$i(y,u,s,m)),d-=S,m&&d<l){var O=fn(y,w);return Gi(t,e,Bi,o.placeholder,r,y,O,c,f,l-d)}var x=p?r:this,E=g?x[t]:t;return d=y.length,c?y=Ao(y,c):b&&d>1&&y.reverse(),h&&f<d&&(y.length=f),this&&this!==pe&&this instanceof o&&(E=v||Di(E)),E.apply(x,y)}}function Ui(t,e){return function(n,r){return function(t,e,n,r){return _r(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function zi(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=si(n),r=si(r)),i=t(n,r)}return i}}function Hi(t){return no((function(e){return e=Ne(e,Qe(so())),Zr((function(n){var r=this;return t(e,(function(t){return Me(t,r,n)}))}))}))}function Vi(t,e){var n=(e=e===o?" ":ci(e)).length;if(n<2)return n?Yr(e,t):e;var r=Yr(e,ge(t/hn(e)));return un(e)?wi(pn(r),0,t).join(""):r.slice(0,t)}function qi(t){return function(e,r,i){return i&&"number"!=typeof i&&_o(e,r,i)&&(r=i=o),e=pu(e),r===o?(r=e,e=0):r=pu(r),function(t,e,r,i){for(var o=-1,a=vn(ge((e-t)/(r||1)),0),u=n(a);a--;)u[i?a:++o]=t,t+=r;return u}(e,r,i=i===o?e<r?1:-1:pu(i),t)}}function Wi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=bu(e),n=bu(n)),t(e,n)}}function Gi(t,e,n,r,i,a,u,s,c,d){var h=8&e;e|=h?f:l,4&(e&=~(h?l:f))||(e&=-4);var p=[t,e,i,h?a:o,h?u:o,h?o:a,h?o:u,s,c,d],g=n.apply(o,p);return So(t)&&Co(g,p),g.placeholder=r,No(g,t,e)}function Ki(t){var e=Mt[t];return function(t,n){if(t=bu(t),(n=null==n?0:yn(gu(n),292))&&Fe(t)){var r=(yu(t)+"e").split("e");return+((r=(yu(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Yi=Tn&&1/ln(new Tn([,-0]))[1]==p?function(t){return new Tn(t)}:cs;function Zi(t){return function(e){var n=go(e);return n==M?sn(e):n==C?dn(e):function(t,e){return Ne(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Qi(t,e,r,i,u,p,g,m){var b=2&e;if(!b&&"function"!=typeof t)throw new kt(a);var v=i?i.length:0;if(v||(e&=-97,i=u=o),g=g===o?g:vn(gu(g),0),m=m===o?m:gu(m),v-=u?u.length:0,e&l){var y=i,_=u;i=u=o}var w=b?o:oo(t),S=[t,e,r,i,u,y,_,p,g,m];if(w&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==d&&8==n||r==d&&n==h&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var u=e[3];if(u){var c=t[3];t[3]=c?Ti(c,u,e[4]):u,t[4]=c?fn(t[3],s):e[4]}(u=e[5])&&(c=t[5],t[5]=c?$i(c,u,e[6]):u,t[6]=c?fn(t[5],s):e[6]);(u=e[7])&&(t[7]=u);r&d&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(S,w),t=S[0],e=S[1],r=S[2],i=S[3],u=S[4],!(m=S[9]=S[9]===o?b?0:t.length:vn(S[9]-v,0))&&24&e&&(e&=-25),e&&1!=e)O=8==e||e==c?function(t,e,r){var i=Di(t);return function a(){for(var u=arguments.length,s=n(u),c=u,f=uo(a);c--;)s[c]=arguments[c];var l=u<3&&s[0]!==f&&s[u-1]!==f?[]:fn(s,f);return(u-=l.length)<r?Gi(t,e,Bi,a.placeholder,o,s,l,o,o,r-u):Me(this&&this!==pe&&this instanceof a?i:t,this,s)}}(t,e,m):e!=f&&33!=e||u.length?Bi.apply(o,S):function(t,e,r,i){var o=1&e,a=Di(t);return function e(){for(var u=-1,s=arguments.length,c=-1,f=i.length,l=n(f+s),d=this&&this!==pe&&this instanceof e?a:t;++c<f;)l[c]=i[c];for(;s--;)l[c++]=arguments[++u];return Me(d,o?r:this,l)}}(t,e,r,i);else var O=function(t,e,n){var r=1&e,i=Di(t);return function e(){return(this&&this!==pe&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,r);return No((w?ti:Co)(O,S),t,e)}function Xi(t,e,n,r){return t===o||Ua(t,Pt[n])&&!jt.call(r,n)?e:t}function Ji(t,e,n,r,i,a){return eu(t)&&eu(e)&&(a.set(e,t),zr(t,e,o,Ji,a),a.delete(e)),t}function to(t){return ou(t)?o:t}function eo(t,e,n,r,i,a){var u=1&n,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var f=a.get(t),l=a.get(e);if(f&&l)return f==e&&l==t;var d=-1,h=!0,p=2&n?new Kn:o;for(a.set(t,e),a.set(e,t);++d<s;){var g=t[d],m=e[d];if(r)var b=u?r(m,g,d,e,t,a):r(g,m,d,t,e,a);if(b!==o){if(b)continue;h=!1;break}if(p){if(!Le(e,(function(t,e){if(!Je(p,e)&&(g===t||i(g,t,n,r,a)))return p.push(e)}))){h=!1;break}}else if(g!==m&&!i(g,m,n,r,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function no(t){return Po(To(t,o,Wo),t+"")}function ro(t){return xr(t,Iu,ho)}function io(t){return xr(t,Pu,po)}var oo=kn?function(t){return kn.get(t)}:cs;function ao(t){for(var e=t.name+"",n=Cn[e],r=jt.call(Cn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function uo(t){return(jt.call(Bn,"placeholder")?Bn:t).placeholder}function so(){var t=Bn.iteratee||os;return t=t===os?Rr:t,arguments.length?t(arguments[0],arguments[1]):t}function co(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function fo(t){for(var e=Iu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Eo(i)]}return e}function lo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return Nr(n)?n:o}var ho=ve?function(t){return null==t?[]:(t=Tt(t),Ce(ve(t),(function(e){return Yt.call(t,e)})))}:ms,po=ve?function(t){for(var e=[];t;)Re(e,ho(t)),t=Gt(t);return e}:ms,go=Er;function mo(t,e,n){for(var r=-1,i=(e=yi(e,t)).length,o=!1;++r<i;){var a=Lo(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&tu(i)&&yo(a,i)&&(qa(t)||Va(t))}function bo(t){return"function"!=typeof t.constructor||xo(t)?{}:Un(Gt(t))}function vo(t){return qa(t)||Va(t)||!!(Qt&&t&&t[Qt])}function yo(t,e){var n=typeof t;return!!(e=null==e?g:e)&&("number"==n||"symbol"!=n&&wt.test(t))&&t>-1&&t%1==0&&t<e}function _o(t,e,n){if(!eu(n))return!1;var r=typeof e;return!!("number"==r?Ga(n)&&yo(e,n.length):"string"==r&&e in n)&&Ua(n[e],t)}function wo(t,e){if(qa(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!cu(t))||(rt.test(t)||!nt.test(t)||null!=e&&t in Tt(e))}function So(t){var e=ao(t),n=Bn[e];if("function"!=typeof n||!(e in Vn.prototype))return!1;if(t===n)return!0;var r=oo(n);return!!r&&t===r[0]}(xn&&go(new xn(new ArrayBuffer(1)))!=j||En&&go(new En)!=M||Mn&&go(Mn.resolve())!=A||Tn&&go(new Tn)!=C||$n&&go(new $n)!=N)&&(go=function(t){var e=Er(t),n=e==$?t.constructor:o,r=n?Fo(n):"";if(r)switch(r){case In:return j;case Pn:return M;case Nn:return A;case Rn:return C;case jn:return N}return e});var Oo=Nt?Xa:bs;function xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Pt)}function Eo(t){return t===t&&!eu(t)}function Mo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in Tt(n)))}}function To(t,e,r){return e=vn(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=vn(i.length-e,0),u=n(a);++o<a;)u[o]=i[e+o];o=-1;for(var s=n(e+1);++o<e;)s[o]=i[o];return s[e]=r(u),Me(t,this,s)}}function $o(t,e){return e.length<2?t:Or(t,ri(e,0,-1))}function Ao(t,e){for(var n=t.length,r=yn(e.length,n),i=Ai(t);r--;){var a=e[r];t[r]=yo(a,n)?i[a]:o}return t}function ko(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Co=Ro(ti),Io=he||function(t,e){return pe.setTimeout(t,e)},Po=Ro(ei);function No(t,e,n){var r=e+"";return Po(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ft,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return $e(v,(function(n){var r="_."+n[0];e&n[1]&&!Ie(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(dt):[]}(r),n)))}function Ro(t){var e=0,n=0;return function(){var r=_n(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(o,arguments)}}function jo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=Kr(n,i),u=t[a];t[a]=t[n],t[n]=u}return t.length=e,t}var Do=function(t){var e=Ra(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(it,(function(t,n,r,i){e.push(r?i.replace(pt,"$1"):n||t)})),e}));function Lo(t){if("string"==typeof t||cu(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Fo(t){if(null!=t){try{return Rt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Bo(t){if(t instanceof Vn)return t.clone();var e=new Hn(t.__wrapped__,t.__chain__);return e.__actions__=Ai(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Uo=Zr((function(t,e){return Ka(t)?lr(t,br(e,1,Ka,!0)):[]})),zo=Zr((function(t,e){var n=Qo(e);return Ka(n)&&(n=o),Ka(t)?lr(t,br(e,1,Ka,!0),so(n,2)):[]})),Ho=Zr((function(t,e){var n=Qo(e);return Ka(n)&&(n=o),Ka(t)?lr(t,br(e,1,Ka,!0),o,n):[]}));function Vo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:gu(n);return i<0&&(i=vn(r+i,0)),Ue(t,so(e,3),i)}function qo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=gu(n),i=n<0?vn(r+i,0):yn(i,r-1)),Ue(t,so(e,3),i,!0)}function Wo(t){return(null==t?0:t.length)?br(t,1):[]}function Go(t){return t&&t.length?t[0]:o}var Ko=Zr((function(t){var e=Ne(t,bi);return e.length&&e[0]===t[0]?Ar(e):[]})),Yo=Zr((function(t){var e=Qo(t),n=Ne(t,bi);return e===Qo(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Ar(n,so(e,2)):[]})),Zo=Zr((function(t){var e=Qo(t),n=Ne(t,bi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Ar(n,o,e):[]}));function Qo(t){var e=null==t?0:t.length;return e?t[e-1]:o}var Xo=Zr(Jo);function Jo(t,e){return t&&t.length&&e&&e.length?Wr(t,e):t}var ta=no((function(t,e){var n=null==t?0:t.length,r=ar(t,e);return Gr(t,Ne(e,(function(t){return yo(t,n)?+t:t})).sort(Mi)),r}));function ea(t){return null==t?t:On.call(t)}var na=Zr((function(t){return fi(br(t,1,Ka,!0))})),ra=Zr((function(t){var e=Qo(t);return Ka(e)&&(e=o),fi(br(t,1,Ka,!0),so(e,2))})),ia=Zr((function(t){var e=Qo(t);return e="function"==typeof e?e:o,fi(br(t,1,Ka,!0),o,e)}));function oa(t){if(!t||!t.length)return[];var e=0;return t=Ce(t,(function(t){if(Ka(t))return e=vn(t.length,e),!0})),Ze(e,(function(e){return Ne(t,We(e))}))}function aa(t,e){if(!t||!t.length)return[];var n=oa(t);return null==e?n:Ne(n,(function(t){return Me(e,o,t)}))}var ua=Zr((function(t,e){return Ka(t)?lr(t,e):[]})),sa=Zr((function(t){return gi(Ce(t,Ka))})),ca=Zr((function(t){var e=Qo(t);return Ka(e)&&(e=o),gi(Ce(t,Ka),so(e,2))})),fa=Zr((function(t){var e=Qo(t);return e="function"==typeof e?e:o,gi(Ce(t,Ka),o,e)})),la=Zr(oa);var da=Zr((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,aa(t,n)}));function ha(t){var e=Bn(t);return e.__chain__=!0,e}function pa(t,e){return e(t)}var ga=no((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Vn&&yo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:pa,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)}));var ma=Ci((function(t,e,n){jt.call(t,n)?++t[n]:or(t,n,1)}));var ba=Li(Vo),va=Li(qo);function ya(t,e){return(qa(t)?$e:dr)(t,so(e,3))}function _a(t,e){return(qa(t)?Ae:hr)(t,so(e,3))}var wa=Ci((function(t,e,n){jt.call(t,n)?t[n].push(e):or(t,n,[e])}));var Sa=Zr((function(t,e,r){var i=-1,o="function"==typeof e,a=Ga(t)?n(t.length):[];return dr(t,(function(t){a[++i]=o?Me(e,t,r):kr(t,e,r)})),a})),Oa=Ci((function(t,e,n){or(t,n,e)}));function xa(t,e){return(qa(t)?Ne:Fr)(t,so(e,3))}var Ea=Ci((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Ma=Zr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&_o(t,e[0],e[1])?e=[]:n>2&&_o(e[0],e[1],e[2])&&(e=[e[0]]),Vr(t,br(e,1),[])})),Ta=de||function(){return pe.Date.now()};function $a(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Qi(t,d,o,o,o,o,e)}function Aa(t,e){var n;if("function"!=typeof e)throw new kt(a);return t=gu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var ka=Zr((function(t,e,n){var r=1;if(n.length){var i=fn(n,uo(ka));r|=f}return Qi(t,r,e,n,i)})),Ca=Zr((function(t,e,n){var r=3;if(n.length){var i=fn(n,uo(Ca));r|=f}return Qi(e,r,t,n,i)}));function Ia(t,e,n){var r,i,u,s,c,f,l=0,d=!1,h=!1,p=!0;if("function"!=typeof t)throw new kt(a);function g(e){var n=r,a=i;return r=i=o,l=e,s=t.apply(a,n)}function m(t){return l=t,c=Io(v,e),d?g(t):s}function b(t){var n=t-f;return f===o||n>=e||n<0||h&&t-l>=u}function v(){var t=Ta();if(b(t))return y(t);c=Io(v,function(t){var n=e-(t-f);return h?yn(n,u-(t-l)):n}(t))}function y(t){return c=o,p&&r?g(t):(r=i=o,s)}function _(){var t=Ta(),n=b(t);if(r=arguments,i=this,f=t,n){if(c===o)return m(f);if(h)return Si(c),c=Io(v,e),g(f)}return c===o&&(c=Io(v,e)),s}return e=bu(e)||0,eu(n)&&(d=!!n.leading,u=(h="maxWait"in n)?vn(bu(n.maxWait)||0,e):u,p="trailing"in n?!!n.trailing:p),_.cancel=function(){c!==o&&Si(c),l=0,r=f=i=c=o},_.flush=function(){return c===o?s:y(Ta())},_}var Pa=Zr((function(t,e){return fr(t,1,e)})),Na=Zr((function(t,e,n){return fr(t,bu(e)||0,n)}));function Ra(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new kt(a);var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ra.Cache||Gn),n}function ja(t){if("function"!=typeof t)throw new kt(a);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)}}Ra.Cache=Gn;var Da=_i((function(t,e){var n=(e=1==e.length&&qa(e[0])?Ne(e[0],Qe(so())):Ne(br(e,1),Qe(so()))).length;return Zr((function(r){for(var i=-1,o=yn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Me(t,this,r)}))})),La=Zr((function(t,e){var n=fn(e,uo(La));return Qi(t,f,o,e,n)})),Fa=Zr((function(t,e){var n=fn(e,uo(Fa));return Qi(t,l,o,e,n)})),Ba=no((function(t,e){return Qi(t,h,o,o,o,e)}));function Ua(t,e){return t===e||t!==t&&e!==e}var za=Wi(Mr),Ha=Wi((function(t,e){return t>=e})),Va=Cr(function(){return arguments}())?Cr:function(t){return nu(t)&&jt.call(t,"callee")&&!Yt.call(t,"callee")},qa=n.isArray,Wa=_e?Qe(_e):function(t){return nu(t)&&Er(t)==R};function Ga(t){return null!=t&&tu(t.length)&&!Xa(t)}function Ka(t){return nu(t)&&Ga(t)}var Ya=ye||bs,Za=we?Qe(we):function(t){return nu(t)&&Er(t)==S};function Qa(t){if(!nu(t))return!1;var e=Er(t);return e==O||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ou(t)}function Xa(t){if(!eu(t))return!1;var e=Er(t);return e==x||e==E||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ja(t){return"number"==typeof t&&t==gu(t)}function tu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=g}function eu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function nu(t){return null!=t&&"object"==typeof t}var ru=Se?Qe(Se):function(t){return nu(t)&&go(t)==M};function iu(t){return"number"==typeof t||nu(t)&&Er(t)==T}function ou(t){if(!nu(t)||Er(t)!=$)return!1;var e=Gt(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Rt.call(n)==Bt}var au=Oe?Qe(Oe):function(t){return nu(t)&&Er(t)==k};var uu=xe?Qe(xe):function(t){return nu(t)&&go(t)==C};function su(t){return"string"==typeof t||!qa(t)&&nu(t)&&Er(t)==I}function cu(t){return"symbol"==typeof t||nu(t)&&Er(t)==P}var fu=Ee?Qe(Ee):function(t){return nu(t)&&tu(t.length)&&!!ue[Er(t)]};var lu=Wi(Lr),du=Wi((function(t,e){return t<=e}));function hu(t){if(!t)return[];if(Ga(t))return su(t)?pn(t):Ai(t);if(Xt&&t[Xt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Xt]());var e=go(t);return(e==M?sn:e==C?ln:Uu)(t)}function pu(t){return t?(t=bu(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}function gu(t){var e=pu(t),n=e%1;return e===e?n?e-n:e:0}function mu(t){return t?ur(gu(t),0,b):0}function bu(t){if("number"==typeof t)return t;if(cu(t))return m;if(eu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=eu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ut,"");var n=vt.test(t);return n||_t.test(t)?le(t.slice(2),n?2:8):bt.test(t)?m:+t}function vu(t){return ki(t,Pu(t))}function yu(t){return null==t?"":ci(t)}var _u=Ii((function(t,e){if(xo(e)||Ga(e))ki(e,Iu(e),t);else for(var n in e)jt.call(e,n)&&er(t,n,e[n])})),wu=Ii((function(t,e){ki(e,Pu(e),t)})),Su=Ii((function(t,e,n,r){ki(e,Pu(e),t,r)})),Ou=Ii((function(t,e,n,r){ki(e,Iu(e),t,r)})),xu=no(ar);var Eu=Zr((function(t,e){t=Tt(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&_o(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],u=Pu(a),s=-1,c=u.length;++s<c;){var f=u[s],l=t[f];(l===o||Ua(l,Pt[f])&&!jt.call(t,f))&&(t[f]=a[f])}return t})),Mu=Zr((function(t){return t.push(o,Ji),Me(Ru,o,t)}));function Tu(t,e,n){var r=null==t?o:Or(t,e);return r===o?n:r}function $u(t,e){return null!=t&&mo(t,e,$r)}var Au=Ui((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),t[e]=n}),es(is)),ku=Ui((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),jt.call(t,e)?t[e].push(n):t[e]=[n]}),so),Cu=Zr(kr);function Iu(t){return Ga(t)?Zn(t):jr(t)}function Pu(t){return Ga(t)?Zn(t,!0):Dr(t)}var Nu=Ii((function(t,e,n){zr(t,e,n)})),Ru=Ii((function(t,e,n,r){zr(t,e,n,r)})),ju=no((function(t,e){var n={};if(null==t)return n;var r=!1;e=Ne(e,(function(e){return e=yi(e,t),r||(r=e.length>1),e})),ki(t,io(t),n),r&&(n=sr(n,7,to));for(var i=e.length;i--;)li(n,e[i]);return n}));var Du=no((function(t,e){return null==t?{}:function(t,e){return qr(t,e,(function(e,n){return $u(t,n)}))}(t,e)}));function Lu(t,e){if(null==t)return{};var n=Ne(io(t),(function(t){return[t]}));return e=so(e),qr(t,n,(function(t,n){return e(t,n[0])}))}var Fu=Zi(Iu),Bu=Zi(Pu);function Uu(t){return null==t?[]:Xe(t,Iu(t))}var zu=ji((function(t,e,n){return e=e.toLowerCase(),t+(n?Hu(e):e)}));function Hu(t){return Qu(yu(t).toLowerCase())}function Vu(t){return(t=yu(t))&&t.replace(St,rn).replace(te,"")}var qu=ji((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Wu=ji((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Gu=Ri("toLowerCase");var Ku=ji((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Yu=ji((function(t,e,n){return t+(n?" ":"")+Qu(e)}));var Zu=ji((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Qu=Ri("toUpperCase");function Xu(t,e,n){return t=yu(t),(e=n?o:e)===o?function(t){return ie.test(t)}(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.match(ht)||[]}(t):t.match(e)||[]}var Ju=Zr((function(t,e){try{return Me(t,o,e)}catch(n){return Qa(n)?n:new i(n)}})),ts=no((function(t,e){return $e(e,(function(e){e=Lo(e),or(t,e,ka(t[e],t))})),t}));function es(t){return function(){return t}}var ns=Fi(),rs=Fi(!0);function is(t){return t}function os(t){return Rr("function"==typeof t?t:sr(t,1))}var as=Zr((function(t,e){return function(n){return kr(n,t,e)}})),us=Zr((function(t,e){return function(n){return kr(t,n,e)}}));function ss(t,e,n){var r=Iu(e),i=Sr(e,r);null!=n||eu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Sr(e,Iu(e)));var o=!(eu(n)&&"chain"in n)||!!n.chain,a=Xa(t);return $e(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Ai(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Re([this.value()],arguments))})})),t}function cs(){}var fs=Hi(Ne),ls=Hi(ke),ds=Hi(Le);function hs(t){return wo(t)?We(Lo(t)):function(t){return function(e){return Or(e,t)}}(t)}var ps=qi(),gs=qi(!0);function ms(){return[]}function bs(){return!1}var vs=zi((function(t,e){return t+e}),0),ys=Ki("ceil"),_s=zi((function(t,e){return t/e}),1),ws=Ki("floor");var Ss=zi((function(t,e){return t*e}),1),Os=Ki("round"),xs=zi((function(t,e){return t-e}),0);return Bn.after=function(t,e){if("function"!=typeof e)throw new kt(a);return t=gu(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=$a,Bn.assign=_u,Bn.assignIn=wu,Bn.assignInWith=Su,Bn.assignWith=Ou,Bn.at=xu,Bn.before=Aa,Bn.bind=ka,Bn.bindAll=ts,Bn.bindKey=Ca,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return qa(t)?t:[t]},Bn.chain=ha,Bn.chunk=function(t,e,r){e=(r?_o(t,e,r):e===o)?1:vn(gu(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,u=0,s=n(ge(i/e));a<i;)s[u++]=ri(t,a,a+=e);return s},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=n(t-1),r=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Re(qa(r)?Ai(r):[r],br(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=so();return t=e?Ne(t,(function(t){if("function"!=typeof t[1])throw new kt(a);return[n(t[0]),t[1]]})):[],Zr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Me(i[0],this,n))return Me(i[1],this,n)}}))},Bn.conforms=function(t){return function(t){var e=Iu(t);return function(n){return cr(n,t,e)}}(sr(t,1))},Bn.constant=es,Bn.countBy=ma,Bn.create=function(t,e){var n=Un(t);return null==e?n:ir(n,e)},Bn.curry=function t(e,n,r){var i=Qi(e,8,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Bn.curryRight=function t(e,n,r){var i=Qi(e,c,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Bn.debounce=Ia,Bn.defaults=Eu,Bn.defaultsDeep=Mu,Bn.defer=Pa,Bn.delay=Na,Bn.difference=Uo,Bn.differenceBy=zo,Bn.differenceWith=Ho,Bn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ri(t,(e=n||e===o?1:gu(e))<0?0:e,r):[]},Bn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ri(t,0,(e=r-(e=n||e===o?1:gu(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?hi(t,so(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?hi(t,so(e,3),!0):[]},Bn.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&_o(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=gu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:gu(r))<0&&(r+=i),r=n>r?0:mu(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Bn.filter=function(t,e){return(qa(t)?Ce:mr)(t,so(e,3))},Bn.flatMap=function(t,e){return br(xa(t,e),1)},Bn.flatMapDeep=function(t,e){return br(xa(t,e),p)},Bn.flatMapDepth=function(t,e,n){return n=n===o?1:gu(n),br(xa(t,e),n)},Bn.flatten=Wo,Bn.flattenDeep=function(t){return(null==t?0:t.length)?br(t,p):[]},Bn.flattenDepth=function(t,e){return(null==t?0:t.length)?br(t,e=e===o?1:gu(e)):[]},Bn.flip=function(t){return Qi(t,512)},Bn.flow=ns,Bn.flowRight=rs,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Bn.functions=function(t){return null==t?[]:Sr(t,Iu(t))},Bn.functionsIn=function(t){return null==t?[]:Sr(t,Pu(t))},Bn.groupBy=wa,Bn.initial=function(t){return(null==t?0:t.length)?ri(t,0,-1):[]},Bn.intersection=Ko,Bn.intersectionBy=Yo,Bn.intersectionWith=Zo,Bn.invert=Au,Bn.invertBy=ku,Bn.invokeMap=Sa,Bn.iteratee=os,Bn.keyBy=Oa,Bn.keys=Iu,Bn.keysIn=Pu,Bn.map=xa,Bn.mapKeys=function(t,e){var n={};return e=so(e,3),_r(t,(function(t,r,i){or(n,e(t,r,i),t)})),n},Bn.mapValues=function(t,e){var n={};return e=so(e,3),_r(t,(function(t,r,i){or(n,r,e(t,r,i))})),n},Bn.matches=function(t){return Br(sr(t,1))},Bn.matchesProperty=function(t,e){return Ur(t,sr(e,1))},Bn.memoize=Ra,Bn.merge=Nu,Bn.mergeWith=Ru,Bn.method=as,Bn.methodOf=us,Bn.mixin=ss,Bn.negate=ja,Bn.nthArg=function(t){return t=gu(t),Zr((function(e){return Hr(e,t)}))},Bn.omit=ju,Bn.omitBy=function(t,e){return Lu(t,ja(so(e)))},Bn.once=function(t){return Aa(2,t)},Bn.orderBy=function(t,e,n,r){return null==t?[]:(qa(e)||(e=null==e?[]:[e]),qa(n=r?o:n)||(n=null==n?[]:[n]),Vr(t,e,n))},Bn.over=fs,Bn.overArgs=Da,Bn.overEvery=ls,Bn.overSome=ds,Bn.partial=La,Bn.partialRight=Fa,Bn.partition=Ea,Bn.pick=Du,Bn.pickBy=Lu,Bn.property=hs,Bn.propertyOf=function(t){return function(e){return null==t?o:Or(t,e)}},Bn.pull=Xo,Bn.pullAll=Jo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,so(n,2)):t},Bn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,o,n):t},Bn.pullAt=ta,Bn.range=ps,Bn.rangeRight=gs,Bn.rearg=Ba,Bn.reject=function(t,e){return(qa(t)?Ce:mr)(t,ja(so(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=so(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Gr(t,i),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new kt(a);return Zr(t,e=e===o?e:gu(e))},Bn.reverse=ea,Bn.sampleSize=function(t,e,n){return e=(n?_o(t,e,n):e===o)?1:gu(e),(qa(t)?Xn:Xr)(t,e)},Bn.set=function(t,e,n){return null==t?t:Jr(t,e,n)},Bn.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Jr(t,e,n,r)},Bn.shuffle=function(t){return(qa(t)?Jn:ni)(t)},Bn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&_o(t,e,n)?(e=0,n=r):(e=null==e?0:gu(e),n=n===o?r:gu(n)),ri(t,e,n)):[]},Bn.sortBy=Ma,Bn.sortedUniq=function(t){return t&&t.length?ui(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?ui(t,so(e,2)):[]},Bn.split=function(t,e,n){return n&&"number"!=typeof n&&_o(t,e,n)&&(e=n=o),(n=n===o?b:n>>>0)?(t=yu(t))&&("string"==typeof e||null!=e&&!au(e))&&!(e=ci(e))&&un(t)?wi(pn(t),0,n):t.split(e,n):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new kt(a);return e=null==e?0:vn(gu(e),0),Zr((function(n){var r=n[e],i=wi(n,0,e);return r&&Re(i,r),Me(t,this,i)}))},Bn.tail=function(t){var e=null==t?0:t.length;return e?ri(t,1,e):[]},Bn.take=function(t,e,n){return t&&t.length?ri(t,0,(e=n||e===o?1:gu(e))<0?0:e):[]},Bn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ri(t,(e=r-(e=n||e===o?1:gu(e)))<0?0:e,r):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?hi(t,so(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?hi(t,so(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new kt(a);return eu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ia(t,e,{leading:r,maxWait:e,trailing:i})},Bn.thru=pa,Bn.toArray=hu,Bn.toPairs=Fu,Bn.toPairsIn=Bu,Bn.toPath=function(t){return qa(t)?Ne(t,Lo):cu(t)?[t]:Ai(Do(yu(t)))},Bn.toPlainObject=vu,Bn.transform=function(t,e,n){var r=qa(t),i=r||Ya(t)||fu(t);if(e=so(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:eu(t)&&Xa(o)?Un(Gt(t)):{}}return(i?$e:_r)(t,(function(t,r,i){return e(n,t,r,i)})),n},Bn.unary=function(t){return $a(t,1)},Bn.union=na,Bn.unionBy=ra,Bn.unionWith=ia,Bn.uniq=function(t){return t&&t.length?fi(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?fi(t,so(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?fi(t,o,e):[]},Bn.unset=function(t,e){return null==t||li(t,e)},Bn.unzip=oa,Bn.unzipWith=aa,Bn.update=function(t,e,n){return null==t?t:di(t,e,vi(n))},Bn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:di(t,e,vi(n),r)},Bn.values=Uu,Bn.valuesIn=function(t){return null==t?[]:Xe(t,Pu(t))},Bn.without=ua,Bn.words=Xu,Bn.wrap=function(t,e){return La(vi(e),t)},Bn.xor=sa,Bn.xorBy=ca,Bn.xorWith=fa,Bn.zip=la,Bn.zipObject=function(t,e){return mi(t||[],e||[],er)},Bn.zipObjectDeep=function(t,e){return mi(t||[],e||[],Jr)},Bn.zipWith=da,Bn.entries=Fu,Bn.entriesIn=Bu,Bn.extend=wu,Bn.extendWith=Su,ss(Bn,Bn),Bn.add=vs,Bn.attempt=Ju,Bn.camelCase=zu,Bn.capitalize=Hu,Bn.ceil=ys,Bn.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=bu(n))===n?n:0),e!==o&&(e=(e=bu(e))===e?e:0),ur(bu(t),e,n)},Bn.clone=function(t){return sr(t,4)},Bn.cloneDeep=function(t){return sr(t,5)},Bn.cloneDeepWith=function(t,e){return sr(t,5,e="function"==typeof e?e:o)},Bn.cloneWith=function(t,e){return sr(t,4,e="function"==typeof e?e:o)},Bn.conformsTo=function(t,e){return null==e||cr(t,e,Iu(e))},Bn.deburr=Vu,Bn.defaultTo=function(t,e){return null==t||t!==t?e:t},Bn.divide=_s,Bn.endsWith=function(t,e,n){t=yu(t),e=ci(e);var r=t.length,i=n=n===o?r:ur(gu(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Bn.eq=Ua,Bn.escape=function(t){return(t=yu(t))&&X.test(t)?t.replace(Z,on):t},Bn.escapeRegExp=function(t){return(t=yu(t))&&at.test(t)?t.replace(ot,"\\$&"):t},Bn.every=function(t,e,n){var r=qa(t)?ke:pr;return n&&_o(t,e,n)&&(e=o),r(t,so(e,3))},Bn.find=ba,Bn.findIndex=Vo,Bn.findKey=function(t,e){return Be(t,so(e,3),_r)},Bn.findLast=va,Bn.findLastIndex=qo,Bn.findLastKey=function(t,e){return Be(t,so(e,3),wr)},Bn.floor=ws,Bn.forEach=ya,Bn.forEachRight=_a,Bn.forIn=function(t,e){return null==t?t:vr(t,so(e,3),Pu)},Bn.forInRight=function(t,e){return null==t?t:yr(t,so(e,3),Pu)},Bn.forOwn=function(t,e){return t&&_r(t,so(e,3))},Bn.forOwnRight=function(t,e){return t&&wr(t,so(e,3))},Bn.get=Tu,Bn.gt=za,Bn.gte=Ha,Bn.has=function(t,e){return null!=t&&mo(t,e,Tr)},Bn.hasIn=$u,Bn.head=Go,Bn.identity=is,Bn.includes=function(t,e,n,r){t=Ga(t)?t:Uu(t),n=n&&!r?gu(n):0;var i=t.length;return n<0&&(n=vn(i+n,0)),su(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ze(t,e,n)>-1},Bn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:gu(n);return i<0&&(i=vn(r+i,0)),ze(t,e,i)},Bn.inRange=function(t,e,n){return e=pu(e),n===o?(n=e,e=0):n=pu(n),function(t,e,n){return t>=yn(e,n)&&t<vn(e,n)}(t=bu(t),e,n)},Bn.invoke=Cu,Bn.isArguments=Va,Bn.isArray=qa,Bn.isArrayBuffer=Wa,Bn.isArrayLike=Ga,Bn.isArrayLikeObject=Ka,Bn.isBoolean=function(t){return!0===t||!1===t||nu(t)&&Er(t)==w},Bn.isBuffer=Ya,Bn.isDate=Za,Bn.isElement=function(t){return nu(t)&&1===t.nodeType&&!ou(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(Ga(t)&&(qa(t)||"string"==typeof t||"function"==typeof t.splice||Ya(t)||fu(t)||Va(t)))return!t.length;var e=go(t);if(e==M||e==C)return!t.size;if(xo(t))return!jr(t).length;for(var n in t)if(jt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Ir(t,e)},Bn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?Ir(t,e,o,n):!!r},Bn.isError=Qa,Bn.isFinite=function(t){return"number"==typeof t&&Fe(t)},Bn.isFunction=Xa,Bn.isInteger=Ja,Bn.isLength=tu,Bn.isMap=ru,Bn.isMatch=function(t,e){return t===e||Pr(t,e,fo(e))},Bn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,Pr(t,e,fo(e),n)},Bn.isNaN=function(t){return iu(t)&&t!=+t},Bn.isNative=function(t){if(Oo(t))throw new i("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=iu,Bn.isObject=eu,Bn.isObjectLike=nu,Bn.isPlainObject=ou,Bn.isRegExp=au,Bn.isSafeInteger=function(t){return Ja(t)&&t>=-9007199254740991&&t<=g},Bn.isSet=uu,Bn.isString=su,Bn.isSymbol=cu,Bn.isTypedArray=fu,Bn.isUndefined=function(t){return t===o},Bn.isWeakMap=function(t){return nu(t)&&go(t)==N},Bn.isWeakSet=function(t){return nu(t)&&"[object WeakSet]"==Er(t)},Bn.join=function(t,e){return null==t?"":Ge.call(t,e)},Bn.kebabCase=qu,Bn.last=Qo,Bn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=gu(n))<0?vn(r+i,0):yn(i,r-1)),e===e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Ue(t,Ve,i,!0)},Bn.lowerCase=Wu,Bn.lowerFirst=Gu,Bn.lt=lu,Bn.lte=du,Bn.max=function(t){return t&&t.length?gr(t,is,Mr):o},Bn.maxBy=function(t,e){return t&&t.length?gr(t,so(e,2),Mr):o},Bn.mean=function(t){return qe(t,is)},Bn.meanBy=function(t,e){return qe(t,so(e,2))},Bn.min=function(t){return t&&t.length?gr(t,is,Lr):o},Bn.minBy=function(t,e){return t&&t.length?gr(t,so(e,2),Lr):o},Bn.stubArray=ms,Bn.stubFalse=bs,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=Ss,Bn.nth=function(t,e){return t&&t.length?Hr(t,gu(e)):o},Bn.noConflict=function(){return pe._===this&&(pe._=Ut),this},Bn.noop=cs,Bn.now=Ta,Bn.pad=function(t,e,n){t=yu(t);var r=(e=gu(e))?hn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Vi(me(i),n)+t+Vi(ge(i),n)},Bn.padEnd=function(t,e,n){t=yu(t);var r=(e=gu(e))?hn(t):0;return e&&r<e?t+Vi(e-r,n):t},Bn.padStart=function(t,e,n){t=yu(t);var r=(e=gu(e))?hn(t):0;return e&&r<e?Vi(e-r,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),wn(yu(t).replace(st,""),e||0)},Bn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&_o(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=pu(t),e===o?(e=t,t=0):e=pu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Sn();return yn(t+i*(e-t+fe("1e-"+((i+"").length-1))),e)}return Kr(t,e)},Bn.reduce=function(t,e,n){var r=qa(t)?je:Ke,i=arguments.length<3;return r(t,so(e,4),n,i,dr)},Bn.reduceRight=function(t,e,n){var r=qa(t)?De:Ke,i=arguments.length<3;return r(t,so(e,4),n,i,hr)},Bn.repeat=function(t,e,n){return e=(n?_o(t,e,n):e===o)?1:gu(e),Yr(yu(t),e)},Bn.replace=function(){var t=arguments,e=yu(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,n){var r=-1,i=(e=yi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[Lo(e[r])];a===o&&(r=i,a=n),t=Xa(a)?a.call(t):a}return t},Bn.round=Os,Bn.runInContext=t,Bn.sample=function(t){return(qa(t)?Qn:Qr)(t)},Bn.size=function(t){if(null==t)return 0;if(Ga(t))return su(t)?hn(t):t.length;var e=go(t);return e==M||e==C?t.size:jr(t).length},Bn.snakeCase=Ku,Bn.some=function(t,e,n){var r=qa(t)?Le:ii;return n&&_o(t,e,n)&&(e=o),r(t,so(e,3))},Bn.sortedIndex=function(t,e){return oi(t,e)},Bn.sortedIndexBy=function(t,e,n){return ai(t,e,so(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=oi(t,e);if(r<n&&Ua(t[r],e))return r}return-1},Bn.sortedLastIndex=function(t,e){return oi(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return ai(t,e,so(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=oi(t,e,!0)-1;if(Ua(t[n],e))return n}return-1},Bn.startCase=Yu,Bn.startsWith=function(t,e,n){return t=yu(t),n=null==n?0:ur(gu(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e},Bn.subtract=xs,Bn.sum=function(t){return t&&t.length?Ye(t,is):0},Bn.sumBy=function(t,e){return t&&t.length?Ye(t,so(e,2)):0},Bn.template=function(t,e,n){var r=Bn.templateSettings;n&&_o(t,e,n)&&(e=o),t=yu(t),e=Su({},e,r,Xi);var i,a,u=Su({},e.imports,r.imports,Xi),s=Iu(u),c=Xe(u,s),f=0,l=e.interpolate||Ot,d="__p += '",h=$t((e.escape||Ot).source+"|"+l.source+"|"+(l===et?gt:Ot).source+"|"+(e.evaluate||Ot).source+"|$","g"),p="//# sourceURL="+(jt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ae+"]")+"\n";t.replace(h,(function(e,n,r,o,u,s){return r||(r=o),d+=t.slice(f,s).replace(xt,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+e.length,e})),d+="';\n";var g=jt.call(e,"variable")&&e.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(W,""):d).replace(G,"$1").replace(K,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Ju((function(){return Et(s,p+"return "+d).apply(o,c)}));if(m.source=d,Qa(m))throw m;return m},Bn.times=function(t,e){if((t=gu(t))<1||t>g)return[];var n=b,r=yn(t,b);e=so(e),t-=b;for(var i=Ze(r,e);++n<t;)e(n);return i},Bn.toFinite=pu,Bn.toInteger=gu,Bn.toLength=mu,Bn.toLower=function(t){return yu(t).toLowerCase()},Bn.toNumber=bu,Bn.toSafeInteger=function(t){return t?ur(gu(t),-9007199254740991,g):0===t?t:0},Bn.toString=yu,Bn.toUpper=function(t){return yu(t).toUpperCase()},Bn.trim=function(t,e,n){if((t=yu(t))&&(n||e===o))return t.replace(ut,"");if(!t||!(e=ci(e)))return t;var r=pn(t),i=pn(e);return wi(r,tn(r,i),en(r,i)+1).join("")},Bn.trimEnd=function(t,e,n){if((t=yu(t))&&(n||e===o))return t.replace(ct,"");if(!t||!(e=ci(e)))return t;var r=pn(t);return wi(r,0,en(r,pn(e))+1).join("")},Bn.trimStart=function(t,e,n){if((t=yu(t))&&(n||e===o))return t.replace(st,"");if(!t||!(e=ci(e)))return t;var r=pn(t);return wi(r,tn(r,pn(e))).join("")},Bn.truncate=function(t,e){var n=30,r="...";if(eu(e)){var i="separator"in e?e.separator:i;n="length"in e?gu(e.length):n,r="omission"in e?ci(e.omission):r}var a=(t=yu(t)).length;if(un(t)){var u=pn(t);a=u.length}if(n>=a)return t;var s=n-hn(r);if(s<1)return r;var c=u?wi(u,0,s).join(""):t.slice(0,s);if(i===o)return c+r;if(u&&(s+=c.length-s),au(i)){if(t.slice(s).search(i)){var f,l=c;for(i.global||(i=$t(i.source,yu(mt.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var d=f.index;c=c.slice(0,d===o?s:d)}}else if(t.indexOf(ci(i),s)!=s){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},Bn.unescape=function(t){return(t=yu(t))&&Q.test(t)?t.replace(Y,gn):t},Bn.uniqueId=function(t){var e=++Dt;return yu(t)+e},Bn.upperCase=Zu,Bn.upperFirst=Qu,Bn.each=ya,Bn.eachRight=_a,Bn.first=Go,ss(Bn,function(){var t={};return _r(Bn,(function(e,n){jt.call(Bn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Bn.VERSION="4.17.20",$e(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bn[t].placeholder=Bn})),$e(["drop","take"],(function(t,e){Vn.prototype[t]=function(n){n=n===o?1:vn(gu(n),0);var r=this.__filtered__&&!e?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,b),type:t+(r.__dir__<0?"Right":"")}),r},Vn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),$e(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Vn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:so(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),$e(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Vn.prototype[t]=function(){return this[n](1).value()[0]}})),$e(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Vn.prototype[t]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(is)},Vn.prototype.find=function(t){return this.filter(t).head()},Vn.prototype.findLast=function(t){return this.reverse().find(t)},Vn.prototype.invokeMap=Zr((function(t,e){return"function"==typeof t?new Vn(this):this.map((function(n){return kr(n,t,e)}))})),Vn.prototype.reject=function(t){return this.filter(ja(so(t)))},Vn.prototype.slice=function(t,e){t=gu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Vn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=gu(e))<0?n.dropRight(-e):n.take(e-t)),n)},Vn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Vn.prototype.toArray=function(){return this.take(b)},_r(Vn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Bn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(Bn.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,s=e instanceof Vn,c=u[0],f=s||qa(e),l=function(t){var e=i.apply(Bn,Re([t],u));return r&&d?e[0]:e};f&&n&&"function"==typeof c&&1!=c.length&&(s=f=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,g=s&&!h;if(!a&&f){e=g?e:new Vn(this);var m=t.apply(e,u);return m.__actions__.push({func:pa,args:[l],thisArg:o}),new Hn(m,d)}return p&&g?t.apply(this,u):(m=this.thru(l),p?r?m.value()[0]:m.value():m)})})),$e(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Ct[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(qa(i)?i:[],t)}return this[n]((function(n){return e.apply(qa(n)?n:[],t)}))}})),_r(Vn.prototype,(function(t,e){var n=Bn[e];if(n){var r=n.name+"";jt.call(Cn,r)||(Cn[r]=[]),Cn[r].push({name:e,func:n})}})),Cn[Bi(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var t=new Vn(this.__wrapped__);return t.__actions__=Ai(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ai(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ai(this.__views__),t},Vn.prototype.reverse=function(){if(this.__filtered__){var t=new Vn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Vn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=qa(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=yn(e,t+a);break;case"takeRight":t=vn(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,u=o.end,s=u-a,c=r?u:a-1,f=this.__iteratees__,l=f.length,d=0,h=yn(s,this.__takeCount__);if(!n||!r&&i==s&&h==s)return pi(t,this.__actions__);var p=[];t:for(;s--&&d<h;){for(var g=-1,m=t[c+=e];++g<l;){var b=f[g],v=b.iteratee,y=b.type,_=v(m);if(2==y)m=_;else if(!_){if(1==y)continue t;break t}}p[d++]=m}return p},Bn.prototype.at=ga,Bn.prototype.chain=function(){return ha(this)},Bn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===o&&(this.__values__=hu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,n=this;n instanceof zn;){var r=Bo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Vn){var e=t;return this.__actions__.length&&(e=new Vn(this)),(e=e.reverse()).__actions__.push({func:pa,args:[ea],thisArg:o}),new Hn(e,this.__chain__)}return this.thru(ea)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return pi(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xt&&(Bn.prototype[Xt]=function(){return this}),Bn}();pe._=mn,(i=function(){return mn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n(59),n(94)(t))},function(t,e,n){t.exports=function(){var t=t||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:4*t.length},toString:function(t){return(t||s).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)e[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,r=[],i=function(e){e=e;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(e=18e3*(65535&e)+(e>>16)&r)&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var u=i(4294967296*(n||t.random()));n=987654071*u(),r.push(4294967296*u()|0)}return new a.init(r,e)}}),u=r.enc={},s=u.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(n,e/2)}},c=u.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(n,e)}},f=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},l=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,u=i/(4*o),s=(u=e?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*o,c=t.min(4*s,i);if(s){for(var f=0;f<s;f+=o)this._doProcessBlock(r,f);var l=r.splice(0,s);n.sigBytes-=c}return new a.init(l,c)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),d=(i.Hasher=l.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new d.HMAC.init(t,n).finalize(e)}}}),r.algo={});return r}(Math);return t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(244);var i=n(209);function o(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(114),i=n(48);t.exports={checkState:function(t,e){if(!t)throw new r.InvalidState(e)},checkArgument:function(t,e,n,i){if(!t)throw new r.InvalidArgument(e,n,i)},checkArgumentType:function(t,e,o){if(o=o||"(unknown name)",i.isString(e)){if("Buffer"===e){if(!n(29).Buffer.isBuffer(t))throw new r.InvalidArgumentType(t,e,o)}else if(typeof t!==e)throw new r.InvalidArgumentType(t,e,o)}else if(!(t instanceof e))throw new r.InvalidArgumentType(t,e.name,o)}}},function(t,e,n){var r=n(954),i=n(19);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?i(t):e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){var r=n(955);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}}),e&&r(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return _}));var r=n(173),i=n(69),o=n(1),a=n.n(o),u=n(122),s=(n(13),n(4)),c=n(65),f=n(110),l=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).history=Object(u.a)(e.props),e}return Object(i.a)(e,t),e.prototype.render=function(){return a.a.createElement(r.d,{history:this.history,children:this.props.children})},e}(a.a.Component);a.a.Component;var d=function(t,e){return"function"===typeof t?t(e):t},h=function(t,e){return"string"===typeof t?Object(u.c)(t,null,null,e):t},p=function(t){return t},g=a.a.forwardRef;"undefined"===typeof g&&(g=p);var m=g((function(t,e){var n=t.innerRef,r=t.navigate,i=t.onClick,o=Object(c.a)(t,["innerRef","navigate","onClick"]),u=o.target,f=Object(s.a)({},o,{onClick:function(t){try{i&&i(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||u&&"_self"!==u||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return f.ref=p!==g&&e||n,a.a.createElement("a",f)}));var b=g((function(t,e){var n=t.component,i=void 0===n?m:n,o=t.replace,u=t.to,l=t.innerRef,b=Object(c.a)(t,["component","replace","to","innerRef"]);return a.a.createElement(r.f.Consumer,null,(function(t){t||Object(f.a)(!1);var n=t.history,r=h(d(u,t.location),t.location),c=r?n.createHref(r):"",m=Object(s.a)({},b,{href:c,navigate:function(){var e=d(u,t.location);(o?n.replace:n.push)(e)}});return p!==g?m.ref=e||l:m.innerRef=l,a.a.createElement(i,m)}))})),v=function(t){return t},y=a.a.forwardRef;"undefined"===typeof y&&(y=v);var _=y((function(t,e){var n=t["aria-current"],i=void 0===n?"page":n,o=t.activeClassName,u=void 0===o?"active":o,l=t.activeStyle,p=t.className,g=t.exact,m=t.isActive,_=t.location,w=t.strict,S=t.style,O=t.to,x=t.innerRef,E=Object(c.a)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to","innerRef"]);return a.a.createElement(r.f.Consumer,null,(function(t){t||Object(f.a)(!1);var n=_||t.location,o=h(d(O,n),n),c=o.pathname,M=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=M?Object(r.g)(n.pathname,{path:M,exact:g,strict:w}):null,$=!!(m?m(T,n):T),A=$?function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(p,u):p,k=$?Object(s.a)({},S,{},l):S,C=Object(s.a)({"aria-current":$&&i||null,className:A,style:k,to:o},E);return v!==y?C.ref=e||x:C.innerRef=x,a.a.createElement(b,C)}))}))},function(t,e,n){"use strict";function r(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}n.d(e,"a",(function(){return r}))},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){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(36).Buffer,i=n(439),o=n(179),a=n(779),u=n(78),s=n(132),c=n(461),f=n(67),l=n(781),d=f.OP_RESERVED;function h(t){return s.Buffer(t)||function(t){return s.Number(t)&&(t===f.OP_0||t>=f.OP_1&&t<=f.OP_16||t===f.OP_1NEGATE)}(t)}function p(t){return s.Array(t)&&t.every(h)}function g(t){return 0===t.length?f.OP_0:1===t.length?t[0]>=1&&t[0]<=16?d+t[0]:129===t[0]?f.OP_1NEGATE:void 0:void 0}function m(t){if(r.isBuffer(t))return t;u(s.Array,t);var e=t.reduce((function(t,e){return r.isBuffer(e)?1===e.length&&void 0!==g(e)?t+1:t+a.encodingLength(e.length)+e.length:t+1}),0),n=r.allocUnsafe(e),i=0;if(t.forEach((function(t){if(r.isBuffer(t)){var e=g(t);if(void 0!==e)return n.writeUInt8(e,i),void(i+=1);i+=a.encode(n,t.length,i),t.copy(n,i),i+=t.length}else n.writeUInt8(t,i),i+=1})),i!==n.length)throw new Error("Could not decode chunks");return n}function b(t){if(s.Array(t))return t;u(s.Buffer,t);for(var e=[],n=0;n<t.length;){var r=t[n];if(r>f.OP_0&&r<=f.OP_PUSHDATA4){var i=a.decode(t,n);if(null===i)return null;if((n+=i.size)+i.number>t.length)return null;var o=t.slice(n,n+i.number);n+=i.number;var c=g(o);void 0!==c?e.push(c):e.push(o)}else e.push(r),n+=1}return e}function v(t){var e=-129&t;return e>0&&e<4}t.exports={compile:m,decompile:b,fromASM:function(t){return u(s.String,t),m(t.split(" ").map((function(t){return void 0!==f[t]?f[t]:(u(s.Hex,t),r.from(t,"hex"))})))},toASM:function(t){return r.isBuffer(t)&&(t=b(t)),t.map((function(t){if(r.isBuffer(t)){var e=g(t);if(void 0===e)return t.toString("hex");t=e}return l[t]})).join(" ")},toStack:function(t){return t=b(t),u(p,t),t.map((function(t){return r.isBuffer(t)?t:t===f.OP_0?r.allocUnsafe(0):c.encode(t-d)}))},number:n(461),signature:n(782),isCanonicalPubKey:function(t){return o.isPoint(t)},isCanonicalScriptSignature:function(t){return!!r.isBuffer(t)&&(!!v(t[t.length-1])&&i.check(t.slice(0,-1)))},isPushOnly:p,isDefinedHashType:v}},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(e,t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(51);function i(t,e,n){return(i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(r.a)(t)););return t}(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}},function(t,e,n){"use strict";(function(e){var r=n(29),i=(n(267),n(80),n(52));function o(t,e){if(t.length!==e.length)return!1;for(var n=t.length,r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}t.exports={fill:function(t,e){i.checkArgumentType(t,"Buffer","buffer"),i.checkArgumentType(e,"number","value");for(var n=t.length,r=0;r<n;r++)t[r]=e;return t},copy:function(t){var n=e.alloc(t.length);return t.copy(n),n},isBuffer:function(t){return r.Buffer.isBuffer(t)||t instanceof Uint8Array},emptyBuffer:function(t){i.checkArgumentType(t,"number","bytes");for(var n=e.alloc(t),r=0;r<t;r++)n.write("\0",r);return n},concat:r.Buffer.concat,equals:o,equal:o,integerAsSingleByteBuffer:function(t){return i.checkArgumentType(t,"number","integer"),e.from([255&t])},integerAsBuffer:function(t){i.checkArgumentType(t,"number","integer");var n=[];return n.push(t>>24&255),n.push(t>>16&255),n.push(t>>8&255),n.push(255&t),e.from(n)},integerFromBuffer:function(t){return i.checkArgumentType(t,"Buffer","buffer"),t[0]<<24|t[1]<<16|t[2]<<8|t[3]},integerFromSingleByteBuffer:function(t){return i.checkArgumentType(t,"Buffer","buffer"),t[0]},bufferToHex:function(t){return i.checkArgumentType(t,"Buffer","buffer"),t.toString("hex")},reverse:function(t){return e.from(t).reverse()}},t.exports.NULL_HASH=t.exports.fill(e.alloc(32),0),t.exports.EMPTY_BUFFER=e.alloc(0)}).call(this,n(29).Buffer)},function(t,e,n){"use strict";e.a={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var u=t[o](a),s=u.value}catch(c){return void n(c)}u.done?e(s):Promise.resolve(s).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function u(t){r(a,i,o,u,s,"next",t)}function s(t){r(a,i,o,u,s,"throw",t)}u(void 0)}))}}n.d(e,"a",(function(){return i}))},function(t){t.exports=JSON.parse('{"OP_FALSE":0,"OP_0":0,"OP_PUSHDATA1":76,"OP_PUSHDATA2":77,"OP_PUSHDATA4":78,"OP_1NEGATE":79,"OP_RESERVED":80,"OP_TRUE":81,"OP_1":81,"OP_2":82,"OP_3":83,"OP_4":84,"OP_5":85,"OP_6":86,"OP_7":87,"OP_8":88,"OP_9":89,"OP_10":90,"OP_11":91,"OP_12":92,"OP_13":93,"OP_14":94,"OP_15":95,"OP_16":96,"OP_NOP":97,"OP_VER":98,"OP_IF":99,"OP_NOTIF":100,"OP_VERIF":101,"OP_VERNOTIF":102,"OP_ELSE":103,"OP_ENDIF":104,"OP_VERIFY":105,"OP_RETURN":106,"OP_TOALTSTACK":107,"OP_FROMALTSTACK":108,"OP_2DROP":109,"OP_2DUP":110,"OP_3DUP":111,"OP_2OVER":112,"OP_2ROT":113,"OP_2SWAP":114,"OP_IFDUP":115,"OP_DEPTH":116,"OP_DROP":117,"OP_DUP":118,"OP_NIP":119,"OP_OVER":120,"OP_PICK":121,"OP_ROLL":122,"OP_ROT":123,"OP_SWAP":124,"OP_TUCK":125,"OP_CAT":126,"OP_SUBSTR":127,"OP_LEFT":128,"OP_RIGHT":129,"OP_SIZE":130,"OP_INVERT":131,"OP_AND":132,"OP_OR":133,"OP_XOR":134,"OP_EQUAL":135,"OP_EQUALVERIFY":136,"OP_RESERVED1":137,"OP_RESERVED2":138,"OP_1ADD":139,"OP_1SUB":140,"OP_2MUL":141,"OP_2DIV":142,"OP_NEGATE":143,"OP_ABS":144,"OP_NOT":145,"OP_0NOTEQUAL":146,"OP_ADD":147,"OP_SUB":148,"OP_MUL":149,"OP_DIV":150,"OP_MOD":151,"OP_LSHIFT":152,"OP_RSHIFT":153,"OP_BOOLAND":154,"OP_BOOLOR":155,"OP_NUMEQUAL":156,"OP_NUMEQUALVERIFY":157,"OP_NUMNOTEQUAL":158,"OP_LESSTHAN":159,"OP_GREATERTHAN":160,"OP_LESSTHANOREQUAL":161,"OP_GREATERTHANOREQUAL":162,"OP_MIN":163,"OP_MAX":164,"OP_WITHIN":165,"OP_RIPEMD160":166,"OP_SHA1":167,"OP_SHA256":168,"OP_HASH160":169,"OP_HASH256":170,"OP_CODESEPARATOR":171,"OP_CHECKSIG":172,"OP_CHECKSIGVERIFY":173,"OP_CHECKMULTISIG":174,"OP_CHECKMULTISIGVERIFY":175,"OP_NOP1":176,"OP_NOP2":177,"OP_CHECKLOCKTIMEVERIFY":177,"OP_NOP3":178,"OP_CHECKSEQUENCEVERIFY":178,"OP_NOP4":179,"OP_NOP5":180,"OP_NOP6":181,"OP_NOP7":182,"OP_NOP8":183,"OP_NOP9":184,"OP_NOP10":185,"OP_PUBKEYHASH":253,"OP_PUBKEY":254,"OP_INVALIDOPCODE":255}')},function(t,e,n){var r=n(437),i=n(729),o=r.COINS,a=r.ALL_CRYPTOS,u=r.CRYPTO_CURRENCIES,s=i;t.exports={COINS:o,ALL_CRYPTOS:a,CRYPTO_CURRENCIES:u,utils:s}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(523);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Object(r.a)(t,e)}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!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:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],f=!1,l=-1;function d(){f&&s&&(f=!1,s.length?c=s.concat(c):l=-1,c.length&&h())}function h(){if(!f){var t=u(d);f=!0;for(var e=c.length;e;){for(s=c,c=[];++l<e;)s&&s[l].run();l=-1,e=c.length}s=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||f||u(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(291),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(93);function i(t){return null!=t&&"function"===typeof t["@@transducer/step"]}function o(t,e,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!Object(r.a)(a)){for(var u=0;u<t.length;){if("function"===typeof a[t[u]])return a[t[u]].apply(a,o);u+=1}if(i(a)){var s=e.apply(null,o);return s(a)}}return n.apply(this,arguments)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return G})),n.d(e,"b",(function(){return Z})),n.d(e,"c",(function(){return bt})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return gt})),n.d(e,"f",(function(){return mt})),n.d(e,"g",(function(){return h}));var r=n(4),i=n(195),o=(n(75),n(171)),a=n(69),u=n(172),s=n(65),c={}.constructor;function f(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(f);if(t.constructor!==c)return t;var e={};for(var n in t)e[n]=f(t[n]);return e}function l(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=f(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var d=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},h=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=d(t[r]," ");else n=d(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function p(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function g(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var s=a[u];for(var c in s){var f=s[c];null!=f&&(r&&(r+="\n"),r+=""+p(c+": "+h(f)+";",o))}}else for(var l in a){var d=a[l];null!=d&&(r&&(r+="\n"),r+=""+p(l+": "+h(d)+";",o))}for(var g in e){var m=e[g];null!=m&&"fallbacks"!==g&&(r&&(r+="\n"),r+=""+p(g+": "+h(m)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),p(t+" {"+r,--o)+p("}",o)):r}var m=/([[\].#*$><+~=|^:(),"'`\s])/g,b="undefined"!==typeof CSS&&CSS.escape,v=function(t){return b?b(t):t.replace(m,"\\$1")},y=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var u=o&&a;if(u?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var s=this.options.sheet;return s&&s.attached,this},t}(),_=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,s=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(u.a)(Object(u.a)(i)),s),i.selectorText="."+v(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=h(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return g(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(y),w={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new _(t,e,n)}},S={indent:1,children:!0},O=/@([\w-]+)/,x=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(O);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new G(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=S),null==t.indent&&(t.indent=S.indent),null==t.children&&(t.children=S.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),E=/@media|@supports\s+/,M={onCreateRule:function(t,e,n){return E.test(t)?new x(t,e,n):null}},T={indent:1,children:!0},$=/@keyframes\s+([\w-]+)/,A=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match($);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,u=n.generateId;for(var s in this.id=!1===o?this.name:v(u(this,a)),this.rules=new G(Object(r.a)({},n,{parent:this})),e)this.rules.add(s,e[s],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=T),null==t.indent&&(t.indent=T.indent),null==t.children&&(t.children=T.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),k=/@keyframes\s+/,C=/\$([\w-]+)/g,I=function(t,e){return"string"===typeof t?t.replace(C,(function(t,n){return n in e?e[n]:t})):t},P=function(t,e,n){var r=t[e],i=I(r,n);i!==r&&(t[e]=i)},N={onCreateRule:function(t,e,n){return"string"===typeof t&&k.test(t)?new A(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&P(t,"animation-name",n.keyframes),"animation"in t&&P(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return I(t,r.keyframes);default:return t}}},R=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return g(this.key,this.style,n)},e}(y),j={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new R(t,e,n):null}},D=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=g(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return g(this.at,this.style,t)},t}(),L=/@font-face/,F={onCreateRule:function(t,e,n){return L.test(t)?new D(t,e,n):null}},B=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return g(this.key,this.style,t)},t}(),U={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new B(t,e,n):null}},z=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),H={"@charset":!0,"@import":!0,"@namespace":!0},V=[w,M,N,j,F,U,{onCreateRule:function(t,e,n){return t in H?new z(t,e,n):null}}],q={process:!0},W={force:!0,process:!0},G=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,u=i.jss,s=i.Renderer,c=i.generateId,f=i.scoped,d=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:u,Renderer:s,generateId:c,scoped:f,name:t,keyframes:this.keyframes,selector:void 0},n),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(d.selector="."+v(this.classes[h]));var p=l(h,e,d);if(!p)return null;this.register(p);var g=void 0===d.index?this.index.length:d.index;return this.index.splice(g,0,p),p},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof _?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof A&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof _?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof A&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=q);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var u=e,s=u.style;if(o.onUpdate(n,e,a,r),r.process&&s&&s!==u.style){for(var c in o.onProcessStyle(u.style,u,a),u.style){var f=u.style[c];f!==s[c]&&u.prop(c,f,W)}for(var l in s){var d=u.style[l],h=s[l];null==d&&d!==h&&u.prop(l,null,W)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),K=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new G(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),Y=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),Z=function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(s.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}(),Q=new Z,X="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),J="2f1acc6c3a606b082e5eef5e54414ffb";null==X[J]&&(X[J]=0);var tt=X[J]++,et=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+tt+i+e:o+n.key+"-"+tt+(i?"-"+i:"")+"-"+e}},nt=function(t){var e;return function(){return e||(e=t()),e}},rt=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},it=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=h(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},ot=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},at=function(t,e){return t.selectorText=e,t.selectorText===e},ut=nt((function(){return document.querySelector("head")}));function st(t){var e=Q.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=ut(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var ct=nt((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),ft=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},lt=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},dt=function(){function t(t){this.getPropertyValue=rt,this.setProperty=it,this.removeProperty=ot,this.setSelector=at,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&Q.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ct();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=st(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else ut().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=lt(n,e);if(!1===(i=ft(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var u=lt(n,e),s=ft(n,a,u);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(t,u,s),s)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof K&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),ht=0,pt=function(){function t(t){this.id=ht++,this.version="10.5.1",this.plugins=new Y,this.options={id:{minify:!1},createGenerateId:et,Renderer:i.a?dt:null,plugins:[]},this.generateId=et({minify:!1});for(var e=0;e<V.length;e++)this.plugins.use(V[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===Q.index?0:Q.index+1);var i=new K(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),Q.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=l(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();function gt(t){var e=null;for(var n in t){var r=t[n],i=typeof r;if("function"===i)e||(e={}),e[n]=r;else if("object"===i&&null!==r&&!Array.isArray(r)){var o=gt(r);o&&(e||(e={}),e[n]=o)}}return e}var mt="object"===typeof CSS&&null!=CSS&&"number"in CSS,bt=function(t){return new pt(t)};bt()},function(t,e,n){"use strict";function r(t){return t&&t.ownerDocument||document}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";e.a=function(t,e){}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(211),i=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();var o=n(162),a=n(16),u=Object(a.a)((function(t,e){return Object(o.a)(t.length,(function(){return t.apply(e,arguments)}))}));function s(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function c(t,e,n,r){return t["@@transducer/result"](n[r](u(t["@@transducer/step"],t),e))}var f="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function l(t,e,n){if("function"===typeof t&&(t=function(t){return new i(t)}(t)),Object(r.a)(n))return function(t,e,n){for(var r=0,i=n.length;r<i;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(t,e,n);if("function"===typeof n["fantasy-land/reduce"])return c(t,e,n,"fantasy-land/reduce");if(null!=n[f])return s(t,e,n[f]());if("function"===typeof n.next)return s(t,e,n);if("function"===typeof n.reduce)return c(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=Object.prototype,i=r.toString,o=r.hasOwnProperty,a=new Map;function u(t,e){try{return s(t,e)}finally{a.clear()}}function s(t,e){if(t===e)return!0;var n=i.call(t);if(n!==i.call(e))return!1;switch(n){case"[object Array]":if(t.length!==e.length)return!1;case"[object Object]":if(c(t,e))return!0;var r=Object.keys(t),a=Object.keys(e),u=r.length;if(u!==a.length)return!1;for(var f=0;f<u;++f)if(!o.call(e,r[f]))return!1;for(f=0;f<u;++f){var l=r[f];if(!s(t[l],e[l]))return!1}return!0;case"[object Error]":return t.name===e.name&&t.message===e.message;case"[object Number]":if(t!==t)return e!==e;case"[object Boolean]":case"[object Date]":return+t===+e;case"[object RegExp]":case"[object String]":return t==""+e;case"[object Map]":case"[object Set]":if(t.size!==e.size)return!1;if(c(t,e))return!0;for(var d=t.entries(),h="[object Map]"===n;;){var p=d.next();if(p.done)break;var g=p.value,m=g[0],b=g[1];if(!e.has(m))return!1;if(h&&!s(b,e.get(m)))return!1}return!0}return!1}function c(t,e){var n=a.get(t);if(n){if(n.has(e))return!0}else a.set(t,n=new Set);return n.add(e),!1}},function(t,e,n){var r=n(460),i=n(362),o=r.tfJSON,a=r.TfTypeError,u=r.TfPropertyTypeError,s=r.tfSubError,c=r.getValueTypeName,f={arrayOf:function(t,e){function n(n,r){return!!i.Array(n)&&(!i.Nil(n)&&(!(void 0!==e.minLength&&n.length<e.minLength)&&(!(void 0!==e.maxLength&&n.length>e.maxLength)&&((void 0===e.length||n.length===e.length)&&n.every((function(e,n){try{return d(t,e,r)}catch(i){throw s(i,n)}}))))))}return t=l(t),e=e||{},n.toJSON=function(){var n="["+o(t)+"]";return void 0!==e.length?n+="{"+e.length+"}":void 0===e.minLength&&void 0===e.maxLength||(n+="{"+(void 0===e.minLength?0:e.minLength)+","+(void 0===e.maxLength?1/0:e.maxLength)+"}"),n},n},maybe:function t(e){function n(n,r){return i.Nil(n)||e(n,r,t)}return e=l(e),n.toJSON=function(){return"?"+o(e)},n},map:function(t,e){function n(n,r){if(!i.Object(n))return!1;if(i.Nil(n))return!1;for(var o in n){try{e&&d(e,o,r)}catch(u){throw s(u,o,"key")}try{var a=n[o];d(t,a,r)}catch(u){throw s(u,o)}}return!0}return t=l(t),e&&(e=l(e)),n.toJSON=e?function(){return"{"+o(e)+": "+o(t)+"}"}:function(){return"{"+o(t)+"}"},n},object:function(t){var e={};for(var n in t)e[n]=l(t[n]);function r(t,n){if(!i.Object(t))return!1;if(i.Nil(t))return!1;var r;try{for(r in e){d(e[r],t[r],n)}}catch(o){throw s(o,r)}if(n)for(r in t)if(!e[r])throw new u(void 0,r);return!0}return r.toJSON=function(){return o(e)},r},anyOf:function(){var t=[].slice.call(arguments).map(l);function e(e,n){return t.some((function(t){try{return d(t,e,n)}catch(r){return!1}}))}return e.toJSON=function(){return t.map(o).join("|")},e},allOf:function(){var t=[].slice.call(arguments).map(l);function e(e,n){return t.every((function(t){try{return d(t,e,n)}catch(r){return!1}}))}return e.toJSON=function(){return t.map(o).join(" & ")},e},quacksLike:function(t){function e(e){return t===c(e)}return e.toJSON=function(){return t},e},tuple:function(){var t=[].slice.call(arguments).map(l);function e(e,n){return!i.Nil(e)&&(!i.Nil(e.length)&&((!n||e.length===t.length)&&t.every((function(t,r){try{return d(t,e[r],n)}catch(i){throw s(i,r)}}))))}return e.toJSON=function(){return"("+t.map(o).join(", ")+")"},e},value:function(t){function e(e){return e===t}return e.toJSON=function(){return t},e}};function l(t){if(i.String(t))return"?"===t[0]?f.maybe(t.slice(1)):i[t]||f.quacksLike(t);if(t&&i.Object(t)){if(i.Array(t)){if(1!==t.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return f.arrayOf(t[0])}return f.object(t)}return i.Function(t)?t:f.value(t)}function d(t,e,n,r){if(i.Function(t)){if(t(e,n))return!0;throw new a(r||t,e)}return d(l(t),e,n)}for(var h in f.oneOf=f.anyOf,i)d[h]=i[h];for(h in f)d[h]=f[h];var p=n(780);for(h in p)d[h]=p[h];d.compile=l,d.TfTypeError=a,d.TfPropertyTypeError=u,t.exports=d},function(t,e,n){"use strict";(function(e){var r=n(112),i=n(52),o=n(48),a=function(t){for(var n=e.alloc(t.length),r=0;r<t.length;r++)n[r]=t[t.length-1-r];return n};r.Zero=new r(0),r.One=new r(1),r.Minus1=new r(-1),r.fromNumber=function(t){return i.checkArgument(o.isNumber(t)),new r(t)},r.fromString=function(t,e){return i.checkArgument(o.isString(t)),new r(t,e)},r.fromBuffer=function(t,e){"undefined"!==typeof e&&"little"===e.endian&&(t=a(t));var n=t.toString("hex");return new r(n,16)},r.fromSM=function(t,n){var i;if(0===t.length)return r.fromBuffer(e.from([0]));var o="big";return n&&(o=n.endian),"little"===o&&(t=a(t)),128&t[0]?(t[0]=127&t[0],(i=r.fromBuffer(t)).neg().copy(i)):i=r.fromBuffer(t),i},r.prototype.toNumber=function(){return parseInt(this.toString(10),10)},r.prototype.toBuffer=function(t){var n,i;if(t&&t.size){var o=(i=this.toString(16,2)).length/2;n=e.from(i,"hex"),o===t.size?n=n:o>t.size?n=r.trim(n,o):o<t.size&&(n=r.pad(n,o,t.size))}else i=this.toString(16,2),n=e.from(i,"hex");return"undefined"!==typeof t&&"little"===t.endian&&(n=a(n)),n},r.prototype.toSMBigEndian=function(){var t;return-1===this.cmp(r.Zero)?128&(t=this.neg().toBuffer())[0]?t=e.concat([e.from([128]),t]):t[0]=128|t[0]:128&(t=this.toBuffer())[0]&&(t=e.concat([e.from([0]),t])),1===t.length&0===t[0]&&(t=e.from([])),t},r.prototype.toSM=function(t){var e=t?t.endian:"big",n=this.toSMBigEndian();return"little"===e&&(n=a(n)),n},r.fromScriptNumBuffer=function(t,e,n){var o=n||4;if(i.checkArgument(t.length<=o,new Error("script number overflow")),e&&t.length>0&&0===(127&t[t.length-1])&&(t.length<=1||0===(128&t[t.length-2])))throw new Error("non-minimally encoded script number");return r.fromSM(t,{endian:"little"})},r.prototype.toScriptNumBuffer=function(){return this.toSM({endian:"little"})},r.trim=function(t,e){return t.slice(e-t.length,t.length)},r.pad=function(t,n,r){for(var i=e.alloc(r),o=0;o<t.length;o++)i[i.length-1-o]=t[t.length-1-o];for(o=0;o<r-n;o++)i[o]=0;return i},t.exports=r}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(48),i=function(t){return!!r.isString(t)&&/^[0-9a-fA-F]+$/.test(t)};t.exports={isValidJSON:function(t){var e;if(!r.isString(t))return!1;try{e=JSON.parse(t)}catch(n){return!1}return"object"===typeof e},isHexa:i,isHexaString:i,cloneArray:function(t){return[].concat(t)},defineImmutable:function(t,e){return Object.keys(e).forEach((function(n){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,value:e[n]})})),t},isNaturalNumber:function(t){return"number"===typeof t&&isFinite(t)&&Math.floor(t)===t&&t>=0}}},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e,n){"use strict";var r=n(531),i=n.n(r).a;e.a=i},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(185),void(o.lib.Cipher||function(t){var e=o,n=e.lib,r=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,u=e.enc,s=(u.Utf8,u.Base64),c=e.algo.EvpKDF,f=n.Cipher=a.extend({cfg:r.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?y:b}return function(e){return{encrypt:function(n,r,i){return t(r).encrypt(e,n,r,i)},decrypt:function(n,r,i){return t(r).decrypt(e,n,r,i)}}}}()}),l=(n.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),e.mode={}),d=n.BlockCipherMode=r.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),h=l.CBC=function(){var e=d.extend();function n(e,n,r){var i=this._iv;if(i){var o=i;this._iv=t}else o=this._prevBlock;for(var a=0;a<r;a++)e[n+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize;n.call(this,t,e,i),r.encryptBlock(t,e),this._prevBlock=t.slice(e,e+i)}}),e.Decryptor=e.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,o=t.slice(e,e+i);r.decryptBlock(t,e),n.call(this,t,e,i),this._prevBlock=o}}),e}(),p=(e.pad={}).Pkcs7={pad:function(t,e){for(var n=4*e,r=n-t.sigBytes%n,o=r<<24|r<<16|r<<8|r,a=[],u=0;u<r;u+=4)a.push(o);var s=i.create(a,r);t.concat(s)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},g=(n.BlockCipher=f.extend({cfg:f.cfg.extend({mode:h,padding:p}),reset:function(){f.reset.call(this);var t=this.cfg,e=t.iv,n=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var r=n.createEncryptor;else r=n.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==r?this._mode.init(this,e&&e.words):(this._mode=r.call(n,this,e&&e.words),this._mode.__creator=r)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else e=this._process(!0),t.unpad(e);return e},blockSize:4}),n.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),m=(e.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,n=t.salt;if(n)var r=i.create([1398893684,1701076831]).concat(n).concat(e);else r=e;return r.toString(s)},parse:function(t){var e=s.parse(t),n=e.words;if(1398893684==n[0]&&1701076831==n[1]){var r=i.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return g.create({ciphertext:e,salt:r})}},b=n.SerializableCipher=r.extend({cfg:r.extend({format:m}),encrypt:function(t,e,n,r){r=this.cfg.extend(r);var i=t.createEncryptor(n,r),o=i.finalize(e),a=i.cfg;return g.create({ciphertext:o,key:n,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:r.format})},decrypt:function(t,e,n,r){return r=this.cfg.extend(r),e=this._parse(e,r.format),t.createDecryptor(n,r).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),v=(e.kdf={}).OpenSSL={execute:function(t,e,n,r){r||(r=i.random(8));var o=c.create({keySize:e+n}).compute(t,r),a=i.create(o.words.slice(e),4*n);return o.sigBytes=4*e,g.create({key:o,iv:a,salt:r})}},y=n.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:v}),encrypt:function(t,e,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,t.keySize,t.ivSize);r.iv=i.iv;var o=b.encrypt.call(this,t,e,i.key,r);return o.mixIn(i),o},decrypt:function(t,e,n,r){r=this.cfg.extend(r),e=this._parse(e,r.format);var i=r.kdf.execute(n,t.keySize,t.ivSize,e.salt);return r.iv=i.iv,b.decrypt.call(this,t,e,i.key,r)}})}()))}()},function(t,e,n){"use strict";(function(e){var r=n(481),i=n(63),o=n(52),a=t.exports;a.sha1=function(t){return o.checkArgument(i.isBuffer(t)),r.createHash("sha1").update(t).digest()},a.sha1.blocksize=512,a.sha256=function(t){return o.checkArgument(i.isBuffer(t)),r.createHash("sha256").update(t).digest()},a.sha256.blocksize=512,a.sha256sha256=function(t){return o.checkArgument(i.isBuffer(t)),a.sha256(a.sha256(t))},a.ripemd160=function(t){return o.checkArgument(i.isBuffer(t)),r.createHash("ripemd160").update(t).digest()},a.sha256ripemd160=function(t){return o.checkArgument(i.isBuffer(t)),a.ripemd160(a.sha256(t))},a.sha512=function(t){return o.checkArgument(i.isBuffer(t)),r.createHash("sha512").update(t).digest()},a.sha512.blocksize=1024,a.hmac=function(t,n,r){o.checkArgument(i.isBuffer(n)),o.checkArgument(i.isBuffer(r)),o.checkArgument(t.blocksize);var a=t.blocksize/8;if(r.length>a)r=t(r);else if(r<a){var u=e.alloc(a);u.fill(0),r.copy(u),r=u}var s=e.alloc(a);s.fill(92);var c=e.alloc(a);c.fill(54);for(var f=e.alloc(a),l=e.alloc(a),d=0;d<a;d++)f[d]=s[d]^r[d],l[d]=c[d]^r[d];return t(e.concat([f,t(e.concat([l,n]))]))},a.sha256hmac=function(t,e){return a.hmac(a.sha256,t,e)},a.sha512hmac=function(t,e){return a.hmac(a.sha512,t,e)}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(162),i=n(32),o=n(16),a=n(212),u=Object(o.a)((function(t,e){return 1===t?Object(i.a)(e):Object(r.a)(t,Object(a.a)(t,[],e))}));e.a=u},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(213);function i(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}}),e&&Object(r.a)(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(51),i=n(293);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)}var a=n(190);function u(t,e){return!e||"object"!==o(e)&&"function"!==typeof e?Object(a.a)(t):e}function s(t){var e=Object(i.a)();return function(){var n,i=Object(r.a)(t);if(e){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return u(this,n)}}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(4),i=n(1),o=n.n(i),a=n(295);function u(t,e){var n=function(e,n){return o.a.createElement(a.a,Object(r.a)({ref:n},e),t)};return n.muiName=a.a.muiName,o.a.memo(o.a.forwardRef(n))}},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(17),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:i,duration:o,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,u=void 0===n?o.standard:n,s=e.easing,c=void 0===s?i.easeInOut:s,f=e.delay,l=void 0===f?0:f;Object(r.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof u?u:a(u)," ").concat(c," ").concat("string"===typeof l?l:a(l))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(526);var i=n(282),o=n(527);function a(t,e){return Object(r.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return d}));var r,i=n(1),o=n.n(i),a=n(31);function u(){return r||(r=o.a.createContext({})),r}var s,c=function(t){var e=t.client,n=t.children,r=u();return o.a.createElement(r.Consumer,null,(function(t){return void 0===t&&(t={}),e&&t.client!==e&&(t=Object.assign({},t,{client:e})),Object(a.b)(t.client,5),o.a.createElement(r.Provider,{value:t},n)}))};!function(t){t[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription"}(s||(s={}));var f=new Map;function l(t){var e;switch(t){case s.Query:e="Query";break;case s.Mutation:e="Mutation";break;case s.Subscription:e="Subscription"}return e}function d(t){var e,n,r=f.get(t);if(r)return r;Object(a.b)(!!t&&!!t.kind,1);var i=t.definitions.filter((function(t){return"FragmentDefinition"===t.kind})),o=t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&"query"===t.operation})),u=t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&"mutation"===t.operation})),c=t.definitions.filter((function(t){return"OperationDefinition"===t.kind&&"subscription"===t.operation}));Object(a.b)(!i.length||o.length||u.length||c.length,2),Object(a.b)(o.length+u.length+c.length<=1,3),n=o.length?s.Query:s.Mutation,o.length||u.length||(n=s.Subscription);var l=o.length?o:u.length?u:c;Object(a.b)(1===l.length,4);var d=l[0];e=d.variableDefinitions||[];var h={name:d.name&&"Name"===d.name.kind?d.name.value:"data",type:n,variables:e};return f.set(t,h),h}},function(t,e,n){"use strict";e.a=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},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){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";n.d(e,"a",(function(){return o}));var r=n(401),i=(n(1),n(136));function o(){return Object(r.a)()||i.a}},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(138),a=n(76),u=n(64),s=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=u.a.init,t.prototype["@@transducer/result"]=u.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}(),c=Object(r.a)((function(t,e){return new s(t,e)})),f=n(85),l=n(98),d=Object(r.a)(Object(i.a)(["fantasy-land/map","map"],c,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Object(f.a)(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Object(a.a)((function(n,r){return n[r]=t(e[r]),n}),{},Object(l.a)(e));default:return Object(o.a)(t,e)}})));e.a=d},function(t,e,n){"use strict";var r=n(32),i=n(61),o=n(289),a=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],s=function(){return arguments.propertyIsEnumerable("length")}(),c=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},f="function"!==typeof Object.keys||s?Object(r.a)((function(t){if(Object(t)!==t)return[];var e,n,r=[],f=s&&Object(o.a)(t);for(e in t)!Object(i.a)(e,t)||f&&"length"===e||(r[r.length]=e);if(a)for(n=u.length-1;n>=0;)e=u[n],Object(i.a)(e,t)&&!c(r,e)&&(r[r.length]=e),n-=1;return r})):Object(r.a)((function(t){return Object(t)!==t?[]:Object.keys(t)}));e.a=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(287),i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=Object.freeze({});function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(t),f=[t],l=-1,d=[],h=void 0,p=void 0,g=void 0,m=[],b=[],v=t;do{var y=++l===f.length,_=y&&0!==d.length;if(y){if(p=0===b.length?void 0:m[m.length-1],h=g,g=b.pop(),_){if(c)h=h.slice();else{for(var w={},S=0,O=Object.keys(h);S<O.length;S++){var x=O[S];w[x]=h[x]}h=w}for(var E=0,M=0;M<d.length;M++){var T=d[M][0],$=d[M][1];c&&(T-=E),c&&null===$?(h.splice(T,1),E++):h[T]=$}}l=a.index,f=a.keys,d=a.edits,c=a.inArray,a=a.prev}else{if(p=g?c?l:f[l]:void 0,null===(h=g?g[p]:v)||void 0===h)continue;g&&m.push(p)}var A=void 0;if(!Array.isArray(h)){if(!u(h))throw new Error("Invalid AST Node: "+Object(r.a)(h));var k=s(e,h.kind,y);if(k){if((A=k.call(e,h,p,g,m,b))===o)break;if(!1===A){if(!y){m.pop();continue}}else if(void 0!==A&&(d.push([p,A]),!y)){if(!u(A)){m.pop();continue}h=A}}}void 0===A&&_&&d.push([p,h]),y?m.pop():(a={inArray:c,index:l,keys:f,edits:d,prev:a},f=(c=Array.isArray(h))?h:n[h.kind]||[],l=-1,d=[],g&&b.push(g),g=h)}while(void 0!==a);return 0!==d.length&&(v=d[d.length-1][1]),v}function u(t){return Boolean(t&&"string"===typeof t.kind)}function s(t,e,n){var r=t[e];if(r){if(!n&&"function"===typeof r)return r;var i=n?r.leave:r.enter;if("function"===typeof i)return i}else{var o=n?t.leave:t.enter;if(o){if("function"===typeof o)return o;var a=o[e];if("function"===typeof a)return a}}}},function(t,e,n){"use strict";(function(e){var r=n(79),i=n(48),o=n(52),a=n(63),u=n(80),s=function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(e instanceof r)this.set({r:e,s:n,isSchnorr:i});else if(e){var o=e;this.set(o)}};s.prototype.set=function(t){return this.r=t.r||this.r||void 0,this.s=t.s||this.s||void 0,this.i="undefined"!==typeof t.i?t.i:this.i,this.compressed="undefined"!==typeof t.compressed?t.compressed:this.compressed,this.isSchnorr=t.isSchnorr,this.nhashtype=t.nhashtype||this.nhashtype||void 0,this},s.fromCompact=function(t){o.checkArgument(a.isBuffer(t),"Argument is expected to be a Buffer");var e=new s,n=!0,i=t.slice(0,1)[0]-27-4;i<0&&(n=!1,i+=4);var u=t.slice(1,33),c=t.slice(33,65);return o.checkArgument(0===i||1===i||2===i||3===i,new Error("i must be 0, 1, 2, or 3")),o.checkArgument(32===u.length,new Error("r must be 32 bytes")),o.checkArgument(32===c.length,new Error("s must be 32 bytes")),e.compressed=n,e.i=i,e.r=r.fromBuffer(u),e.s=r.fromBuffer(c),e},s.fromDER=s.fromBuffer=function(t,e){if((64===t.length||65===t.length)&&48!=t[0]){var n=s.parseSchnorrEncodedSig(t),r=new s;return r.r=n.r,r.s=n.s,r.isSchnorr=!0,r}if(64===t.length&&48===t[0])return"64 DER (ecdsa) signatures not allowed";var i=s.parseDER(t,e),o=new s;return o.r=i.r,o.s=i.s,o},s.fromTxFormat=function(t){var e=t.readUInt8(t.length-1),n=t.slice(0,t.length-1),r=new s.fromDER(n,!1);return r.nhashtype=e,r},s.fromDataFormat=function(t){var e=t.slice(0,t.length);return new s.fromDER(e,!1)},s.fromString=function(t){var n=e.from(t,"hex");return s.fromDER(n)},s.parseSchnorrEncodedSig=function(t){var e,n=t.slice(0,32),i=t.slice(32,64);return 65===t.length&&(e=t.slice(64,65),this.nhashtype=e),{r:r.fromBuffer(n),s:r.fromBuffer(i),nhashtype:e}},s.parseDER=function(t,e){o.checkArgument(a.isBuffer(t),new Error("DER formatted signature should be a buffer")),i.isUndefined(e)&&(e=!0);var n=t[0];o.checkArgument(48===n,new Error("Header byte should be 0x30"));var u=t[1],s=t.slice(2).length;o.checkArgument(!e||u===s,new Error("Length byte should length of what follows")),u=u<s?u:s;var c=t[2];o.checkArgument(2===c,new Error("Integer byte for r should be 0x02"));var f=t[3],l=t.slice(4,4+f),d=r.fromBuffer(l),h=0===t[4];o.checkArgument(f===l.length,new Error("Length of r incorrect"));var p=t[4+f+0];o.checkArgument(2===p,new Error("Integer byte for s should be 0x02"));var g=t[4+f+1],m=t.slice(4+f+2,4+f+2+g),b=r.fromBuffer(m),v=0===t[4+f+2+2];o.checkArgument(g===m.length,new Error("Length of s incorrect"));var y=4+f+2+g;return o.checkArgument(u===y-2,new Error("Length of signature incorrect")),{header:n,length:u,rheader:c,rlength:f,rneg:h,rbuf:l,r:d,sheader:p,slength:g,sneg:v,sbuf:m,s:b}},s.prototype.toCompact=function(t,n){if(t="number"===typeof t?t:this.i,n="boolean"===typeof n?n:this.compressed,0!==t&&1!==t&&2!==t&&3!==t)throw new Error("i must be equal to 0, 1, 2, or 3");var r=t+27+4;!1===n&&(r-=4);var i=e.from([r]),o=this.r.toBuffer({size:32}),a=this.s.toBuffer({size:32});return e.concat([i,o,a])},s.prototype.toBuffer=s.prototype.toDER=function(t){if("schnorr"===(t=t||"ecdsa"))return e.concat([this.r.toBuffer({size:32}),this.s.toBuffer({size:32})]);var n=this.r.toBuffer(),r=this.s.toBuffer(),i=!!(128&n[0]),o=!!(128&r[0]),a=i?e.concat([e.from([0]),n]):n,u=o?e.concat([e.from([0]),r]):r,s=a.length,c=u.length,f=2+s+2+c;return e.concat([e.from([48,f,2,s]),a,e.from([2,c]),u])},s.prototype.toString=function(){return this.toDER().toString("hex")},s.isTxDER=function(t){return s.isDER(t.slice(0,t.length-1))},s.isDER=function(t){if(t.length<8||t.length>72)return!1;if(48!=t[0])return!1;if(t[1]!=t.length-2)return!1;if(2!=t[2])return!1;var e=t[3];if(0==e)return!1;if(128&t[4])return!1;if(e>t.length-7)return!1;if(e>1&&0==t[4]&&!(128&t[5]))return!1;var n=e+4;if(2!=t[n])return!1;var r=t[n+1];return 0!=r&&(!(128&t[n+2])&&(n+r+2==t.length&&!(r>1&&0==t[n+2]&&!(128&t[n+3]))))},s.prototype.hasLowS=function(){return!this.s.lt(new r(1))&&!this.s.gt(new r("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex"))},s.prototype.hasDefinedHashtype=function(){if(!u.isNaturalNumber(this.nhashtype))return!1;var t=~(s.SIGHASH_FORKID|s.SIGHASH_ANYONECANPAY)>>>0,e=this.nhashtype&t;return!(e<s.SIGHASH_ALL||e>s.SIGHASH_SINGLE)},s.prototype.toTxFormat=function(t){var n=this.toDER(t),r=e.alloc(1);return r.writeUInt8(this.nhashtype,0),e.concat([n,r])},s.SIGHASH_ALL=1,s.SIGHASH_NONE=2,s.SIGHASH_SINGLE=3,s.SIGHASH_FORKID=64,s.SIGHASH_ANYONECANPAY=128,t.exports=s}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(79),i=n(186),o=n(84),a=n(80),u=n(159),s=n(48),c=n(52);function f(t,e){if(!(this instanceof f))return new f(t,e);if(c.checkArgument(t,"First argument is required, please include public key data."),t instanceof f)return t;e=e||{};var n=this._classifyArgs(t,e);return n.point.validate(),a.defineImmutable(this,{point:n.point,compressed:n.compressed,network:n.network||u.defaultNetwork}),this}f.prototype._classifyArgs=function(t,n){var r={compressed:s.isUndefined(n.compressed)||n.compressed};if(t instanceof i)r.point=t;else if(t.x&&t.y)r=f._transformObject(t);else if("string"===typeof t)r=f._transformDER(e.from(t,"hex"));else if(f._isBuffer(t))r=f._transformDER(t);else{if(!f._isPrivateKey(t))throw new TypeError("First argument is an unrecognized data format.");r=f._transformPrivateKey(t)}return r.network||(r.network=s.isUndefined(n.network)?void 0:u.get(n.network)),r},f._isPrivateKey=function(t){return t instanceof n(273)},f._isBuffer=function(t){return t instanceof e||t instanceof Uint8Array},f._transformPrivateKey=function(t){c.checkArgument(f._isPrivateKey(t),"Must be an instance of PrivateKey");var e={};return e.point=i.getG().mul(t.bn),e.compressed=t.compressed,e.network=t.network,e},f._transformDER=function(t,e){c.checkArgument(f._isBuffer(t),"Must be a hex buffer of DER encoded public key");var n,o,a,u,l={};if(e=!!s.isUndefined(e)||e,4!==t[0]&&(e||6!==t[0]&&7!==t[0]))if(3===t[0])a=t.slice(1),n=new r(a),(l=f._transformX(!0,n)).compressed=!0;else{if(2!==t[0])throw new TypeError("Invalid DER format public key");a=t.slice(1),n=new r(a),(l=f._transformX(!1,n)).compressed=!0}else{if(a=t.slice(1,33),u=t.slice(33,65),32!==a.length||32!==u.length||65!==t.length)throw new TypeError("Length of x and y must be 32 bytes");n=new r(a),o=new r(u),l.point=new i(n,o),l.compressed=!1}return l},f._transformX=function(t,e){c.checkArgument("boolean"===typeof t,"Must specify whether y is odd or not (true or false)");var n={};return n.point=i.fromX(t,e),n},f._transformObject=function(t){var e=new r(t.x,"hex"),n=new r(t.y,"hex");return new f(new i(e,n),{compressed:t.compressed})},f.fromPrivateKey=function(t){c.checkArgument(f._isPrivateKey(t),"Must be an instance of PrivateKey");var e=f._transformPrivateKey(t);return new f(e.point,{compressed:e.compressed,network:e.network})},f.fromDER=f.fromBuffer=function(t,e){c.checkArgument(f._isBuffer(t),"Must be a hex buffer of DER encoded public key");var n=f._transformDER(t,e);return new f(n.point,{compressed:n.compressed})},f.fromPoint=function(t,e){return c.checkArgument(t instanceof i,"First argument must be an instance of Point."),new f(t,{compressed:e})},f.fromString=function(t,n){var r=e.from(t,n||"hex"),i=f._transformDER(r);return new f(i.point,{compressed:i.compressed})},f.fromX=function(t,e){var n=f._transformX(t,e);return new f(n.point,{compressed:n.compressed})},f.getValidationError=function(t){var e;try{new f(t)}catch(n){e=n}return e},f.isValid=function(t){return!f.getValidationError(t)},f.prototype.toObject=f.prototype.toJSON=function(){return{x:this.point.getX().toString("hex",2),y:this.point.getY().toString("hex",2),compressed:this.compressed}},f.prototype.toBuffer=f.prototype.toDER=function(){var t,n=this.point.getX(),r=this.point.getY(),i=n.toBuffer({size:32}),o=r.toBuffer({size:32});return this.compressed?(t=o[o.length-1]%2?e.from([3]):e.from([2]),e.concat([t,i])):(t=e.from([4]),e.concat([t,i,o]))},f.prototype._getID=function(){return o.sha256ripemd160(this.toBuffer())},f.prototype.toAddress=function(t){return n(187).fromPublicKey(this,t||this.network)},f.prototype.toString=function(){return this.toDER().toString("hex")},f.prototype.inspect=function(){return"<PublicKey: "+this.toString()+(this.compressed?"":", uncompressed")+">"},t.exports=f}).call(this,n(29).Buffer)},function(t,e,n){var r=n(725).runInContext();t.exports=n(726)(r,r)},function(t,e,n){"use strict";t.exports=n(614)},function(t,e,n){"use strict";var r=n(164),i=n(41),o=Object(i.a)(Object(r.a)("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),i=n(191);function o(){return r.useContext(i.a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(300);function i(t,e){return Object(r.a)(e,t,0)>=0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(245);var i=n(525),o=n(282);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},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";n.r(e),n.d(e,"ApolloLink",(function(){return y})),n.d(e,"concat",(function(){return v})),n.d(e,"createOperation",(function(){return d})),n.d(e,"empty",(function(){return g})),n.d(e,"execute",(function(){return _})),n.d(e,"from",(function(){return m})),n.d(e,"fromError",(function(){return l})),n.d(e,"fromPromise",(function(){return f})),n.d(e,"makePromise",(function(){return c})),n.d(e,"split",(function(){return b})),n.d(e,"toPromise",(function(){return s}));var r=n(82);n.d(e,"Observable",(function(){return r.a}));var i=n(31),o=n(14),a=n(27);n.d(e,"getOperationName",(function(){return a.n}));!function(t){function e(e,n){var r=t.call(this,e)||this;return r.link=n,r}Object(o.c)(e,t)}(Error);function u(t){return t.request.length<=1}function s(t){var e=!1;return new Promise((function(n,r){t.subscribe({next:function(t){e||(e=!0,n(t))},error:r})}))}var c=s;function f(t){return new r.a((function(e){t.then((function(t){e.next(t),e.complete()})).catch(e.error.bind(e))}))}function l(t){return new r.a((function(e){e.error(t)}))}function d(t,e){var n=Object(o.a)({},t);return Object.defineProperty(e,"setContext",{enumerable:!1,value:function(t){n="function"===typeof t?Object(o.a)({},n,t(n)):Object(o.a)({},n,t)}}),Object.defineProperty(e,"getContext",{enumerable:!1,value:function(){return Object(o.a)({},n)}}),Object.defineProperty(e,"toKey",{enumerable:!1,value:function(){return function(t){var e=t.query,n=t.variables,r=t.operationName;return JSON.stringify([r,e,n])}(e)}}),e}function h(t,e){return e?e(t):r.a.of()}function p(t){return"function"===typeof t?new y(t):t}function g(){return new y((function(){return r.a.of()}))}function m(t){return 0===t.length?g():t.map(p).reduce((function(t,e){return t.concat(e)}))}function b(t,e,n){var i=p(e),o=p(n||new y(h));return u(i)&&u(o)?new y((function(e){return t(e)?i.request(e)||r.a.of():o.request(e)||r.a.of()})):new y((function(e,n){return t(e)?i.request(e,n)||r.a.of():o.request(e,n)||r.a.of()}))}var v=function(t,e){var n=p(t);if(u(n))return n;var i=p(e);return u(i)?new y((function(t){return n.request(t,(function(t){return i.request(t)||r.a.of()}))||r.a.of()})):new y((function(t,e){return n.request(t,(function(t){return i.request(t,e)||r.a.of()}))||r.a.of()}))},y=function(){function t(t){t&&(this.request=t)}return t.prototype.split=function(e,n,r){return this.concat(b(e,n,r||new t(h)))},t.prototype.concat=function(t){return v(this,t)},t.prototype.request=function(t,e){throw new i.a(1)},t.empty=g,t.from=m,t.split=b,t.execute=_,t}();function _(t,e){return t.request(d(e.context,function(t){var e={variables:t.variables||{},extensions:t.extensions||{},operationName:t.operationName,query:t.query};return e.operationName||(e.operationName="string"!==typeof e.query?Object(a.n)(e.query):""),e}(function(t){for(var e=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(e.indexOf(o)<0)throw new i.a(2)}return t}(e))))||r.a.of()}},function(t,e,n){"use strict";var r="Invariant failed";e.a=function(t,e){if(!t)throw new Error(r)}},,function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=n(735).Buffer}catch(x){}function u(t,e,n){for(var r=0,i=Math.min(t.length,n),o=e;o<i;o++){var a=t.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function s(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var u=t.charCodeAt(a)-48;i*=r,i+=u>=49?u-49+10:u>=17?u-17+10:u}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=u(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=u(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,c=0,f=n;f<u;f+=r)c=s(t,f,f+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var l=1;for(c=s(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],f=[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],l=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?c[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 d=f[t],h=l[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(t);n=(p=p.idivn(h)).isZero()?g+n:c[d-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,u,s="le"===e,c=new t(o),f=this.clone();if(s){for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[u]=a;for(;u<o;u++)c[u]=0}else{for(u=0;u<o-i;u++)c[u]=0;for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[o-u-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var h=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function p(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(h=d),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?h(this,t,e):n<63?d(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,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):p(this,t,e)},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"===typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this.strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new S(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.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 b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"===typeof t){var e=o._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 O(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):n.strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(v,b),v.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},v.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(y,b),i(_,b),i(w,b),w.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new v;else if("p224"===t)e=new y;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return m[t]=e,e},S.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},S.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},S.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,S),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},function(t,e,n){"use strict";var r=e,i=n(149),o=n(95),a=n(261);r.assert=o,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 i=1<<e+1,o=t.clone(),a=0;a<r.length;a++){var u,s=o.andln(i-1);o.isOdd()?(u=s>(i>>1)-1?(i>>1)-s:s,o.isubn(u)):u=0,r[a]=u,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,u,s=t.andln(3)+i&3,c=e.andln(3)+o&3;3===s&&(s=-1),3===c&&(c=-1),a=0===(1&s)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?s:-s,n[0].push(a),u=0===(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==s?c:-c,n[1].push(u),2*i===a+1&&(i=1-i),2*o===u+1&&(o=1-o),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 i(t,"hex","le")}},function(t,e,n){"use strict";var r=n(48);function i(t,e){return t.replace("{0}",e[0]).replace("{1}",e[1]).replace("{2}",e[2])}var o=function(t,e){var n=function(){if(r.isString(e.message))this.message=i(e.message,arguments);else{if(!r.isFunction(e.message))throw new Error("Invalid error definition for "+e.name);this.message=e.message.apply(null,arguments)}this.stack=this.message+"\n"+(new Error).stack};return(n.prototype=Object.create(t.prototype)).name=t.prototype.name+e.name,t[e.name]=n,e.errors&&a(n,e.errors),n},a=function(t,e){r.each(e,(function(e){o(t,e)}))},u={Error:function(){this.message="Internal error",this.stack=this.message+"\n"+(new Error).stack}};u.Error.prototype=Object.create(Error.prototype),u.Error.prototype.name="bitcore.Error";var s,c=n(871);s=u.Error,a(s,c),t.exports=u.Error,t.exports.extend=function(t){return o(u.Error,t)}},function(t,e,n){"use strict";var r=e,i=n(150),o=n(95),a=n(261);r.assert=o,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 i=1<<e+1,o=t.clone(),a=0;a<r.length;a++){var u,s=o.andln(i-1);o.isOdd()?(u=s>(i>>1)-1?(i>>1)-s:s,o.isubn(u)):u=0,r[a]=u,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,u,s=t.andln(3)+i&3,c=e.andln(3)+o&3;3===s&&(s=-1),3===c&&(c=-1),a=0===(1&s)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?s:-s,n[0].push(a),u=0===(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==s?c:-c,n[1].push(u),2*i===a+1&&(i=1-i),2*o===u+1&&(o=1-o),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 i(t,"hex","le")}},function(t,e,n){"use strict";var r=e,i=n(151),o=n(95),a=n(261);r.assert=o,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 i=1<<e+1,o=t.clone(),a=0;a<r.length;a++){var u,s=o.andln(i-1);o.isOdd()?(u=s>(i>>1)-1?(i>>1)-s:s,o.isubn(u)):u=0,r[a]=u,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,u,s=t.andln(3)+i&3,c=e.andln(3)+o&3;3===s&&(s=-1),3===c&&(c=-1),a=0===(1&s)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?s:-s,n[0].push(a),u=0===(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==s?c:-c,n[1].push(u),2*i===a+1&&(i=1-i),2*o===u+1&&(o=1-o),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 i(t,"hex","le")}},function(t,e,n){t.exports=n(512),t.exports.Interpreter=n(514)},function(t,e,n){"use strict";function r(t){var e=t.props,n=t.states,r=t.muiFormControl;return n.reduce((function(t,n){return t[n]=e[n],r&&"undefined"===typeof e[n]&&(t[n]=r[n]),t}),{})}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(16);function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}var o=n(225);var a=n(61);var u="function"===typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e},s=n(98),c=n(247);function f(t,e,n,r){var a=i(t),u=i(e);function s(t,e){return l(t,e,n.slice(),r.slice())}return!Object(o.a)((function(t,e){return!Object(o.a)(s,e,t)}),u,a)}function l(t,e,n,r){if(u(t,e))return!0;var i=Object(c.a)(t);if(i!==Object(c.a)(e))return!1;if(null==t||null==e)return!1;if("function"===typeof t["fantasy-land/equals"]||"function"===typeof e["fantasy-land/equals"])return"function"===typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"===typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"===typeof t.equals||"function"===typeof e.equals)return"function"===typeof t.equals&&t.equals(e)&&"function"===typeof e.equals&&e.equals(t);switch(i){case"Arguments":case"Array":case"Object":if("function"===typeof t.constructor&&"Promise"===function(t){var e=String(t).match(/^function (\w*)/);return null==e?"":e[1]}(t.constructor))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!==typeof e||!u(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!u(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var o=n.length-1;o>=0;){if(n[o]===t)return r[o]===e;o-=1}switch(i){case"Map":return t.size===e.size&&f(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&f(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var d=Object(s.a)(t);if(d.length!==Object(s.a)(e).length)return!1;var h=n.concat([t]),p=r.concat([e]);for(o=d.length-1;o>=0;){var g=d[o];if(!Object(a.a)(g,e)||!l(e[g],t[g],h,p))return!1;o-=1}return!0}var d=Object(r.a)((function(t,e){return l(t,e,[],[])}));e.a=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function o(t){var e=r.useRef(t);return i((function(){e.current=t})),r.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var r=function(t){return t.scrollTop};function i(t,e){var n=t.timeout,r=t.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[e.mode]||0,delay:i.transitionDelay}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return A})),n.d(e,"d",(function(){return C})),n.d(e,"c",(function(){return g})),n.d(e,"f",(function(){return m})),n.d(e,"e",(function(){return p}));var r=n(4);function i(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,i=t.length;r<i;n+=1,r+=1)t[n]=t[r];t.pop()}var a=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],a=e&&e.split("/")||[],u=t&&i(t),s=e&&i(e),c=u||s;if(t&&i(t)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var f=a[a.length-1];n="."===f||".."===f||""===f}else n=!1;for(var l=0,d=a.length;d>=0;d--){var h=a[d];"."===h?o(a,d):".."===h?(o(a,d),l++):l&&(o(a,d),l--)}if(!c)for(;l--;l)a.unshift("..");!c||""===a[0]||a[0]&&i(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function u(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var s=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=u(e),i=u(n);return r!==e||i!==n?t(r,i):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1},c=n(110);function f(t){return"/"===t.charAt(0)?t:"/"+t}function l(t){return"/"===t.charAt(0)?t.substr(1):t}function d(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 p(t){var e=t.pathname,n=t.search,r=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function g(t,e,n,i){var o;"string"===typeof t?(o=function(t){var e=t||"/",n="",r="",i=e.indexOf("#");-1!==i&&(r=e.substr(i),e=e.substr(0,i));var o=e.indexOf("?");return-1!==o&&(n=e.substr(o),e=e.substr(0,o)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=Object(r.a)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(u){throw u instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):u}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function m(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&s(t.state,e.state)}function b(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,i){if(null!=t){var o="function"===typeof t?t(e,n):t;"string"===typeof o?"function"===typeof r?r(o,i):i(!0):i(!1!==o)}else i(!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;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var v=!("undefined"===typeof window||!window.document||!window.document.createElement);function y(t,e){e(window.confirm(t))}var _="popstate",w="hashchange";function S(){try{return window.history.state||{}}catch(t){return{}}}function O(t){void 0===t&&(t={}),v||Object(c.a)(!1);var e=window.history,n=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=t,a=o.forceRefresh,u=void 0!==a&&a,s=o.getUserConfirmation,l=void 0===s?y:s,m=o.keyLength,O=void 0===m?6:m,x=t.basename?h(f(t.basename)):"";function E(t){var e=t||{},n=e.key,r=e.state,i=window.location,o=i.pathname+i.search+i.hash;return x&&(o=d(o,x)),g(o,r,n)}function M(){return Math.random().toString(36).substr(2,O)}var T=b();function $(t){Object(r.a)(B,t),B.length=e.length,T.notifyListeners(B.location,B.action)}function A(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||I(E(t.state))}function k(){I(E(S()))}var C=!1;function I(t){if(C)C=!1,$();else{T.confirmTransitionTo(t,"POP",l,(function(e){e?$({action:"POP",location:t}):function(t){var e=B.location,n=N.indexOf(e.key);-1===n&&(n=0);var r=N.indexOf(t.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,j(i))}(t)}))}}var P=E(S()),N=[P.key];function R(t){return x+p(t)}function j(t){e.go(t)}var D=0;function L(t){1===(D+=t)&&1===t?(window.addEventListener(_,A),i&&window.addEventListener(w,k)):0===D&&(window.removeEventListener(_,A),i&&window.removeEventListener(w,k))}var F=!1;var B={length:e.length,action:"POP",location:P,createHref:R,push:function(t,r){var i="PUSH",o=g(t,r,M(),B.location);T.confirmTransitionTo(o,i,l,(function(t){if(t){var r=R(o),a=o.key,s=o.state;if(n)if(e.pushState({key:a,state:s},null,r),u)window.location.href=r;else{var c=N.indexOf(B.location.key),f=N.slice(0,c+1);f.push(o.key),N=f,$({action:i,location:o})}else window.location.href=r}}))},replace:function(t,r){var i="REPLACE",o=g(t,r,M(),B.location);T.confirmTransitionTo(o,i,l,(function(t){if(t){var r=R(o),a=o.key,s=o.state;if(n)if(e.replaceState({key:a,state:s},null,r),u)window.location.replace(r);else{var c=N.indexOf(B.location.key);-1!==c&&(N[c]=o.key),$({action:i,location:o})}else window.location.replace(r)}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var e=T.setPrompt(t);return F||(L(1),F=!0),function(){return F&&(F=!1,L(-1)),e()}},listen:function(t){var e=T.appendListener(t);return L(1),function(){L(-1),e()}}};return B}var x="hashchange",E={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+l(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:l,decodePath:f},slash:{encodePath:f,decodePath:f}};function M(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function T(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function $(t){window.location.replace(M(window.location.href)+"#"+t)}function A(t){void 0===t&&(t={}),v||Object(c.a)(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),i=n.getUserConfirmation,o=void 0===i?y:i,a=n.hashType,u=void 0===a?"slash":a,s=t.basename?h(f(t.basename)):"",l=E[u],m=l.encodePath,_=l.decodePath;function w(){var t=_(T());return s&&(t=d(t,s)),g(t)}var S=b();function O(t){Object(r.a)(B,t),B.length=e.length,S.notifyListeners(B.location,B.action)}var A=!1,k=null;function C(){var t,e,n=T(),r=m(n);if(n!==r)$(r);else{var i=w(),a=B.location;if(!A&&(e=i,(t=a).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(k===p(i))return;k=null,function(t){if(A)A=!1,O();else{var e="POP";S.confirmTransitionTo(t,e,o,(function(n){n?O({action:e,location:t}):function(t){var e=B.location,n=R.lastIndexOf(p(e));-1===n&&(n=0);var r=R.lastIndexOf(p(t));-1===r&&(r=0);var i=n-r;i&&(A=!0,j(i))}(t)}))}}(i)}}var I=T(),P=m(I);I!==P&&$(P);var N=w(),R=[p(N)];function j(t){e.go(t)}var D=0;function L(t){1===(D+=t)&&1===t?window.addEventListener(x,C):0===D&&window.removeEventListener(x,C)}var F=!1;var B={length:e.length,action:"POP",location:N,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=M(window.location.href)),n+"#"+m(s+p(t))},push:function(t,e){var n="PUSH",r=g(t,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(t){if(t){var e=p(r),i=m(s+e);if(T()!==i){k=e,function(t){window.location.hash=t}(i);var o=R.lastIndexOf(p(B.location)),a=R.slice(0,o+1);a.push(e),R=a,O({action:n,location:r})}else O()}}))},replace:function(t,e){var n="REPLACE",r=g(t,void 0,void 0,B.location);S.confirmTransitionTo(r,n,o,(function(t){if(t){var e=p(r),i=m(s+e);T()!==i&&(k=e,$(i));var o=R.indexOf(p(B.location));-1!==o&&(R[o]=e),O({action:n,location:r})}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(t){void 0===t&&(t=!1);var e=S.setPrompt(t);return F||(L(1),F=!0),function(){return F&&(F=!1,L(-1)),e()}},listen:function(t){var e=S.appendListener(t);return L(1),function(){L(-1),e()}}};return B}function k(t,e,n){return Math.min(Math.max(t,e),n)}function C(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,i=e.initialEntries,o=void 0===i?["/"]:i,a=e.initialIndex,u=void 0===a?0:a,s=e.keyLength,c=void 0===s?6:s,f=b();function l(t){Object(r.a)(_,t),_.length=_.entries.length,f.notifyListeners(_.location,_.action)}function d(){return Math.random().toString(36).substr(2,c)}var h=k(u,0,o.length-1),m=o.map((function(t){return g(t,void 0,"string"===typeof t?d():t.key||d())})),v=p;function y(t){var e=k(_.index+t,0,_.entries.length-1),r=_.entries[e];f.confirmTransitionTo(r,"POP",n,(function(t){t?l({action:"POP",location:r,index:e}):l()}))}var _={length:m.length,action:"POP",location:m[h],index:h,entries:m,createHref:v,push:function(t,e){var r="PUSH",i=g(t,e,d(),_.location);f.confirmTransitionTo(i,r,n,(function(t){if(t){var e=_.index+1,n=_.entries.slice(0);n.length>e?n.splice(e,n.length-e,i):n.push(i),l({action:r,location:i,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",i=g(t,e,d(),_.location);f.confirmTransitionTo(i,r,n,(function(t){t&&(_.entries[_.index]=i,l({action:r,location:i}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(t){var e=_.index+t;return e>=0&&e<_.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return _}},function(t,e){t.exports={bitcoin:{messagePrefix:"\x18Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},regtest:{messagePrefix:"\x18Bitcoin Signed Message:\n",bech32:"bcrt",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},testnet:{messagePrefix:"\x18Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}}},function(t,e,n){"use strict";function r(t){return"[object String]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(103),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(t){return r.isMemo(t)?a:u[t.$$typeof]||i}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var a=f(n);l&&(a=a.concat(l(n)));for(var u=s(e),g=s(n),m=0;m<a.length;++m){var b=a[m];if(!o[b]&&(!r||!r[b])&&(!g||!g[b])&&(!u||!u[b])){var v=d(n,b);try{c(e,b,v)}catch(y){}}}}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e),a=n.getTime()-o.getTime();return a<0?-1:a>0?1:a}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(30),i=n(25),o=n(22);function a(t,e){Object(o.a)(1,arguments);var n=e||{},a=n.locale,u=a&&a.options&&a.options.weekStartsOn,s=null==u?0:Object(r.a)(u),c=null==n.weekStartsOn?s:Object(r.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=Object(i.a)(t),l=f.getUTCDay(),d=(l<c?7:0)+l-c;return f.setUTCDate(f.getUTCDate()-d),f.setUTCHours(0,0,0,0),f}},,function(t,e,n){var r,i,o;!function(a){"use strict";"object"===typeof t.exports?t.exports=a():null!=n(148)?(i=[],void 0===(o="function"===typeof(r=a)?r.apply(e,i):r)||(t.exports=o)):self.sanctuaryShow=a()}((function(){"use strict";var t="@@show",e=[];function n(t){return function(e){return r(e)+": "+r(t[e])}}function r(i){if(e.indexOf(i)>=0)return"<Circular>";switch(Object.prototype.toString.call(i)){case"[object Boolean]":return"object"===typeof i?"new Boolean ("+r(i.valueOf())+")":i.toString();case"[object Number]":return"object"===typeof i?"new Number ("+r(i.valueOf())+")":1/i===-1/0?"-0":i.toString(10);case"[object String]":return"object"===typeof i?"new String ("+r(i.valueOf())+")":JSON.stringify(i);case"[object Date]":return"new Date ("+r(isNaN(i.valueOf())?NaN:i.toISOString())+")";case"[object Error]":return"new "+i.name+" ("+r(i.message)+")";case"[object Arguments]":return"function () { return arguments; } ("+Array.prototype.map.call(i,r).join(", ")+")";case"[object Array]":e.push(i);try{return"["+i.map(r).concat(Object.keys(i).sort().filter((function(t){return!/^\d+$/.test(t)})).map(n(i))).join(", ")+"]"}finally{e.pop()}case"[object Object]":e.push(i);try{return!(t in i)||null!=i.constructor&&i.constructor.prototype===i?"{"+Object.keys(i).sort().map(n(i)).join(", ")+"}":i[t]()}finally{e.pop()}default:return String(i)}}return r}))},function(t,e,n){var r,i,o;!function(a){"use strict";"object"===typeof t.exports?t.exports=a(n(198)):null!=n(148)?(i=[n(198)],void 0===(o="function"===typeof(r=a)?r.apply(e,i):r)||(t.exports=o)):self.sanctuaryTypeClasses=a(self.sanctuaryTypeIdentifiers)}((function(t){"use strict";if("undefined"!==typeof __doctest){__doctest.require("sanctuary-identity");var e=__doctest.require("./test/List"),n=__doctest.require("sanctuary-maybe");__doctest.require("sanctuary-pair"),__doctest.require("./test/Sum"),e.Nil,e.Cons,n.Nothing,n.Just}function r(t){return function(e){return t.concat(e)}}function i(t){return function(e){return t}}function o(t,e){Object.keys(t).forEach(e,t)}function a(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function u(t){return t}function s(t){return function(e){return[t,e]}}function c(e,n){return typeof e===typeof n&&t(e)===t(n)}function f(t){return Object.keys(t).sort()}function l(t){return function(e){return t(e)}}function d(t){return{value:t,done:!1}}function h(t){return{value:t,done:!0}}function p(t,e,n,r){if(!(this instanceof p))return new p(t,e,n,r);this.name=t,this.url=e,this.test=function(t){return n.every((function(e){return e.test(t)}))&&r(t)}}p["@@type"]="sanctuary-type-classes/TypeClass@1";var g="Constructor",m="Value";function b(t,e,n){for(var r=n,i=0;i<e.length;i+=1){var o=e[i];if(null==r||!t&&!a(o,r))return null;r=r[o]}return"function"===typeof r?r:null}function v(t,e){return b(!0,t,e)}function y(t){return b(!1,t,Q)}var _=a("name",(function(){}))?function(t){return t.name}:function(t){var e=/function (\w*)/.exec(t);return null==e?"":e[1]};function w(e,n,r){function i(e){var n="fantasy-land/"+e;return r[e]===g?function(t){var e=v([n],t);return null==e&&"function"===typeof t?y([_(t),n]):e}:function(e){var r=null;return null!=e&&null!=e.constructor&&e.constructor.prototype===e||(r=v([n],e)),null==r&&(r=y([t(e),"prototype",n])),r&&r.bind(e)}}var o=Object.keys(r),a=p("sanctuary-type-classes/"+e,"https://github.com/sanctuary-js/sanctuary-type-classes/tree/v11.0.0#"+e,n,(function(t){return o.every((function(e){var n=r[e]===g?t.constructor:t;return null!=i(e)(n)}))}));return a.methods=o.reduce((function(t,e){return t[e]=i(e),t}),{}),a}var S=w("Setoid",[],{equals:m}),O=w("Ord",[S],{lte:m}),x=w("Semigroupoid",[],{compose:m}),E=w("Category",[x],{id:g}),M=w("Semigroup",[],{concat:m}),T=w("Monoid",[M],{empty:g}),$=w("Group",[T],{invert:m}),A=w("Filterable",[],{filter:m}),k=w("Functor",[],{map:m}),C=w("Bifunctor",[k],{bimap:m}),I=w("Profunctor",[k],{promap:m}),P=w("Apply",[k],{ap:m}),N=w("Applicative",[P],{of:g}),R=w("Chain",[P],{chain:m}),j=w("ChainRec",[R],{chainRec:g}),D=w("Monad",[N,R],{}),L=w("Alt",[k],{alt:m}),F=w("Plus",[L],{zero:g}),B=w("Alternative",[N,F],{}),U=w("Foldable",[],{reduce:m}),z=w("Traversable",[k,U],{traverse:m}),H=w("Extend",[k],{extend:m}),V=w("Comonad",[H],{extract:m}),q=w("Contravariant",[],{contramap:m});function W(t){return[t]}function G(t){if(t.length!==this.length)return!1;for(var e=0;e<this.length;e+=1)if(!X(this[e],t[e]))return!1;return!0}function K(t){for(var e=0;;e+=1){if(e===this.length)return!0;if(e===t.length)return!1;if(!X(this[e],t[e]))return tt(this[e],t[e])}}function Y(t){return this.concat(t)}function Z(t){var e={};function n(t){e[t]=this[t]}return o(this,n),o(t,n),e}var Q={Null:{prototype:{"fantasy-land/equals":function(t){return!0},"fantasy-land/lte":function(t){return!0}}},Undefined:{prototype:{"fantasy-land/equals":function(t){return!0},"fantasy-land/lte":function(t){return!0}}},Boolean:{prototype:{"fantasy-land/equals":function(t){return"object"===typeof this?X(this.valueOf(),t.valueOf()):this===t},"fantasy-land/lte":function(t){return"object"===typeof this?tt(this.valueOf(),t.valueOf()):!1===this||!0===t}}},Number:{prototype:{"fantasy-land/equals":function(t){return"object"===typeof this?X(this.valueOf(),t.valueOf()):isNaN(this)&&isNaN(t)||this===t},"fantasy-land/lte":function(t){return"object"===typeof this?tt(this.valueOf(),t.valueOf()):isNaN(this)||this<=t}}},Date:{prototype:{"fantasy-land/equals":function(t){return X(this.valueOf(),t.valueOf())},"fantasy-land/lte":function(t){return tt(this.valueOf(),t.valueOf())}}},RegExp:{prototype:{"fantasy-land/equals":function(t){return t.source===this.source&&t.global===this.global&&t.ignoreCase===this.ignoreCase&&t.multiline===this.multiline&&t.sticky===this.sticky&&t.unicode===this.unicode}}},String:{"fantasy-land/empty":function(){return""},prototype:{"fantasy-land/equals":function(t){return"object"===typeof this?X(this.valueOf(),t.valueOf()):this===t},"fantasy-land/lte":function(t){return"object"===typeof this?tt(this.valueOf(),t.valueOf()):this<=t},"fantasy-land/concat":function(t){return this+t}}},Array:{"fantasy-land/empty":function(){return[]},"fantasy-land/of":W,"fantasy-land/chainRec":function(t,e){for(var n=[],r={},i={head:e,tail:r};i!==r;){for(var o=r,a=t(d,h,i.head),u=0;u<a.length;u+=1){var s=a[u];s.done?n.push(s.value):o={head:s.value,tail:o}}for(i=i.tail;o!==r;)i={head:o.head,tail:i},o=o.tail}return n},"fantasy-land/zero":function(){return[]},prototype:{"fantasy-land/equals":G,"fantasy-land/lte":K,"fantasy-land/concat":Y,"fantasy-land/filter":function(t){return this.filter((function(e){return t(e)}))},"fantasy-land/map":function(t){return this.map((function(e){return t(e)}))},"fantasy-land/ap":function(t){for(var e=[],n=0;n<t.length;n+=1)for(var r=0;r<this.length;r+=1)e.push(t[n](this[r]));return e},"fantasy-land/chain":function(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=0,i=t(this[n]);r<i.length;r+=1)e.push(i[r]);return e},"fantasy-land/alt":Y,"fantasy-land/reduce":function(t,e){for(var n=e,r=0;r<this.length;r+=1)n=t(n,this[r]);return n},"fantasy-land/traverse":function(t,e){var n=this;function i(o,a){switch(a){case 0:return ft(t,[]);case 2:return ct(s,e(n[o]),e(n[o+1]));default:var u=2*Math.floor(a/4);return ct(r,i(o,u),i(o+u,a-u))}}return this.length%2===1?ct(r,at(W,e(this[0])),i(1,this.length-1)):i(0,this.length)},"fantasy-land/extend":function(t){return this.map((function(e,n,r){return t(r.slice(n))}))}}},Arguments:{prototype:{"fantasy-land/equals":function(t){return G.call(this,t)},"fantasy-land/lte":function(t){return K.call(this,t)}}},Error:{prototype:{"fantasy-land/equals":function(t){return X(this.name,t.name)&&X(this.message,t.message)}}},Object:{"fantasy-land/empty":function(){return{}},"fantasy-land/zero":function(){return{}},prototype:{"fantasy-land/equals":function(t){var e=this,n=f(this);return X(n,f(t))&&n.every((function(n){return X(e[n],t[n])}))},"fantasy-land/lte":function(t){for(var e=f(this),n=f(t);;){if(0===e.length)return!0;if(0===n.length)return!1;var r=e.shift(),i=n.shift();if(r<i)return!0;if(r>i)return!1;if(!X(this[r],t[r]))return tt(this[r],t[r])}},"fantasy-land/concat":Z,"fantasy-land/filter":function(t){var e={};return o(this,(function(n){t(this[n])&&(e[n]=this[n])})),e},"fantasy-land/map":function(t){var e={};return o(this,(function(n){e[n]=t(this[n])})),e},"fantasy-land/ap":function(t){var e={};return o(this,(function(n){a(n,t)&&(e[n]=t[n](this[n]))})),e},"fantasy-land/alt":Z,"fantasy-land/reduce":function(t,e){var n=this;return f(this).reduce((function(e,r){return t(e,n[r])}),e)},"fantasy-land/traverse":function(t,e){var n=this;return Object.keys(this).reduce((function(t,r){return ct((function(t){return function(e){var n={};return n[r]=e,Z.call(t,n)}}),t,e(n[r]))}),ft(t,{}))}}},Function:{"fantasy-land/id":function(){return u},"fantasy-land/of":function(t){return function(e){return t}},"fantasy-land/chainRec":function(t,e){return function(n){for(var r=d(e);!r.done;)r=t(d,h,r.value)(n);return r.value}},prototype:{"fantasy-land/equals":function(t){return t===this},"fantasy-land/compose":function(t){var e=this;return function(n){return t(e(n))}},"fantasy-land/map":function(t){var e=this;return function(n){return t(e(n))}},"fantasy-land/promap":function(t,e){var n=this;return function(r){return e(n(t(r)))}},"fantasy-land/ap":function(t){var e=this;return function(n){return t(n)(e(n))}},"fantasy-land/chain":function(t){var e=this;return function(n){return t(e(n))(n)}},"fantasy-land/extend":function(t){var e=this;return function(n){return t((function(t){return e(rt(n,t))}))}},"fantasy-land/contramap":function(t){var e=this;return function(n){return e(t(n))}}}}},X=function(){var t=[];return function(e,n){if(!c(e,n))return!1;if(t.some((function(t){return t[0]===e&&t[1]===n})))return!0;t.push([e,n]);try{return S.test(e)&&S.test(n)&&S.methods.equals(e)(n)}finally{t.pop()}}}();function J(t,e){return c(t,e)&&!tt(e,t)}var tt=function(){var t=[];return function(e,n){if(!c(e,n))return!1;if(t.some((function(t){return t[0]===e&&t[1]===n})))return X(e,n);t.push([e,n]);try{return O.test(e)&&O.test(n)&&O.methods.lte(e)(n)}finally{t.pop()}}}();function et(t,e){return tt(t,e)?t:e}function nt(t,e){return tt(t,e)?e:t}function rt(t,e){return M.methods.concat(t)(e)}function it(t){return T.methods.empty(t)()}function ot(t,e){return A.methods.filter(e)(t)}function at(t,e){return k.methods.map(e)(t)}function ut(t,e,n){return C.methods.bimap(n)(t,e)}function st(t,e){return P.methods.ap(e)(t)}function ct(t,e,n){return st(at(t,e),n)}function ft(t,e){return N.methods.of(t)(e)}function lt(t,e){return R.methods.chain(e)(t)}function dt(t,e,n){return U.methods.reduce(n)(t,e)}function ht(t,e){return Array.isArray(e)?e.some(l(t)):dt((function(e,n){return e||t(n)}),!1,e)}function pt(t,e){var n=dt((function(e,n){return e.push({idx:e.length,x:n,fx:t(n)}),e}),[],e),r=function(t){switch(typeof(t&&t.fx)){case"number":return function(t,e){return t<=e||t!==t};case"string":return function(t,e){return t<=e};default:return tt}}(n[0]);if(n.sort((function(t,e){return r(t.fx,e.fx)?r(e.fx,t.fx)?t.idx-e.idx:-1:1})),Array.isArray(e)){for(var i=0;i<n.length;i+=1)n[i]=n[i].x;return n}var o=e.constructor,a=it(o);for(i=0;i<n.length;i+=1)a=rt(a,ft(o,n[i].x));return a}function gt(t,e,n){return z.methods.traverse(n)(t,e)}function mt(t,e){return H.methods.extend(e)(t)}return{TypeClass:p,Setoid:S,Ord:O,Semigroupoid:x,Category:E,Semigroup:M,Monoid:T,Group:$,Filterable:A,Functor:k,Bifunctor:C,Profunctor:I,Apply:P,Applicative:N,Chain:R,ChainRec:j,Monad:D,Alt:L,Plus:F,Alternative:B,Foldable:U,Traversable:z,Extend:H,Comonad:V,Contravariant:q,equals:X,lt:J,lte:tt,gt:function(t,e){return J(e,t)},gte:function(t,e){return tt(e,t)},min:et,max:nt,clamp:function(t,e,n){return nt(t,et(e,n))},compose:function(t,e){return x.methods.compose(e)(t)},id:function(t){return E.methods.id(t)()},concat:rt,empty:it,invert:function(t){return $.methods.invert(t)()},filter:ot,reject:function(t,e){return ot((function(e){return!t(e)}),e)},map:at,flip:function(t,e){return k.methods.map(t)(function(t){return function(e){return e(t)}}(e))},bimap:ut,mapLeft:function(t,e){return ut(t,u,e)},promap:function(t,e,n){return I.methods.promap(n)(t,e)},ap:st,lift2:ct,lift3:function(t,e,n,r){return st(st(at(t,e),n),r)},apFirst:function(t,e){return ct(i,t,e)},apSecond:function(t,e){return ct(i(u),t,e)},of:ft,append:function(t,e){return rt(e,ft(e.constructor,t))},prepend:function(t,e){return rt(ft(e.constructor,t),e)},chain:lt,join:function(t){return lt(u,t)},chainRec:function(t,e,n){return j.methods.chainRec(t)(e,n)},alt:function(t,e){return L.methods.alt(t)(e)},zero:function(t){return F.methods.zero(t)()},reduce:dt,size:function(t){return Array.isArray(t)?t.length:dt((function(t,e){return t+1}),0,t)},all:function(t,e){return Array.isArray(e)?e.every(l(t)):dt((function(e,n){return e&&t(n)}),!0,e)},any:ht,none:function(t,e){return!ht(t,e)},elem:function(t,e){return ht((function(e){return X(t,e)}),e)},foldMap:function(t,e,n){return dt((function(t,n){return rt(t,e(n))}),it(t),n)},reverse:function(t){if(Array.isArray(t))return t.slice().reverse();var e=t.constructor;return dt((function(t,n){return rt(ft(e,n),t)}),it(e),t)},sort:function(t){return pt(u,t)},sortBy:pt,traverse:gt,sequence:function(t,e){return gt(t,u,e)},extend:mt,duplicate:function(t){return mt(u,t)},extract:function(t){return V.methods.extract(t)()},contramap:function(t,e){return q.methods.contramap(e)(t)}}}))},function(t,e,n){"use strict";var r=n(95),i=n(37);function o(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 u(t){return 1===t.length?"0"+t:t}function s(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=i,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),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),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(i=0;i<t.length;i++)n[i]=0|t[i];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=u(t[n].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=a(i)),n+=s(i.toString(16))}return n},e.zero2=u,e.zero8=s,e.join32=function(t,e,n,i){var o=n-e;r(o%4===0);for(var a=new Array(o/4),u=0,s=e;u<a.length;u++,s+=4){var c;c="big"===i?t[s]<<24|t[s+1]<<16|t[s+2]<<8|t[s+3]:t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s],a[u]=c>>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var o=t[r];"big"===e?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|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,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o<r?1:0)+n+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,a,u){var s=0,c=e;return s+=(c=c+r>>>0)<e?1:0,s+=(c=c+o>>>0)<o?1:0,t+n+i+a+(s+=(c=c+u>>>0)<u?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,i,o,a,u){return e+r+o+u>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,a,u,s,c){var f=0,l=e;return f+=(l=l+r>>>0)<e?1:0,f+=(l=l+o>>>0)<o?1:0,f+=(l=l+u>>>0)<u?1:0,t+n+i+a+s+(f+=(l=l+c>>>0)<c?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,i,o,a,u,s,c){return e+r+o+u+c>>>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,n){var r=n(78),i=Math.pow(2,31)-1;function o(t){return r.String(t)&&t.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}o.toJSON=function(){return"BIP32 derivation path"};var a=r.quacksLike("Point"),u=r.compile({messagePrefix:r.oneOf(r.Buffer,r.String),bip32:{public:r.UInt32,private:r.UInt32},pubKeyHash:r.UInt8,scriptHash:r.UInt8,wif:r.UInt8}),s={BIP32Path:o,Buffer256bit:r.BufferN(32),ECPoint:a,Hash160bit:r.BufferN(20),Hash256bit:r.BufferN(32),Network:u,Satoshi:function(t){return r.UInt53(t)&&t<=21e14},UInt31:function(t){return r.UInt32(t)&&t<=i}};for(var c in r)s[c]=r[c];t.exports=s},function(t,e,n){(function(e){var r=n(102),i=n(202),o=n(814),a=o.bech32,u=o.bech32m,s=n(815),c=n(828);function f(t,e){for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.length&&r[i]===e[i];i++)if(i===r.length-1)return!0;return!1}function l(t,e,n){var r;try{r=a.decode(e)}catch(o){return console.log("Failed to decode bech32 address"),!1}if(0!==r.words[0])return console.log("Unsupported witness version for bech32"),!1;var i=a.fromWords(r.words.slice(1));return 20!==i.length&&32!==i.length?(console.log("Invalid bech32 address length: ".concat(i.length)),!1):"main"===t&&r.prefix===n.mainNetPrefix||"test"===t&&r.prefix===n.testNetPrefix}t.exports={base58Validator:function(t,e,n){try{var r=i.decode(e);return r.length!==n.bufferLength?(console.log("Invalid base58 address length: ".concat(r.length)),!1):!("main"!==t||!f(n.mainNetPrefix,r))||(!("test"!==t||!f(n.testNetPrefix,r))||(console.log("Unrecognized network"),!1))}catch(o){return console.log("Failed to decode base58 address:",o.message),!1}},bech32mValidator:function(t,e,n){var r;try{r=u.decode(e)}catch(a){return console.log("Failed to decode bech32m address"),!1}var i=r.words[0];if(i<1||i>16)return console.log("Unsupported witness version for bech32m"),!1;var o=u.fromWords(r.words.slice(1));if(o.length<2||o.length>40)return console.log("Invalid bech32m address length: ".concat(o.length)),!1;return"main"===t&&r.prefix===n.mainNetPrefix||"test"===t&&r.prefix===n.testNetPrefix},bech32Validator:l,isBech32Address:function(t,e){return l("main",t,e)||l("test",t,e)},zecBech32Validator:function(t,e,n){var r;try{r=a.decode(e)}catch(o){return console.log("Failed to decode bech32 address"),!1}var i=a.fromWords(r.words);if(43!==i.length)return console.log("Invalid bech32 address length: ".concat(i.length)),!1;return"main"===t&&r.prefix===n.mainNetPrefix||"test"===t&&r.prefix===n.testNetPrefix},xmrValidator:function(t,n,i){try{var o=c.decode(n),a=o.slice(-8),u=(d=function(t){if(t.length%2!==0)return null;for(var e=new Uint8Array(t.length/2),n=0;n<t.length/2;++n)e[n]=parseInt(t.slice(2*n,2*n+2),16);return e}(o.slice(0,-8)),s(e.from(d)).toString("hex").substr(0,8)),f=r.startsWith(i.mainNetPublicAddrPrefix,o)||r.startsWith(i.mainNetIntegratedAddrPrefix,o)||r.startsWith(i.mainNetSubAddrPrefix,o),l=r.startsWith(i.testNetPublicAddrPrefix,o)||r.startsWith(i.testNetIntegratedAddrPrefix,o)||r.startsWith(i.testNetSubAddrPrefix,o);return!("main"!==t||!f||a!==u)||!("test"!==t||!l||a!==u)}catch(h){return console.log("Failed to decode XMR address"),!1}var d}}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(63),i=n(267),o=function t(e){if(!(this instanceof t))return new t(e);this.bufLen=0,e?this.set(e):this.bufs=[]};o.prototype.set=function(t){return this.bufs=t.bufs||this.bufs||[],this.bufLen=this.bufs.reduce((function(t,e){return t+e.length}),0),this},o.prototype.toBuffer=function(){return this.concat()},o.prototype.concat=function(){return e.concat(this.bufs,this.bufLen)},o.prototype.write=function(t){return i(r.isBuffer(t)),this.bufs.push(t),this.bufLen+=t.length,this},o.prototype.writeReverse=function(t){return i(r.isBuffer(t)),this.bufs.push(r.reverse(t)),this.bufLen+=t.length,this},o.prototype.writeUInt8=function(t){var n=e.alloc(1);return n.writeUInt8(t,0),this.write(n),this},o.prototype.writeUInt16BE=function(t){var n=e.alloc(2);return n.writeUInt16BE(t,0),this.write(n),this},o.prototype.writeUInt16LE=function(t){var n=e.alloc(2);return n.writeUInt16LE(t,0),this.write(n),this},o.prototype.writeUInt32BE=function(t){var n=e.alloc(4);return n.writeUInt32BE(t,0),this.write(n),this},o.prototype.writeInt32LE=function(t){var n=e.alloc(4);return n.writeInt32LE(t,0),this.write(n),this},o.prototype.writeUInt32LE=function(t){var n=e.alloc(4);return n.writeUInt32LE(t,0),this.write(n),this},o.prototype.writeUInt64BEBN=function(t){var e=t.toBuffer({size:8});return this.write(e),this},o.prototype.writeUInt64LEBN=function(t){var e=t.toBuffer({size:8});return this.writeReverse(e),this},o.prototype.writeVarintNum=function(t){var e=o.varintBufNum(t);return this.write(e),this},o.prototype.writeVarintBN=function(t){var e=o.varintBufBN(t);return this.write(e),this},o.varintBufNum=function(t){var n=void 0;return t<253?(n=e.alloc(1)).writeUInt8(t,0):t<65536?((n=e.alloc(3)).writeUInt8(253,0),n.writeUInt16LE(t,1)):t<4294967296?((n=e.alloc(5)).writeUInt8(254,0),n.writeUInt32LE(t,1)):((n=e.alloc(9)).writeUInt8(255,0),n.writeInt32LE(-1&t,1),n.writeUInt32LE(Math.floor(t/4294967296),5)),n},o.varintBufBN=function(t){var n=void 0,r=t.toNumber();if(r<253)(n=e.alloc(1)).writeUInt8(r,0);else if(r<65536)(n=e.alloc(3)).writeUInt8(253,0),n.writeUInt16LE(r,1);else if(r<4294967296)(n=e.alloc(5)).writeUInt8(254,0),n.writeUInt32LE(r,1);else{var i=new o;i.writeUInt8(255),i.writeUInt64LEBN(t);n=i.concat()}return n},t.exports=o}).call(this,n(29).Buffer)},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(208),i=Object(r.a)();e.a=i},function(t,e,n){"use strict";function r(t,e){var n;e=e||[];var r=(t=t||[]).length,i=e.length,o=[];for(n=0;n<r;)o[o.length]=t[n],n+=1;for(n=0;n<i;)o[o.length]=e[n],n+=1;return o}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length,i=Array(r);n<r;)i[n]=t(e[n]),n+=1;return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){"function"===typeof t?t(e):t&&(t.current=e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return null==e?t:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r),e.apply(this,r)}}),(function(){}))}n.d(e,"a",(function(){return r}))},function(t,e,n){(function(t,r){var i;!function(o){var a=e,u=(t&&t.exports,"object"==typeof r&&r);u.global!==u&&u.window;var s=function(t){this.message=t};(s.prototype=new Error).name="InvalidCharacterError";var c=function(t){throw new s(t)},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,d={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var e,n,r,i,o=t.length%3,a="",u=-1,s=t.length-o;++u<s;)e=t.charCodeAt(u)<<16,n=t.charCodeAt(++u)<<8,r=t.charCodeAt(++u),a+=f.charAt((i=e+n+r)>>18&63)+f.charAt(i>>12&63)+f.charAt(i>>6&63)+f.charAt(63&i);return 2==o?(e=t.charCodeAt(u)<<8,n=t.charCodeAt(++u),a+=f.charAt((i=e+n)>>10)+f.charAt(i>>4&63)+f.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(u),a+=f.charAt(i>>2)+f.charAt(i<<4&63)+"=="),a},decode:function(t){var e=(t=String(t).replace(l,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var n,r,i=0,o="",a=-1;++a<e;)r=f.indexOf(t.charAt(a)),n=i%4?64*n+r:r,i++%4&&(o+=String.fromCharCode(255&n>>(-2*i&6)));return o},version:"1.0.0"};void 0===(i=function(){return d}.call(e,n,e,t))||(t.exports=i)}()}).call(this,n(94)(t),n(59))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t){Object(i.a)(1,arguments);var e=1,n=Object(r.a)(t),o=n.getUTCDay(),a=(o<e?7:0)+o-e;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u}));var r=["D","DD"],i=["YY","YYYY"];function o(t){return-1!==r.indexOf(t)}function a(t){return-1!==i.indexOf(t)}function u(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://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));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://git.io/fxCyr"));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://git.io/fxCyr"))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return ut})),n.d(e,"b",(function(){return lt})),n.d(e,"c",(function(){return dt})),n.d(e,"d",(function(){return kt}));var r=n(42),i=n.n(r),o=n(43),a=n.n(o),u=n(53),s=n.n(u),c=n(54),f=n.n(c),l=n(19),d=n.n(l),h=n(55),p=n.n(h),g=n(12),m=n.n(g),b=n(1);function v(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function y(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function _(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function w(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var n=null,r=null,i=null;if("function"===typeof e.componentWillMount?n="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?r="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?i="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==i){var o=t.displayName||t.name,a="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+o+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=v,e.componentWillReceiveProps=y),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=_;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,t,e,r)}}return t}v.__suppressDeprecationWarning=!0,y.__suppressDeprecationWarning=!0,_.__suppressDeprecationWarning=!0;var S=n(81),O=n.n(S),x=n(15);function E(t){var e=t.cellCount,n=t.cellSize,r=t.computeMetadataCallback,i=t.computeMetadataCallbackProps,o=t.nextCellsCount,a=t.nextCellSize,u=t.nextScrollToIndex,s=t.scrollToIndex,c=t.updateScrollOffsetForScrollToIndex;e===o&&("number"!==typeof n&&"number"!==typeof a||n===a)||(r(i),s>=0&&s===u&&c())}var M=n(196),T=n.n(M),$=(n(13),function(){function t(e){var n=e.cellCount,r=e.cellSizeGetter,o=e.estimatedCellSize;i()(this,t),m()(this,"_cellSizeAndPositionData",{}),m()(this,"_lastMeasuredIndex",-1),m()(this,"_lastBatchedIndex",-1),m()(this,"_cellCount",void 0),m()(this,"_cellSizeGetter",void 0),m()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=o}return a()(t,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(t){var e=t.cellCount,n=t.estimatedCellSize,r=t.cellSizeGetter;this._cellCount=e,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(t){if(t<0||t>=this._cellCount)throw Error("Requested index ".concat(t," is outside of range 0..").concat(this._cellCount));if(t>this._lastMeasuredIndex)for(var e=this.getSizeAndPositionOfLastMeasuredCell(),n=e.offset+e.size,r=this._lastMeasuredIndex+1;r<=t;r++){var i=this._cellSizeGetter({index:r});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(i));null===i?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=t):(this._cellSizeAndPositionData[r]={offset:n,size:i},n+=i,this._lastMeasuredIndex=t)}return this._cellSizeAndPositionData[t]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var t=this.getSizeAndPositionOfLastMeasuredCell();return t.offset+t.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,n=void 0===e?"auto":e,r=t.containerSize,i=t.currentOffset,o=t.targetIndex;if(r<=0)return 0;var a,u=this.getSizeAndPositionOfCell(o),s=u.offset,c=s-r+u.size;switch(n){case"start":a=s;break;case"end":a=c;break;case"center":a=s-(r-u.size)/2;break;default:a=Math.max(c,Math.min(s,i))}var f=this.getTotalSize();return Math.max(0,Math.min(f-r,a))}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,n=t.offset;if(0===this.getTotalSize())return{};var r=n+e,i=this._findNearestCell(n),o=this.getSizeAndPositionOfCell(i);n=o.offset+o.size;for(var a=i;n<r&&a<this._cellCount-1;)a++,n+=this.getSizeAndPositionOfCell(a).size;return{start:i,stop:a}}},{key:"resetCell",value:function(t){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,t-1)}},{key:"_binarySearch",value:function(t,e,n){for(;e<=t;){var r=e+Math.floor((t-e)/2),i=this.getSizeAndPositionOfCell(r).offset;if(i===n)return r;i<n?e=r+1:i>n&&(t=r-1)}return e>0?e-1:0}},{key:"_exponentialSearch",value:function(t,e){for(var n=1;t<this._cellCount&&this.getSizeAndPositionOfCell(t).offset<e;)t+=n,n*=2;return this._binarySearch(Math.min(t,this._cellCount-1),Math.floor(t/2),e)}},{key:"_findNearestCell",value:function(t){if(isNaN(t))throw Error("Invalid offset ".concat(t," specified"));t=Math.max(0,t);var e=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return e.offset>=t?this._binarySearch(n,0,t):this._exponentialSearch(n,t)}}]),t}()),A=function(){return"undefined"!==typeof window&&window.chrome?16777100:15e5},k=function(){function t(e){var n=e.maxScrollSize,r=void 0===n?A():n,o=T()(e,["maxScrollSize"]);i()(this,t),m()(this,"_cellSizeAndPositionManager",void 0),m()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new $(o),this._maxScrollSize=r}return a()(t,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(t){this._cellSizeAndPositionManager.configure(t)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:i});return Math.round(o*(i-r))}},{key:"getSizeAndPositionOfCell",value:function(t){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(t)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(t){var e=t.align,n=void 0===e?"auto":e,r=t.containerSize,i=t.currentOffset,o=t.targetIndex;i=this._safeOffsetToOffset({containerSize:r,offset:i});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:i,targetIndex:o});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(t){var e=t.containerSize,n=t.offset;return n=this._safeOffsetToOffset({containerSize:e,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:e,offset:n})}},{key:"resetCell",value:function(t){this._cellSizeAndPositionManager.resetCell(t)}},{key:"_getOffsetPercentage",value:function(t){var e=t.containerSize,n=t.offset,r=t.totalSize;return r<=e?0:n/(r-e)}},{key:"_offsetToSafeOffset",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(r===i)return n;var o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:r});return Math.round(o*(i-e))}},{key:"_safeOffsetToOffset",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(r===i)return n;var o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:i});return Math.round(o*(r-e))}}]),t}();function C(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e={};return function(n){var r=n.callback,i=n.indices,o=Object.keys(i),a=!t||o.every((function(t){var e=i[t];return Array.isArray(e)?e.length>0:e>=0})),u=o.length!==Object.keys(e).length||o.some((function(t){var n=e[t],r=i[t];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r}));e=i,a&&u&&r(i)}}function I(t){var e=t.cellSize,n=t.cellSizeAndPositionManager,r=t.previousCellsCount,i=t.previousCellSize,o=t.previousScrollToAlignment,a=t.previousScrollToIndex,u=t.previousSize,s=t.scrollOffset,c=t.scrollToAlignment,f=t.scrollToIndex,l=t.size,d=t.sizeJustIncreasedFromZero,h=t.updateScrollIndexCallback,p=n.getCellCount(),g=f>=0&&f<p;g&&(l!==u||d||!i||"number"===typeof e&&e!==i||c!==o||f!==a)?h(f):!g&&p>0&&(l<u||p<r)&&s>n.getTotalSize()-l&&h(p-1)}var P,N,R=!("undefined"===typeof window||!window.document||!window.document.createElement);function j(t){if((!P&&0!==P||t)&&R){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),P=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return P}var D,L,F=(N="undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||function(t){return N.setTimeout(t,1e3/60)},B=N.cancelAnimationFrame||N.webkitCancelAnimationFrame||N.mozCancelAnimationFrame||N.oCancelAnimationFrame||N.msCancelAnimationFrame||function(t){N.clearTimeout(t)},U=F,z=B,H=function(t){return z(t.id)},V=function(t,e){var n;Promise.resolve().then((function(){n=Date.now()}));var r={id:U((function i(){Date.now()-n>=e?t.call():r.id=U(i)}))};return r};function q(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 W(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var G="observed",K="requested",Y=(L=D=function(t){function e(t){var n;i()(this,e),n=s()(this,f()(e).call(this,t)),m()(d()(n),"_onGridRenderedMemoizer",C()),m()(d()(n),"_onScrollMemoizer",C(!1)),m()(d()(n),"_deferredInvalidateColumnIndex",null),m()(d()(n),"_deferredInvalidateRowIndex",null),m()(d()(n),"_recomputeScrollLeftFlag",!1),m()(d()(n),"_recomputeScrollTopFlag",!1),m()(d()(n),"_horizontalScrollBarSize",0),m()(d()(n),"_verticalScrollBarSize",0),m()(d()(n),"_scrollbarPresenceChanged",!1),m()(d()(n),"_scrollingContainer",void 0),m()(d()(n),"_childrenToDisplay",void 0),m()(d()(n),"_columnStartIndex",void 0),m()(d()(n),"_columnStopIndex",void 0),m()(d()(n),"_rowStartIndex",void 0),m()(d()(n),"_rowStopIndex",void 0),m()(d()(n),"_renderedColumnStartIndex",0),m()(d()(n),"_renderedColumnStopIndex",0),m()(d()(n),"_renderedRowStartIndex",0),m()(d()(n),"_renderedRowStopIndex",0),m()(d()(n),"_initialScrollTop",void 0),m()(d()(n),"_initialScrollLeft",void 0),m()(d()(n),"_disablePointerEventsTimeoutId",void 0),m()(d()(n),"_styleCache",{}),m()(d()(n),"_cellCache",{}),m()(d()(n),"_debounceScrollEndedCallback",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),m()(d()(n),"_invokeOnGridRenderedHelper",(function(){var t=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:t,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),m()(d()(n),"_setScrollingContainerRef",(function(t){n._scrollingContainer=t})),m()(d()(n),"_onScroll",(function(t){t.target===n._scrollingContainer&&n.handleScrollEvent(t.target)}));var r=new k({cellCount:t.columnCount,cellSizeGetter:function(n){return e._wrapSizeGetter(t.columnWidth)(n)},estimatedCellSize:e._getEstimatedColumnSize(t)}),o=new k({cellCount:t.rowCount,cellSizeGetter:function(n){return e._wrapSizeGetter(t.rowHeight)(n)},estimatedCellSize:e._getEstimatedRowSize(t)});return n.state={instanceProps:{columnSizeAndPositionManager:r,rowSizeAndPositionManager:o,prevColumnWidth:t.columnWidth,prevRowHeight:t.rowHeight,prevColumnCount:t.columnCount,prevRowCount:t.rowCount,prevIsScrolling:!0===t.isScrolling,prevScrollToColumn:t.scrollToColumn,prevScrollToRow:t.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},t.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(t,n.state)),t.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(t,n.state)),n}return p()(e,t),a()(e,[{key:"getOffsetForCell",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.alignment,n=void 0===e?this.props.scrollToAlignment:e,r=t.columnIndex,i=void 0===r?this.props.scrollToColumn:r,o=t.rowIndex,a=void 0===o?this.props.scrollToRow:o,u=W({},this.props,{scrollToAlignment:n,scrollToColumn:i,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(u),scrollTop:this._getCalculatedScrollTop(u)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(t){var e=t.scrollLeft,n=void 0===e?0:e,r=t.scrollTop,i=void 0===r?0:r;if(!(i<0)){this._debounceScrollEnded();var o=this.props,a=o.autoHeight,u=o.autoWidth,s=o.height,c=o.width,f=this.state.instanceProps,l=f.scrollbarSize,d=f.rowSizeAndPositionManager.getTotalSize(),h=f.columnSizeAndPositionManager.getTotalSize(),p=Math.min(Math.max(0,h-c+l),n),g=Math.min(Math.max(0,d-s+l),i);if(this.state.scrollLeft!==p||this.state.scrollTop!==g){var m={isScrolling:!0,scrollDirectionHorizontal:p!==this.state.scrollLeft?p>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:g!==this.state.scrollTop?g>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(m.scrollTop=g),u||(m.scrollLeft=p),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:h,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(t){var e=t.columnIndex,n=t.rowIndex;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,e):e,this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var t=this.props,e=t.columnCount,n=t.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(e-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r,o=this.props,a=o.scrollToColumn,u=o.scrollToRow,s=this.state.instanceProps;s.columnSizeAndPositionManager.resetCell(n),s.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=u>=0&&(1===this.state.scrollDirectionVertical?i<=u:i>=u),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(t){var e=t.columnIndex,n=t.rowIndex,r=this.props.columnCount,i=this.props;r>1&&void 0!==e&&this._updateScrollLeftForScrollToColumn(W({},i,{scrollToColumn:e})),void 0!==n&&this._updateScrollTopForScrollToRow(W({},i,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var t=this.props,n=t.getScrollbarSize,r=t.height,i=t.scrollLeft,o=t.scrollToColumn,a=t.scrollTop,u=t.scrollToRow,s=t.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(t){var e=W({},t,{needToResetStyleCache:!1});return e.instanceProps.scrollbarSize=n(),e.instanceProps.scrollbarSizeMeasured=!0,e})),"number"===typeof i&&i>=0||"number"===typeof a&&a>=0){var f=e._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:a});f&&(f.needToResetStyleCache=!1,this.setState(f))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var l=r>0&&s>0;o>=0&&l&&this._updateScrollLeftForScrollToColumn(),u>=0&&l&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(t,e){var n=this,r=this.props,i=r.autoHeight,o=r.autoWidth,a=r.columnCount,u=r.height,s=r.rowCount,c=r.scrollToAlignment,f=r.scrollToColumn,l=r.scrollToRow,d=r.width,h=this.state,p=h.scrollLeft,g=h.scrollPositionChangeReason,m=h.scrollTop,b=h.instanceProps;this._handleInvalidatedGridSize();var v=a>0&&0===t.columnCount||s>0&&0===t.rowCount;g===K&&(!o&&p>=0&&(p!==this._scrollingContainer.scrollLeft||v)&&(this._scrollingContainer.scrollLeft=p),!i&&m>=0&&(m!==this._scrollingContainer.scrollTop||v)&&(this._scrollingContainer.scrollTop=m));var y=(0===t.width||0===t.height)&&u>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):I({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:t.columnCount,previousCellSize:t.columnWidth,previousScrollToAlignment:t.scrollToAlignment,previousScrollToIndex:t.scrollToColumn,previousSize:t.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:f,size:d,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):I({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:t.rowCount,previousCellSize:t.rowHeight,previousScrollToAlignment:t.scrollToAlignment,previousScrollToIndex:t.scrollToRow,previousSize:t.height,scrollOffset:m,scrollToAlignment:c,scrollToIndex:l,size:u,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),p!==e.scrollLeft||m!==e.scrollTop){var _=b.rowSizeAndPositionManager.getTotalSize(),w=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:m,totalColumnsWidth:w,totalRowsHeight:_})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&H(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var t=this.props,e=t.autoContainerWidth,n=t.autoHeight,r=t.autoWidth,i=t.className,o=t.containerProps,a=t.containerRole,u=t.containerStyle,s=t.height,c=t.id,f=t.noContentRenderer,l=t.role,d=t.style,h=t.tabIndex,p=t.width,g=this.state,m=g.instanceProps,v=g.needToResetStyleCache,y=this._isScrolling(),_={boxSizing:"border-box",direction:"ltr",height:n?"auto":s,position:"relative",width:r?"auto":p,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=m.columnSizeAndPositionManager.getTotalSize(),S=m.rowSizeAndPositionManager.getTotalSize(),E=S>s?m.scrollbarSize:0,M=w>p?m.scrollbarSize:0;M===this._horizontalScrollBarSize&&E===this._verticalScrollBarSize||(this._horizontalScrollBarSize=M,this._verticalScrollBarSize=E,this._scrollbarPresenceChanged=!0),_.overflowX=w+E<=p?"hidden":"auto",_.overflowY=S+M<=s?"hidden":"auto";var T=this._childrenToDisplay,$=0===T.length&&s>0&&p>0;return b.createElement("div",O()({ref:this._setScrollingContainerRef},o,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Object(x.a)("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:l,style:W({},_,{},d),tabIndex:h}),T.length>0&&b.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:a,style:W({width:e?"auto":w,height:S,maxWidth:w,maxHeight:S,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},T),$&&f())}},{key:"_calculateChildrenToRender",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t.cellRenderer,r=t.cellRangeRenderer,i=t.columnCount,o=t.deferredMeasurementCache,a=t.height,u=t.overscanColumnCount,s=t.overscanIndicesGetter,c=t.overscanRowCount,f=t.rowCount,l=t.width,d=t.isScrollingOptOut,h=e.scrollDirectionHorizontal,p=e.scrollDirectionVertical,g=e.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:e.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:e.scrollLeft,v=this._isScrolling(t,e);if(this._childrenToDisplay=[],a>0&&l>0){var y=g.columnSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:b}),_=g.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:m}),w=g.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:b}),S=g.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:m});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=_.start,this._renderedRowStopIndex=_.stop;var O=s({direction:"horizontal",cellCount:i,overscanCellsCount:u,scrollDirection:h,startIndex:"number"===typeof y.start?y.start:0,stopIndex:"number"===typeof y.stop?y.stop:-1}),x=s({direction:"vertical",cellCount:f,overscanCellsCount:c,scrollDirection:p,startIndex:"number"===typeof _.start?_.start:0,stopIndex:"number"===typeof _.stop?_.stop:-1}),E=O.overscanStartIndex,M=O.overscanStopIndex,T=x.overscanStartIndex,$=x.overscanStopIndex;if(o){if(!o.hasFixedHeight())for(var A=T;A<=$;A++)if(!o.has(A,0)){E=0,M=i-1;break}if(!o.hasFixedWidth())for(var k=E;k<=M;k++)if(!o.has(0,k)){T=0,$=f-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:g.columnSizeAndPositionManager,columnStartIndex:E,columnStopIndex:M,deferredMeasurementCache:o,horizontalOffsetAdjustment:w,isScrolling:v,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:g.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:$,scrollLeft:b,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:S,visibleColumnIndices:y,visibleRowIndices:_}),this._columnStartIndex=E,this._columnStopIndex=M,this._rowStartIndex=T,this._rowStopIndex=$}}},{key:"_debounceScrollEnded",value:function(){var t=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&H(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=V(this._debounceScrollEndedCallback,t)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"===typeof this._deferredInvalidateColumnIndex&&"number"===typeof this._deferredInvalidateRowIndex){var t=this._deferredInvalidateColumnIndex,e=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:t,rowIndex:e})}}},{key:"_invokeOnScrollMemoizer",value:function(t){var e=this,n=t.scrollLeft,r=t.scrollTop,i=t.totalColumnsWidth,o=t.totalRowsHeight;this._onScrollMemoizer({callback:function(t){var n=t.scrollLeft,r=t.scrollTop,a=e.props,u=a.height;(0,a.onScroll)({clientHeight:u,clientWidth:a.width,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_isScrolling",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(t,"isScrolling")?Boolean(t.isScrolling):Boolean(e.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var t=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,t({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(t){var n=t.scrollLeft,r=t.scrollTop,i=e._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return e._getCalculatedScrollLeft(t,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e._getScrollLeftForScrollToColumnStateUpdate(t,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return e._getCalculatedScrollTop(t,n)}},{key:"_resetStyleCache",value:function(){var t=this._styleCache,e=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var o="".concat(r,"-").concat(i);this._styleCache[o]=t[o],n&&(this._cellCache[o]=e[o])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e._getScrollTopForScrollToRowStateUpdate(t,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r={};0===t.columnCount&&0!==n.scrollLeft||0===t.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(t.scrollLeft!==n.scrollLeft&&t.scrollToColumn<0||t.scrollTop!==n.scrollTop&&t.scrollToRow<0)&&Object.assign(r,e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}));var i,o,a=n.instanceProps;return r.needToResetStyleCache=!1,t.columnWidth===a.prevColumnWidth&&t.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:t.columnCount,estimatedCellSize:e._getEstimatedColumnSize(t),cellSizeGetter:e._wrapSizeGetter(t.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:t.rowCount,estimatedCellSize:e._getEstimatedRowSize(t),cellSizeGetter:e._wrapSizeGetter(t.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),t.autoHeight&&!1===t.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),E({cellCount:a.prevColumnCount,cellSize:"number"===typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:t,nextCellsCount:t.columnCount,nextCellSize:"number"===typeof t.columnWidth?t.columnWidth:null,nextScrollToIndex:t.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=e._getScrollLeftForScrollToColumnStateUpdate(t,n)}}),E({cellCount:a.prevRowCount,cellSize:"number"===typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:t,nextCellsCount:t.rowCount,nextCellSize:"number"===typeof t.rowHeight?t.rowHeight:null,nextScrollToIndex:t.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){o=e._getScrollTopForScrollToRowStateUpdate(t,n)}}),a.prevColumnCount=t.columnCount,a.prevColumnWidth=t.columnWidth,a.prevIsScrolling=!0===t.isScrolling,a.prevRowCount=t.rowCount,a.prevRowHeight=t.rowHeight,a.prevScrollToColumn=t.scrollToColumn,a.prevScrollToRow=t.scrollToRow,a.scrollbarSize=t.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},i,{},o)}},{key:"_getEstimatedColumnSize",value:function(t){return"number"===typeof t.columnWidth?t.columnWidth:t.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(t){return"number"===typeof t.rowHeight?t.rowHeight:t.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(t){var e=t.prevState,n=t.scrollLeft,r=t.scrollTop,i={scrollPositionChangeReason:K};return"number"===typeof n&&n>=0&&(i.scrollDirectionHorizontal=n>e.scrollLeft?1:-1,i.scrollLeft=n),"number"===typeof r&&r>=0&&(i.scrollDirectionVertical=r>e.scrollTop?1:-1,i.scrollTop=r),"number"===typeof n&&n>=0&&n!==e.scrollLeft||"number"===typeof r&&r>=0&&r!==e.scrollTop?i:{}}},{key:"_wrapSizeGetter",value:function(t){return"function"===typeof t?t:function(){return t}}},{key:"_getCalculatedScrollLeft",value:function(t,e){var n=t.columnCount,r=t.height,i=t.scrollToAlignment,o=t.scrollToColumn,a=t.width,u=e.scrollLeft,s=e.instanceProps;if(n>0){var c=n-1,f=o<0?c:Math.min(c,o),l=s.rowSizeAndPositionManager.getTotalSize(),d=s.scrollbarSizeMeasured&&l>r?s.scrollbarSize:0;return s.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:a-d,currentOffset:u,targetIndex:f})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(t,n){var r=n.scrollLeft,i=e._getCalculatedScrollLeft(t,n);return"number"===typeof i&&i>=0&&r!==i?e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(t,e){var n=t.height,r=t.rowCount,i=t.scrollToAlignment,o=t.scrollToRow,a=t.width,u=e.scrollTop,s=e.instanceProps;if(r>0){var c=r-1,f=o<0?c:Math.min(c,o),l=s.columnSizeAndPositionManager.getTotalSize(),d=s.scrollbarSizeMeasured&&l>a?s.scrollbarSize:0;return s.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:n-d,currentOffset:u,targetIndex:f})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(t,n){var r=n.scrollTop,i=e._getCalculatedScrollTop(t,n);return"number"===typeof i&&i>=0&&r!==i?e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:i}):{}}}]),e}(b.PureComponent),m()(D,"propTypes",null),L);m()(Y,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(t){for(var e=t.cellCache,n=t.cellRenderer,r=t.columnSizeAndPositionManager,i=t.columnStartIndex,o=t.columnStopIndex,a=t.deferredMeasurementCache,u=t.horizontalOffsetAdjustment,s=t.isScrolling,c=t.isScrollingOptOut,f=t.parent,l=t.rowSizeAndPositionManager,d=t.rowStartIndex,h=t.rowStopIndex,p=t.styleCache,g=t.verticalOffsetAdjustment,m=t.visibleColumnIndices,b=t.visibleRowIndices,v=[],y=r.areOffsetsAdjusted()||l.areOffsetsAdjusted(),_=!s&&!y,w=d;w<=h;w++)for(var S=l.getSizeAndPositionOfCell(w),O=i;O<=o;O++){var x=r.getSizeAndPositionOfCell(O),E=O>=m.start&&O<=m.stop&&w>=b.start&&w<=b.stop,M="".concat(w,"-").concat(O),T=void 0;_&&p[M]?T=p[M]:a&&!a.has(w,O)?T={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(T={height:S.size,left:x.offset+u,position:"absolute",top:S.offset+g,width:x.size},p[M]=T);var $={columnIndex:O,isScrolling:s,isVisible:E,key:M,parent:f,rowIndex:w,style:T},A=void 0;!c&&!s||u||g?A=n($):(e[M]||(e[M]=n($)),A=e[M]),null!=A&&!1!==A&&v.push(A)}return v},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:j,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(t){var e=t.cellCount,n=t.overscanCellsCount,r=t.scrollDirection,i=t.startIndex,o=t.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(e-1,o+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(e-1,o)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),w(Y);var Z=Y;function Q(t){var e=t.cellCount,n=t.overscanCellsCount,r=t.scrollDirection,i=t.startIndex,o=t.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(e-1,o+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(e-1,o+1)}}var X,J;function tt(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}var et=(J=X=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),m()(d()(n),"_columnStartIndex",0),m()(d()(n),"_columnStopIndex",0),m()(d()(n),"_rowStartIndex",0),m()(d()(n),"_rowStopIndex",0),m()(d()(n),"_onKeyDown",(function(t){var e=n.props,r=e.columnCount,i=e.disabled,o=e.mode,a=e.rowCount;if(!i){var u=n._getScrollState(),s=u.scrollToColumn,c=u.scrollToRow,f=n._getScrollState(),l=f.scrollToColumn,d=f.scrollToRow;switch(t.key){case"ArrowDown":d="cells"===o?Math.min(d+1,a-1):Math.min(n._rowStopIndex+1,a-1);break;case"ArrowLeft":l="cells"===o?Math.max(l-1,0):Math.max(n._columnStartIndex-1,0);break;case"ArrowRight":l="cells"===o?Math.min(l+1,r-1):Math.min(n._columnStopIndex+1,r-1);break;case"ArrowUp":d="cells"===o?Math.max(d-1,0):Math.max(n._rowStartIndex-1,0)}l===s&&d===c||(t.preventDefault(),n._updateScrollState({scrollToColumn:l,scrollToRow:d}))}})),m()(d()(n),"_onSectionRendered",(function(t){var e=t.columnStartIndex,r=t.columnStopIndex,i=t.rowStartIndex,o=t.rowStopIndex;n._columnStartIndex=e,n._columnStopIndex=r,n._rowStartIndex=i,n._rowStopIndex=o})),n}return p()(e,t),a()(e,[{key:"setScrollIndexes",value:function(t){var e=t.scrollToColumn,n=t.scrollToRow;this.setState({scrollToRow:n,scrollToColumn:e})}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.children,r=this._getScrollState(),i=r.scrollToColumn,o=r.scrollToRow;return b.createElement("div",{className:e,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:i,scrollToRow:o}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(t){var e=t.scrollToColumn,n=t.scrollToRow,r=this.props,i=r.isControlled,o=r.onScrollToChange;"function"===typeof o&&o({scrollToColumn:e,scrollToRow:n}),i||this.setState({scrollToColumn:e,scrollToRow:n})}}],[{key:"getDerivedStateFromProps",value:function(t,e){return t.isControlled?{}:t.scrollToColumn!==e.instanceProps.prevScrollToColumn||t.scrollToRow!==e.instanceProps.prevScrollToRow?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tt(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{scrollToColumn:t.scrollToColumn,scrollToRow:t.scrollToRow,instanceProps:{prevScrollToColumn:t.scrollToColumn,prevScrollToRow:t.scrollToRow}}):{}}}]),e}(b.PureComponent),m()(X,"propTypes",null),J);m()(et,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),w(et);var nt,rt,it=n(322);function ot(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 at(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ot(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ot(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ut=(rt=nt=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"state",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),m()(d()(n),"_parentNode",void 0),m()(d()(n),"_autoSizer",void 0),m()(d()(n),"_window",void 0),m()(d()(n),"_detectElementResize",void 0),m()(d()(n),"_onResize",(function(){var t=n.props,e=t.disableHeight,r=t.disableWidth,i=t.onResize;if(n._parentNode){var o=n._parentNode.offsetHeight||0,a=n._parentNode.offsetWidth||0,u=(n._window||window).getComputedStyle(n._parentNode)||{},s=parseInt(u.paddingLeft,10)||0,c=parseInt(u.paddingRight,10)||0,f=parseInt(u.paddingTop,10)||0,l=parseInt(u.paddingBottom,10)||0,d=o-f-l,h=a-s-c;(!e&&n.state.height!==d||!r&&n.state.width!==h)&&(n.setState({height:o-f-l,width:a-s-c}),i({height:o,width:a}))}})),m()(d()(n),"_setRef",(function(t){n._autoSizer=t})),n}return p()(e,t),a()(e,[{key:"componentDidMount",value:function(){var t=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(it.a)(t,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,r=t.disableHeight,i=t.disableWidth,o=t.style,a=this.state,u=a.height,s=a.width,c={overflow:"visible"},f={};return r||(c.height=0,f.height=u),i||(c.width=0,f.width=s),b.createElement("div",{className:n,ref:this._setRef,style:at({},c,{},o)},e(f))}}]),e}(b.Component),m()(nt,"propTypes",null),rt);m()(ut,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var st,ct,ft=n(47),lt=(ct=st=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"_child",void 0),m()(d()(n),"_measure",(function(){var t=n.props,e=t.cache,r=t.columnIndex,i=void 0===r?0:r,o=t.parent,a=t.rowIndex,u=void 0===a?n.props.index||0:a,s=n._getCellMeasurements(),c=s.height,f=s.width;c===e.getHeight(u,i)&&f===e.getWidth(u,i)||(e.set(u,i,f,c),o&&"function"===typeof o.recomputeGridSize&&o.recomputeGridSize({columnIndex:i,rowIndex:u}))})),m()(d()(n),"_registerChild",(function(t){!t||t instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),n._child=t,t&&n._maybeMeasureCell()})),n}return p()(e,t),a()(e,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var t=this.props.children;return"function"===typeof t?t({measure:this._measure,registerChild:this._registerChild}):t}},{key:"_getCellMeasurements",value:function(){var t=this.props.cache,e=this._child||Object(ft.findDOMNode)(this);if(e&&e.ownerDocument&&e.ownerDocument.defaultView&&e instanceof e.ownerDocument.defaultView.HTMLElement){var n=e.style.width,r=e.style.height;t.hasFixedWidth()||(e.style.width="auto"),t.hasFixedHeight()||(e.style.height="auto");var i=Math.ceil(e.offsetHeight),o=Math.ceil(e.offsetWidth);return n&&(e.style.width=n),r&&(e.style.height=r),{height:i,width:o}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var t=this.props,e=t.cache,n=t.columnIndex,r=void 0===n?0:n,i=t.parent,o=t.rowIndex,a=void 0===o?this.props.index||0:o;if(!e.has(a,r)){var u=this._getCellMeasurements(),s=u.height,c=u.width;e.set(a,r,c,s),i&&"function"===typeof i.invalidateCellSizeAfterRender&&i.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:a})}}}]),e}(b.PureComponent),m()(st,"propTypes",null),ct);m()(lt,"__internalCellMeasurerFlag",!1);var dt=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(this,t),m()(this,"_cellHeightCache",{}),m()(this,"_cellWidthCache",{}),m()(this,"_columnWidthCache",{}),m()(this,"_rowHeightCache",{}),m()(this,"_defaultHeight",void 0),m()(this,"_defaultWidth",void 0),m()(this,"_minHeight",void 0),m()(this,"_minWidth",void 0),m()(this,"_keyMapper",void 0),m()(this,"_hasFixedHeight",void 0),m()(this,"_hasFixedWidth",void 0),m()(this,"_columnCount",0),m()(this,"_rowCount",0),m()(this,"columnWidth",(function(t){var n=t.index,r=e._keyMapper(0,n);return void 0!==e._columnWidthCache[r]?e._columnWidthCache[r]:e._defaultWidth})),m()(this,"rowHeight",(function(t){var n=t.index,r=e._keyMapper(n,0);return void 0!==e._rowHeightCache[r]?e._rowHeightCache[r]:e._defaultHeight}));var r=n.defaultHeight,o=n.defaultWidth,a=n.fixedHeight,u=n.fixedWidth,s=n.keyMapper,c=n.minHeight,f=n.minWidth;this._hasFixedHeight=!0===a,this._hasFixedWidth=!0===u,this._minHeight=c||0,this._minWidth=f||0,this._keyMapper=s||ht,this._defaultHeight=Math.max(this._minHeight,"number"===typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"===typeof o?o:100)}return a()(t,[{key:"clear",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(t,e);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(t,e)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(t,e);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(t,e);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(t,e);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(t,e,n,r){var i=this._keyMapper(t,e);e>=this._columnCount&&(this._columnCount=e+1),t>=this._rowCount&&(this._rowCount=t+1),this._cellHeightCache[i]=r,this._cellWidthCache[i]=n,this._updateCachedColumnAndRowSizes(t,e)}},{key:"_updateCachedColumnAndRowSizes",value:function(t,e){if(!this._hasFixedWidth){for(var n=0,r=0;r<this._rowCount;r++)n=Math.max(n,this.getWidth(r,e));var i=this._keyMapper(0,e);this._columnWidthCache[i]=n}if(!this._hasFixedHeight){for(var o=0,a=0;a<this._columnCount;a++)o=Math.max(o,this.getHeight(t,a));var u=this._keyMapper(t,0);this._rowHeightCache[u]=o}}},{key:"defaultHeight",get:function(){return this._defaultHeight}},{key:"defaultWidth",get:function(){return this._defaultWidth}}]),t}();function ht(t,e){return"".concat(t,"-").concat(e)}function pt(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 gt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pt(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var mt="observed",bt="requested",vt=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),m()(d()(n),"_calculateSizeAndPositionDataOnNextUpdate",!1),m()(d()(n),"_onSectionRenderedMemoizer",C()),m()(d()(n),"_onScrollMemoizer",C(!1)),m()(d()(n),"_invokeOnSectionRenderedHelper",(function(){var t=n.props,e=t.cellLayoutManager,r=t.onSectionRendered;n._onSectionRenderedMemoizer({callback:r,indices:{indices:e.getLastRenderedIndices()}})})),m()(d()(n),"_setScrollingContainerRef",(function(t){n._scrollingContainer=t})),m()(d()(n),"_updateScrollPositionForScrollToCell",(function(){var t=n.props,e=t.cellLayoutManager,r=t.height,i=t.scrollToAlignment,o=t.scrollToCell,a=t.width,u=n.state,s=u.scrollLeft,c=u.scrollTop;if(o>=0){var f=e.getScrollPositionForCell({align:i,cellIndex:o,height:r,scrollLeft:s,scrollTop:c,width:a});f.scrollLeft===s&&f.scrollTop===c||n._setScrollPosition(f)}})),m()(d()(n),"_onScroll",(function(t){if(t.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var e=n.props,r=e.cellLayoutManager,i=e.height,o=e.isScrollingChange,a=e.width,u=n._scrollbarSize,s=r.getTotalSize(),c=s.height,f=s.width,l=Math.max(0,Math.min(f-a+u,t.target.scrollLeft)),d=Math.max(0,Math.min(c-i+u,t.target.scrollTop));if(n.state.scrollLeft!==l||n.state.scrollTop!==d){var h=t.cancelable?mt:bt;n.state.isScrolling||o(!0),n.setState({isScrolling:!0,scrollLeft:l,scrollPositionChangeReason:h,scrollTop:d})}n._invokeOnScrollMemoizer({scrollLeft:l,scrollTop:d,totalWidth:f,totalHeight:c})}})),n._scrollbarSize=j(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return p()(e,t),a()(e,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var t=this.props,e=t.cellLayoutManager,n=t.scrollLeft,r=t.scrollToCell,i=t.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=j(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(n>=0||i>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:i}),this._invokeOnSectionRenderedHelper();var o=e.getTotalSize(),a=o.height,u=o.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:i||0,totalHeight:a,totalWidth:u})}},{key:"componentDidUpdate",value:function(t,e){var n=this.props,r=n.height,i=n.scrollToAlignment,o=n.scrollToCell,a=n.width,u=this.state,s=u.scrollLeft,c=u.scrollPositionChangeReason,f=u.scrollTop;c===bt&&(s>=0&&s!==e.scrollLeft&&s!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=s),f>=0&&f!==e.scrollTop&&f!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=f)),r===t.height&&i===t.scrollToAlignment&&o===t.scrollToCell&&a===t.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var t=this.props,e=t.autoHeight,n=t.cellCount,r=t.cellLayoutManager,i=t.className,o=t.height,a=t.horizontalOverscanSize,u=t.id,s=t.noContentRenderer,c=t.style,f=t.verticalOverscanSize,l=t.width,d=this.state,h=d.isScrolling,p=d.scrollLeft,g=d.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var m=r.getTotalSize(),v=m.height,y=m.width,_=Math.max(0,p-a),w=Math.max(0,g-f),S=Math.min(y,p+l+a),O=Math.min(v,g+o+f),E=o>0&&l>0?r.cellRenderers({height:O-w,isScrolling:h,width:S-_,x:_,y:w}):[],M={boxSizing:"border-box",direction:"ltr",height:e?"auto":o,position:"relative",WebkitOverflowScrolling:"touch",width:l,willChange:"transform"},T=v>o?this._scrollbarSize:0,$=y>l?this._scrollbarSize:0;return M.overflowX=y+T<=l?"hidden":"auto",M.overflowY=v+$<=o?"hidden":"auto",b.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Object(x.a)("ReactVirtualized__Collection",i),id:u,onScroll:this._onScroll,role:"grid",style:gt({},M,{},c),tabIndex:0},n>0&&b.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:y,overflow:"hidden",pointerEvents:h?"none":"",width:y}},E),0===n&&s())}},{key:"_enablePointerEventsAfterDelay",value:function(){var t=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,t.props.isScrollingChange)(!1),t._disablePointerEventsTimeoutId=null,t.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(t){var e=this,n=t.scrollLeft,r=t.scrollTop,i=t.totalHeight,o=t.totalWidth;this._onScrollMemoizer({callback:function(t){var n=t.scrollLeft,r=t.scrollTop,a=e.props,u=a.height;(0,a.onScroll)({clientHeight:u,clientWidth:a.width,scrollHeight:i,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(t){var e=t.scrollLeft,n=t.scrollTop,r={scrollPositionChangeReason:bt};e>=0&&(r.scrollLeft=e),n>=0&&(r.scrollTop=n),(e>=0&&e!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}}],[{key:"getDerivedStateFromProps",value:function(t,e){return 0!==t.cellCount||0===e.scrollLeft&&0===e.scrollTop?t.scrollLeft!==e.scrollLeft||t.scrollTop!==e.scrollTop?{scrollLeft:null!=t.scrollLeft?t.scrollLeft:e.scrollLeft,scrollTop:null!=t.scrollTop?t.scrollTop:e.scrollTop,scrollPositionChangeReason:bt}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:bt}}}]),e}(b.PureComponent);m()(vt,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),vt.propTypes={},w(vt);var yt=vt,_t=function(){function t(e){var n=e.height,r=e.width,o=e.x,a=e.y;i()(this,t),this.height=n,this.width=r,this.x=o,this.y=a,this._indexMap={},this._indices=[]}return a()(t,[{key:"addCellIndex",value:function(t){var e=t.index;this._indexMap[e]||(this._indexMap[e]=!0,this._indices.push(e))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),t}(),wt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;i()(this,t),this._sectionSize=e,this._cellMetadata=[],this._sections={}}return a()(t,[{key:"getCellIndices",value:function(t){var e=t.height,n=t.width,r=t.x,i=t.y,o={};return this.getSections({height:e,width:n,x:r,y:i}).forEach((function(t){return t.getCellIndices().forEach((function(t){o[t]=t}))})),Object.keys(o).map((function(t){return o[t]}))}},{key:"getCellMetadata",value:function(t){var e=t.index;return this._cellMetadata[e]}},{key:"getSections",value:function(t){for(var e=t.height,n=t.width,r=t.x,i=t.y,o=Math.floor(r/this._sectionSize),a=Math.floor((r+n-1)/this._sectionSize),u=Math.floor(i/this._sectionSize),s=Math.floor((i+e-1)/this._sectionSize),c=[],f=o;f<=a;f++)for(var l=u;l<=s;l++){var d="".concat(f,".").concat(l);this._sections[d]||(this._sections[d]=new _t({height:this._sectionSize,width:this._sectionSize,x:f*this._sectionSize,y:l*this._sectionSize})),c.push(this._sections[d])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var t=this;return Object.keys(this._sections).map((function(e){return t._sections[e].toString()}))}},{key:"registerCell",value:function(t){var e=t.cellMetadatum,n=t.index;this._cellMetadata[n]=e,this.getSections(e).forEach((function(t){return t.addCellIndex({index:n})}))}}]),t}();function St(t){var e=t.align,n=void 0===e?"auto":e,r=t.cellOffset,i=t.cellSize,o=t.containerSize,a=t.currentOffset,u=r,s=u-o+i;switch(n){case"start":return u;case"end":return s;case"center":return u-(o-i)/2;default:return Math.max(s,Math.min(u,a))}}var Ot=function(t){function e(t,n){var r;return i()(this,e),(r=s()(this,f()(e).call(this,t,n)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(d()(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(d()(r)),r}return p()(e,t),a()(e,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var t=O()({},this.props);return b.createElement(yt,O()({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},t))}},{key:"calculateSizeAndPositionData",value:function(){var t=this.props,e=function(t){for(var e=t.cellCount,n=t.cellSizeAndPositionGetter,r=t.sectionSize,i=[],o=new wt(r),a=0,u=0,s=0;s<e;s++){var c=n({index:s});if(null==c.height||isNaN(c.height)||null==c.width||isNaN(c.width)||null==c.x||isNaN(c.x)||null==c.y||isNaN(c.y))throw Error("Invalid metadata returned for cell ".concat(s,":\n x:").concat(c.x,", y:").concat(c.y,", width:").concat(c.width,", height:").concat(c.height));a=Math.max(a,c.y+c.height),u=Math.max(u,c.x+c.width),i[s]=c,o.registerCell({cellMetadatum:c,index:s})}return{cellMetadata:i,height:a,sectionManager:o,width:u}}({cellCount:t.cellCount,cellSizeAndPositionGetter:t.cellSizeAndPositionGetter,sectionSize:t.sectionSize});this._cellMetadata=e.cellMetadata,this._sectionManager=e.sectionManager,this._height=e.height,this._width=e.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(t){var e=t.align,n=t.cellIndex,r=t.height,i=t.scrollLeft,o=t.scrollTop,a=t.width,u=this.props.cellCount;if(n>=0&&n<u){var s=this._cellMetadata[n];i=St({align:e,cellOffset:s.x,cellSize:s.width,containerSize:a,currentOffset:i,targetIndex:n}),o=St({align:e,cellOffset:s.y,cellSize:s.height,containerSize:r,currentOffset:o,targetIndex:n})}return{scrollLeft:i,scrollTop:o}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(t){var e=this,n=t.height,r=t.isScrolling,i=t.width,o=t.x,a=t.y,u=this.props,s=u.cellGroupRenderer,c=u.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:n,width:i,x:o,y:a}),s({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function(t){var n=t.index;return e._sectionManager.getCellMetadata({index:n})},indices:this._lastRenderedCellIndices,isScrolling:r})}},{key:"_isScrollingChange",value:function(t){t||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(t){this._collectionView=t}}]),e}(b.PureComponent);m()(Ot,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(t){var e=t.cellCache,n=t.cellRenderer,r=t.cellSizeAndPositionGetter,i=t.indices,o=t.isScrolling;return i.map((function(t){var i=r({index:t}),a={index:t,isScrolling:o,key:t,style:{height:i.height,left:i.x,position:"absolute",top:i.y,width:i.width}};return o?(t in e||(e[t]=n(a)),e[t]):n(a)})).filter((function(t){return!!t}))}}),Ot.propTypes={};var xt=function(t){function e(t,n){var r;return i()(this,e),(r=s()(this,f()(e).call(this,t,n)))._registerChild=r._registerChild.bind(d()(r)),r}return p()(e,t),a()(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.columnMaxWidth,r=e.columnMinWidth,i=e.columnCount,o=e.width;n===t.columnMaxWidth&&r===t.columnMinWidth&&i===t.columnCount&&o===t.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var t=this.props,e=t.children,n=t.columnMaxWidth,r=t.columnMinWidth,i=t.columnCount,o=t.width,a=r||1,u=n?Math.min(n,o):o,s=o/i;return s=Math.max(a,s),s=Math.min(u,s),s=Math.floor(s),e({adjustedWidth:Math.min(o,s*i),columnWidth:s,getColumnWidth:function(){return s},registerChild:this._registerChild})}},{key:"_registerChild",value:function(t){if(t&&"function"!==typeof t.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=t,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),e}(b.PureComponent);xt.propTypes={};var Et=n(560),Mt=n.n(Et),Tt=function(t){function e(t,n){var r;return i()(this,e),(r=s()(this,f()(e).call(this,t,n)))._loadMoreRowsMemoizer=C(),r._onRowsRendered=r._onRowsRendered.bind(d()(r)),r._registerChild=r._registerChild.bind(d()(r)),r}return p()(e,t),a()(e,[{key:"resetLoadMoreRowsCache",value:function(t){this._loadMoreRowsMemoizer=C(),t&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(t){var e=this,n=this.props.loadMoreRows;t.forEach((function(t){var r=n(t);r&&r.then((function(){(function(t){var e=t.lastRenderedStartIndex,n=t.lastRenderedStopIndex,r=t.startIndex,i=t.stopIndex;return!(r>n||i<e)})({lastRenderedStartIndex:e._lastRenderedStartIndex,lastRenderedStopIndex:e._lastRenderedStopIndex,startIndex:t.startIndex,stopIndex:t.stopIndex})&&e._registeredChild&&function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="function"===typeof t.recomputeGridSize?t.recomputeGridSize:t.recomputeRowHeights;n?n.call(t,e):t.forceUpdate()}(e._registeredChild,e._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(t){var e=t.startIndex,n=t.stopIndex;this._lastRenderedStartIndex=e,this._lastRenderedStopIndex=n,this._doStuff(e,n)}},{key:"_doStuff",value:function(t,e){var n,r=this,i=this.props,o=i.isRowLoaded,a=i.minimumBatchSize,u=i.rowCount,s=i.threshold,c=function(t){for(var e=t.isRowLoaded,n=t.minimumBatchSize,r=t.rowCount,i=t.startIndex,o=t.stopIndex,a=[],u=null,s=null,c=i;c<=o;c++){e({index:c})?null!==s&&(a.push({startIndex:u,stopIndex:s}),u=s=null):(s=c,null===u&&(u=c))}if(null!==s){for(var f=Math.min(Math.max(s,u+n-1),r-1),l=s+1;l<=f&&!e({index:l});l++)s=l;a.push({startIndex:u,stopIndex:s})}if(a.length)for(var d=a[0];d.stopIndex-d.startIndex+1<n&&d.startIndex>0;){var h=d.startIndex-1;if(e({index:h}))break;d.startIndex=h}return a}({isRowLoaded:o,minimumBatchSize:a,rowCount:u,startIndex:Math.max(0,t-s),stopIndex:Math.min(u-1,e+s)}),f=(n=[]).concat.apply(n,Mt()(c.map((function(t){return[t.startIndex,t.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:f}})}},{key:"_registerChild",value:function(t){this._registeredChild=t}}]),e}(b.PureComponent);m()(Tt,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Tt.propTypes={};var $t,At,kt=(At=$t=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"Grid",void 0),m()(d()(n),"_cellRenderer",(function(t){var e=t.parent,r=t.rowIndex,i=t.style,o=t.isScrolling,a=t.isVisible,u=t.key,s=n.props.rowRenderer,c=Object.getOwnPropertyDescriptor(i,"width");return c&&c.writable&&(i.width="100%"),s({index:r,style:i,isScrolling:o,isVisible:a,key:u,parent:e})})),m()(d()(n),"_setRef",(function(t){n.Grid=t})),m()(d()(n),"_onScroll",(function(t){var e=t.clientHeight,r=t.scrollHeight,i=t.scrollTop;(0,n.props.onScroll)({clientHeight:e,scrollHeight:r,scrollTop:i})})),m()(d()(n),"_onSectionRendered",(function(t){var e=t.rowOverscanStartIndex,r=t.rowOverscanStopIndex,i=t.rowStartIndex,o=t.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:e,overscanStopIndex:r,startIndex:i,stopIndex:o})})),n}return p()(e,t),a()(e,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(t){var e=t.alignment,n=t.index;return this.Grid?this.Grid.getOffsetForCell({alignment:e,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(t){var e=t.columnIndex,n=t.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:e})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:t,columnIndex:0})}},{key:"scrollToPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:t})}},{key:"scrollToRow",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:t})}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.noRowsRenderer,r=t.scrollToIndex,i=t.width,o=Object(x.a)("ReactVirtualized__List",e);return b.createElement(Z,O()({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:o,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),e}(b.PureComponent),m()($t,"propTypes",null),At);m()(kt,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:Q,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var Ct=n(561),It=n.n(Ct);var Pt={ge:function(t,e,n,r,i){return"function"===typeof n?function(t,e,n,r,i){for(var o=n+1;e<=n;){var a=e+n>>>1;i(t[a],r)>=0?(o=a,n=a-1):e=a+1}return o}(t,void 0===r?0:0|r,void 0===i?t.length-1:0|i,e,n):function(t,e,n,r){for(var i=n+1;e<=n;){var o=e+n>>>1;t[o]>=r?(i=o,n=o-1):e=o+1}return i}(t,void 0===n?0:0|n,void 0===r?t.length-1:0|r,e)},gt:function(t,e,n,r,i){return"function"===typeof n?function(t,e,n,r,i){for(var o=n+1;e<=n;){var a=e+n>>>1;i(t[a],r)>0?(o=a,n=a-1):e=a+1}return o}(t,void 0===r?0:0|r,void 0===i?t.length-1:0|i,e,n):function(t,e,n,r){for(var i=n+1;e<=n;){var o=e+n>>>1;t[o]>r?(i=o,n=o-1):e=o+1}return i}(t,void 0===n?0:0|n,void 0===r?t.length-1:0|r,e)},lt:function(t,e,n,r,i){return"function"===typeof n?function(t,e,n,r,i){for(var o=e-1;e<=n;){var a=e+n>>>1;i(t[a],r)<0?(o=a,e=a+1):n=a-1}return o}(t,void 0===r?0:0|r,void 0===i?t.length-1:0|i,e,n):function(t,e,n,r){for(var i=e-1;e<=n;){var o=e+n>>>1;t[o]<r?(i=o,e=o+1):n=o-1}return i}(t,void 0===n?0:0|n,void 0===r?t.length-1:0|r,e)},le:function(t,e,n,r,i){return"function"===typeof n?function(t,e,n,r,i){for(var o=e-1;e<=n;){var a=e+n>>>1;i(t[a],r)<=0?(o=a,e=a+1):n=a-1}return o}(t,void 0===r?0:0|r,void 0===i?t.length-1:0|i,e,n):function(t,e,n,r){for(var i=e-1;e<=n;){var o=e+n>>>1;t[o]<=r?(i=o,e=o+1):n=o-1}return i}(t,void 0===n?0:0|n,void 0===r?t.length-1:0|r,e)},eq:function(t,e,n,r,i){return"function"===typeof n?function(t,e,n,r,i){for(;e<=n;){var o=e+n>>>1,a=i(t[o],r);if(0===a)return o;a<=0?e=o+1:n=o-1}return-1}(t,void 0===r?0:0|r,void 0===i?t.length-1:0|i,e,n):function(t,e,n,r){for(;e<=n;){var i=e+n>>>1,o=t[i];if(o===r)return i;o<=r?e=i+1:n=i-1}return-1}(t,void 0===n?0:0|n,void 0===r?t.length-1:0|r,e)}};function Nt(t,e,n,r,i){this.mid=t,this.left=e,this.right=n,this.leftPoints=r,this.rightPoints=i,this.count=(e?e.count:0)+(n?n.count:0)+r.length}var Rt=Nt.prototype;function jt(t,e){t.mid=e.mid,t.left=e.left,t.right=e.right,t.leftPoints=e.leftPoints,t.rightPoints=e.rightPoints,t.count=e.count}function Dt(t,e){var n=Wt(e);t.mid=n.mid,t.left=n.left,t.right=n.right,t.leftPoints=n.leftPoints,t.rightPoints=n.rightPoints,t.count=n.count}function Lt(t,e){var n=t.intervals([]);n.push(e),Dt(t,n)}function Ft(t,e){var n=t.intervals([]),r=n.indexOf(e);return r<0?0:(n.splice(r,1),Dt(t,n),1)}function Bt(t,e,n){for(var r=0;r<t.length&&t[r][0]<=e;++r){var i=n(t[r]);if(i)return i}}function Ut(t,e,n){for(var r=t.length-1;r>=0&&t[r][1]>=e;--r){var i=n(t[r]);if(i)return i}}function zt(t,e){for(var n=0;n<t.length;++n){var r=e(t[n]);if(r)return r}}function Ht(t,e){return t-e}function Vt(t,e){var n=t[0]-e[0];return n||t[1]-e[1]}function qt(t,e){var n=t[1]-e[1];return n||t[0]-e[0]}function Wt(t){if(0===t.length)return null;for(var e=[],n=0;n<t.length;++n)e.push(t[n][0],t[n][1]);e.sort(Ht);var r=e[e.length>>1],i=[],o=[],a=[];for(n=0;n<t.length;++n){var u=t[n];u[1]<r?i.push(u):r<u[0]?o.push(u):a.push(u)}var s=a,c=a.slice();return s.sort(Vt),c.sort(qt),new Nt(r,Wt(i),Wt(o),s,c)}function Gt(t){this.root=t}Rt.intervals=function(t){return t.push.apply(t,this.leftPoints),this.left&&this.left.intervals(t),this.right&&this.right.intervals(t),t},Rt.insert=function(t){var e=this.count-this.leftPoints.length;if(this.count+=1,t[1]<this.mid)this.left?4*(this.left.count+1)>3*(e+1)?Lt(this,t):this.left.insert(t):this.left=Wt([t]);else if(t[0]>this.mid)this.right?4*(this.right.count+1)>3*(e+1)?Lt(this,t):this.right.insert(t):this.right=Wt([t]);else{var n=Pt.ge(this.leftPoints,t,Vt),r=Pt.ge(this.rightPoints,t,qt);this.leftPoints.splice(n,0,t),this.rightPoints.splice(r,0,t)}},Rt.remove=function(t){var e=this.count-this.leftPoints;if(t[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(e-1)?Ft(this,t):2===(o=this.left.remove(t))?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o):0;if(t[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(e-1)?Ft(this,t):2===(o=this.right.remove(t))?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o):0;if(1===this.count)return this.leftPoints[0]===t?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===t){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var i=this.left,o=this.right;n.count-=r.count,n.right=r.left,r.left=i,r.right=o}jt(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?jt(this,this.left):jt(this,this.right);return 1}for(i=Pt.ge(this.leftPoints,t,Vt);i<this.leftPoints.length&&this.leftPoints[i][0]===t[0];++i)if(this.leftPoints[i]===t){this.count-=1,this.leftPoints.splice(i,1);for(o=Pt.ge(this.rightPoints,t,qt);o<this.rightPoints.length&&this.rightPoints[o][1]===t[1];++o)if(this.rightPoints[o]===t)return this.rightPoints.splice(o,1),1}return 0},Rt.queryPoint=function(t,e){if(t<this.mid){if(this.left)if(n=this.left.queryPoint(t,e))return n;return Bt(this.leftPoints,t,e)}if(t>this.mid){var n;if(this.right)if(n=this.right.queryPoint(t,e))return n;return Ut(this.rightPoints,t,e)}return zt(this.leftPoints,e)},Rt.queryInterval=function(t,e,n){var r;if(t<this.mid&&this.left&&(r=this.left.queryInterval(t,e,n)))return r;if(e>this.mid&&this.right&&(r=this.right.queryInterval(t,e,n)))return r;return e<this.mid?Bt(this.leftPoints,e,n):t>this.mid?Ut(this.rightPoints,t,n):zt(this.leftPoints,n)};var Kt=Gt.prototype;Kt.insert=function(t){this.root?this.root.insert(t):this.root=new Nt(t[0],null,null,[t],[t])},Kt.remove=function(t){if(this.root){var e=this.root.remove(t);return 2===e&&(this.root=null),0!==e}return!1},Kt.queryPoint=function(t,e){if(this.root)return this.root.queryPoint(t,e)},Kt.queryInterval=function(t,e,n){if(t<=e&&this.root)return this.root.queryInterval(t,e,n)},Object.defineProperty(Kt,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Kt,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Yt,Zt,Qt=function(){function t(){var e;i()(this,t),m()(this,"_columnSizeMap",{}),m()(this,"_intervalTree",e&&0!==e.length?new Gt(Wt(e)):new Gt(null)),m()(this,"_leftMap",{})}return a()(t,[{key:"estimateTotalHeight",value:function(t,e,n){var r=t-this.count;return this.tallestColumnSize+Math.ceil(r/e)*n}},{key:"range",value:function(t,e,n){var r=this;this._intervalTree.queryInterval(t,t+e,(function(t){var e=It()(t,3),i=e[0],o=(e[1],e[2]);return n(o,r._leftMap[o],i)}))}},{key:"setPosition",value:function(t,e,n,r){this._intervalTree.insert([n,n+r,t]),this._leftMap[t]=e;var i=this._columnSizeMap,o=i[e];i[e]=void 0===o?n+r:Math.max(o,n+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var t=this._columnSizeMap,e=0;for(var n in t){var r=t[n];e=0===e?r:Math.min(e,r)}return e}},{key:"tallestColumnSize",get:function(){var t=this._columnSizeMap,e=0;for(var n in t){var r=t[n];e=Math.max(e,r)}return e}}]),t}();function Xt(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 Jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xt(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var te=(Zt=Yt=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"state",{isScrolling:!1,scrollTop:0}),m()(d()(n),"_debounceResetIsScrollingId",void 0),m()(d()(n),"_invalidateOnUpdateStartIndex",null),m()(d()(n),"_invalidateOnUpdateStopIndex",null),m()(d()(n),"_positionCache",new Qt),m()(d()(n),"_startIndex",null),m()(d()(n),"_startIndexMemoized",null),m()(d()(n),"_stopIndex",null),m()(d()(n),"_stopIndexMemoized",null),m()(d()(n),"_debounceResetIsScrollingCallback",(function(){n.setState({isScrolling:!1})})),m()(d()(n),"_setScrollingContainerRef",(function(t){n._scrollingContainer=t})),m()(d()(n),"_onScroll",(function(t){var e=n.props.height,r=t.currentTarget.scrollTop,i=Math.min(Math.max(0,n._getEstimatedTotalHeight()-e),r);r===i&&(n._debounceResetIsScrolling(),n.state.scrollTop!==i&&n.setState({isScrolling:!0,scrollTop:i}))})),n}return p()(e,t),a()(e,[{key:"clearCellPositions",value:function(){this._positionCache=new Qt,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(t){var e=t.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=e,this._invalidateOnUpdateStopIndex=e):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,e),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,e))}},{key:"recomputeCellPositions",value:function(){var t=this._positionCache.count-1;this._positionCache=new Qt,this._populatePositionCache(0,t),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(t,e){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==t.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&H(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.autoHeight,i=n.cellCount,o=n.cellMeasurerCache,a=n.cellRenderer,u=n.className,s=n.height,c=n.id,f=n.keyMapper,l=n.overscanByPixels,d=n.role,h=n.style,p=n.tabIndex,g=n.width,v=n.rowDirection,y=this.state,_=y.isScrolling,w=y.scrollTop,S=[],O=this._getEstimatedTotalHeight(),E=this._positionCache.shortestColumnSize,M=this._positionCache.count,T=0;if(this._positionCache.range(Math.max(0,w-l),s+2*l,(function(n,r,i){var u;"undefined"===typeof t?(T=n,t=n):(T=Math.min(T,n),t=Math.max(t,n)),S.push(a({index:n,isScrolling:_,key:f(n),parent:e,style:(u={height:o.getHeight(n)},m()(u,"ltr"===v?"left":"right",r),m()(u,"position","absolute"),m()(u,"top",i),m()(u,"width",o.getWidth(n)),u)}))})),E<w+s+l&&M<i)for(var $=Math.min(i-M,Math.ceil((w+s+l-E)/o.defaultHeight*g/o.defaultWidth)),A=M;A<M+$;A++)t=A,S.push(a({index:A,isScrolling:_,key:f(A),parent:this,style:{width:o.getWidth(A)}}));return this._startIndex=T,this._stopIndex=t,b.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Object(x.a)("ReactVirtualized__Masonry",u),id:c,onScroll:this._onScroll,role:d,style:Jt({boxSizing:"border-box",direction:"ltr",height:r?"auto":s,overflowX:"hidden",overflowY:O<s?"hidden":"auto",position:"relative",width:g,WebkitOverflowScrolling:"touch",willChange:"transform"},h),tabIndex:p},b.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:O,maxWidth:"100%",maxHeight:O,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"}},S))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"===typeof this._invalidateOnUpdateStartIndex){var t=this._invalidateOnUpdateStartIndex,e=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(t,e),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var t=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&H(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=V(this._debounceResetIsScrollingCallback,t)}},{key:"_getEstimatedTotalHeight",value:function(){var t=this.props,e=t.cellCount,n=t.cellMeasurerCache,r=t.width,i=Math.max(1,Math.floor(r/n.defaultWidth));return this._positionCache.estimateTotalHeight(e,i,n.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var t=this.props,e=t.height,n=t.onScroll,r=this.state.scrollTop;this._onScrollMemoized!==r&&(n({clientHeight:e,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:r}),this._onScrollMemoized=r)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(t,e){for(var n=this.props,r=n.cellMeasurerCache,i=n.cellPositioner,o=t;o<=e;o++){var a=i(o),u=a.left,s=a.top;this._positionCache.setPosition(o,u,s,r.getHeight(o))}}}],[{key:"getDerivedStateFromProps",value:function(t,e){return void 0!==t.scrollTop&&e.scrollTop!==t.scrollTop?{isScrolling:!0,scrollTop:t.scrollTop}:null}}]),e}(b.PureComponent),m()(Yt,"propTypes",null),Zt);function ee(){}m()(te,"defaultProps",{autoHeight:!1,keyMapper:function(t){return t},onCellsRendered:ee,onScroll:ee,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"});w(te);var ne=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(this,t),m()(this,"_cellMeasurerCache",void 0),m()(this,"_columnIndexOffset",void 0),m()(this,"_rowIndexOffset",void 0),m()(this,"columnWidth",(function(t){var n=t.index;e._cellMeasurerCache.columnWidth({index:n+e._columnIndexOffset})})),m()(this,"rowHeight",(function(t){var n=t.index;e._cellMeasurerCache.rowHeight({index:n+e._rowIndexOffset})}));var r=n.cellMeasurerCache,o=n.columnIndexOffset,a=void 0===o?0:o,u=n.rowIndexOffset,s=void 0===u?0:u;this._cellMeasurerCache=r,this._columnIndexOffset=a,this._rowIndexOffset=s}return a()(t,[{key:"clear",value:function(t,e){this._cellMeasurerCache.clear(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"getWidth",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"has",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(t+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"set",value:function(t,e,n,r){this._cellMeasurerCache.set(t+this._rowIndexOffset,e+this._columnIndexOffset,n,r)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),t}();function re(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 ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var oe=function(t){function e(t,n){var r;i()(this,e),r=s()(this,f()(e).call(this,t,n)),m()(d()(r),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),m()(d()(r),"_deferredInvalidateColumnIndex",null),m()(d()(r),"_deferredInvalidateRowIndex",null),m()(d()(r),"_bottomLeftGridRef",(function(t){r._bottomLeftGrid=t})),m()(d()(r),"_bottomRightGridRef",(function(t){r._bottomRightGrid=t})),m()(d()(r),"_cellRendererBottomLeftGrid",(function(t){var e=t.rowIndex,n=T()(t,["rowIndex"]),i=r.props,o=i.cellRenderer,a=i.fixedRowCount;return e===i.rowCount-a?b.createElement("div",{key:n.key,style:ie({},n.style,{height:20})}):o(ie({},n,{parent:d()(r),rowIndex:e+a}))})),m()(d()(r),"_cellRendererBottomRightGrid",(function(t){var e=t.columnIndex,n=t.rowIndex,i=T()(t,["columnIndex","rowIndex"]),o=r.props,a=o.cellRenderer,u=o.fixedColumnCount,s=o.fixedRowCount;return a(ie({},i,{columnIndex:e+u,parent:d()(r),rowIndex:n+s}))})),m()(d()(r),"_cellRendererTopRightGrid",(function(t){var e=t.columnIndex,n=T()(t,["columnIndex"]),i=r.props,o=i.cellRenderer,a=i.columnCount,u=i.fixedColumnCount;return e===a-u?b.createElement("div",{key:n.key,style:ie({},n.style,{width:20})}):o(ie({},n,{columnIndex:e+u,parent:d()(r)}))})),m()(d()(r),"_columnWidthRightGrid",(function(t){var e=t.index,n=r.props,i=n.columnCount,o=n.fixedColumnCount,a=n.columnWidth,u=r.state,s=u.scrollbarSize;return u.showHorizontalScrollbar&&e===i-o?s:"function"===typeof a?a({index:e+o}):a})),m()(d()(r),"_onScroll",(function(t){var e=t.scrollLeft,n=t.scrollTop;r.setState({scrollLeft:e,scrollTop:n});var i=r.props.onScroll;i&&i(t)})),m()(d()(r),"_onScrollbarPresenceChange",(function(t){var e=t.horizontal,n=t.size,i=t.vertical,o=r.state,a=o.showHorizontalScrollbar,u=o.showVerticalScrollbar;if(e!==a||i!==u){r.setState({scrollbarSize:n,showHorizontalScrollbar:e,showVerticalScrollbar:i});var s=r.props.onScrollbarPresenceChange;"function"===typeof s&&s({horizontal:e,size:n,vertical:i})}})),m()(d()(r),"_onScrollLeft",(function(t){var e=t.scrollLeft;r._onScroll({scrollLeft:e,scrollTop:r.state.scrollTop})})),m()(d()(r),"_onScrollTop",(function(t){var e=t.scrollTop;r._onScroll({scrollTop:e,scrollLeft:r.state.scrollLeft})})),m()(d()(r),"_rowHeightBottomGrid",(function(t){var e=t.index,n=r.props,i=n.fixedRowCount,o=n.rowCount,a=n.rowHeight,u=r.state,s=u.scrollbarSize;return u.showVerticalScrollbar&&e===o-i?s:"function"===typeof a?a({index:e+i}):a})),m()(d()(r),"_topLeftGridRef",(function(t){r._topLeftGrid=t})),m()(d()(r),"_topRightGridRef",(function(t){r._topRightGrid=t}));var o=t.deferredMeasurementCache,a=t.fixedColumnCount,u=t.fixedRowCount;return r._maybeCalculateCachedStyles(!0),o&&(r._deferredMeasurementCacheBottomLeftGrid=u>0?new ne({cellMeasurerCache:o,columnIndexOffset:0,rowIndexOffset:u}):o,r._deferredMeasurementCacheBottomRightGrid=a>0||u>0?new ne({cellMeasurerCache:o,columnIndexOffset:a,rowIndexOffset:u}):o,r._deferredMeasurementCacheTopRightGrid=a>0?new ne({cellMeasurerCache:o,columnIndexOffset:a,rowIndexOffset:0}):o),r}return p()(e,t),a()(e,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r,o=this.props,a=o.fixedColumnCount,u=o.fixedRowCount,s=Math.max(0,n-a),c=Math.max(0,i-u);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:s,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:s,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var t=this.props,e=t.scrollLeft,n=t.scrollTop;if(e>0||n>0){var r={};e>0&&(r.scrollLeft=e),n>0&&(r.scrollTop=n),this.setState(r)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var t=this.props,e=t.onScroll,n=t.onSectionRendered,r=(t.onScrollbarPresenceChange,t.scrollLeft,t.scrollToColumn),i=(t.scrollTop,t.scrollToRow),o=T()(t,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var a=this.state,u=a.scrollLeft,s=a.scrollTop;return b.createElement("div",{style:this._containerOuterStyle},b.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(o),this._renderTopRightGrid(ie({},o,{onScroll:e,scrollLeft:u}))),b.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(ie({},o,{onScroll:e,scrollTop:s})),this._renderBottomRightGrid(ie({},o,{onScroll:e,onSectionRendered:n,scrollLeft:u,scrollToColumn:r,scrollToRow:i,scrollTop:s}))))}},{key:"_getBottomGridHeight",value:function(t){return t.height-this._getTopGridHeight(t)}},{key:"_getLeftGridWidth",value:function(t){var e=t.fixedColumnCount,n=t.columnWidth;if(null==this._leftGridWidth)if("function"===typeof n){for(var r=0,i=0;i<e;i++)r+=n({index:i});this._leftGridWidth=r}else this._leftGridWidth=n*e;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(t){return t.width-this._getLeftGridWidth(t)}},{key:"_getTopGridHeight",value:function(t){var e=t.fixedRowCount,n=t.rowHeight;if(null==this._topGridHeight)if("function"===typeof n){for(var r=0,i=0;i<e;i++)r+=n({index:i});this._topGridHeight=r}else this._topGridHeight=n*e;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"===typeof this._deferredInvalidateColumnIndex){var t=this._deferredInvalidateColumnIndex,e=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:t,rowIndex:e}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(t){var e=this.props,n=e.columnWidth,r=e.enableFixedColumnScroll,i=e.enableFixedRowScroll,o=e.height,a=e.fixedColumnCount,u=e.fixedRowCount,s=e.rowHeight,c=e.style,f=e.styleBottomLeftGrid,l=e.styleBottomRightGrid,d=e.styleTopLeftGrid,h=e.styleTopRightGrid,p=e.width,g=t||o!==this._lastRenderedHeight||p!==this._lastRenderedWidth,m=t||n!==this._lastRenderedColumnWidth||a!==this._lastRenderedFixedColumnCount,b=t||u!==this._lastRenderedFixedRowCount||s!==this._lastRenderedRowHeight;(t||g||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=ie({height:o,overflow:"visible",width:p},c)),(t||g||b)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:p},this._containerBottomStyle={height:o-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:p}),(t||f!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=ie({left:0,overflowX:"hidden",overflowY:r?"auto":"hidden",position:"absolute"},f)),(t||m||l!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=ie({left:this._getLeftGridWidth(this.props),position:"absolute"},l)),(t||d!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=ie({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},d)),(t||m||h!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=ie({left:this._getLeftGridWidth(this.props),overflowX:i?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},h)),this._lastRenderedColumnWidth=n,this._lastRenderedFixedColumnCount=a,this._lastRenderedFixedRowCount=u,this._lastRenderedHeight=o,this._lastRenderedRowHeight=s,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=f,this._lastRenderedStyleBottomRightGrid=l,this._lastRenderedStyleTopLeftGrid=d,this._lastRenderedStyleTopRightGrid=h,this._lastRenderedWidth=p}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(t){var e=t.enableFixedColumnScroll,n=t.fixedColumnCount,r=t.fixedRowCount,i=t.rowCount,o=t.hideBottomLeftGridScrollbar,a=this.state.showVerticalScrollbar;if(!n)return null;var u=a?1:0,s=this._getBottomGridHeight(t),c=this._getLeftGridWidth(t),f=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,l=o?c+f:c,d=b.createElement(Z,O()({},t,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:n,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:s,onScroll:e?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,i-r)+u,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:l}));return o?b.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:ie({},this._bottomLeftGridStyle,{height:s,width:c,overflowY:"hidden"})},d):d}},{key:"_renderBottomRightGrid",value:function(t){var e=t.columnCount,n=t.fixedColumnCount,r=t.fixedRowCount,i=t.rowCount,o=t.scrollToColumn,a=t.scrollToRow;return b.createElement(Z,O()({},t,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,e-n),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(t),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,i-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:o-n,scrollToRow:a-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(t)}))}},{key:"_renderTopLeftGrid",value:function(t){var e=t.fixedColumnCount,n=t.fixedRowCount;return e&&n?b.createElement(Z,O()({},t,{className:this.props.classNameTopLeftGrid,columnCount:e,height:this._getTopGridHeight(t),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(t)})):null}},{key:"_renderTopRightGrid",value:function(t){var e=t.columnCount,n=t.enableFixedRowScroll,r=t.fixedColumnCount,i=t.fixedRowCount,o=t.scrollLeft,a=t.hideTopRightGridScrollbar,u=this.state,s=u.showHorizontalScrollbar,c=u.scrollbarSize;if(!i)return null;var f=s?1:0,l=this._getTopGridHeight(t),d=this._getRightGridWidth(t),h=s?c:0,p=l,g=this._topRightGridStyle;a&&(p=l+h,g=ie({},this._topRightGridStyle,{left:0}));var m=b.createElement(Z,O()({},t,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,e-r)+f,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:p,onScroll:n?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:i,scrollLeft:o,style:g,tabIndex:null,width:d}));return a?b.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:ie({},this._topRightGridStyle,{height:l,width:d,overflowX:"hidden"})},m):m}}],[{key:"getDerivedStateFromProps",value:function(t,e){return t.scrollLeft!==e.scrollLeft||t.scrollTop!==e.scrollTop?{scrollLeft:null!=t.scrollLeft&&t.scrollLeft>=0?t.scrollLeft:e.scrollLeft,scrollTop:null!=t.scrollTop&&t.scrollTop>=0?t.scrollTop:e.scrollTop}:null}}]),e}(b.PureComponent);m()(oe,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),oe.propTypes={},w(oe);var ae=function(t){function e(t,n){var r;return i()(this,e),(r=s()(this,f()(e).call(this,t,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(d()(r)),r}return p()(e,t),a()(e,[{key:"render",value:function(){var t=this.props.children,e=this.state,n=e.clientHeight,r=e.clientWidth,i=e.scrollHeight,o=e.scrollLeft,a=e.scrollTop,u=e.scrollWidth;return t({clientHeight:n,clientWidth:r,onScroll:this._onScroll,scrollHeight:i,scrollLeft:o,scrollTop:a,scrollWidth:u})}},{key:"_onScroll",value:function(t){var e=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,o=t.scrollTop,a=t.scrollWidth;this.setState({clientHeight:e,clientWidth:n,scrollHeight:r,scrollLeft:i,scrollTop:o,scrollWidth:a})}}]),e}(b.PureComponent);ae.propTypes={};function ue(t){var e=t.className,n=t.columns,r=t.style;return b.createElement("div",{className:e,role:"row",style:r},n)}ue.propTypes=null;var se={ASC:"ASC",DESC:"DESC"};function ce(t){var e=t.sortDirection,n=Object(x.a)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":e===se.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":e===se.DESC});return b.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},e===se.ASC?b.createElement("path",{d:"M7 14l5-5 5 5z"}):b.createElement("path",{d:"M7 10l5 5 5-5z"}),b.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function fe(t){var e=t.dataKey,n=t.label,r=t.sortBy,i=t.sortDirection,o=r===e,a=[b.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"===typeof n?n:null},n)];return o&&a.push(b.createElement(ce,{key:"SortIndicator",sortDirection:i})),a}function le(t){var e=t.className,n=t.columns,r=t.index,i=t.key,o=t.onRowClick,a=t.onRowDoubleClick,u=t.onRowMouseOut,s=t.onRowMouseOver,c=t.onRowRightClick,f=t.rowData,l=t.style,d={"aria-rowindex":r+1};return(o||a||u||s||c)&&(d["aria-label"]="row",d.tabIndex=0,o&&(d.onClick=function(t){return o({event:t,index:r,rowData:f})}),a&&(d.onDoubleClick=function(t){return a({event:t,index:r,rowData:f})}),u&&(d.onMouseOut=function(t){return u({event:t,index:r,rowData:f})}),s&&(d.onMouseOver=function(t){return s({event:t,index:r,rowData:f})}),c&&(d.onContextMenu=function(t){return c({event:t,index:r,rowData:f})})),b.createElement("div",O()({},d,{className:e,key:i,role:"row",style:l}),n)}ce.propTypes={},fe.propTypes=null,le.propTypes=null;var de=function(t){function e(){return i()(this,e),s()(this,f()(e).apply(this,arguments))}return p()(e,t),e}(b.Component);function he(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 pe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?he(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):he(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}m()(de,"defaultProps",{cellDataGetter:function(t){var e=t.dataKey,n=t.rowData;return"function"===typeof n.get?n.get(e):n[e]},cellRenderer:function(t){var e=t.cellData;return null==e?"":String(e)},defaultSortDirection:se.ASC,flexGrow:0,flexShrink:1,headerRenderer:fe,style:{}}),de.propTypes={};var ge=function(t){function e(t){var n;return i()(this,e),(n=s()(this,f()(e).call(this,t))).state={scrollbarWidth:0},n._createColumn=n._createColumn.bind(d()(n)),n._createRow=n._createRow.bind(d()(n)),n._onScroll=n._onScroll.bind(d()(n)),n._onSectionRendered=n._onSectionRendered.bind(d()(n)),n._setRef=n._setRef.bind(d()(n)),n}return p()(e,t),a()(e,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(t){var e=t.alignment,n=t.index;return this.Grid?this.Grid.getOffsetForCell({alignment:e,rowIndex:n}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(t){var e=t.columnIndex,n=t.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:e})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:t})}},{key:"scrollToPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:t})}},{key:"scrollToRow",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:t})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var t=Object(ft.findDOMNode)(this.Grid),e=t.clientWidth||0;return(t.offsetWidth||0)-e}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=e.className,i=e.disableHeader,o=e.gridClassName,a=e.gridStyle,u=e.headerHeight,s=e.headerRowRenderer,c=e.height,f=e.id,l=e.noRowsRenderer,d=e.rowClassName,h=e.rowStyle,p=e.scrollToIndex,g=e.style,m=e.width,v=this.state.scrollbarWidth,y=i?c:c-u,_="function"===typeof d?d({index:-1}):d,w="function"===typeof h?h({index:-1}):h;return this._cachedColumnStyles=[],b.Children.toArray(n).forEach((function(e,n){var r=t._getFlexStyleForColumn(e,e.props.style);t._cachedColumnStyles[n]=pe({overflow:"hidden"},r)})),b.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":b.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:Object(x.a)("ReactVirtualized__Table",r),id:f,role:"grid",style:g},!i&&s({className:Object(x.a)("ReactVirtualized__Table__headerRow",_),columns:this._getHeaderColumns(),style:pe({height:u,overflow:"hidden",paddingRight:v,width:m},w)}),b.createElement(Z,O()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Object(x.a)("ReactVirtualized__Table__Grid",o),cellRenderer:this._createRow,columnWidth:m,columnCount:1,height:y,id:void 0,noContentRenderer:l,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:p,style:pe({},a,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(t){var e=t.column,n=t.columnIndex,r=t.isScrolling,i=t.parent,o=t.rowData,a=t.rowIndex,u=this.props.onColumnClick,s=e.props,c=s.cellDataGetter,f=s.cellRenderer,l=s.className,d=s.columnData,h=s.dataKey,p=s.id,g=f({cellData:c({columnData:d,dataKey:h,rowData:o}),columnData:d,columnIndex:n,dataKey:h,isScrolling:r,parent:i,rowData:o,rowIndex:a}),m=this._cachedColumnStyles[n],v="string"===typeof g?g:null;return b.createElement("div",{"aria-colindex":n+1,"aria-describedby":p,className:Object(x.a)("ReactVirtualized__Table__rowColumn",l),key:"Row"+a+"-Col"+n,onClick:function(t){u&&u({columnData:d,dataKey:h,event:t})},role:"gridcell",style:m,title:v},g)}},{key:"_createHeader",value:function(t){var e,n,r,i,o,a=t.column,u=t.index,s=this.props,c=s.headerClassName,f=s.headerStyle,l=s.onHeaderClick,d=s.sort,h=s.sortBy,p=s.sortDirection,g=a.props,m=g.columnData,v=g.dataKey,y=g.defaultSortDirection,_=g.disableSort,w=g.headerRenderer,S=g.id,O=g.label,E=!_&&d,M=Object(x.a)("ReactVirtualized__Table__headerColumn",c,a.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:E}),T=this._getFlexStyleForColumn(a,pe({},f,{},a.props.headerStyle)),$=w({columnData:m,dataKey:v,disableSort:_,label:O,sortBy:h,sortDirection:p});if(E||l){var A=h!==v?y:p===se.DESC?se.ASC:se.DESC,k=function(t){E&&d({defaultSortDirection:y,event:t,sortBy:v,sortDirection:A}),l&&l({columnData:m,dataKey:v,event:t})};o=a.props["aria-label"]||O||v,i="none",r=0,e=k,n=function(t){"Enter"!==t.key&&" "!==t.key||k(t)}}return h===v&&(i=p===se.ASC?"ascending":"descending"),b.createElement("div",{"aria-label":o,"aria-sort":i,className:M,id:S,key:"Header-Col"+u,onClick:e,onKeyDown:n,role:"columnheader",style:T,tabIndex:r},$)}},{key:"_createRow",value:function(t){var e=this,n=t.rowIndex,r=t.isScrolling,i=t.key,o=t.parent,a=t.style,u=this.props,s=u.children,c=u.onRowClick,f=u.onRowDoubleClick,l=u.onRowRightClick,d=u.onRowMouseOver,h=u.onRowMouseOut,p=u.rowClassName,g=u.rowGetter,m=u.rowRenderer,v=u.rowStyle,y=this.state.scrollbarWidth,_="function"===typeof p?p({index:n}):p,w="function"===typeof v?v({index:n}):v,S=g({index:n}),O=b.Children.toArray(s).map((function(t,i){return e._createColumn({column:t,columnIndex:i,isScrolling:r,parent:o,rowData:S,rowIndex:n,scrollbarWidth:y})})),E=Object(x.a)("ReactVirtualized__Table__row",_),M=pe({},a,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:y},w);return m({className:E,columns:O,index:n,isScrolling:r,key:i,onRowClick:c,onRowDoubleClick:f,onRowRightClick:l,onRowMouseOver:d,onRowMouseOut:h,rowData:S,style:M})}},{key:"_getFlexStyleForColumn",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(t.props.flexGrow," ").concat(t.props.flexShrink," ").concat(t.props.width,"px"),r=pe({},e,{flex:n,msFlex:n,WebkitFlex:n});return t.props.maxWidth&&(r.maxWidth=t.props.maxWidth),t.props.minWidth&&(r.minWidth=t.props.minWidth),r}},{key:"_getHeaderColumns",value:function(){var t=this,e=this.props,n=e.children;return(e.disableHeader?[]:b.Children.toArray(n)).map((function(e,n){return t._createHeader({column:e,index:n})}))}},{key:"_getRowHeight",value:function(t){var e=this.props.rowHeight;return"function"===typeof e?e({index:t}):e}},{key:"_onScroll",value:function(t){var e=t.clientHeight,n=t.scrollHeight,r=t.scrollTop;(0,this.props.onScroll)({clientHeight:e,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(t){var e=t.rowOverscanStartIndex,n=t.rowOverscanStopIndex,r=t.rowStartIndex,i=t.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:e,overscanStopIndex:n,startIndex:r,stopIndex:i})}},{key:"_setRef",value:function(t){this.Grid=t}},{key:"_setScrollbarWidth",value:function(){var t=this.getScrollbarWidth();this.setState({scrollbarWidth:t})}}]),e}(b.PureComponent);m()(ge,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:Q,overscanRowCount:10,rowRenderer:le,headerRowRenderer:ue,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),ge.propTypes={};var me=[],be=null,ve=null;function ye(){ve&&(ve=null,document.body&&null!=be&&(document.body.style.pointerEvents=be),be=null)}function _e(){ye(),me.forEach((function(t){return t.__resetIsScrolling()}))}function we(t){t.currentTarget===window&&null==be&&document.body&&(be=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){ve&&H(ve);var t=0;me.forEach((function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)})),ve=V(_e,t)}(),me.forEach((function(e){e.props.scrollElement===t.currentTarget&&e.__handleWindowScrollEvent()}))}function Se(t,e){me.some((function(t){return t.props.scrollElement===e}))||e.addEventListener("scroll",we),me.push(t)}function Oe(t,e){(me=me.filter((function(e){return e!==t}))).length||(e.removeEventListener("scroll",we),ve&&(H(ve),ye()))}var xe,Ee,Me=function(t){return t===window},Te=function(t){return t.getBoundingClientRect()};function $e(t,e){if(t){if(Me(t)){var n=window,r=n.innerHeight,i=n.innerWidth;return{height:"number"===typeof r?r:0,width:"number"===typeof i?i:0}}return Te(t)}return{height:e.serverHeight,width:e.serverWidth}}function Ae(t,e){if(Me(e)&&document.documentElement){var n=document.documentElement,r=Te(t),i=Te(n);return{top:r.top-i.top,left:r.left-i.left}}var o=ke(e),a=Te(t),u=Te(e);return{top:a.top+o.top-u.top,left:a.left+o.left-u.left}}function ke(t){return Me(t)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:t.scrollTop,left:t.scrollLeft}}function Ce(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 Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ce(n,!0).forEach((function(e){m()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ce(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Pe=function(){return"undefined"!==typeof window?window:void 0},Ne=(Ee=xe=function(t){function e(){var t,n;i()(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=s()(this,(t=f()(e)).call.apply(t,[this].concat(o))),m()(d()(n),"_window",Pe()),m()(d()(n),"_isMounted",!1),m()(d()(n),"_positionFromTop",0),m()(d()(n),"_positionFromLeft",0),m()(d()(n),"_detectElementResize",void 0),m()(d()(n),"_child",void 0),m()(d()(n),"state",Ie({},$e(n.props.scrollElement,n.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),m()(d()(n),"_registerChild",(function(t){!t||t instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),n._child=t,n.updatePosition()})),m()(d()(n),"_onChildScroll",(function(t){var e=t.scrollTop;if(n.state.scrollTop!==e){var r=n.props.scrollElement;r&&("function"===typeof r.scrollTo?r.scrollTo(0,e+n._positionFromTop):r.scrollTop=e+n._positionFromTop)}})),m()(d()(n),"_registerResizeListener",(function(t){t===window?window.addEventListener("resize",n._onResize,!1):n._detectElementResize.addResizeListener(t,n._onResize)})),m()(d()(n),"_unregisterResizeListener",(function(t){t===window?window.removeEventListener("resize",n._onResize,!1):t&&n._detectElementResize.removeResizeListener(t,n._onResize)})),m()(d()(n),"_onResize",(function(){n.updatePosition()})),m()(d()(n),"__handleWindowScrollEvent",(function(){if(n._isMounted){var t=n.props.onScroll,e=n.props.scrollElement;if(e){var r=ke(e),i=Math.max(0,r.left-n._positionFromLeft),o=Math.max(0,r.top-n._positionFromTop);n.setState({isScrolling:!0,scrollLeft:i,scrollTop:o}),t({scrollLeft:i,scrollTop:o})}}})),m()(d()(n),"__resetIsScrolling",(function(){n.setState({isScrolling:!1})})),n}return p()(e,t),a()(e,[{key:"updatePosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,e=this.props.onResize,n=this.state,r=n.height,i=n.width,o=this._child||ft.findDOMNode(this);if(o instanceof Element&&t){var a=Ae(o,t);this._positionFromTop=a.top,this._positionFromLeft=a.left}var u=$e(t,this.props);r===u.height&&i===u.width||(this.setState({height:u.height,width:u.width}),e({height:u.height,width:u.width}))}},{key:"componentDidMount",value:function(){var t=this.props.scrollElement;this._detectElementResize=Object(it.a)(),this.updatePosition(t),t&&(Se(this,t),this._registerResizeListener(t)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(t,e){var n=this.props.scrollElement,r=t.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),Oe(this,r),Se(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var t=this.props.scrollElement;t&&(Oe(this,t),this._unregisterResizeListener(t)),this._isMounted=!1}},{key:"render",value:function(){var t=this.props.children,e=this.state,n=e.isScrolling,r=e.scrollTop,i=e.scrollLeft,o=e.height,a=e.width;return t({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:o,isScrolling:n,scrollLeft:i,scrollTop:r,width:a})}}]),e}(b.PureComponent),m()(xe,"propTypes",null),Ee);m()(Ne,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Pe(),serverHeight:0,serverWidth:0})},function(t,e,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;function u(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,s,c,f=r(t),l=r(e);if(f&&l){if((s=t.length)!=e.length)return!1;for(n=s;0!==n--;)if(!u(t[n],e[n]))return!1;return!0}if(f!=l)return!1;var d=t instanceof Date,h=e instanceof Date;if(d!=h)return!1;if(d&&h)return t.getTime()==e.getTime();var p=t instanceof RegExp,g=e instanceof RegExp;if(p!=g)return!1;if(p&&g)return t.toString()==e.toString();var m=i(t);if((s=m.length)!==i(e).length)return!1;for(n=s;0!==n--;)if(!o.call(e,m[n]))return!1;if(a&&t instanceof Element&&e instanceof Element)return t===e;for(n=s;0!==n--;)if(("_owner"!==(c=m[n])||!t.$$typeof)&&!u(t[c],e[c]))return!1;return!0}return t!==t&&e!==e}t.exports=function(t,e){try{return u(t,e)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},,function(t,e,n){var r=n(414),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(737).Buffer}catch(E){}function u(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function s(t,e,n){var r=u(t,n);return n-1>=e&&(r|=u(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var u=t.charCodeAt(a)-48;i*=r,i+=u>=49?u-49+10:u>=17?u-17+10:u}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this.strip()},o.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<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=s(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r<t.length;r+=2)i=s(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,s=0,f=n;f<u;f+=r)s=c(t,f,f+r,e),this.imuln(i),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s);if(0!==a){var l=1;for(s=c(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var f=["","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],d=[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 h(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?f[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 c=l[t],h=d[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(t);n=(p=p.idivn(h)).isZero()?g+n:f[c-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,u,s="le"===e,c=new t(o),f=this.clone();if(s){for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[u]=a;for(;u<o;u++)c[u]=0}else{for(u=0;u<o-i;u++)c[u]=0;for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[o-u-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function g(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(p=h),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):n<63?h(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,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):g(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},m.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},m.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},m.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},m.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},m.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},m.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},m.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},m.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),g(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"===typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this.strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new O(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function v(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(t){if("string"===typeof t){var e=o._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 x(t){O.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},v.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(t,e){t.iushrn(this.n,0,e)},v.prototype.imulK=function(t){return t.imul(this.k)},i(y,v),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(_,v),i(w,v),i(S,v),S.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new _;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return b[t]=e,e},O.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},O.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")},O.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},O.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},O.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)},O.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},O.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)},O.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},O.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},O.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},O.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},O.prototype.isqr=function(t){return this.imul(t,t.clone())},O.prototype.sqr=function(t){return this.mul(t,t)},O.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},O.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},O.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},O.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},O.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new x(t)},i(x,O),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=n(897).Buffer}catch(x){}function u(t,e,n){for(var r=0,i=Math.min(t.length,n),o=e;o<i;o++){var a=t.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function s(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var u=t.charCodeAt(a)-48;i*=r,i+=u>=49?u-49+10:u>=17?u-17+10:u}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=u(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=u(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,c=0,f=n;f<u;f+=r)c=s(t,f,f+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var l=1;for(c=s(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],f=[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],l=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?c[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 d=f[t],h=l[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(t);n=(p=p.idivn(h)).isZero()?g+n:c[d-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,u,s="le"===e,c=new t(o),f=this.clone();if(s){for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[u]=a;for(;u<o;u++)c[u]=0}else{for(u=0;u<o-i;u++)c[u]=0;for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[o-u-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var h=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function p(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(h=d),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?h(this,t,e):n<63?d(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,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):p(this,t,e)},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"===typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this.strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new S(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.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 b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"===typeof t){var e=o._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 O(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(v,b),v.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},v.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(y,b),i(_,b),i(w,b),w.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new v;else if("p224"===t)e=new y;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return m[t]=e,e},S.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},S.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},S.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,S),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=n(922).Buffer}catch(x){}function u(t,e,n){for(var r=0,i=Math.min(t.length,n),o=e;o<i;o++){var a=t.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function s(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var u=t.charCodeAt(a)-48;i*=r,i+=u>=49?u-49+10:u>=17?u-17+10:u}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=u(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=u(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,c=0,f=n;f<u;f+=r)c=s(t,f,f+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var l=1;for(c=s(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","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"],f=[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],l=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?c[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 d=f[t],h=l[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(t);n=(p=p.idivn(h)).isZero()?g+n:c[d-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,u,s="le"===e,c=new t(o),f=this.clone();if(s){for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[u]=a;for(;u<o;u++)c[u]=0}else{for(u=0;u<o-i;u++)c[u]=0;for(u=0;!f.isZero();u++)a=f.andln(255),f.iushrn(8),c[o-u-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var h=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function p(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(h=d),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?h(this,t,e):n<63?d(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,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):p(this,t,e)},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"===typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this.strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new S(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.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 b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"===typeof t){var e=o._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 O(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(v,b),v.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},v.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(y,b),i(_,b),i(w,b),w.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new v;else if("p224"===t)e=new y;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return m[t]=e,e},S.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},S.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},S.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new O(t)},i(O,S),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},function(t,e,n){"use strict";(function(e){n(29);var r=n(100),i=n(117),o=n(153),a=n(160),u=n(134),s=n(79),c=n(84),f=n(375),l=n(386),d=n(52),h=n(63),p=n(514),g=n(48),m=p.SCRIPT_ENABLE_SIGHASH_FORKID,b=function(t,f,l,b,v,y){var _=n(387),w=n(388);g.isUndefined(y)&&(y=m);var S,O=_.shallowCopy(t);(b=new i(b),y&p.SCRIPT_ENABLE_REPLAY_PROTECTION)&&(f=(16711680|57005^f>>8)<<8|255&f);if(f&r.SIGHASH_FORKID&&y&p.SCRIPT_ENABLE_SIGHASH_FORKID)return function(t,e,n,i,o){var f=t.inputs[n];function l(t,e){var n=new u;g.isUndefined(e)?g.each(t.outputs,(function(t){t.toBufferWriter(n)})):t.outputs[e].toBufferWriter(n);var r=n.toBuffer();return c.sha256sha256(r)}d.checkArgument(o instanceof s,"For ForkId=0 signatures, satoshis or complete input must be provided");var p=h.emptyBuffer(32),m=h.emptyBuffer(32),b=h.emptyBuffer(32);e&r.SIGHASH_ANYONECANPAY||(p=function(t){var e=new u;g.each(t.inputs,(function(t){e.writeReverse(t.prevTxId),e.writeUInt32LE(t.outputIndex)}));var n=e.toBuffer();return c.sha256sha256(n)}(t)),e&r.SIGHASH_ANYONECANPAY||(31&e)==r.SIGHASH_SINGLE||(31&e)==r.SIGHASH_NONE||(m=function(t){var e=new u;g.each(t.inputs,(function(t){e.writeUInt32LE(t.sequenceNumber)}));var n=e.toBuffer();return c.sha256sha256(n)}(t)),(31&e)!=r.SIGHASH_SINGLE&&(31&e)!=r.SIGHASH_NONE?b=l(t):(31&e)==r.SIGHASH_SINGLE&&n<t.outputs.length&&(b=l(t,n));var v=new u;v.writeInt32LE(t.version),v.write(p),v.write(m),v.writeReverse(f.prevTxId),v.writeUInt32LE(f.outputIndex),v.writeVarintNum(i.toBuffer().length),v.write(i.toBuffer()),v.writeUInt64LEBN(o);var y=f.sequenceNumber;v.writeUInt32LE(y),v.write(b),v.writeUInt32LE(t.nLockTime),v.writeUInt32LE(e>>>0);var _=v.toBuffer(),w=c.sha256sha256(_);return new a(w).readReverse()}(O,f,l,b,v);for(b.removeCodeseparators(),S=0;S<O.inputs.length;S++)O.inputs[S]=new w(O.inputs[S]).setScript(i.empty());if(O.inputs[l]=new w(O.inputs[l]).setScript(b),(31&f)===r.SIGHASH_NONE||(31&f)===r.SIGHASH_SINGLE)for(S=0;S<O.inputs.length;S++)S!==l&&(O.inputs[S].sequenceNumber=0);if((31&f)===r.SIGHASH_NONE)O.outputs=[];else if((31&f)===r.SIGHASH_SINGLE){if(l>=O.outputs.length)return e.from("0000000000000000000000000000000000000000000000000000000000000001","hex");for(O.outputs.length=l+1,S=0;S<l;S++)O.outputs[S]=new o({satoshis:s.fromBuffer(e.from("ffffffffffffffff","hex")),script:i.empty()})}f&r.SIGHASH_ANYONECANPAY&&(O.inputs=[O.inputs[l]]);var x=(new u).write(O.toBuffer()).writeInt32LE(f).toBuffer(),E=c.sha256sha256(x);return E=new a(E).readReverse()};t.exports={sighash:b,sign:function(t,e,n,r,i,o,a,u){var s=b(t,n,r,i,o,a);return"schnorr"===(u=u||"ecdsa")?l.sign(s,e,"little").set({nhashtype:n}):"ecdsa"===u?f.sign(s,e,"little").set({nhashtype:n}):void 0},verify:function(t,e,n,r,i,o,a,u){d.checkArgument(!g.isUndefined(t)),d.checkArgument(!g.isUndefined(e)&&!g.isUndefined(e.nhashtype));var s=b(t,e.nhashtype,r,i,o,a);return"schnorr"===(u=u||"ecdsa")?l.verify(s,e,n,"little"):"ecdsa"===u?f.verify(s,e,n,"little"):void 0}}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(79),o=(n(29),n(63)),a=n(80),u=n(134),s=n(117),c=n(52),f=n(114);function l(t){if(!(this instanceof l))return new l(t);if(!r.isObject(t))throw new TypeError("Unrecognized argument for Output");var n;this.satoshis=t.satoshis,o.isBuffer(t.script)?this._scriptBuffer=t.script:(n=r.isString(t.script)&&a.isHexa(t.script)?e.from(t.script,"hex"):t.script,this.setScript(n))}Object.defineProperty(l.prototype,"script",{configurable:!1,enumerable:!0,get:function(){return this._script||this.setScriptFromBuffer(this._scriptBuffer),this._script}}),Object.defineProperty(l.prototype,"satoshis",{configurable:!1,enumerable:!0,get:function(){return this._satoshis},set:function(t){t instanceof i?(this._satoshisBN=t,this._satoshis=t.toNumber()):r.isString(t)?(this._satoshis=parseInt(t),this._satoshisBN=i.fromNumber(this._satoshis)):(c.checkArgument(a.isNaturalNumber(t),"Output satoshis is not a natural number"),this._satoshisBN=i.fromNumber(t),this._satoshis=t),c.checkState(a.isNaturalNumber(this._satoshis),"Output satoshis is not a natural number")}}),l.prototype.invalidSatoshis=function(){return this._satoshis>9007199254740991?"transaction txout satoshis greater than max safe integer":this._satoshis!==this._satoshisBN.toNumber()?"transaction txout satoshis has corrupted value":this._satoshis<0&&"transaction txout negative"},Object.defineProperty(l.prototype,"satoshisBN",{configurable:!1,enumerable:!0,get:function(){return this._satoshisBN},set:function(t){this._satoshisBN=t,this._satoshis=t.toNumber(),c.checkState(a.isNaturalNumber(this._satoshis),"Output satoshis is not a natural number")}}),l.prototype.toObject=l.prototype.toJSON=function(){var t={satoshis:this.satoshis};return t.script=this._scriptBuffer.toString("hex"),t},l.fromObject=function(t){return new l(t)},l.prototype.setScriptFromBuffer=function(t){this._scriptBuffer=t;try{this._script=s.fromBuffer(this._scriptBuffer),this._script._isOutput=!0}catch(e){if(!(e instanceof f.Script.InvalidBuffer))throw e;this._script=null}},l.prototype.setScript=function(t){if(t instanceof s)this._scriptBuffer=t.toBuffer(),this._script=t,this._script._isOutput=!0;else if(r.isString(t))this._script=s.fromString(t),this._scriptBuffer=this._script.toBuffer(),this._script._isOutput=!0;else{if(!o.isBuffer(t))throw new TypeError("Invalid argument type: script");this.setScriptFromBuffer(t)}return this},l.prototype.inspect=function(){var t;return t=this.script?this.script.inspect():this._scriptBuffer.toString("hex"),"<Output ("+this.satoshis+" sats) "+t+">"},l.fromBufferReader=function(t){var n={};n.satoshis=t.readUInt64LEBN();var r=t.readVarintNum();return n.script=0!==r?t.read(r):e.from([]),new l(n)},l.prototype.toBufferWriter=function(t){t||(t=new u),t.writeUInt64LEBN(this._satoshisBN);var e=this._scriptBuffer;return t.writeVarintNum(e.length),t.write(e),t},t.exports=l}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(t){var r=n(291),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.a.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=u}).call(this,n(253)(t))},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(36).Buffer,i=n(757).Transform,o=n(238).StringDecoder;function a(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(37)(a,i),a.prototype.update=function(t,e,n){"string"===typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){r=i}finally{n(r)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=a},function(t,e,n){var r=n(158);function i(t){return r("rmd160").update(t).digest()}function o(t){return r("sha256").update(t).digest()}t.exports={hash160:function(t){return i(o(t))},hash256:function(t){return o(o(t))},ripemd160:i,sha1:function(t){return r("sha1").update(t).digest()},sha256:o}},function(t,e,n){"use strict";var r=n(37),i=n(358),o=n(360),a=n(361),u=n(156);function s(t){u.call(this,"digest"),this._hash=t}r(s,u),s.prototype._update=function(t){this._hash.update(t)},s.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new s(a(t))}},function(t,e,n){"use strict";var r=n(48),i=n(63),o=n(80),a=[],u={};function s(){}function c(t,e){if(~a.indexOf(t))return t;if(!e)return u[t];r.isArray(e)||(e=[e]);for(var n=0;n<a.length;n++){var i=a[n],o=r.pick(i,e);if(~r.values(o).indexOf(t))return i}}function f(t){for(var e=[],n=0;n<t.length;n++)e.push(31&t.charCodeAt(n));return e}function l(t){var e=new s;o.defineImmutable(e,{name:t.name,alias:t.alias,pubkeyhash:t.pubkeyhash,privatekey:t.privatekey,scripthash:t.scripthash,xpubkey:t.xpubkey,xprivkey:t.xprivkey});var n=t.indexBy||Object.keys(t);return t.prefix&&r.extend(e,{prefix:t.prefix,prefixArray:f(t.prefix)}),t.networkMagic&&r.extend(e,{networkMagic:i.integerAsBuffer(t.networkMagic)}),t.port&&r.extend(e,{port:t.port}),t.dnsSeeds&&r.extend(e,{dnsSeeds:t.dnsSeeds}),a.push(e),function(t,e){for(var n=0;n<e.length;n++){var i=t[e[n]];r.isUndefined(i)||r.isObject(i)||(u[i]=t)}}(e,n),e}s.prototype.toString=function(){return this.name};var d=["seed.bitcoinabc.org","seed-abc.bitcoinforks.org","btccash-seeder.bitcoinunlimited.info","seeder.jasonbcox.com","seed.deadalnix.me","seed.bchd.cash"],h={name:"livenet",alias:"mainnet",prefix:"bitcoincash",pubkeyhash:28,privatekey:128,scripthash:40,xpubkey:76067358,xprivkey:76066276,networkMagic:3823236072,port:8333,dnsSeeds:d};l({name:"testnet",prefix:"bchtest",pubkeyhash:111,privatekey:239,scripthash:196,xpubkey:70617039,xprivkey:70615956,networkMagic:4108710900,port:18333,dnsSeeds:d}),l({name:"regtest",prefix:"bchreg",pubkeyhash:111,privatekey:239,scripthash:196,xpubkey:70617039,xprivkey:70615956,networkMagic:3669344250,port:18444,dnsSeeds:[],indexBy:["port","name","prefix","networkMagic"]}),l(h);var p=c("livenet"),g=c("regtest"),m=c("testnet");t.exports={add:l,remove:function(t){for(var e=0;e<a.length;e++)a[e]===t&&a.splice(e,1);!function(t,e){for(var n=0;n<e.length;n++){var r=e[n];u[r]===t&&delete u[r]}}(t,Object.keys(u))},defaultNetwork:p,livenet:p,mainnet:p,testnet:m,regtest:g,get:c,enableRegtest:function(){m.regtestEnabled=!0},disableRegtest:function(){m.regtestEnabled=!1}}},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(63),a=n(79),u=function t(n){if(!(this instanceof t))return new t(n);if(!r.isUndefined(n))if(e.isBuffer(n))this.set({buf:n});else if(r.isString(n)){var i=e.from(n,"hex");if(2*i.length!=n.length)throw new TypeError("Invalid hex string");this.set({buf:i})}else{if(!r.isObject(n))throw new TypeError("Unrecognized argument for BufferReader");var o=n;this.set(o)}};u.prototype.set=function(t){return this.buf=t.buf||this.buf||void 0,this.pos=t.pos||this.pos||0,this},u.prototype.eof=function(){return this.pos>=this.buf.length},u.prototype.finished=u.prototype.eof,u.prototype.read=function(t){i.checkArgument(!r.isUndefined(t),"Must specify a length");var e=this.buf.slice(this.pos,this.pos+t);return this.pos=this.pos+t,e},u.prototype.readAll=function(){var t=this.buf.slice(this.pos,this.buf.length);return this.pos=this.buf.length,t},u.prototype.readUInt8=function(){var t=this.buf.readUInt8(this.pos);return this.pos=this.pos+1,t},u.prototype.readUInt16BE=function(){var t=this.buf.readUInt16BE(this.pos);return this.pos=this.pos+2,t},u.prototype.readUInt16LE=function(){var t=this.buf.readUInt16LE(this.pos);return this.pos=this.pos+2,t},u.prototype.readUInt32BE=function(){var t=this.buf.readUInt32BE(this.pos);return this.pos=this.pos+4,t},u.prototype.readUInt32LE=function(){var t=this.buf.readUInt32LE(this.pos);return this.pos=this.pos+4,t},u.prototype.readInt32LE=function(){var t=this.buf.readInt32LE(this.pos);return this.pos=this.pos+4,t},u.prototype.readUInt64BEBN=function(){var t=this.buf.slice(this.pos,this.pos+8),e=a.fromBuffer(t);return this.pos=this.pos+8,e},u.prototype.readUInt64LEBN=function(){var t,e=this.buf.readUInt32LE(this.pos),n=4294967296*this.buf.readUInt32LE(this.pos+4)+e;if(n<=9007199254740991)t=new a(n);else{var r=Array.prototype.slice.call(this.buf,this.pos,this.pos+8);t=new a(r,10,"le")}return this.pos=this.pos+8,t},u.prototype.readVarintNum=function(){var t=this.readUInt8();switch(t){case 253:return this.readUInt16LE();case 254:return this.readUInt32LE();case 255:var e=this.readUInt64LEBN().toNumber();if(e<=Math.pow(2,53))return e;throw new Error("number too large to retain precision - use readVarintBN");default:return t}},u.prototype.readVarLengthBuffer=function(){var t=this.readVarintNum(),e=this.read(t);return i.checkState(e.length===t,"Invalid length while reading varlength buffer. Expected to read: "+t+" and read "+e.length),e},u.prototype.readVarintBuf=function(){switch(this.buf.readUInt8(this.pos)){case 253:return this.read(3);case 254:return this.read(5);case 255:return this.read(9);default:return this.read(1)}},u.prototype.readVarintBN=function(){var t=this.readUInt8();switch(t){case 253:return new a(this.readUInt16LE());case 254:return new a(this.readUInt32LE());case 255:return this.readUInt64LEBN();default:return new a(t)}},u.prototype.reverse=function(){for(var t=e.alloc(this.buf.length),n=0;n<t.length;n++)t[n]=this.buf[this.buf.length-1-n];return this.buf=t,this},u.prototype.readReverse=function(t){r.isUndefined(t)&&(t=this.buf.length);var e=this.buf.slice(this.pos,this.pos+t);return this.pos=this.pos+t,o.reverse(e)},t.exports=u}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(393);e.a=function(t,e){return e?Object(r.a)(t,e,{clone:!1}):t}},function(t,e,n){"use strict";function r(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,i){return e.apply(this,arguments)};case 5:return function(t,n,r,i,o){return e.apply(this,arguments)};case 6:return function(t,n,r,i,o,a){return e.apply(this,arguments)};case 7:return function(t,n,r,i,o,a,u){return e.apply(this,arguments)};case 8:return function(t,n,r,i,o,a,u,s){return e.apply(this,arguments)};case 9:return function(t,n,r,i,o,a,u,s,c){return e.apply(this,arguments)};case 10:return function(t,n,r,i,o,a,u,s,c,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(41),i=n(76),o=Object(r.a)(i.a);e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(93);function i(t,e){return function(){var n=arguments.length;if(0===n)return e();var i=arguments[n-1];return Object(r.a)(i)||"function"!==typeof i[t]?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},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)}function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){g(t,e,n[e])}))}return t}function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function f(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?p(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(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}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=n(1),b=n(13),v=n(615),y=n(409);function _(t){for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);r<128?e+=String.fromCharCode(r):r<2048?(e+=String.fromCharCode(192|r>>6),e+=String.fromCharCode(128|63&r)):r<55296||r>=57344?(e+=String.fromCharCode(224|r>>12),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|63&r)):(n++,r=65536+((1023&r)<<10|1023&t.charCodeAt(n)),e+=String.fromCharCode(240|r>>18),e+=String.fromCharCode(128|r>>12&63),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|63&r))}return e}var w={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1},S={value:b.string.isRequired,size:b.number,level:b.oneOf(["L","M","Q","H"]),bgColor:b.string,fgColor:b.string,includeMargin:b.bool};function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return t.forEach((function(t,r){var i=null;t.forEach((function(o,a){if(!o&&null!==i)return n.push("M".concat(i+e," ").concat(r+e,"h").concat(a-i,"v1H").concat(i+e,"z")),void(i=null);if(a!==t.length-1)o&&null===i&&(i=a);else{if(!o)return;null===i?n.push("M".concat(a+e,",").concat(r+e," h1v1H").concat(a+e,"z")):n.push("M".concat(i+e,",").concat(r+e," h").concat(a+1-i,"v1H").concat(i+e,"z"))}}))})),n.join("")}var x=function(){try{(new Path2D).addPath(new Path2D)}catch(t){return!1}return!0}(),E=function(t){function e(){var t,n;u(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(p(p(n=f(this,(t=l(e)).call.apply(t,[this].concat(i))))),"_canvas",void 0),n}return d(e,t),c(e,[{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var t=this.props,e=t.value,n=t.size,r=t.level,i=t.bgColor,o=t.fgColor,a=t.includeMargin,u=new v(-1,y[r]);if(u.addData(_(e)),u.make(),null!=this._canvas){var s=this._canvas,c=s.getContext("2d");if(!c)return;var f=u.modules;if(null===f)return;var l=a?4:0,d=f.length+2*l,h=window.devicePixelRatio||1;s.height=s.width=n*h;var p=n/d*h;c.scale(p,p),c.fillStyle=i,c.fillRect(0,0,d,d),c.fillStyle=o,x?c.fill(new Path2D(O(f,l))):f.forEach((function(t,e){t.forEach((function(t,n){t&&c.fillRect(n+l,e+l,1,1)}))}))}}},{key:"render",value:function(){var t=this,e=this.props,n=(e.value,e.size),r=(e.level,e.bgColor,e.fgColor,e.style),u=(e.includeMargin,a(e,["value","size","level","bgColor","fgColor","style","includeMargin"])),s=o({height:n,width:n},r);return m.createElement("canvas",i({style:s,height:n,width:n,ref:function(e){return t._canvas=e}},u))}}]),e}(m.PureComponent);g(E,"defaultProps",w),g(E,"propTypes",S);var M=function(t){function e(){return u(this,e),f(this,l(e).apply(this,arguments))}return d(e,t),c(e,[{key:"render",value:function(){var t=this.props,e=t.value,n=t.size,r=t.level,o=t.bgColor,u=t.fgColor,s=t.includeMargin,c=a(t,["value","size","level","bgColor","fgColor","includeMargin"]),f=new v(-1,y[r]);f.addData(_(e)),f.make();var l=f.modules;if(null===l)return null;var d=s?4:0,h=O(l,d),p=l.length+2*d;return m.createElement("svg",i({shapeRendering:"crispEdges",height:n,width:n,viewBox:"0 0 ".concat(p," ").concat(p)},c),m.createElement("path",{fill:o,d:"M0,0 h".concat(p,"v").concat(p,"H0z")}),m.createElement("path",{fill:u,d:h}))}}]),e}(m.PureComponent);g(M,"defaultProps",w),g(M,"propTypes",S);var T=function(t){var e=t.renderAs,n=a(t,["renderAs"]),r="svg"===e?M:E;return m.createElement(r,n)};T.defaultProps=o({renderAs:"canvas"},w),t.exports=T},function(t,e,n){"use strict";function r(t){this._maxSize=t,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(t){return this._values[t]},r.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var i=/[^.^\]^[]+|(?=\[\]|\.\.)/g,o=/^\d+$/,a=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new r(512),f=new r(512),l=new r(512);function d(t){return c.get(t)||c.set(t,h(t).map((function(t){return t.replace(s,"$2")})))}function h(t){return t.match(i)}function p(t){return"string"===typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function g(t){return!p(t)&&(function(t){return t.match(a)&&!t.match(o)}(t)||function(t){return u.test(t)}(t))}t.exports={Cache:r,split:h,normalizePath:d,setter:function(t){var e=d(t);return f.get(t)||f.set(t,(function(t,n){for(var r=0,i=e.length,o=t;r<i-1;){var a=e[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return t;o=o[e[r++]]}o[e[r]]=n}))},getter:function(t,e){var n=d(t);return l.get(t)||l.set(t,(function(t){for(var r=0,i=n.length;r<i;){if(null==t&&e)return;t=t[n[r++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(p(e)||o.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,n){!function(t,e,n){var r,i,o,a,u=t.length;for(i=0;i<u;i++)(r=t[i])&&(g(r)&&(r='"'+r+'"'),o=!(a=p(r))&&/^\d+$/.test(r),e.call(n,r,a,o,i,t))}(Array.isArray(t)?t:h(t),e,n)}}},function(t,e,n){"use strict";function r(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(16),i=n(193),o=n(85),a=n(229),u=Object(r.a)((function(t,e){return Object(o.a)(t+1,(function(){var n=arguments[t];if(null!=n&&Object(i.a)(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Object(a.a)(n)+' does not have a method named "'+e+'"')}))}));e.a=u},function(t,e,n){"use strict";var r=n(1),i=r.createContext();e.a=i},function(t,e,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function o(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return function(e,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):o;r=t.formattingValues[a]||t.formattingValues[o]}else{var u=t.defaultWidth,s=i.width?String(i.width):t.defaultWidth;r=t.values[s]||t.values[u]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function c(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,u=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?l(s,(function(t){return t.test(u)})):f(s,(function(t){return t.test(u)}));a=t.valueCallback?t.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var d=e.slice(u.length);return{value:a,rest:d}}}function f(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function l(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}var d,h={code:"en-US",formatDistance:i,formatLong:a,formatRelative:function(t,e,n,r){return u[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(d.matchPattern);if(!n)return null;var r=n[0],i=t.match(d.parsePattern);if(!i)return null;var o=d.valueCallback?d.valueCallback(i[0]):i[0];o=e.valueCallback?e.valueCallback(o):o;var a=t.slice(r.length);return{value:o,rest:a}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.a=h},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},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";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return _})),n.d(e,"c",(function(){return x})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return k})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return I})),n.d(e,"i",(function(){return P})),n.d(e,"j",(function(){return N}));var r=n(69),i=n(1),o=n.n(i),a=(n(13),n(122)),u=n(554),s=n(110),c=n(4),f=n(398),l=n.n(f),d=(n(103),n(65)),h=(n(125),function(t){var e=Object(u.a)();return e.displayName=t,e}("Router")),p=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}Object(r.a)(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(h.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},e}(o.a.Component);o.a.Component;var g=function(t){function e(){return t.apply(this,arguments)||this}Object(r.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(o.a.Component);function m(t){var e=t.message,n=t.when,r=void 0===n||n;return o.a.createElement(h.Consumer,null,(function(t){if(t||Object(s.a)(!1),!r||t.staticContext)return null;var n=t.history.block;return o.a.createElement(g,{onMount:function(t){t.release=n(e)},onUpdate:function(t,r){r.message!==e&&(t.release(),t.release=n(e))},onUnmount:function(t){t.release()},message:e})}))}var b={},v=0;function y(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(b[t])return b[t];var e=l.a.compile(t);return v<1e4&&(b[t]=e,v++),e}(t)(e,{pretty:!0})}function _(t){var e=t.computedMatch,n=t.to,r=t.push,i=void 0!==r&&r;return o.a.createElement(h.Consumer,null,(function(t){t||Object(s.a)(!1);var r=t.history,u=t.staticContext,f=i?r.push:r.replace,l=Object(a.c)(e?"string"===typeof n?y(n,e.params):Object(c.a)({},n,{pathname:y(n.pathname,e.params)}):n);return u?(f(l),null):o.a.createElement(g,{onMount:function(){f(l)},onUpdate:function(t,e){var n=Object(a.c)(e.to);Object(a.f)(n,Object(c.a)({},l,{key:n.key}))||f(l)},to:n})}))}var w={},S=0;function O(t,e){void 0===e&&(e={}),("string"===typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,u=void 0!==a&&a,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=w[n]||(w[n]={});if(r[t])return r[t];var i=[],o={regexp:l()(t,i,e),keys:i};return S<1e4&&(r[t]=o,S++),o}(n,{end:o,strict:u,sensitive:c}),i=r.regexp,a=r.keys,s=i.exec(t);if(!s)return null;var f=s[0],d=s.slice(1),h=t===f;return o&&!h?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:h,params:a.reduce((function(t,e,n){return t[e.name]=d[n],t}),{})}}),null)}var x=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return o.a.createElement(h.Consumer,null,(function(e){e||Object(s.a)(!1);var n=t.props.location||e.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?O(n.pathname,t.props):e.match,i=Object(c.a)({},e,{location:n,match:r}),a=t.props,u=a.children,f=a.component,l=a.render;return Array.isArray(u)&&0===u.length&&(u=null),o.a.createElement(h.Provider,{value:i},i.match?u?"function"===typeof u?u(i):u:f?o.a.createElement(f,i):l?l(i):null:"function"===typeof u?u(i):null)}))},e}(o.a.Component);function E(t){return"/"===t.charAt(0)?t:"/"+t}function M(t,e){if(!t)return e;var n=E(t);return 0!==e.pathname.indexOf(n)?e:Object(c.a)({},e,{pathname:e.pathname.substr(n.length)})}function T(t){return"string"===typeof t?t:Object(a.e)(t)}function $(t){return function(){Object(s.a)(!1)}}function A(){}o.a.Component;var k=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return o.a.createElement(h.Consumer,null,(function(e){e||Object(s.a)(!1);var n,r,i=t.props.location||e.location;return o.a.Children.forEach(t.props.children,(function(t){if(null==r&&o.a.isValidElement(t)){n=t;var a=t.props.path||t.props.from;r=a?O(i.pathname,Object(c.a)({},t.props,{path:a})):e.match}})),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null}))},e}(o.a.Component);var C=o.a.useContext;function I(){return C(h).history}function P(){return C(h).location}function N(){var t=C(h).match;return t?t.params:{}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t){Object(i.a)(1,arguments);var e=Object(r.a)(t);return e.setHours(0,0,0,0),e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return $})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return r}));var r,i=n(14),o=n(27),a=n(77),u=n(82),s=n(109),c=n(529),f=n(31),l=n(99);function d(t){return t<7}!function(t){t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error"}(r||(r={}));var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.c)(e,t),e.prototype[c.a]=function(){return this},e.prototype["@@observable"]=function(){return this},e}(u.a);function p(t){return Array.isArray(t)&&t.length>0}var g,m=function(t){function e(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,u=t.call(this,o)||this;return u.graphQLErrors=r||[],u.networkError=i||null,u.message=o||function(t){var e="";return p(t.graphQLErrors)&&t.graphQLErrors.forEach((function(t){var n=t?t.message:"Error message not found.";e+="GraphQL error: "+n+"\n"})),t.networkError&&(e+="Network error: "+t.networkError.message+"\n"),e=e.replace(/\n$/,"")}(u),u.extraInfo=a,u.__proto__=e.prototype,u}return Object(i.c)(e,t),e}(Error);!function(t){t[t.normal=1]="normal",t[t.refetch=2]="refetch",t[t.poll=3]="poll"}(g||(g={}));var b=function(t){function e(e){var n=e.queryManager,r=e.options,i=e.shouldSubscribe,a=void 0===i||i,u=t.call(this,(function(t){return u.onSubscribe(t)}))||this;u.observers=new Set,u.subscriptions=new Set,u.isTornDown=!1,u.options=r,u.variables=r.variables||{},u.queryId=n.generateQueryId(),u.shouldSubscribe=a;var s=Object(o.m)(r.query);return u.queryName=s&&s.name&&s.name.value,u.queryManager=n,u}return Object(i.c)(e,t),e.prototype.result=function(){var t=this;return new Promise((function(e,n){var r={next:function(n){e(n),t.observers.delete(r),t.observers.size||t.queryManager.removeQuery(t.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=t.subscribe(r)}))},e.prototype.currentResult=function(){var t=this.getCurrentResult();return void 0===t.data&&(t.data={}),t},e.prototype.getCurrentResult=function(){if(this.isTornDown){var t=this.lastResult;return{data:!this.lastError&&t&&t.data||void 0,error:this.lastError,loading:!1,networkStatus:r.error}}var e,n,o,a=this.queryManager.getCurrentQueryResult(this),u=a.data,s=a.partial,c=this.queryManager.queryStore.get(this.queryId),f=this.options.fetchPolicy,l="network-only"===f||"no-cache"===f;if(c){var h=c.networkStatus;if(n=c,void 0===(o=this.options.errorPolicy)&&(o="none"),n&&(n.networkError||"none"===o&&p(n.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:h,error:new m({graphQLErrors:c.graphQLErrors,networkError:c.networkError})};c.variables&&(this.options.variables=Object(i.a)(Object(i.a)({},this.options.variables),c.variables),this.variables=this.options.variables),e={data:u,loading:d(h),networkStatus:h},c.graphQLErrors&&"all"===this.options.errorPolicy&&(e.errors=c.graphQLErrors)}else{var g=l||s&&"cache-only"!==f;e={data:u,loading:g,networkStatus:g?r.loading:r.ready}}return s||this.updateLastResult(Object(i.a)(Object(i.a)({},e),{stale:!1})),Object(i.a)(Object(i.a)({},e),{partial:s})},e.prototype.isDifferentFromLastResult=function(t){var e=this.lastResultSnapshot;return!(e&&t&&e.networkStatus===t.networkStatus&&e.stale===t.stale&&Object(a.a)(e.data,t.data))},e.prototype.getLastResult=function(){return this.lastResult},e.prototype.getLastError=function(){return this.lastError},e.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){var t=this.queryManager.queryStore.get(this.queryId);t&&(t.networkError=null,t.graphQLErrors=[])},e.prototype.refetch=function(t){var e=this.options.fetchPolicy;return"cache-only"===e?Promise.reject(new f.a(1)):("no-cache"!==e&&"cache-and-network"!==e&&(e="network-only"),Object(a.a)(this.variables,t)||(this.variables=Object(i.a)(Object(i.a)({},this.variables),t)),Object(a.a)(this.options.variables,this.variables)||(this.options.variables=Object(i.a)(Object(i.a)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(i.a)(Object(i.a)({},this.options),{fetchPolicy:e}),g.refetch))},e.prototype.fetchMore=function(t){var e=this;Object(f.b)(t.updateQuery,2);var n=Object(i.a)(Object(i.a)({},t.query?t:Object(i.a)(Object(i.a)(Object(i.a)({},this.options),t),{variables:Object(i.a)(Object(i.a)({},this.variables),t.variables)})),{fetchPolicy:"network-only"}),r=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(r,n,g.normal,this.queryId).then((function(i){return e.updateQuery((function(e){return t.updateQuery(e,{fetchMoreResult:i.data,variables:n.variables})})),e.queryManager.stopQuery(r),i}),(function(t){throw e.queryManager.stopQuery(r),t}))},e.prototype.subscribeToMore=function(t){var e=this,n=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables}).subscribe({next:function(n){var r=t.updateQuery;r&&e.updateQuery((function(t,e){var i=e.variables;return r(t,{subscriptionData:n,variables:i})}))},error:function(e){t.onError&&t.onError(e)}});return this.subscriptions.add(n),function(){e.subscriptions.delete(n)&&n.unsubscribe()}},e.prototype.setOptions=function(t){var e=this.options.fetchPolicy;this.options=Object(i.a)(Object(i.a)({},this.options),t),t.pollInterval?this.startPolling(t.pollInterval):0===t.pollInterval&&this.stopPolling();var n=t.fetchPolicy;return this.setVariables(this.options.variables,e!==n&&("cache-only"===e||"standby"===e||"network-only"===n),t.fetchResults)},e.prototype.setVariables=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!0),this.isTornDown=!1,t=t||this.variables,!e&&Object(a.a)(t,this.variables)?this.observers.size&&n?this.result():Promise.resolve():(this.variables=this.options.variables=t,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},e.prototype.updateQuery=function(t){var e=this.queryManager,n=e.getQueryWithPreviousResult(this.queryId),r=n.previousResult,i=n.variables,a=n.document,u=Object(o.I)((function(){return t(r,{variables:i})}));u&&(e.dataStore.markUpdateQueryResult(a,i,u),e.broadcastQueries())},e.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},e.prototype.startPolling=function(t){_(this),this.options.pollInterval=t,this.queryManager.startPollingQuery(this.options,this.queryId)},e.prototype.updateLastResult=function(t){var e=this.lastResult;return this.lastResult=t,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?t:Object(o.f)(t),e},e.prototype.onSubscribe=function(t){var e=this;try{var n=t._subscription._observer;n&&!n.error&&(n.error=v)}catch(i){}var r=!this.observers.size;return this.observers.add(t),t.next&&this.lastResult&&t.next(this.lastResult),t.error&&this.lastError&&t.error(this.lastError),r&&this.setUpQuery(),function(){e.observers.delete(t)&&!e.observers.size&&e.tearDownQuery()}},e.prototype.setUpQuery=function(){var t=this,e=this.queryManager,n=this.queryId;this.shouldSubscribe&&e.addObservableQuery(n,this),this.options.pollInterval&&(_(this),e.startPollingQuery(this.options,n));var o=function(e){t.updateLastResult(Object(i.a)(Object(i.a)({},t.lastResult),{errors:e.graphQLErrors,networkStatus:r.error,loading:!1})),y(t.observers,"error",t.lastError=e)};e.observeQuery(n,this.options,{next:function(n){if(t.lastError||t.isDifferentFromLastResult(n)){var r=t.updateLastResult(n),i=t.options,o=i.query,u=i.variables,s=i.fetchPolicy;e.transform(o).hasClientExports?e.getLocalState().addExportedVariables(o,u).then((function(i){var u=t.variables;t.variables=t.options.variables=i,!n.loading&&r&&"cache-only"!==s&&e.transform(o).serverQuery&&!Object(a.a)(u,i)?t.refetch():y(t.observers,"next",n)})):y(t.observers,"next",n)}},error:o}).catch(o)},e.prototype.tearDownQuery=function(){var t=this.queryManager;this.isTornDown=!0,t.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(t){return t.unsubscribe()})),this.subscriptions.clear(),t.removeObservableQuery(this.queryId),t.stopQuery(this.queryId),this.observers.clear()},e}(h);function v(t){}function y(t,e,n){var r=[];t.forEach((function(t){return t[e]&&r.push(t)})),r.forEach((function(t){return t[e](n)}))}function _(t){var e=t.options.fetchPolicy;Object(f.b)("cache-first"!==e&&"cache-only"!==e,3)}var w=function(){function t(){this.store={}}return t.prototype.getStore=function(){return this.store},t.prototype.get=function(t){return this.store[t]},t.prototype.initMutation=function(t,e,n){this.store[t]={mutation:e,variables:n||{},loading:!0,error:null}},t.prototype.markMutationError=function(t,e){var n=this.store[t];n&&(n.loading=!1,n.error=e)},t.prototype.markMutationResult=function(t){var e=this.store[t];e&&(e.loading=!1,e.error=null)},t.prototype.reset=function(){this.store={}},t}(),S=function(){function t(){this.store={}}return t.prototype.getStore=function(){return this.store},t.prototype.get=function(t){return this.store[t]},t.prototype.initQuery=function(t){var e=this.store[t.queryId];Object(f.b)(!e||e.document===t.document||Object(a.a)(e.document,t.document),19);var n,i=!1,o=null;t.storePreviousVariables&&e&&e.networkStatus!==r.loading&&(Object(a.a)(e.variables,t.variables)||(i=!0,o=e.variables)),n=i?r.setVariables:t.isPoll?r.poll:t.isRefetch?r.refetch:r.loading;var u=[];e&&e.graphQLErrors&&(u=e.graphQLErrors),this.store[t.queryId]={document:t.document,variables:t.variables,previousVariables:o,networkError:null,graphQLErrors:u,networkStatus:n,metadata:t.metadata},"string"===typeof t.fetchMoreForQueryId&&this.store[t.fetchMoreForQueryId]&&(this.store[t.fetchMoreForQueryId].networkStatus=r.fetchMore)},t.prototype.markQueryResult=function(t,e,n){this.store&&this.store[t]&&(this.store[t].networkError=null,this.store[t].graphQLErrors=p(e.errors)?e.errors:[],this.store[t].previousVariables=null,this.store[t].networkStatus=r.ready,"string"===typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},t.prototype.markQueryError=function(t,e,n){this.store&&this.store[t]&&(this.store[t].networkError=e,this.store[t].networkStatus=r.error,"string"===typeof n&&this.markQueryResultClient(n,!0))},t.prototype.markQueryResultClient=function(t,e){var n=this.store&&this.store[t];n&&(n.networkError=null,n.previousVariables=null,e&&(n.networkStatus=r.ready))},t.prototype.stopQuery=function(t){delete this.store[t]},t.prototype.reset=function(t){var e=this;Object.keys(this.store).forEach((function(n){t.indexOf(n)<0?e.stopQuery(n):e.store[n].networkStatus=r.loading}))},t}();var O=function(){function t(t){var e=t.cache,n=t.client,r=t.resolvers,i=t.fragmentMatcher;this.cache=e,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return t.prototype.addResolvers=function(t){var e=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach((function(t){e.resolvers=Object(o.A)(e.resolvers,t)})):this.resolvers=Object(o.A)(this.resolvers,t)},t.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},t.prototype.getResolvers=function(){return this.resolvers||{}},t.prototype.runResolvers=function(t){var e=t.document,n=t.remoteResult,r=t.context,o=t.variables,a=t.onlyRunForcedResolvers,u=void 0!==a&&a;return Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(t){return e?[2,this.resolveDocument(e,n.data,r,o,this.fragmentMatcher,u).then((function(t){return Object(i.a)(Object(i.a)({},n),{data:t.result})}))]:[2,n]}))}))},t.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(t){return Object(o.s)(["client"],t)&&this.resolvers?t:null},t.prototype.serverQuery=function(t){return this.resolvers?Object(o.C)(t):t},t.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.cache;return Object(i.a)(Object(i.a)({},t),{cache:e,getCacheKey:function(t){if(e.config)return e.config.dataIdFromObject(t);Object(f.b)(!1,6)}})},t.prototype.addExportedVariables=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(r){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,e)||{},this.prepareContext(n),e).then((function(t){return Object(i.a)(Object(i.a)({},e),t.exportedVariables)}))]:[2,Object(i.a)({},e)]}))}))},t.prototype.shouldForceResolvers=function(t){var e=!1;return Object(l.b)(t,{Directive:{enter:function(t){if("client"===t.name.value&&t.arguments&&(e=t.arguments.some((function(t){return"always"===t.name.value&&"BooleanValue"===t.value.kind&&!0===t.value.value}))))return l.a}}}),e},t.prototype.buildRootValueFromCache=function(t,e){return this.cache.diff({query:Object(o.d)(t),variables:e,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(t,e,n,r,a,u){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===a&&(a=function(){return!0}),void 0===u&&(u=!1),Object(i.b)(this,void 0,void 0,(function(){var s,c,f,l,d,h,p,g,m;return Object(i.d)(this,(function(b){var v;return s=Object(o.l)(t),c=Object(o.j)(t),f=Object(o.g)(c),l=s.operation,d=l?(v=l).charAt(0).toUpperCase()+v.slice(1):"Query",p=(h=this).cache,g=h.client,m={fragmentMap:f,context:Object(i.a)(Object(i.a)({},n),{cache:p,client:g}),variables:r,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:u},[2,this.resolveSelectionSet(s.selectionSet,e,m).then((function(t){return{result:t,exportedVariables:m.exportedVariables}}))]}))}))},t.prototype.resolveSelectionSet=function(t,e,n){return Object(i.b)(this,void 0,void 0,(function(){var r,a,u,s,c,l=this;return Object(i.d)(this,(function(d){return r=n.fragmentMap,a=n.context,u=n.variables,s=[e],c=function(t){return Object(i.b)(l,void 0,void 0,(function(){var c,l;return Object(i.d)(this,(function(i){return Object(o.F)(t,u)?Object(o.t)(t)?[2,this.resolveField(t,e,n).then((function(e){var n;"undefined"!==typeof e&&s.push(((n={})[Object(o.E)(t)]=e,n))}))]:(Object(o.v)(t)?c=t:(c=r[t.name.value],Object(f.b)(c,7)),c&&c.typeCondition&&(l=c.typeCondition.name.value,n.fragmentMatcher(e,l,a))?[2,this.resolveSelectionSet(c.selectionSet,e,n).then((function(t){s.push(t)}))]:[2]):[2]}))}))},[2,Promise.all(t.selections.map(c)).then((function(){return Object(o.B)(s)}))]}))}))},t.prototype.resolveField=function(t,e,n){return Object(i.b)(this,void 0,void 0,(function(){var r,a,u,s,c,f,l,d,h,p=this;return Object(i.d)(this,(function(i){return r=n.variables,a=t.name.value,u=Object(o.E)(t),s=a!==u,c=e[u]||e[a],f=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(t)||(l=e.__typename||n.defaultOperationType,(d=this.resolvers&&this.resolvers[l])&&(h=d[s?a:u])&&(f=Promise.resolve(h(e,Object(o.b)(t,r),n.context,{field:t,fragmentMap:n.fragmentMap})))),[2,f.then((function(e){return void 0===e&&(e=c),t.directives&&t.directives.forEach((function(t){"export"===t.name.value&&t.arguments&&t.arguments.forEach((function(t){"as"===t.name.value&&"StringValue"===t.value.kind&&(n.exportedVariables[t.value.value]=e)}))})),t.selectionSet?null==e?e:Array.isArray(e)?p.resolveSubSelectedArray(t,e,n):t.selectionSet?p.resolveSelectionSet(t.selectionSet,e,n):void 0:e}))]}))}))},t.prototype.resolveSubSelectedArray=function(t,e,n){var r=this;return Promise.all(e.map((function(e){return null===e?null:Array.isArray(e)?r.resolveSubSelectedArray(t,e,n):t.selectionSet?r.resolveSelectionSet(t.selectionSet,e,n):void 0})))},t}();function x(t){var e=new Set,n=null;return new h((function(r){return e.add(r),n=n||t.subscribe({next:function(t){e.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.forEach((function(e){return e.error&&e.error(t)}))},complete:function(){e.forEach((function(t){return t.complete&&t.complete()}))}}),function(){e.delete(r)&&!e.size&&n&&(n.unsubscribe(),n=null)}}))}var E=Object.prototype.hasOwnProperty,M=function(){function t(t){var e=t.link,n=t.queryDeduplication,r=void 0!==n&&n,i=t.store,a=t.onBroadcast,u=void 0===a?function(){}:a,s=t.ssrMode,c=void 0!==s&&s,f=t.clientAwareness,l=void 0===f?{}:f,d=t.localState,h=t.assumeImmutableResults;this.mutationStore=new w,this.queryStore=new S,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(o.e?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=e,this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=u,this.clientAwareness=l,this.localState=d||new O({cache:i.getCache()}),this.ssrMode=c,this.assumeImmutableResults=!!h}return t.prototype.stop=function(){var t=this;this.queries.forEach((function(e,n){t.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(t){t(new f.a(8))}))},t.prototype.mutate=function(t){var e=t.mutation,n=t.variables,r=t.optimisticResponse,a=t.updateQueries,u=t.refetchQueries,s=void 0===u?[]:u,c=t.awaitRefetchQueries,l=void 0!==c&&c,d=t.update,h=t.errorPolicy,g=void 0===h?"none":h,b=t.fetchPolicy,v=t.context,y=void 0===v?{}:v;return Object(i.b)(this,void 0,void 0,(function(){var t,u,c,h=this;return Object(i.d)(this,(function(v){switch(v.label){case 0:return Object(f.b)(e,9),Object(f.b)(!b||"no-cache"===b,10),t=this.generateQueryId(),e=this.transform(e).document,this.setQuery(t,(function(){return{document:e}})),n=this.getVariables(e,n),this.transform(e).hasClientExports?[4,this.localState.addExportedVariables(e,n,y)]:[3,2];case 1:n=v.sent(),v.label=2;case 2:return u=function(){var t={};return a&&h.queries.forEach((function(e,n){var r=e.observableQuery;if(r){var i=r.queryName;i&&E.call(a,i)&&(t[n]={updater:a[i],query:h.queryStore.get(n)})}})),t},this.mutationStore.initMutation(t,e,n),this.dataStore.markMutationInit({mutationId:t,document:e,variables:n,updateQueries:u(),update:d,optimisticResponse:r}),this.broadcastQueries(),c=this,[2,new Promise((function(a,f){var h,v;c.getObservableFromLink(e,Object(i.a)(Object(i.a)({},y),{optimisticResponse:r}),n,!1).subscribe({next:function(r){Object(o.q)(r)&&"none"===g?v=new m({graphQLErrors:r.errors}):(c.mutationStore.markMutationResult(t),"no-cache"!==b&&c.dataStore.markMutationResult({mutationId:t,result:r,document:e,variables:n,updateQueries:u(),update:d}),h=r)},error:function(e){c.mutationStore.markMutationError(t,e),c.dataStore.markMutationComplete({mutationId:t,optimisticResponse:r}),c.broadcastQueries(),c.setQuery(t,(function(){return{document:null}})),f(new m({networkError:e}))},complete:function(){if(v&&c.mutationStore.markMutationError(t,v),c.dataStore.markMutationComplete({mutationId:t,optimisticResponse:r}),c.broadcastQueries(),v)f(v);else{"function"===typeof s&&(s=s(h));var e=[];p(s)&&s.forEach((function(t){if("string"===typeof t)c.queries.forEach((function(n){var r=n.observableQuery;r&&r.queryName===t&&e.push(r.refetch())}));else{var n={query:t.query,variables:t.variables,fetchPolicy:"network-only"};t.context&&(n.context=t.context),e.push(c.query(n))}})),Promise.all(l?e:[]).then((function(){c.setQuery(t,(function(){return{document:null}})),"ignore"===g&&h&&Object(o.q)(h)&&delete h.errors,a(h)}))}}})}))]}}))}))},t.prototype.fetchQuery=function(t,e,n,r){return Object(i.b)(this,void 0,void 0,(function(){var a,u,s,c,f,l,d,h,p,b,v,y,_,w,S,O,x,E,M=this;return Object(i.d)(this,(function(T){switch(T.label){case 0:return a=e.metadata,u=void 0===a?null:a,s=e.fetchPolicy,c=void 0===s?"cache-first":s,f=e.context,l=void 0===f?{}:f,d=this.transform(e.query).document,h=this.getVariables(d,e.variables),this.transform(d).hasClientExports?[4,this.localState.addExportedVariables(d,h,l)]:[3,2];case 1:h=T.sent(),T.label=2;case 2:if(e=Object(i.a)(Object(i.a)({},e),{variables:h}),v=b="network-only"===c||"no-cache"===c,b||(y=this.dataStore.getCache().diff({query:d,variables:h,returnPartialData:!0,optimistic:!1}),_=y.complete,w=y.result,v=!_||"cache-and-network"===c,p=w),S=v&&"cache-only"!==c&&"standby"!==c,Object(o.s)(["live"],d)&&(S=!0),O=this.idCounter++,x="no-cache"!==c?this.updateQueryWatch(t,d,e):void 0,this.setQuery(t,(function(){return{document:d,lastRequestId:O,invalidated:!0,cancel:x}})),this.invalidate(r),this.queryStore.initQuery({queryId:t,document:d,storePreviousVariables:S,variables:h,isPoll:n===g.poll,isRefetch:n===g.refetch,metadata:u,fetchMoreForQueryId:r}),this.broadcastQueries(),S){if(E=this.fetchRequest({requestId:O,queryId:t,document:d,options:e,fetchMoreForQueryId:r}).catch((function(e){throw e.hasOwnProperty("graphQLErrors")?e:(O>=M.getQuery(t).lastRequestId&&(M.queryStore.markQueryError(t,e,r),M.invalidate(t),M.invalidate(r),M.broadcastQueries()),new m({networkError:e}))})),"cache-and-network"!==c)return[2,E];E.catch((function(){}))}return this.queryStore.markQueryResultClient(t,!S),this.invalidate(t),this.invalidate(r),this.transform(d).hasForcedResolvers?[2,this.localState.runResolvers({document:d,remoteResult:{data:p},context:l,variables:h,onlyRunForcedResolvers:!0}).then((function(n){return M.markQueryResult(t,n,e,r),M.broadcastQueries(),n}))]:(this.broadcastQueries(),[2,{data:p}])}}))}))},t.prototype.markQueryResult=function(t,e,n,r){var i=n.fetchPolicy,o=n.variables,a=n.errorPolicy;"no-cache"===i?this.setQuery(t,(function(){return{newData:{result:e.data,complete:!0}}})):this.dataStore.markQueryResult(e,this.getQuery(t).document,o,r,"ignore"===a||"all"===a)},t.prototype.queryListenerForObserver=function(t,e,n){var r=this;function i(t,e){if(n[t])try{n[t](e)}catch(r){}}return function(n,o){if(r.invalidate(t,!1),n){var a=r.getQuery(t),u=a.observableQuery,s=a.document,c=u?u.options.fetchPolicy:e.fetchPolicy;if("standby"!==c){var f=d(n.networkStatus),l=u&&u.getLastResult(),h=!(!l||l.networkStatus===n.networkStatus),g=e.returnPartialData||!o&&n.previousVariables||h&&e.notifyOnNetworkStatusChange||"cache-only"===c||"cache-and-network"===c;if(!f||g){var b=p(n.graphQLErrors),v=u&&u.options.errorPolicy||e.errorPolicy||"none";if("none"===v&&b||n.networkError)return i("error",new m({graphQLErrors:n.graphQLErrors,networkError:n.networkError}));try{var y=void 0,_=void 0;if(o)"no-cache"!==c&&"network-only"!==c&&r.setQuery(t,(function(){return{newData:null}})),y=o.result,_=!o.complete;else{var w=u&&u.getLastError(),S="none"!==v&&(w&&w.graphQLErrors)!==n.graphQLErrors;if(l&&l.data&&!S)y=l.data,_=!1;else{var O=r.dataStore.getCache().diff({query:s,variables:n.previousVariables||n.variables,returnPartialData:!0,optimistic:!0});y=O.result,_=!O.complete}}var x=_&&!(e.returnPartialData||"cache-only"===c),E={data:x?l&&l.data:y,loading:f,networkStatus:n.networkStatus,stale:x};"all"===v&&b&&(E.errors=n.graphQLErrors),i("next",E)}catch(M){i("error",new m({networkError:M}))}}}}}},t.prototype.transform=function(t){var e=this.transformCache;if(!e.has(t)){var n=this.dataStore.getCache(),r=n.transformDocument(t),i=Object(o.D)(n.transformForLink(r)),a=this.localState.clientQuery(r),u=this.localState.serverQuery(i),s={document:r,hasClientExports:Object(o.r)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:a,serverQuery:u,defaultVars:Object(o.h)(Object(o.m)(r))},c=function(t){t&&!e.has(t)&&e.set(t,s)};c(t),c(r),c(a),c(u)}return e.get(t)},t.prototype.getVariables=function(t,e){return Object(i.a)(Object(i.a)({},this.transform(t).defaultVars),e)},t.prototype.watchQuery=function(t,e){void 0===e&&(e=!0),Object(f.b)("standby"!==t.fetchPolicy,11),t.variables=this.getVariables(t.query,t.variables),"undefined"===typeof t.notifyOnNetworkStatusChange&&(t.notifyOnNetworkStatusChange=!1);var n=Object(i.a)({},t);return new b({queryManager:this,options:n,shouldSubscribe:e})},t.prototype.query=function(t){var e=this;return Object(f.b)(t.query,12),Object(f.b)("Document"===t.query.kind,13),Object(f.b)(!t.returnPartialData,14),Object(f.b)(!t.pollInterval,15),new Promise((function(n,r){var i=e.watchQuery(t,!1);e.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return e.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},t.prototype.generateQueryId=function(){return String(this.idCounter++)},t.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryInStoreNoBroadcast=function(t){this.stopPollingQuery(t),this.queryStore.stopQuery(t),this.invalidate(t)},t.prototype.addQueryListener=function(t,e){this.setQuery(t,(function(t){return t.listeners.add(e),{invalidated:!1}}))},t.prototype.updateQueryWatch=function(t,e,n){var r=this,i=this.getQuery(t).cancel;i&&i();return this.dataStore.getCache().watch({query:e,variables:n.variables,optimistic:!0,previousResult:function(){var e=null,n=r.getQuery(t).observableQuery;if(n){var i=n.getLastResult();i&&(e=i.data)}return e},callback:function(e){r.setQuery(t,(function(){return{invalidated:!0,newData:e}}))}})},t.prototype.addObservableQuery=function(t,e){this.setQuery(t,(function(){return{observableQuery:e}}))},t.prototype.removeObservableQuery=function(t){var e=this.getQuery(t).cancel;this.setQuery(t,(function(){return{observableQuery:null}})),e&&e()},t.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(t){t(new f.a(16))}));var t=[];return this.queries.forEach((function(e,n){e.observableQuery&&t.push(n)})),this.queryStore.reset(t),this.mutationStore.reset(),this.dataStore.reset()},t.prototype.resetStore=function(){var t=this;return this.clearStore().then((function(){return t.reFetchObservableQueries()}))},t.prototype.reFetchObservableQueries=function(t){var e=this;void 0===t&&(t=!1);var n=[];return this.queries.forEach((function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!t&&"standby"===a||n.push(o.refetch()),e.setQuery(i,(function(){return{newData:null}})),e.invalidate(i)}})),this.broadcastQueries(),Promise.all(n)},t.prototype.observeQuery=function(t,e,n){return this.addQueryListener(t,this.queryListenerForObserver(t,e,n)),this.fetchQuery(t,e)},t.prototype.startQuery=function(t,e,n){return this.addQueryListener(t,n),this.fetchQuery(t,e).catch((function(){})),t},t.prototype.startGraphQLSubscription=function(t){var e=this,n=t.query,r=t.fetchPolicy,i=t.variables;n=this.transform(n).document,i=this.getVariables(n,i);var a=function(t){return e.getObservableFromLink(n,{},t,!1).map((function(i){if(r&&"no-cache"===r||(e.dataStore.markSubscriptionResult(i,n,t),e.broadcastQueries()),Object(o.q)(i))throw new m({graphQLErrors:i.errors});return i}))};if(this.transform(n).hasClientExports){var u=this.localState.addExportedVariables(n,i).then(a);return new h((function(t){var e=null;return u.then((function(n){return e=n.subscribe(t)}),t.error),function(){return e&&e.unsubscribe()}}))}return a(i)},t.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},t.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},t.prototype.removeQuery=function(t){this.fetchQueryRejectFns.delete("query:"+t),this.fetchQueryRejectFns.delete("fetchRequest:"+t),this.getQuery(t).subscriptions.forEach((function(t){return t.unsubscribe()})),this.queries.delete(t)},t.prototype.getCurrentQueryResult=function(t,e){void 0===e&&(e=!0);var n=t.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=n.returnPartialData,u=t.getLastResult(),s=this.getQuery(t.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};var c=this.dataStore.getCache().diff({query:i,variables:r,previousResult:u?u.data:void 0,returnPartialData:!0,optimistic:e}),f=c.result,l=c.complete;return{data:l||a?f:void 0,partial:!l}},t.prototype.getQueryWithPreviousResult=function(t){var e;if("string"===typeof t){var n=this.getQuery(t).observableQuery;Object(f.b)(n,17),e=n}else e=t;var r=e.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(e,!1).data,variables:i,document:o}},t.prototype.broadcastQueries=function(){var t=this;this.onBroadcast(),this.queries.forEach((function(e,n){e.invalidated&&e.listeners.forEach((function(r){r&&r(t.queryStore.get(n),e.newData)}))}))},t.prototype.getLocalState=function(){return this.localState},t.prototype.getObservableFromLink=function(t,e,n,r){var a,u=this;void 0===r&&(r=this.queryDeduplication);var c=this.transform(t).serverQuery;if(c){var f=this.inFlightLinkObservables,l=this.link,d={query:c,variables:n,operationName:Object(o.n)(c)||void 0,context:this.prepareContext(Object(i.a)(Object(i.a)({},e),{forceFetch:!r}))};if(e=d.context,r){var p=f.get(c)||new Map;f.set(c,p);var g=JSON.stringify(n);if(!(a=p.get(g))){p.set(g,a=x(Object(s.execute)(l,d)));var m=function(){p.delete(g),p.size||f.delete(c),b.unsubscribe()},b=a.subscribe({next:m,error:m,complete:m})}}else a=x(Object(s.execute)(l,d))}else a=h.of({data:{}}),e=this.prepareContext(e);var v=this.transform(t).clientQuery;return v&&(a=function(t,e){return new h((function(n){var r=n.next,i=n.error,o=n.complete,a=0,u=!1,s={next:function(t){++a,new Promise((function(n){n(e(t))})).then((function(t){--a,r&&r.call(n,t),u&&s.complete()}),(function(t){--a,i&&i.call(n,t)}))},error:function(t){i&&i.call(n,t)},complete:function(){u=!0,a||o&&o.call(n)}},c=t.subscribe(s);return function(){return c.unsubscribe()}}))}(a,(function(t){return u.localState.runResolvers({document:v,remoteResult:t,context:e,variables:n})}))),a},t.prototype.fetchRequest=function(t){var e,n,i=this,o=t.requestId,a=t.queryId,u=t.document,s=t.options,c=t.fetchMoreForQueryId,f=s.variables,l=s.errorPolicy,d=void 0===l?"none":l,h=s.fetchPolicy;return new Promise((function(t,l){var g=i.getObservableFromLink(u,s.context,f),b="fetchRequest:"+a;i.fetchQueryRejectFns.set(b,l);var v=function(){i.fetchQueryRejectFns.delete(b),i.setQuery(a,(function(t){t.subscriptions.delete(y)}))},y=g.map((function(t){if(o>=i.getQuery(a).lastRequestId&&(i.markQueryResult(a,t,s,c),i.queryStore.markQueryResult(a,t,c),i.invalidate(a),i.invalidate(c),i.broadcastQueries()),"none"===d&&p(t.errors))return l(new m({graphQLErrors:t.errors}));if("all"===d&&(n=t.errors),c||"no-cache"===h)e=t.data;else{var r=i.dataStore.getCache().diff({variables:f,query:u,optimistic:!1,returnPartialData:!0}),g=r.result;(r.complete||s.returnPartialData)&&(e=g)}})).subscribe({error:function(t){v(),l(t)},complete:function(){v(),t({data:e,errors:n,loading:!1,networkStatus:r.ready,stale:!1})}});i.setQuery(a,(function(t){t.subscriptions.add(y)}))}))},t.prototype.getQuery=function(t){return this.queries.get(t)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},t.prototype.setQuery=function(t,e){var n=this.getQuery(t),r=Object(i.a)(Object(i.a)({},n),e(n));this.queries.set(t,r)},t.prototype.invalidate=function(t,e){void 0===e&&(e=!0),t&&this.setQuery(t,(function(){return{invalidated:e}}))},t.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.localState.prepareContext(t);return Object(i.a)(Object(i.a)({},e),{clientAwareness:this.clientAwareness})},t.prototype.checkInFlight=function(t){var e=this.queryStore.get(t);return e&&e.networkStatus!==r.ready&&e.networkStatus!==r.error},t.prototype.startPollingQuery=function(t,e,n){var r=this,o=t.pollInterval;if(Object(f.b)(o,18),!this.ssrMode){var a=this.pollingInfoByQueryId.get(e);a||this.pollingInfoByQueryId.set(e,a={}),a.interval=o,a.options=Object(i.a)(Object(i.a)({},t),{fetchPolicy:"network-only"});var u=function(){var t=r.pollingInfoByQueryId.get(e);t&&(r.checkInFlight(e)?s():r.fetchQuery(e,t.options,g.poll).then(s,s))},s=function(){var t=r.pollingInfoByQueryId.get(e);t&&(clearTimeout(t.timeout),t.timeout=setTimeout(u,t.interval))};n&&this.addQueryListener(e,n),s()}return e},t.prototype.stopPollingQuery=function(t){this.pollingInfoByQueryId.delete(t)},t}(),T=function(){function t(t){this.cache=t}return t.prototype.getCache=function(){return this.cache},t.prototype.markQueryResult=function(t,e,n,r,i){void 0===i&&(i=!1);var a=!Object(o.q)(t);i&&Object(o.q)(t)&&t.data&&(a=!0),!r&&a&&this.cache.write({result:t.data,dataId:"ROOT_QUERY",query:e,variables:n})},t.prototype.markSubscriptionResult=function(t,e,n){Object(o.q)(t)||this.cache.write({result:t.data,dataId:"ROOT_SUBSCRIPTION",query:e,variables:n})},t.prototype.markMutationInit=function(t){var e,n=this;t.optimisticResponse&&(e="function"===typeof t.optimisticResponse?t.optimisticResponse(t.variables):t.optimisticResponse,this.cache.recordOptimisticTransaction((function(r){var i=n.cache;n.cache=r;try{n.markMutationResult({mutationId:t.mutationId,result:{data:e},document:t.document,variables:t.variables,updateQueries:t.updateQueries,update:t.update})}finally{n.cache=i}}),t.mutationId))},t.prototype.markMutationResult=function(t){var e=this;if(!Object(o.q)(t.result)){var n=[{result:t.result.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}],r=t.updateQueries;r&&Object.keys(r).forEach((function(i){var a=r[i],u=a.query,s=a.updater,c=e.cache.diff({query:u.document,variables:u.variables,returnPartialData:!0,optimistic:!1}),f=c.result;if(c.complete){var l=Object(o.I)((function(){return s(f,{mutationResult:t.result,queryName:Object(o.n)(u.document)||void 0,queryVariables:u.variables})}));l&&n.push({result:l,dataId:"ROOT_QUERY",query:u.document,variables:u.variables})}})),this.cache.performTransaction((function(e){n.forEach((function(t){return e.write(t)}));var r=t.update;r&&Object(o.I)((function(){return r(e,t.result)}))}))}},t.prototype.markMutationComplete=function(t){var e=t.mutationId;t.optimisticResponse&&this.cache.removeOptimistic(e)},t.prototype.markUpdateQueryResult=function(t,e,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:e,query:t})},t.prototype.reset=function(){return this.cache.reset()},t}(),$=function(){function t(t){var e=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=t.cache,r=t.ssrMode,i=void 0!==r&&r,o=t.ssrForceFetchDelay,a=void 0===o?0:o,u=t.connectToDevTools,c=t.queryDeduplication,l=void 0===c||c,d=t.defaultOptions,h=t.assumeImmutableResults,p=void 0!==h&&h,g=t.resolvers,m=t.typeDefs,b=t.fragmentMatcher,v=t.name,y=t.version,_=t.link;if(!_&&g&&(_=s.ApolloLink.empty()),!_||!n)throw new f.a(4);this.link=_,this.cache=n,this.store=new T(n),this.disableNetworkFetches=i||a>0,this.queryDeduplication=l,this.defaultOptions=d||{},this.typeDefs=m,a&&setTimeout((function(){return e.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);"undefined"!==typeof u&&(u&&"undefined"!==typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new O({cache:n,client:this,resolvers:g,fragmentMatcher:b}),this.queryManager=new M({link:this.link,store:this.store,queryDeduplication:l,ssrMode:i,clientAwareness:{name:v,version:y},localState:this.localState,assumeImmutableResults:p,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.queryStore.getStore(),mutations:e.queryManager.mutationStore.getStore()},dataWithOptimisticResults:e.cache.extract(!0)})}})}return t.prototype.stop=function(){this.queryManager.stop()},t.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=Object(i.a)(Object(i.a)({},this.defaultOptions.watchQuery),t)),!this.disableNetworkFetches||"network-only"!==t.fetchPolicy&&"cache-and-network"!==t.fetchPolicy||(t=Object(i.a)(Object(i.a)({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},t.prototype.query=function(t){return this.defaultOptions.query&&(t=Object(i.a)(Object(i.a)({},this.defaultOptions.query),t)),Object(f.b)("cache-and-network"!==t.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=Object(i.a)(Object(i.a)({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},t.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=Object(i.a)(Object(i.a)({},this.defaultOptions.mutate),t)),this.queryManager.mutate(t)},t.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.cache.readQuery(t,e)},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.cache.readFragment(t,e)},t.prototype.writeQuery=function(t){var e=this.cache.writeQuery(t);return this.queryManager.broadcastQueries(),e},t.prototype.writeFragment=function(t){var e=this.cache.writeFragment(t);return this.queryManager.broadcastQueries(),e},t.prototype.writeData=function(t){var e=this.cache.writeData(t);return this.queryManager.broadcastQueries(),e},t.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},t.prototype.__requestRaw=function(t){return Object(s.execute)(this.link,t)},t.prototype.initQueryManager=function(){return this.queryManager},t.prototype.resetStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore()})).then((function(){return Promise.all(t.resetStoreCallbacks.map((function(t){return t()})))})).then((function(){return t.reFetchObservableQueries()}))},t.prototype.clearStore=function(){var t=this;return Promise.resolve().then((function(){return t.queryManager.clearStore()})).then((function(){return Promise.all(t.clearStoreCallbacks.map((function(t){return t()})))}))},t.prototype.onResetStore=function(t){var e=this;return this.resetStoreCallbacks.push(t),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.onClearStore=function(t){var e=this;return this.clearStoreCallbacks.push(t),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter((function(e){return e!==t}))}},t.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},t.prototype.extract=function(t){return this.cache.extract(t)},t.prototype.restore=function(t){return this.cache.restore(t)},t.prototype.addResolvers=function(t){this.localState.addResolvers(t)},t.prototype.setResolvers=function(t){this.localState.setResolvers(t)},t.prototype.getResolvers=function(){return this.localState.getResolvers()},t.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(306),i=n(30),o=n(305),a=n(22);function u(t,e){Object(a.a)(2,arguments);var n=Object(i.a)(e);return Object(o.a)(t,-n)}function s(t,e){if(Object(a.a)(2,arguments),!e||"object"!==typeof e)return new Date(NaN);var n=e.years?Object(i.a)(e.years):0,o=e.months?Object(i.a)(e.months):0,s=e.weeks?Object(i.a)(e.weeks):0,c=e.days?Object(i.a)(e.days):0,f=e.hours?Object(i.a)(e.hours):0,l=e.minutes?Object(i.a)(e.minutes):0,d=e.seconds?Object(i.a)(e.seconds):0,h=u(t,o+12*n),p=Object(r.a)(h,c+7*s),g=l+60*f,m=d+60*g,b=1e3*m,v=new Date(p.getTime()-b);return v}},function(t,e,n){var r=n(629),i=n(632);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){(function(e){var r=n(112),i=new(0,n(352).ec)("secp256k1"),o=n(755),a=e.alloc(32,0),u=e.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),s=e.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),c=i.curve.n,f=c.shrn(1),l=i.curve.g,d="Expected Private",h="Expected Point",p="Expected Tweak",g="Expected Hash";function m(t){return e.isBuffer(t)&&32===t.length}function b(t){return!!m(t)&&t.compare(u)<0}function v(t){if(!e.isBuffer(t))return!1;if(t.length<33)return!1;var n=t[0],r=t.slice(1,33);if(0===r.compare(a))return!1;if(r.compare(s)>=0)return!1;if((2===n||3===n)&&33===t.length){try{x(t)}catch(o){return!1}return!0}var i=t.slice(33);return 0!==i.compare(a)&&(!(i.compare(s)>=0)&&(4===n&&65===t.length))}function y(t){return 4!==t[0]}function _(t){return!!m(t)&&(t.compare(a)>0&&t.compare(u)<0)}function w(t,e){return void 0===t&&void 0!==e?y(e):void 0===t||t}function S(t){return new r(t)}function O(t){return t.toArrayLike(e,"be",32)}function x(t){return i.curve.decodePoint(t)}function E(t,n){return e.from(t._encode(n))}function M(t,n,r){if(!m(t))throw new TypeError(g);if(!_(n))throw new TypeError(d);if(void 0!==r&&!m(r))throw new TypeError("Expected Extra Data (32 bytes)");var i,a,u=S(n),s=S(t);o(t,n,(function(t){var e=S(t),n=l.mul(e);return!n.isInfinity()&&(0!==(i=n.x.umod(c)).isZero()&&0!==(a=e.invm(c).mul(s.add(u.mul(i))).umod(c)).isZero())}),_,r),a.cmp(f)>0&&(a=c.sub(a));var h=e.allocUnsafe(64);return O(i).copy(h,0),O(a).copy(h,32),h}t.exports={isPoint:v,isPointCompressed:function(t){return!!v(t)&&y(t)},isPrivate:_,pointAdd:function(t,e,n){if(!v(t))throw new TypeError(h);if(!v(e))throw new TypeError(h);var r=x(t),i=x(e),o=r.add(i);return o.isInfinity()?null:E(o,w(n,t))},pointAddScalar:function(t,e,n){if(!v(t))throw new TypeError(h);if(!b(e))throw new TypeError(p);var r=w(n,t),i=x(t);if(0===e.compare(a))return E(i,r);var o=S(e),u=l.mul(o),s=i.add(u);return s.isInfinity()?null:E(s,r)},pointCompress:function(t,e){if(!v(t))throw new TypeError(h);var n=x(t);if(n.isInfinity())throw new TypeError(h);return E(n,w(e,t))},pointFromScalar:function(t,e){if(!_(t))throw new TypeError(d);var n=S(t),r=l.mul(n);return r.isInfinity()?null:E(r,w(e))},pointMultiply:function(t,e,n){if(!v(t))throw new TypeError(h);if(!b(e))throw new TypeError(p);var r=w(n,t),i=x(t),o=S(e),a=i.mul(o);return a.isInfinity()?null:E(a,r)},privateAdd:function(t,e){if(!_(t))throw new TypeError(d);if(!b(e))throw new TypeError(p);var n=S(t),r=S(e),i=O(n.add(r).umod(c));return _(i)?i:null},privateSub:function(t,e){if(!_(t))throw new TypeError(d);if(!b(e))throw new TypeError(p);var n=S(t),r=S(e),i=O(n.sub(r).umod(c));return _(i)?i:null},sign:function(t,e){return M(t,e)},signWithEntropy:function(t,e,n){return M(t,e,n)},verify:function(t,n,r,i){if(!m(t))throw new TypeError(g);if(!v(n))throw new TypeError(h);if(!function(t){var n=t.slice(0,32),r=t.slice(32,64);return e.isBuffer(t)&&64===t.length&&n.compare(u)<0&&r.compare(u)<0}(r))throw new TypeError("Expected Signature");var o=x(n),a=S(r.slice(0,32)),s=S(r.slice(32,64));if(i&&s.cmp(f)>0)return!1;if(a.gtn(0)<=0)return!1;if(s.gtn(0)<=0)return!1;var d=S(t),p=s.invm(c),b=d.mul(p).umod(c),y=a.mul(p).umod(c),_=l.mulAdd(b,o,y);return!_.isInfinity()&&_.x.umod(c).eq(a)}}}).call(this,n(29).Buffer)},function(t,e,n){var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(738);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(a){}},function(t,e,n){var r=e;r.utils=n(131),r.common=n(235),r.sha=n(742),r.ripemd=n(746),r.hmac=n(747),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(t,e,n){"use strict";var r=n(264),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=l;var o=Object.create(n(237));o.inherits=n(37);var a=n(444),u=n(357);o.inherits(l,a);for(var s=i(u.prototype),c=0;c<s.length;c++){var f=s[c];l.prototype[f]||(l.prototype[f]=u.prototype[f])}function l(t){if(!(this instanceof l))return new l(t);a.call(this,t),u.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),l.prototype._destroy=function(t,e){this.push(null),this.end(),r.nextTick(e,t)}},function(t,e,n){"use strict";(function(e,r){var i=65536,o=4294967295;var a=n(36).Buffer,u=e.crypto||e.msCrypto;u&&u.getRandomValues?t.exports=function(t,e){if(t>o)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(t);if(t>0)if(t>i)for(var s=0;s<t;s+=i)u.getRandomValues(n.slice(s,s+i));else u.getRandomValues(n);if("function"===typeof e)return r.nextTick((function(){e(null,n)}));return n}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,n(59),n(70))},function(t,e){t.exports={prop:function(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var t=n.call(this);return this[e]=t,t},set:function(t){Object.defineProperty(this,e,{configurable:!0,enumerable:!0,value:t,writable:!0})}})},value:function(t){var e;return function(){return void 0!==e?e:e=t()}}}},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(370),n(371),function(){var t=o,e=t.lib,n=e.Base,r=e.WordArray,i=t.algo,a=i.MD5,u=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=this.cfg,i=n.hasher.create(),o=r.create(),a=o.words,u=n.keySize,s=n.iterations;a.length<u;){c&&i.update(c);var c=i.update(t).finalize(e);i.reset();for(var f=1;f<s;f++)c=i.finalize(c),i.reset();o.concat(c)}return o.sigBytes=4*u,o}});t.EvpKDF=function(t,e,n){return u.create(n).compute(t,e)}}(),o.EvpKDF)}()},function(t,e,n){"use strict";(function(e){var r=n(79),i=n(63),o=new(0,n(352).ec)("secp256k1"),a=o.curve.point.bind(o.curve),u=o.curve.pointFromX.bind(o.curve),s=function(t,e,n){try{var r=a(t,e,n)}catch(i){throw new Error("Invalid Point")}return r.validate(),r};s.prototype=Object.getPrototypeOf(o.curve.point()),s.fromX=function(t,e){try{var n=u(e,t)}catch(r){throw new Error("Invalid X")}return n.validate(),n},s.getG=function(){return o.curve.g},s.getN=function(){return new r(o.curve.n.toArray())},s.prototype._getX||(s.prototype._getX=s.prototype.getX),s.prototype.getX=function(){return new r(this._getX().toArray())},s.prototype._getY||(s.prototype._getY=s.prototype.getY),s.prototype.getY=function(){return new r(this._getY().toArray())},s.prototype.validate=function(){if(this.isInfinity())throw new Error("Point cannot be equal to Infinity");var t;try{t=u(this.getX(),this.getY().isOdd())}catch(e){throw new Error("Point does not lie on the curve")}if(0!==t.y.cmp(this.y))throw new Error("Invalid y value for curve.");if(!this.mul(s.getN()).isInfinity())throw new Error("Point times N must be infinity");return this},s.pointToCompressed=function(t){var n,r=t.getX().toBuffer({size:32}),o=t.getY().toBuffer({size:32});return n=o[o.length-1]%2?e.from([3]):e.from([2]),i.concat([n,r])},s.prototype.hasSquare=function(){return!this.isInfinity()&&this.isSquare(this.getY())},s.prototype.isSquare=function(t){var e=new r("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","hex");return new r(t).toRed(r.red(e)).redPow(e.sub(r.One).div(new r(2))).fromRed().eq(new r(1))},t.exports=s}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(114),a=n(241),u=n(159),s=n(84),c=n(80),f=n(101),l=(n(79),n(510)),d=n(511);function h(t,e,n){if(!(this instanceof h))return new h(t,e,n);if(r.isArray(t)&&r.isNumber(e))return h.createMultisig(t,e,n);if(t instanceof h)return t;if(i.checkArgument(t,"First argument is required, please include address data.","guide/address.html"),e&&!u.get(e))throw new TypeError('Second argument must be "livenet", "testnet", or "regtest".');if(n&&n!==h.PayToPublicKeyHash&&n!==h.PayToScriptHash)throw new TypeError('Third argument must be "pubkeyhash" or "scripthash".');var o=this._classifyArguments(t,e,n);return o.network=o.network||u.get(e)||u.defaultNetwork,o.type=o.type||n||h.PayToPublicKeyHash,c.defineImmutable(this,{hashBuffer:o.hashBuffer,network:o.network,type:o.type}),this}function p(t){function n(t,e){return 0===b(function(t){for(var e=[],n=0;n<t.length;n++)e.push(31&t.charCodeAt(n));return e}(t).concat([0]).concat(e))}i.checkArgument(function(t){var e=t.toLowerCase(),n=t.toUpperCase();return t===e||t===n}(t),"Mixed case");var r,o,a=(t=t.toLowerCase()).split(":");i.checkArgument(a.length<=2,"Invalid format:"+t),2===a.length?(r=a[0],o=a[1]):(r=null,o=a[0]);var s=l.decode(o.toLowerCase());if(r)i.checkArgument(n(r,s),"Invalid checksum:"+t);else{for(var c,f=["livenet","testnet","regtest"];!r&&(c=f.shift());){var h=u.get(c).prefix;n(h,s)&&(r=h)}i.checkArgument(r,"Invalid checksum:"+t)}var p=d(s.slice(0,-8),5,8,!0),g=p.shift(),m=p;i.checkArgument(function(t){switch(7&t){case 0:return 160;case 1:return 192;case 2:return 224;case 3:return 256;case 4:return 320;case 5:return 384;case 6:return 448;case 7:return 512}}(g)===8*m.length,"Invalid hash size:"+t);var v=function(t){switch(120&t){case 0:return"pubkeyhash";case 8:return"scripthash";default:throw new Error("Invalid address type in version byte:"+t)}}(g),y=u.get(r),_={};return _.hashBuffer=e.from(m),_.network=y,_.type=v,_}h.prototype._classifyArguments=function(t,n,i){if((t instanceof e||t instanceof Uint8Array)&&20===t.length)return h._transformHash(t);if((t instanceof e||t instanceof Uint8Array)&&21===t.length)return h._transformBuffer(t,n,i);if(t instanceof f)return h._transformPublicKey(t);if(t instanceof v)return h._transformScript(t,n);if("string"===typeof t)return h._transformString(t,n,i);if(r.isObject(t))return h._transformObject(t);throw new TypeError("First argument is an unrecognized data format.")},h.PayToPublicKeyHash="pubkeyhash",h.PayToScriptHash="scripthash",h._transformHash=function(t){var n={};if(!(t instanceof e)&&!(t instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(20!==t.length)throw new TypeError("Address hashbuffers must be exactly 20 bytes.");return n.hashBuffer=t,n},h._transformObject=function(t){return i.checkArgument(t.hash||t.hashBuffer,"Must provide a `hash` or `hashBuffer` property"),i.checkArgument(t.type,"Must provide a `type` property"),{hashBuffer:t.hash?e.from(t.hash,"hex"):t.hashBuffer,network:u.get(t.network)||u.defaultNetwork,type:t.type}},h._classifyFromVersion=function(t){var e={},n=u.get(t[0],"pubkeyhash"),r=u.get(t[0],"scripthash");return n?(e.network=n,e.type=h.PayToPublicKeyHash):r&&(e.network=r,e.type=h.PayToScriptHash),e},h._transformBuffer=function(t,n,r){var i={};if(!(t instanceof e)&&!(t instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(21!==t.length)throw new TypeError("Address buffers must be exactly 21 bytes.");var o=u.get(n),a=h._classifyFromVersion(t);if(n&&!o)throw new TypeError("Unknown network");if(!a.network||o&&o!==a.network)throw new TypeError("Address has mismatched network type.");if(!a.type||r&&r!==a.type)throw new TypeError("Address has mismatched type.");return i.hashBuffer=t.slice(1),i.network=a.network,i.type=a.type,i},h._transformPublicKey=function(t){var e={};if(!(t instanceof f))throw new TypeError("Address must be an instance of PublicKey.");return e.hashBuffer=s.sha256ripemd160(t.toBuffer()),e.type=h.PayToPublicKeyHash,e},h._transformScript=function(t,e){i.checkArgument(t instanceof v,"script must be a Script instance");var n=t.getAddressInfo(e);if(!n)throw new o.Script.CantDeriveAddress(t);return n},h.createMultisig=function(t,e,n){return n=n||t[0].network||u.defaultNetwork,h.payingTo(v.buildMultisigOut(t,e),n)},h.createEscrow=function(t,e,n){var r=v.buildEscrowOut(t,e);return n=n||e.network||u.defaultNetwork,h.payingTo(r,n)},h._decodeCashAddress=p,h._transformString=function(t,e,n){if("string"!==typeof t)throw new TypeError("data parameter supplied is not a string.");if(t.length<34)throw new Error("Invalid Address string provided");if(t.length>100)throw new TypeError("address string is too long");t=t.trim();var r=u.get(e);if(e&&!r)throw new TypeError("Unknown network");if(t.length>35){var i=p(t);if(!i.network||r&&r.name!==i.network.name)throw new TypeError("Address has mismatched network type.");if(!i.type||n&&n!==i.type)throw new TypeError("Address has mismatched type.");return i}var o=a.decode(t);return h._transformBuffer(o,e,n)},h.fromPublicKey=function(t,e){var n=h._transformPublicKey(t);return e=e||u.defaultNetwork,new h(n.hashBuffer,e,n.type)},h.fromPublicKeyHash=function(t,e){var n=h._transformHash(t);return new h(n.hashBuffer,e,h.PayToPublicKeyHash)},h.fromScriptHash=function(t,e){i.checkArgument(t,"hash parameter is required");var n=h._transformHash(t);return new h(n.hashBuffer,e,h.PayToScriptHash)},h.payingTo=function(t,e){return i.checkArgument(t,"script is required"),i.checkArgument(t instanceof v,"script must be instance of Script"),h.fromScriptHash(s.sha256ripemd160(t.toBuffer()),e)},h.fromScript=function(t,e){i.checkArgument(t instanceof v,"script must be a Script instance");var n=h._transformScript(t,e);return new h(n.hashBuffer,e,n.type)},h.fromBuffer=function(t,e,n){var r=h._transformBuffer(t,e,n);return new h(r.hashBuffer,r.network,r.type)},h.fromString=function(t,e,n){var r=h._transformString(t,e,n);return new h(r.hashBuffer,r.network,r.type)},h.fromObject=function(t){return i.checkState(c.isHexa(t.hash),'Unexpected hash property, "'+t.hash+'", expected to be hex.'),new h(e.from(t.hash,"hex"),t.network,t.type)},h.getValidationError=function(t,e,n){var r;try{new h(t,e,n)}catch(i){r=i}return r},h.isValid=function(t,e,n){return!h.getValidationError(t,e,n)},h.prototype.isPayToPublicKeyHash=function(){return this.type===h.PayToPublicKeyHash},h.prototype.isPayToScriptHash=function(){return this.type===h.PayToScriptHash},h.prototype.toBuffer=function(){var t=e.from([this.network[this.type]]);return e.concat([t,this.hashBuffer])},h.prototype.toObject=h.prototype.toJSON=function(){return{hash:this.hashBuffer.toString("hex"),type:this.type,network:this.network.toString()}},h.prototype.inspect=function(){return"<Address: "+this.toString()+", type: "+this.type+", network: "+this.network+">"},h.prototype.toCashBuffer=function(){var t=e.from([this.network[this.type]]);return e.concat([t,this.hashBuffer])},h.prototype.toLegacyAddress=function(){return a.encode(this.toBuffer())},h.prototype.toCashAddress=function(t){var e=this.network.prefixArray.concat([0]),n=function(t){switch(t){case"pubkeyhash":return 0;case"scripthash":return 8;default:throw new Error("Invalid type:"+t)}}(this.type)+function(t){switch(8*t.length){case 160:return 0;case 192:return 1;case 224:return 2;case 256:return 3;case 320:return 4;case 384:return 5;case 448:return 6;case 512:return 7;default:throw new Error("Invalid hash size:"+t.length)}}(this.hashBuffer),r=Array.prototype.slice.call(this.hashBuffer,0),i=d([n].concat(r),8,5),o=e.concat(i).concat([0,0,0,0,0,0,0,0]),a=i.concat(function(t){for(var e=[],n=0;n<8;++n)e.push(31&t),t/=32;return e.reverse()}(b(o)));return!0===t?l.encode(a):this.network.prefix+":"+l.encode(a)},h.prototype.toString=h.prototype.toCashAddress;var g=[152,121,243,174,30],m=[4072443489,3077413346,1046459332,783016616,1329849456];function b(t){for(var e=0,n=1,r=0,i=0;i<t.length;i++){r=e>>>3,e&=7,e<<=5,e|=n>>>27,n&=134217727,n<<=5,n^=t[i];for(var o=0;o<g.length;++o)r&1<<o&&(e^=g[o],n^=m[o])}return(n^=1)<0&&(n^=1<<31,n+=2*(1<<30)),e*(1<<30)*4+n}t.exports=h;var v=n(117)}).call(this,n(29).Buffer)},function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(620),i=n(412);t.exports=function(t,e){return null!=t&&i(t,e,r)}},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";n.d(e,"b",(function(){return o}));var r=n(1),i=r.createContext();function o(){return r.useContext(i)}e.a=i},function(t,e,n){"use strict";function r(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(r(t.value)&&""!==t.value||e&&r(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";function r(t){return"[object Function]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(22);function i(t){return Object(r.a)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}var o=n(25);function a(t){if(Object(r.a)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=Object(o.a)(t);return!isNaN(Number(e))}},function(t,e,n){"use strict";var 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},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;e.a=i},function(t,e,n){var r=n(956);t.exports=function(t,e){if(null==t)return{};var n,i,o=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},,function(t,e,n){var r,i,o;!function(a){"use strict";"object"===typeof t.exports?t.exports=a():null!=n(148)?(i=[],void 0===(o="function"===typeof(r=a)?r.apply(e,i):r)||(t.exports=o)):self.sanctuaryTypeIdentifiers=a()}((function(){"use strict";var t="@@type",e=new RegExp("^([\\s\\S]+)/([\\s\\S]+?)(?:@([0-9]+))?$");function n(e){return null!=e&&null!=e.constructor&&e.constructor.prototype!==e&&"string"===typeof e.constructor[t]?e.constructor[t]:Object.prototype.toString.call(e).slice("[object ".length,-"]".length)}return n.parse=function(t){var n=e.exec(t);return{namespace:null==n||null==n[1]?null:n[1],name:null==n?t:n[2],version:null==n||null==n[3]?0:Number(n[3])}},n}))},function(t,e,n){"use strict";var r={};function i(t,e,n){n||(n=Error);var i=function(t){var n,r;function i(n,r,i){return t.call(this,function(t,n,r){return"string"===typeof e?e:e(t,n,r)}(n,r,i))||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=t,r[t]=i}function o(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"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))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i,a,u;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(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"))u="The ".concat(t," ").concat(r," ").concat(o(e,"type"));else{var s=function(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(s," ").concat(r," ").concat(o(e,"type"))}return u+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("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=c;var i=n(452),o=n(456);n(37)(c,i);for(var a=r(o.prototype),u=0;u<a.length;u++){var s=a[u];c.prototype[s]||(c.prototype[s]=o.prototype[s])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||e.nextTick(l,this)}function l(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,n(70))},function(t,e,n){var r=n(36).Buffer;function i(t,e){this._block=r.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"===typeof t&&(e=e||"utf8",t=r.from(t,e));for(var n=this._block,i=this._blockSize,o=t.length,a=this._len,u=0;u<o;){for(var s=a%i,c=Math.min(o-u,i-s),f=0;f<c;f++)n[s+f]=t[u+f];u+=c,(a+=c)%i===0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=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,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,n){"use strict";var r=n(158),i=n(786);t.exports=i((function(t){var e=r("sha256").update(t).digest();return r("sha256").update(e).digest()}))},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(){var t=i,e=t.lib.WordArray;function n(t,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var u=r[t.charCodeAt(a-1)]<<a%4*2,s=r[t.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(u|s)<<24-o%4*8,o++}return e.create(i,o)}t.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,u=0;u<4&&o+.75*u<n;u++)i.push(r.charAt(a>>>6*(3-u)&63));var s=r.charAt(64);if(s)for(;i.length%4;)i.push(s);return i.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var u=t.indexOf(a);-1!==u&&(e=u)}return n(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)}()},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(t){var e=i,n=e.lib,r=n.WordArray,o=n.Hasher,a=e.algo,u=[];!function(){for(var e=0;e<64;e++)u[e]=4294967296*t.abs(t.sin(e+1))|0}();var s=a.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],s=t[e+1],h=t[e+2],p=t[e+3],g=t[e+4],m=t[e+5],b=t[e+6],v=t[e+7],y=t[e+8],_=t[e+9],w=t[e+10],S=t[e+11],O=t[e+12],x=t[e+13],E=t[e+14],M=t[e+15],T=o[0],$=o[1],A=o[2],k=o[3];T=c(T,$,A,k,a,7,u[0]),k=c(k,T,$,A,s,12,u[1]),A=c(A,k,T,$,h,17,u[2]),$=c($,A,k,T,p,22,u[3]),T=c(T,$,A,k,g,7,u[4]),k=c(k,T,$,A,m,12,u[5]),A=c(A,k,T,$,b,17,u[6]),$=c($,A,k,T,v,22,u[7]),T=c(T,$,A,k,y,7,u[8]),k=c(k,T,$,A,_,12,u[9]),A=c(A,k,T,$,w,17,u[10]),$=c($,A,k,T,S,22,u[11]),T=c(T,$,A,k,O,7,u[12]),k=c(k,T,$,A,x,12,u[13]),A=c(A,k,T,$,E,17,u[14]),T=f(T,$=c($,A,k,T,M,22,u[15]),A,k,s,5,u[16]),k=f(k,T,$,A,b,9,u[17]),A=f(A,k,T,$,S,14,u[18]),$=f($,A,k,T,a,20,u[19]),T=f(T,$,A,k,m,5,u[20]),k=f(k,T,$,A,w,9,u[21]),A=f(A,k,T,$,M,14,u[22]),$=f($,A,k,T,g,20,u[23]),T=f(T,$,A,k,_,5,u[24]),k=f(k,T,$,A,E,9,u[25]),A=f(A,k,T,$,p,14,u[26]),$=f($,A,k,T,y,20,u[27]),T=f(T,$,A,k,x,5,u[28]),k=f(k,T,$,A,h,9,u[29]),A=f(A,k,T,$,v,14,u[30]),T=l(T,$=f($,A,k,T,O,20,u[31]),A,k,m,4,u[32]),k=l(k,T,$,A,y,11,u[33]),A=l(A,k,T,$,S,16,u[34]),$=l($,A,k,T,E,23,u[35]),T=l(T,$,A,k,s,4,u[36]),k=l(k,T,$,A,g,11,u[37]),A=l(A,k,T,$,v,16,u[38]),$=l($,A,k,T,w,23,u[39]),T=l(T,$,A,k,x,4,u[40]),k=l(k,T,$,A,a,11,u[41]),A=l(A,k,T,$,p,16,u[42]),$=l($,A,k,T,b,23,u[43]),T=l(T,$,A,k,_,4,u[44]),k=l(k,T,$,A,O,11,u[45]),A=l(A,k,T,$,M,16,u[46]),T=d(T,$=l($,A,k,T,h,23,u[47]),A,k,a,6,u[48]),k=d(k,T,$,A,v,10,u[49]),A=d(A,k,T,$,E,15,u[50]),$=d($,A,k,T,m,21,u[51]),T=d(T,$,A,k,O,6,u[52]),k=d(k,T,$,A,p,10,u[53]),A=d(A,k,T,$,w,15,u[54]),$=d($,A,k,T,s,21,u[55]),T=d(T,$,A,k,y,6,u[56]),k=d(k,T,$,A,M,10,u[57]),A=d(A,k,T,$,b,15,u[58]),$=d($,A,k,T,x,21,u[59]),T=d(T,$,A,k,g,6,u[60]),k=d(k,T,$,A,S,10,u[61]),A=d(A,k,T,$,h,15,u[62]),$=d($,A,k,T,_,21,u[63]),o[0]=o[0]+T|0,o[1]=o[1]+$|0,o[2]=o[2]+A|0,o[3]=o[3]+k|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var u=this._hash,s=u.words,c=0;c<4;c++){var f=s[c];s[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return u},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,i,o,a){var u=t+(e&n|~e&r)+i+a;return(u<<o|u>>>32-o)+e}function f(t,e,n,r,i,o,a){var u=t+(e&r|n&~r)+i+a;return(u<<o|u>>>32-o)+e}function l(t,e,n,r,i,o,a){var u=t+(e^n^r)+i+a;return(u<<o|u>>>32-o)+e}function d(t,e,n,r,i,o,a){var u=t+(n^(e|~r))+i+a;return(u<<o|u>>>32-o)+e}e.MD5=o._createHelper(s),e.HmacMD5=o._createHmacHelper(s)}(Math),i.MD5)}()},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(114),a=n(134),u=(n(29),n(63)),s=n(80),c=n(117),f=n(152),l=n(153),d=4294967295,h=d,p=Math.pow(2,31),g=Math.pow(2,22),m=65535,b=Math.pow(2,16)-1;function v(t){return this instanceof v?t?this._fromObject(t):void 0:new v(t)}v.MAXINT=d,v.DEFAULT_SEQNUMBER=h,v.DEFAULT_LOCKTIME_SEQNUMBER=4294967294,v.DEFAULT_RBF_SEQNUMBER=4294967293,v.SEQUENCE_LOCKTIME_TYPE_FLAG=g,Object.defineProperty(v.prototype,"script",{configurable:!1,enumerable:!0,get:function(){return this.isNull()?null:(this._script||(this._script=new c(this._scriptBuffer),this._script._isInput=!0),this._script)}}),v.fromObject=function(t){return i.checkArgument(r.isObject(t)),(new v)._fromObject(t)},v.prototype._fromObject=function(t){var n;if(n=r.isString(t.prevTxId)&&s.isHexa(t.prevTxId)?e.from(t.prevTxId,"hex"):t.prevTxId,this.output=t.output?t.output instanceof l?t.output:new l(t.output):void 0,this.prevTxId=n||t.txidbuf,this.outputIndex=r.isUndefined(t.outputIndex)?t.txoutnum:t.outputIndex,this.sequenceNumber=r.isUndefined(t.sequenceNumber)?r.isUndefined(t.seqnum)?h:t.seqnum:t.sequenceNumber,r.isUndefined(t.script)&&r.isUndefined(t.scriptBuffer))throw new o.Transaction.Input.MissingScript;return this.setScript(t.scriptBuffer||t.script),this},v.prototype.toObject=v.prototype.toJSON=function(){var t={prevTxId:this.prevTxId.toString("hex"),outputIndex:this.outputIndex,sequenceNumber:this.sequenceNumber,script:this._scriptBuffer.toString("hex")};return this.script&&(t.scriptString=this.script.toString()),this.output&&(t.output=this.output.toObject()),t},v.fromBufferReader=function(t){var e=new v;return e.prevTxId=t.readReverse(32),e.outputIndex=t.readUInt32LE(),e._scriptBuffer=t.readVarLengthBuffer(),e.sequenceNumber=t.readUInt32LE(),e},v.prototype.toBufferWriter=function(t){t||(t=new a),t.writeReverse(this.prevTxId),t.writeUInt32LE(this.outputIndex);var e=this._scriptBuffer;return t.writeVarintNum(e.length),t.write(e),t.writeUInt32LE(this.sequenceNumber),t},v.prototype.setScript=function(t){if(this._script=null,t instanceof c)this._script=t,this._script._isInput=!0,this._scriptBuffer=t.toBuffer();else if(null===t)this._script=c.empty(),this._script._isInput=!0,this._scriptBuffer=this._script.toBuffer();else if(s.isHexa(t))this._scriptBuffer=e.from(t,"hex");else if(r.isString(t))this._script=new c(t),this._script._isInput=!0,this._scriptBuffer=this._script.toBuffer();else{if(!u.isBuffer(t))throw new TypeError("Invalid argument type: script");this._scriptBuffer=e.from(t)}return this},v.prototype.getSignatures=function(){throw new o.AbstractMethodInvoked("Trying to sign unsupported output type (only P2PKH and P2SH multisig inputs are supported) for input: "+JSON.stringify(this))},v.prototype.isFullySigned=function(){throw new o.AbstractMethodInvoked("Input#isFullySigned")},v.prototype.isFinal=function(){return 4294967295!==this.sequenceNumber},v.prototype.addSignature=function(){throw new o.AbstractMethodInvoked("Input#addSignature")},v.prototype.clearSignatures=function(){throw new o.AbstractMethodInvoked("Input#clearSignatures")},v.prototype.isValidSignature=function(t,e,n){return e.signature.nhashtype=e.sigtype,f.verify(t,e.signature,e.publicKey,e.inputIndex,this.output.script,this.output.satoshisBN,void 0,n)},v.prototype.isNull=function(){return"0000000000000000000000000000000000000000000000000000000000000000"===this.prevTxId.toString("hex")&&4294967295===this.outputIndex},v.prototype._estimateSize=function(){return this.toBufferWriter().toBuffer().length},v.prototype.lockForSeconds=function(t){if(i.checkArgument(r.isNumber(t)),t<0||t>=33553920)throw new o.Transaction.Input.LockTimeRange;return t=parseInt(Math.floor(t/512)),this.sequenceNumber=t|g,this},v.prototype.lockUntilBlockHeight=function(t){if(i.checkArgument(r.isNumber(t)),t<0||t>=b)throw new o.Transaction.Input.BlockHeightOutOfRange;return this.sequenceNumber=t,this},v.prototype.getLockTime=function(){return this.sequenceNumber&p?null:this.sequenceNumber&g?512*(this.sequenceNumber&m):this.sequenceNumber&m},t.exports=v}).call(this,n(29).Buffer)},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(206),a=n(63),u=n(80),s=n(101),c=n(114),f=n(100);function l(t){if(!(this instanceof l))return new l(t);if(t instanceof l)return t;if(r.isObject(t))return this._fromObject(t);throw new c.InvalidArgument("TransactionSignatures must be instantiated from an object")}o(l,f),l.prototype._fromObject=function(t){return this._checkObjectArgs(t),this.publicKey=new s(t.publicKey),this.prevTxId=a.isBuffer(t.prevTxId)?t.prevTxId:e.from(t.prevTxId,"hex"),this.outputIndex=t.outputIndex,this.inputIndex=t.inputIndex,this.signature=t.signature instanceof f?t.signature:a.isBuffer(t.signature)?f.fromBuffer(t.signature):f.fromString(t.signature),this.sigtype=t.sigtype,this},l.prototype._checkObjectArgs=function(t){i.checkArgument(s(t.publicKey),"publicKey"),i.checkArgument(!r.isUndefined(t.inputIndex),"inputIndex"),i.checkArgument(!r.isUndefined(t.outputIndex),"outputIndex"),i.checkState(r.isNumber(t.inputIndex),"inputIndex must be a number"),i.checkState(r.isNumber(t.outputIndex),"outputIndex must be a number"),i.checkArgument(t.signature,"signature"),i.checkArgument(t.prevTxId,"prevTxId"),i.checkState(t.signature instanceof f||a.isBuffer(t.signature)||u.isHexa(t.signature),"signature must be a buffer or hexa value"),i.checkState(a.isBuffer(t.prevTxId)||u.isHexa(t.prevTxId),"prevTxId must be a buffer or hexa value"),i.checkArgument(t.sigtype,"sigtype"),i.checkState(r.isNumber(t.sigtype),"sigtype must be a number")},l.prototype.toObject=l.prototype.toJSON=function(){return{publicKey:this.publicKey.toString(),prevTxId:this.prevTxId.toString("hex"),outputIndex:this.outputIndex,inputIndex:this.inputIndex,signature:this.signature.toString(),sigtype:this.sigtype}},l.fromObject=function(t){return i.checkArgument(t),new l(t)},t.exports=l}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(58),i=n(17),o=n(393),a=n(4),u=["xs","sm","md","lg","xl"];function s(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,r=t.unit,o=void 0===r?"px":r,s=t.step,c=void 0===s?5:s,f=Object(i.a)(t,["values","unit","step"]);function l(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(o,")")}function d(t,e){var r=u.indexOf(e);return r===u.length-1?l(t):"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[u[r+1]]?n[u[r+1]]:e)-c/100).concat(o,")")}return Object(a.a)({keys:u,values:n,up:l,down:function(t){var e=u.indexOf(t)+1,r=n[u[e]];return e===u.length?l("xs"):"@media (max-width:".concat(("number"===typeof r&&e>0?r:t)-c/100).concat(o,")")},between:d,only:function(t){return d(t,t)},width:function(t){return n[t]}},f)}function c(t,e,n){var i;return Object(a.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(a.a)({paddingLeft:e(2),paddingRight:e(2)},n,Object(r.a)({},t.up("sm"),Object(a.a)({paddingLeft:e(3),paddingRight:e(3)},n[t.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,t.up("sm"),{minHeight:64}),i)},n)}var f=n(284),l={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},g={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},b={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=n(35),_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:l.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:l.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:l.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function S(t,e,n,r){var i=r.light||r,o=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(y.i)(t.main,i):"dark"===e&&(t.dark=Object(y.a)(t.main,o)))}function O(t){var e=t.primary,n=void 0===e?{light:h[300],main:h[500],dark:h[700]}:e,r=t.secondary,u=void 0===r?{light:p.A200,main:p.A400,dark:p.A700}:r,s=t.error,c=void 0===s?{light:g[300],main:g[500],dark:g[700]}:s,O=t.warning,x=void 0===O?{light:m[300],main:m[500],dark:m[700]}:O,E=t.info,M=void 0===E?{light:b[300],main:b[500],dark:b[700]}:E,T=t.success,$=void 0===T?{light:v[300],main:v[500],dark:v[700]}:T,A=t.type,k=void 0===A?"light":A,C=t.contrastThreshold,I=void 0===C?3:C,P=t.tonalOffset,N=void 0===P?.2:P,R=Object(i.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function j(t){return Object(y.e)(t,w.text.primary)>=I?w.text.primary:_.text.primary}var D=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(a.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(f.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(f.a)(5,JSON.stringify(t.main)));return S(t,"light",n,N),S(t,"dark",r,N),t.contrastText||(t.contrastText=j(t.main)),t},L={dark:w,light:_};return Object(o.a)(Object(a.a)({common:l,type:k,primary:D(n),secondary:D(u,"A400","A200","A700"),error:D(c),warning:D(x),info:D(M),success:D($),grey:d,contrastThreshold:I,getContrastText:j,augmentColor:D,tonalOffset:N},L[k]),R)}function x(t){return Math.round(1e5*t)/1e5}var E={textTransform:"uppercase"},M='"Roboto", "Helvetica", "Arial", sans-serif';function T(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,u=void 0===r?M:r,s=n.fontSize,c=void 0===s?14:s,f=n.fontWeightLight,l=void 0===f?300:f,d=n.fontWeightRegular,h=void 0===d?400:d,p=n.fontWeightMedium,g=void 0===p?500:p,m=n.fontWeightBold,b=void 0===m?700:m,v=n.htmlFontSize,y=void 0===v?16:v,_=n.allVariants,w=n.pxToRem,S=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var O=c/14,T=w||function(t){return"".concat(t/y*O,"rem")},$=function(t,e,n,r,i){return Object(a.a)({fontFamily:u,fontWeight:t,fontSize:T(e),lineHeight:n},u===M?{letterSpacing:"".concat(x(r/e),"em")}:{},i,_)},A={h1:$(l,96,1.167,-1.5),h2:$(l,60,1.2,-.5),h3:$(h,48,1.167,0),h4:$(h,34,1.235,.25),h5:$(h,24,1.334,0),h6:$(g,20,1.6,.15),subtitle1:$(h,16,1.75,.15),subtitle2:$(g,14,1.57,.1),body1:$(h,16,1.5,.15),body2:$(h,14,1.43,.15),button:$(g,14,1.75,.4,E),caption:$(h,12,1.66,.4),overline:$(h,12,2.66,1,E)};return Object(o.a)(Object(a.a)({htmlFontSize:y,pxToRem:T,round:x,fontFamily:u,fontSize:c,fontWeightLight:l,fontWeightRegular:h,fontWeightMedium:g,fontWeightBold:b},A),S,{clone:!1})}function $(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var A=["none",$(0,2,1,-1,0,1,1,0,0,1,3,0),$(0,3,1,-2,0,2,2,0,0,1,5,0),$(0,3,3,-2,0,3,4,0,0,1,8,0),$(0,2,4,-1,0,4,5,0,0,1,10,0),$(0,3,5,-1,0,5,8,0,0,1,14,0),$(0,3,5,-1,0,6,10,0,0,1,18,0),$(0,4,5,-2,0,7,10,1,0,2,16,1),$(0,5,5,-3,0,8,10,1,0,3,14,2),$(0,5,6,-3,0,9,12,1,0,3,16,2),$(0,6,6,-3,0,10,14,1,0,4,18,3),$(0,6,7,-4,0,11,15,1,0,4,20,3),$(0,7,8,-4,0,12,17,2,0,5,22,4),$(0,7,8,-4,0,13,19,2,0,5,24,4),$(0,7,9,-4,0,14,21,2,0,5,26,4),$(0,8,9,-5,0,15,22,2,0,6,28,5),$(0,8,10,-5,0,16,24,2,0,6,30,5),$(0,8,11,-5,0,17,26,2,0,6,32,5),$(0,9,11,-5,0,18,28,2,0,7,34,6),$(0,9,12,-6,0,19,29,2,0,7,36,6),$(0,10,13,-6,0,20,31,3,0,8,38,7),$(0,10,13,-6,0,21,33,3,0,8,40,7),$(0,10,14,-6,0,22,35,3,0,8,42,7),$(0,11,14,-7,0,23,36,3,0,9,44,8),$(0,11,15,-7,0,24,38,3,0,9,46,8)],k={borderRadius:4},C=n(1144);function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(C.a)({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){if("string"===typeof t)return t;var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var P=n(90),N=n(286);e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.mixins,a=void 0===r?{}:r,u=t.palette,f=void 0===u?{}:u,l=t.spacing,d=t.typography,h=void 0===d?{}:d,p=Object(i.a)(t,["breakpoints","mixins","palette","spacing","typography"]),g=O(f),m=s(n),b=I(l),v=Object(o.a)({breakpoints:m,direction:"ltr",mixins:c(m,b,a),overrides:{},palette:g,props:{},shadows:A,typography:T(g,h),spacing:b,shape:k,transitions:P.a,zIndex:N.a},p),y=arguments.length,_=new Array(y>1?y-1:0),w=1;w<y;w++)_[w-1]=arguments[w];return v=_.reduce((function(t,e){return Object(o.a)(t,e)}),v)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(244);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){for(var n=e,r=0;r<t.length;){if(null==n)return;n=n[t[r]],r+=1}return n}));e.a=i},function(t,e,n){"use strict";var r=n(32),i=n(93),o=n(124),a=Object(r.a)((function(t){return!!Object(i.a)(t)||!!t&&("object"===typeof t&&(!Object(o.a)(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(162),i=n(57);function o(t,e,n){return function(){for(var a=[],u=0,s=t,c=0;c<e.length||u<arguments.length;){var f;c<e.length&&(!Object(i.a)(e[c])||u>=arguments.length)?f=e[c]:(f=arguments[u],u+=1),a[c]=f,Object(i.a)(f)||(s-=1),c+=1}return s<=0?n.apply(this,a):Object(r.a)(s,o(t,a,n))}}},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(61);e.a="function"===typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)Object(r.a)(a,o)&&(e[a]=o[a]);n+=1}return e}},function(t,e,n){"use strict";function r(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this,u=function(){t.apply(a,i)};clearTimeout(e),e=setTimeout(u,n)}return r.clear=function(){clearTimeout(e)},r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);function i(t){var e=t.controlled,n=t.default,i=(t.name,t.state,r.useRef(void 0!==e).current),o=r.useState(n),a=o[0],u=o[1];return[i?e:a,r.useCallback((function(t){i||u(t)}),[])]}},function(t,e,n){"use strict";var r=n(4),i=n(91),o=n(17),a=n(1),u=(n(13),n(15)),s=n(216),c=n(105),f=n(24),l=n(394),d=a.forwardRef((function(t,e){var n=t.autoFocus,f=t.checked,d=t.checkedIcon,h=t.classes,p=t.className,g=t.defaultChecked,m=t.disabled,b=t.icon,v=t.id,y=t.inputProps,_=t.inputRef,w=t.name,S=t.onBlur,O=t.onChange,x=t.onFocus,E=t.readOnly,M=t.required,T=t.tabIndex,$=t.type,A=t.value,k=Object(o.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),C=Object(s.a)({controlled:f,default:Boolean(g),name:"SwitchBase",state:"checked"}),I=Object(i.a)(C,2),P=I[0],N=I[1],R=Object(c.a)(),j=m;R&&"undefined"===typeof j&&(j=R.disabled);var D="checkbox"===$||"radio"===$;return a.createElement(l.a,Object(r.a)({component:"span",className:Object(u.a)(h.root,p,P&&h.checked,j&&h.disabled),disabled:j,tabIndex:null,role:void 0,onFocus:function(t){x&&x(t),R&&R.onFocus&&R.onFocus(t)},onBlur:function(t){S&&S(t),R&&R.onBlur&&R.onBlur(t)},ref:e},k),a.createElement("input",Object(r.a)({autoFocus:n,checked:f,defaultChecked:g,className:h.input,disabled:j,id:D&&v,name:w,onChange:function(t){var e=t.target.checked;N(e),O&&O(t,e)},readOnly:E,ref:_,required:M,tabIndex:T,type:$,value:A},y)),P?d:b)}));e.a=Object(f.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(d)},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return h}));var r=n(34),i=n.n(r),o=n(66),a=n(6),u=n(23);function s(t){return(new TextEncoder).encode(t)}function c(t){var e,n=new Uint8Array(t),r="",i=Object(u.a)(n);try{for(i.s();!(e=i.n()).done;){var o=e.value;r+=String.fromCharCode(o)}}catch(a){i.e(a)}finally{i.f()}return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function f(t){for(var e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4,r=e.padEnd(e.length+n,"="),i=atob(r),o=new ArrayBuffer(i.length),a=new Uint8Array(o),u=0;u<i.length;u++)a[u]=i.charCodeAt(u);return o}function l(){return void 0!==(null===window||void 0===window?void 0:window.PublicKeyCredential)&&"function"===typeof window.PublicKeyCredential}function d(t){var e=t.id;return Object(a.a)(Object(a.a)({},t),{},{id:f(e)})}function h(t){return p.apply(this,arguments)}function p(){return(p=Object(o.a)(i.a.mark((function t(e){var n,r,o,u,h,p,g;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l()){t.next=2;break}throw new Error("WebAuthn is not supported in this browser");case 2:return n=Object(a.a)(Object(a.a)({},e),{},{challenge:f(e.challenge),user:Object(a.a)(Object(a.a)({},e.user),{},{id:s(e.user.id)}),excludeCredentials:e.excludeCredentials.map(d)}),t.next=5,navigator.credentials.create({publicKey:n});case 5:if(r=t.sent){t.next=8;break}throw new Error("Attestation was not completed");case 8:return o=r.id,u=r.rawId,h=r.response,p=r.type,g={id:o,rawId:c(u),response:{attestationObject:c(h.attestationObject),clientDataJSON:c(h.clientDataJSON)},type:p,clientExtensionResults:r.getClientExtensionResults()},"function"===typeof h.getTransports&&(g.transports=h.getTransports()),t.abrupt("return",g);case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(t){return new TextDecoder("utf-8").decode(t)}function m(t){return b.apply(this,arguments)}function b(){return(b=Object(o.a)(i.a.mark((function t(e){var n,r,o,u,s,h,p,m,b,v;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l()){t.next=2;break}throw new Error("WebAuthn is not supported in this browser");case 2:return 0!==(null===(n=e.allowCredentials)||void 0===n?void 0:n.length)&&(o=null===(r=e.allowCredentials)||void 0===r?void 0:r.map(d)),u=Object(a.a)(Object(a.a)({},e),{},{challenge:f(e.challenge),allowCredentials:o}),t.next=6,navigator.credentials.get({publicKey:u});case 6:if(s=t.sent){t.next=9;break}throw new Error("Assertion was not completed");case 9:return h=s.id,p=s.rawId,m=s.response,b=s.type,v=void 0,m.userHandle&&(v=g(m.userHandle)),t.abrupt("return",{id:h,rawId:c(p),response:{authenticatorData:c(m.authenticatorData),clientDataJSON:c(m.clientDataJSON),signature:c(m.signature),userHandle:v},type:b,clientExtensionResults:s.getClientExtensionResults()});case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t,e){return Object(i.a)(2,arguments),Object(r.a)(t).getTime()-Object(r.a)(e).getTime()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function i(t){return t?r[t]:r.trunc}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(30),i=n(25),o=n(127),a=n(22);function u(t,e){Object(a.a)(1,arguments);var n=Object(i.a)(t,e),u=n.getUTCFullYear(),s=e||{},c=s.locale,f=c&&c.options&&c.options.firstWeekContainsDate,l=null==f?1:Object(r.a)(f),d=null==s.firstWeekContainsDate?l:Object(r.a)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(u+1,0,d),h.setUTCHours(0,0,0,0);var p=Object(o.a)(h,e),g=new Date(0);g.setUTCFullYear(u,0,d),g.setUTCHours(0,0,0,0);var m=Object(o.a)(g,e);return n.getTime()>=p.getTime()?u+1:n.getTime()>=m.getTime()?u:u-1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(25),i=n(22);function o(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e),a=n.getFullYear()-o.getFullYear(),u=n.getMonth()-o.getMonth();return 12*a+u}var a=n(126),u=n(308);function s(t){Object(i.a)(1,arguments);var e=Object(r.a)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function c(t){Object(i.a)(1,arguments);var e=Object(r.a)(t);return Object(u.a)(e).getTime()===s(e).getTime()}function f(t,e){Object(i.a)(2,arguments);var n,u=Object(r.a)(t),s=Object(r.a)(e),f=Object(a.a)(u,s),l=Math.abs(o(u,s));if(l<1)n=0;else{1===u.getMonth()&&u.getDate()>27&&u.setDate(30),u.setMonth(u.getMonth()-f*l);var d=Object(a.a)(u,s)===-f;c(Object(r.a)(t))&&1===l&&1===Object(a.a)(t,s)&&(d=!1),n=f*(l-Number(d))}return 0===n?0:n}},function(t,e,n){"use strict";var r=n(16),i=n(329),o=Object(r.a)((function(t,e){return Object(i.a)((n=t,function(){return!n.apply(this,arguments)}),e);var n}));e.a=o},function(t,e,n){"use strict";function r(t,e){var n=function(t){if(!o[t]){var e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===e||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===e;o[t]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return o[t]}(e);return n.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],o=0;o<n.length;o++){var a=i[n[o].type];a>=0&&(r[a]=parseInt(n[o].value,10))}return r}(n,t):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,t)}n.d(e,"a",(function(){return s}));var i={year:0,month:1,day:2,hour:3,minute:4,second:5};var o={};var a=36e5,u={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function s(t,e,n){var r,i,o;if(r=u.timezoneZ.exec(t))return 0;if(r=u.timezoneHH.exec(t))return f(o=parseInt(r[2],10))?(i=o*a,"+"===r[1]?-i:i):NaN;if(r=u.timezoneHHMM.exec(t)){o=parseInt(r[2],10);var s=parseInt(r[3],10);return f(o,s)?(i=o*a+6e4*s,"+"===r[1]?-i:i):NaN}if(function(t){try{return Intl.DateTimeFormat(void 0,{timeZone:t}),!0}catch(e){return!1}}(t)){e=new Date(e||Date.now());var l=c(n?e:function(t){return new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))}(e),t);return-(n?l:function(t,e,n){var r=t.getTime()-e,i=c(new Date(r),n);if(e===i)return e;r-=i-e;var o=c(new Date(r),n);if(i===o)return i;return Math.max(i,o)}(e,l,t))}return 0}function c(t,e){var n=r(t,e),i=Date.UTC(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5]),o=t.getTime(),a=o%1e3;return i-(o-=a>=0?a:1e3+a)}function f(t,e){return null==e||!(e<0||e>59)}},function(t,e,n){"use strict";function r(t,e,n){for(var r=0,i=n.length;r<i;){if(t(e,n[r]))return!0;r+=1}return!1}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(1),i=n.n(r);e.a=i.a.createContext(null)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);function i(t,e){return r.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,n){"use strict";var r=n(1),i=r.createContext({});e.a=i},function(t,e,n){"use strict";var r=n(32),i=n(106),o=n(138);function a(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var u=function(t){return(t<10?"0":"")+t},s="function"===typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},c=n(98),f=n(223);function l(t,e){var n=function(n){var r=e.concat([t]);return Object(i.a)(n,r)?"<Circular>":l(n,r)},r=function(t,e){return Object(o.a)((function(e){return a(e)+": "+n(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Object(o.a)(n,t).join(", ")+"))";case"[object Array]":return"["+Object(o.a)(n,t).concat(r(t,Object(f.a)((function(t){return/^\d+$/.test(t)}),Object(c.a)(t)))).join(", ")+"]";case"[object Boolean]":return"object"===typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):a(s(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===typeof t?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object String]":return"object"===typeof t?"new String("+n(t.valueOf())+")":a(t);case"[object Undefined]":return"undefined";default:if("function"===typeof t.toString){var u=t.toString();if("[object Object]"!==u)return u}return"{"+r(t,Object(c.a)(t)).join(", ")+"}"}}var d=Object(r.a)((function(t){return l(t,[])}));e.a=d},function(t,e,n){var r=n(254),i=n(621),o=n(622),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r=n(647);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=o.default.memo(o.default.forwardRef((function(e,n){return o.default.createElement(a.default,(0,i.default)({ref:n},e),t)})));0;return n.muiName=a.default.muiName,n};var i=r(n(81)),o=r(n(1)),a=r(n(433))},function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},i=/%[sdj%]/g;e.format=function(t){if(!b(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(u(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(t).replace(i,(function(t){if("%%"===t)return"%";if(n>=o)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}})),s=r[n];n<o;s=r[++n])g(s)||!_(s)?a+=" "+s:a+=" "+u(s);return a},e.deprecate=function(n,r){if("undefined"!==typeof t&&!0===t.noDeprecation)return n;if("undefined"===typeof t)return function(){return e.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var o,a={};function u(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&e._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),f(r,t,r.depth)}function s(t,e){var n=u.styles[e];return n?"\x1b["+u.colors[n][0]+"m"+t+"\x1b["+u.colors[n][1]+"m":t}function c(t,e){return t}function f(t,n,r){if(t.customInspect&&n&&O(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return b(i)||(i=f(t,i,r)),i}var o=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(b(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(m(e))return t.stylize(""+e,"number");if(p(e))return t.stylize(""+e,"boolean");if(g(e))return t.stylize("null","null")}(t,n);if(o)return o;var a=Object.keys(n),u=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),S(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(O(n)){var s=n.name?": "+n.name:"";return t.stylize("[Function"+s+"]","special")}if(y(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(S(n))return l(n)}var c,_="",x=!1,E=["{","}"];(h(n)&&(x=!0,E=["[","]"]),O(n))&&(_=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(_=" "+RegExp.prototype.toString.call(n)),w(n)&&(_=" "+Date.prototype.toUTCString.call(n)),S(n)&&(_=" "+l(n)),0!==a.length||x&&0!=n.length?r<0?y(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=x?function(t,e,n,r,i){for(var o=[],a=0,u=e.length;a<u;++a)$(e,String(a))?o.push(d(t,e,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(t,e,n,r,i,!0))})),o}(t,n,r,u,a):a.map((function(e){return d(t,n,r,u,e,x)})),t.seen.pop(),function(t,e,n){if(t.reduce((function(t,e){return e.indexOf("\n")>=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]}(c,_,E)):E[0]+_+E[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,n,r,i,o){var a,u,s;if((s=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?u=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(u=t.stylize("[Setter]","special")),$(r,i)||(a="["+i+"]"),u||(t.seen.indexOf(s.value)<0?(u=g(n)?f(t,s.value,null):f(t,s.value,n-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+u.split("\n").map((function(t){return" "+t})).join("\n")):u=t.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return u;(a=JSON.stringify(""+i)).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+": "+u}function h(t){return Array.isArray(t)}function p(t){return"boolean"===typeof t}function g(t){return null===t}function m(t){return"number"===typeof t}function b(t){return"string"===typeof t}function v(t){return void 0===t}function y(t){return _(t)&&"[object RegExp]"===x(t)}function _(t){return"object"===typeof t&&null!==t}function w(t){return _(t)&&"[object Date]"===x(t)}function S(t){return _(t)&&("[object Error]"===x(t)||t instanceof Error)}function O(t){return"function"===typeof t}function x(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(v(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_TYPE_CHECK_SANCTUARY:"false",REACT_APP_BUILD_TARGET:"LAMASSU"}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){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=u,u.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]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=h,e.isBoolean=p,e.isNull=g,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=b,e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=v,e.isRegExp=y,e.isObject=_,e.isDate=w,e.isError=S,e.isFunction=O,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(720);var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var t=new Date,e=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function $(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",T(),e.format.apply(e,arguments))},e.inherits=n(721),e._extend=function(t,e){if(!e||!_(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var A="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(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(A&&t[A]){var e;if("function"!==typeof(e=t[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,A,{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})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(a){n(a)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),A&&Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=A,e.callbackify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,n).then((function(e){t.nextTick(a,null,e)}),(function(e){t.nextTick(k,e,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this,n(70))},function(t,e,n){"use strict";var r=n(131),i=n(95);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=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 i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},function(t,e,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function u(){u.init.call(this)}t.exports=u,t.exports.once=function(t,e){return new Promise((function(n,r){function i(){void 0!==o&&t.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==e&&(o=function(n){t.removeListener(e,i),r(n)},t.once("error",o)),t.once(e,i)}))},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var s=10;function c(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function f(t){return void 0===t._maxListeners?u.defaultMaxListeners:t._maxListeners}function l(t,e,n,r){var i,o,a,u;if(c(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"===typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=f(t))>0&&a.length>i&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=a.length,u=s,console&&console.warn&&console.warn(u)}return t}function d(){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 h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):m(i,i.length)}function g(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),u.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},u.prototype.getMaxListeners=function(){return f(this)},u.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[t];if(void 0===s)return!1;if("function"===typeof s)o(s,this,e);else{var c=s.length,f=m(s,c);for(n=0;n<c;++n)o(f[n],this,e)}return!0},u.prototype.addListener=function(t,e){return l(this,t,e,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(t,e){return l(this,t,e,!0)},u.prototype.once=function(t,e){return c(e),this.on(t,h(this,t,e)),this},u.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,h(this,t,e)),this},u.prototype.removeListener=function(t,e){var n,r,i,o,a;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},u.prototype.listeners=function(t){return p(this,t,!0)},u.prototype.rawListeners=function(t){return p(this,t,!1)},u.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},u.prototype.listenerCount=g,u.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(29).Buffer)},function(t,e,n){"use strict";var r=n(36).Buffer,i=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 o(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===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=s,this.end=c,e=4;break;case"utf8":this.fillLast=u,e=4;break;case"base64":this.text=f,this.end=l,e=3;break;default:return this.write=d,void(this.end=h)}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 u(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 s(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 c(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 f(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 d(t){return t.toString(this.encoding)}function h(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.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<t.length?e?e+this.text(t,n):this.text(t,n):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=a(e[r]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(e[r]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(e[r]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;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)},o.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){(function(e){t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),o=0;o<r;++o)i[o]=t[o]^n[o];return i}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(37),i=n(383).Reporter,o=n(381).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function u(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return u.isEncoderBuffer(t)||(t=new u(t,e)),this.length+=t.length,t}),this);else if("number"===typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"===typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}r(a,i),e.DecoderBuffer=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"===typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"===typeof t.offset&&"number"===typeof t.length&&"function"===typeof t.save&&"function"===typeof t.restore&&"function"===typeof t.isEmpty&&"function"===typeof t.readUInt8&&"function"===typeof t.skip&&"function"===typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){var e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=u,u.isEncoderBuffer=function(t){return t instanceof u||"object"===typeof t&&"EncoderBuffer"===t.constructor.name&&"number"===typeof t.length&&"function"===typeof t.join},u.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"===typeof this.value?t[e]=this.value:"string"===typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(274),o=(n(29),n(84).sha256sha256),a=function t(n){if(!(this instanceof t))return new t(n);if(e.isBuffer(n)){var r=n;this.fromBuffer(r)}else if("string"===typeof n){var i=n;this.fromString(i)}else n&&this.set(n)};a.prototype.set=function(t){return this.buf=t.buf||this.buf||void 0,this},a.validChecksum=function(t,n){return r.isString(t)&&(t=e.from(i.decode(t))),r.isString(n)&&(n=e.from(i.decode(n))),n||(n=t.slice(-4),t=t.slice(0,-4)),a.checksum(t).toString("hex")===n.toString("hex")},a.decode=function(t){if("string"!==typeof t)throw new Error("Input must be a string");var n=e.from(i.decode(t));if(n.length<4)throw new Error("Input string too short");var r=n.slice(0,-4),a=n.slice(-4),u=o(r).slice(0,4);if(a.toString("hex")!==u.toString("hex"))throw new Error("Checksum mismatch");return r},a.checksum=function(t){return o(t).slice(0,4)},a.encode=function(t){if(!e.isBuffer(t))throw new Error("Input must be a buffer");var n=e.alloc(t.length+4),r=a.checksum(t);return t.copy(n),r.copy(n,t.length),i.encode(n)},a.prototype.fromBuffer=function(t){return this.buf=t,this},a.prototype.fromString=function(t){var e=a.decode(t);return this.buf=e,this},a.prototype.toBuffer=function(){return this.buf},a.prototype.toString=function(){return a.encode(this.buf)},t.exports=a}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e,r){function i(){}i.getRandomBuffer=function(t){return e.browser?i.getRandomBufferBrowser(t):i.getRandomBufferNode(t)},i.getRandomBufferNode=function(t){return n(481).randomBytes(t)},i.getRandomBufferBrowser=function(t){if(!window.crypto&&!window.msCrypto)throw new Error("window.crypto not available");if(window.crypto&&window.crypto.getRandomValues)var e=window.crypto;else{if(!window.msCrypto||!window.msCrypto.getRandomValues)throw new Error("window.crypto.getRandomValues not available");e=window.msCrypto}var n=new Uint8Array(t);return e.getRandomValues(n),r.from(n)},i.getPseudoRandomBuffer=function(t){for(var e,n=r.alloc(t),i=0;i<=t;i++){0===i-4*Math.floor(i/4)?(e=4294967296*Math.random(),n[i]=255&e):n[i]=255&(e>>>=8)}return n},t.exports=i}).call(this,n(70),n(29).Buffer)},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(1)),o=(0,r(n(233)).default)(i.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");e.default=o},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;e.a=r},function(t,e,n){"use strict";var r=n(32),i=Object(r.a)((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hexToRgb=o,e.rgbToHex=function(t){if(0===t.indexOf("#"))return t;var e=u(t).values;return"#".concat(e.map((function(t){return function(t){var e=t.toString(16);return 1===e.length?"0".concat(e):e}(t)})).join(""))},e.hslToRgb=a,e.decomposeColor=u,e.recomposeColor=s,e.getContrastRatio=function(t,e){var n=c(t),r=c(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},e.getLuminance=c,e.emphasize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return c(t)>.5?f(t,e):l(t,e)},e.fade=function(t,e){t=u(t),e=i(e),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a");return t.values[3]=e,s(t)},e.darken=f,e.lighten=l;var r=n(40);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){var e=(t=u(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",f=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(c+="a",f.push(e[3])),s({type:c,values:f})}function u(t){if(t.type)return t;if("#"===t.charAt(0))return u(o(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.formatMuiErrorMessage)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function s(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function c(t){var e="hsl"===(t=u(t)).type?u(a(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function f(t,e){if(t=u(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return s(t)}function l(t,e){if(t=u(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return s(t)}},function(t,e,n){"use strict";function r(t){return"[object Number]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(51),i=n(213);var o=n(293);function a(t,e,n){return(a=Object(o.a)()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&Object(i.a)(o,n.prototype),o}).apply(null,arguments)}function u(t){var e="function"===typeof Map?new Map:void 0;return(u=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,o)}function o(){return a(t,arguments,Object(r.a)(this).constructor)}return o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Object(i.a)(o,t)})(t)}},,,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){var r=n(147).Symbol;t.exports=r},function(t,e,n){var r=n(177)(Object,"create");t.exports=r},function(t,e,n){var r=n(637),i=n(638),o=n(639),a=n(640),u=n(641);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,n){var r=n(417);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(643);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(346);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e,n){var r,i;!function(o){"use strict";var a={inspect:{}};"object"===typeof t.exports?t.exports=o(n(234),n(129),n(130)):null!=n(148)?(r=[n(129),n(130)],void 0===(i=function(t,e){return o(a,t,e)}.apply(e,r))||(t.exports=i)):self.sanctuaryEither=o(a,self.sanctuaryShow,self.sanctuaryTypeClasses)}((function(t,e,n){"use strict";if("undefined"!==typeof __doctest){var r=__doctest.require("sanctuary-def"),i=__doctest.require("sanctuary-type-identifiers");(function(){var t=__doctest.require("sanctuary"),e=r.BinaryType("sanctuary-either/Either")("")((function(t){return i(t)===o["@@type"]}))((function(t){return t.isLeft?[t.value]:[]}))((function(t){return t.isLeft?[]:[t.value]})),a=n.concat(t.env,[r.TypeClass,e(r.Unknown)(r.Unknown)]);t.create({checkTypes:!0,env:a})})()}var o={},a={constructor:o,isLeft:!0,isRight:!1,"@@show":h,"fantasy-land/map":function(t){return this},"fantasy-land/bimap":function(t,e){return c(t(this.value))},"fantasy-land/ap":function(t){return t.isLeft?t:this},"fantasy-land/chain":function(t){return this},"fantasy-land/alt":function(t){return t},"fantasy-land/reduce":function(t,e){return e},"fantasy-land/traverse":function(t,e){return n.of(t,this)},"fantasy-land/extend":function(t){return this}},u={constructor:o,isLeft:!1,isRight:!0,"@@show":p,"fantasy-land/map":function(t){return f(t(this.value))},"fantasy-land/bimap":function(t,e){return f(e(this.value))},"fantasy-land/ap":function(t){return t.isLeft?t:f(t.value(this.value))},"fantasy-land/chain":function(t){return t(this.value)},"fantasy-land/alt":function(t){return this},"fantasy-land/reduce":function(t,e){return t(e,this.value)},"fantasy-land/traverse":function(t,e){return n.map(f,e(this.value))},"fantasy-land/extend":function(t){return f(t(this))}},s=t.inspect.custom;"symbol"===typeof s?(a[s]=h,u[s]=p):(a.inspect=h,u.inspect=p);var c=o.Left=function(t){var e=Object.create(a);return n.Setoid.test(t)&&(e["fantasy-land/equals"]=g,n.Ord.test(t)&&(e["fantasy-land/lte"]=b)),n.Semigroup.test(t)&&(e["fantasy-land/concat"]=y),e.value=t,e},f=o.Right=function(t){var e=Object.create(u);return n.Setoid.test(t)&&(e["fantasy-land/equals"]=m,n.Ord.test(t)&&(e["fantasy-land/lte"]=v)),n.Semigroup.test(t)&&(e["fantasy-land/concat"]=_),e.value=t,e};function l(t){return{tag:l,value:t}}function d(t){return{tag:d,value:t}}function h(){return"Left ("+e(this.value)+")"}function p(){return"Right ("+e(this.value)+")"}function g(t){return t.isLeft&&n.equals(this.value,t.value)}function m(t){return t.isRight&&n.equals(this.value,t.value)}function b(t){return t.isRight||n.lte(this.value,t.value)}function v(t){return t.isRight&&n.lte(this.value,t.value)}function y(t){return t.isLeft?c(n.concat(this.value,t.value)):t}function _(t){return t.isRight?f(n.concat(this.value,t.value)):this}return o["@@type"]="sanctuary-either/Either@1",o["fantasy-land/of"]=f,o["fantasy-land/chainRec"]=function(t,e){for(var n=l(e);n.tag===l;){var r=t(l,d,n.value);if(r.isLeft)return r;n=r.value}return f(n.value)},o}))},function(t,e,n){"use strict";var r=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",n=0;n<t.length;n++)e+=i(t[n].toString(16));return e}r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!==typeof t){for(var r=0;r<t.length;r++)n[r]=0|t[r];return n}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t);for(r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16))}else for(r=0;r<t.length;r++){var i=t.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,n){"use strict";var r=n(149),i=n(113),o=i.getNAF,a=i.getJSF,u=i.assert;function s(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(t,e){u(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var a,s,c=[];for(a=0;a<r.length;a+=n.step){s=0;for(var f=a+n.step-1;f>=a;f--)s=(s<<1)+r[f];c.push(s)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a<c.length;a++)(s=c[a])===h?d=d.mixedAdd(n.points[a]):s===-h&&(d=d.mixedAdd(n.points[a].neg()));l=l.add(d)}return l.toP()},s.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(e,n,this._bitLength),s=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var f=0;c>=0&&0===a[c];c--)f++;if(c>=0&&f++,s=s.dblp(f),c<0)break;var l=a[c];u(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},s.prototype._wnafMulAdd=function(t,e,n,r,i){var u,s,c,f=this._wnafT1,l=this._wnafT2,d=this._wnafT3,h=0;for(u=0;u<r;u++){var p=(c=e[u])._getNAFPoints(t);f[u]=p.wnd,l[u]=p.points}for(u=r-1;u>=1;u-=2){var g=u-1,m=u;if(1===f[g]&&1===f[m]){var b=[e[g],null,null,e[m]];0===e[g].y.cmp(e[m].y)?(b[1]=e[g].add(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg())):0===e[g].y.cmp(e[m].y.redNeg())?(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].add(e[m].neg())):(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[g],n[m]);for(h=Math.max(y[0].length,h),d[g]=new Array(h),d[m]=new Array(h),s=0;s<h;s++){var _=0|y[0][s],w=0|y[1][s];d[g][s]=v[3*(_+1)+(w+1)],d[m][s]=0,l[g]=b}}else d[g]=o(n[g],f[g],this._bitLength),d[m]=o(n[m],f[m],this._bitLength),h=Math.max(d[g].length,h),h=Math.max(d[m].length,h)}var S=this.jpoint(null,null,null),O=this._wnafT4;for(u=h;u>=0;u--){for(var x=0;u>=0;){var E=!0;for(s=0;s<r;s++)O[s]=0|d[s][u],0!==O[s]&&(E=!1);if(!E)break;x++,u--}if(u>=0&&x++,S=S.dblp(x),u<0)break;for(s=0;s<r;s++){var M=O[s];0!==M&&(M>0?c=l[s][M-1>>1]:M<0&&(c=l[s][-M-1>>1].neg()),S="affine"===c.type?S.mixedAdd(c):S.add(c))}}for(u=0;u<r;u++)l[u]=null;return i?S:S.toP()},s.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*n)return 6===t[0]?u(t[t.length-1]%2===0):7===t[0]&&u(t[t.length-1]%2===1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},function(t,e,n){"use strict";var r=n(37),i=n(756),o=n(156),a=n(36).Buffer,u=n(450),s=n(360),c=n(361),f=a.alloc(128);function l(t,e){o.call(this,"digest"),"string"===typeof e&&(e=a.from(e));var n="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>n)?e=("rmd160"===t?new s:c(t)).update(e).digest():e.length<n&&(e=a.concat([e,f],n));for(var r=this._ipad=a.allocUnsafe(n),i=this._opad=a.allocUnsafe(n),u=0;u<n;u++)r[u]=54^e[u],i[u]=92^e[u];this._hash="rmd160"===t?new s:c(t),this._hash.update(r)}r(l,o),l.prototype._update=function(t){this._hash.update(t)},l.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new s:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new l("rmd160",e):"md5"===t?new i(u,e):new l(t,e)}},function(t,e,n){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,u=arguments.length;switch(u){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(u-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this,n(70))},function(t,e,n){(e=t.exports=n(452)).Stream=e,e.Readable=e,e.Writable=n(456),e.Duplex=n(200),e.Transform=n(457),e.PassThrough=n(773),e.finished=n(359),e.pipeline=n(774)},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(t){var e=i,n=e.lib,r=n.Base,o=n.WordArray,a=e.x64={};a.Word=r.extend({init:function(t,e){this.high=t,this.low=e}}),a.WordArray=r.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var t=this.words,e=t.length,n=[],r=0;r<e;r++){var i=t[r];n.push(i.high),n.push(i.low)}return o.create(n,this.sigBytes)},clone:function(){for(var t=r.clone.call(this),e=t.words=this.words.slice(0),n=e.length,i=0;i<n;i++)e[i]=e[i].clone();return t}})}(),i)}()},function(t,e,n){"use strict";(function(e){var r=n(344);function i(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0}function o(t){return e.Buffer&&"function"===typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var a=n(234),u=Object.prototype.hasOwnProperty,s=Array.prototype.slice,c="foo"===function(){}.name;function f(t){return Object.prototype.toString.call(t)}function l(t){return!o(t)&&("function"===typeof e.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var d=t.exports=v,h=/\s*function\s+([^\(\s]*)\s*/;function p(t){if(a.isFunction(t)){if(c)return t.name;var e=t.toString().match(h);return e&&e[1]}}function g(t,e){return"string"===typeof t?t.length<e?t:t.slice(0,e):t}function m(t){if(c||!a.isFunction(t))return a.inspect(t);var e=p(t);return"[Function"+(e?": "+e:"")+"]"}function b(t,e,n,r,i){throw new d.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function v(t,e){t||b(t,!0,e,"==",d.ok)}function y(t,e,n,r){if(t===e)return!0;if(o(t)&&o(e))return 0===i(t,e);if(a.isDate(t)&&a.isDate(e))return t.getTime()===e.getTime();if(a.isRegExp(t)&&a.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"===typeof t||null!==e&&"object"===typeof e){if(l(t)&&l(e)&&f(t)===f(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(o(t)!==o(e))return!1;var u=(r=r||{actual:[],expected:[]}).actual.indexOf(t);return-1!==u&&u===r.expected.indexOf(e)||(r.actual.push(t),r.expected.push(e),function(t,e,n,r){if(null===t||void 0===t||null===e||void 0===e)return!1;if(a.isPrimitive(t)||a.isPrimitive(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=_(t),o=_(e);if(i&&!o||!i&&o)return!1;if(i)return y(t=s.call(t),e=s.call(e),n);var u,c,f=O(t),l=O(e);if(f.length!==l.length)return!1;for(f.sort(),l.sort(),c=f.length-1;c>=0;c--)if(f[c]!==l[c])return!1;for(c=f.length-1;c>=0;c--)if(!y(t[u=f[c]],e[u],n,r))return!1;return!0}(t,e,n,r))}return n?t===e:t==e}function _(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function w(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(n){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function S(t,e,n,r){var i;if("function"!==typeof e)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=function(t){var e;try{t()}catch(n){e=n}return e}(e),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!i&&b(i,n,"Missing expected exception"+r);var o="string"===typeof r,u=!t&&i&&!n;if((!t&&a.isError(i)&&o&&w(i,n)||u)&&b(i,n,"Got unwanted exception"+r),t&&i&&n&&!w(i,n)||!t&&i)throw i}d.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return g(m(t.actual),128)+" "+t.operator+" "+g(m(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var r=n.stack,i=p(e),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(d.AssertionError,Error),d.fail=b,d.ok=v,d.equal=function(t,e,n){t!=e&&b(t,e,n,"==",d.equal)},d.notEqual=function(t,e,n){t==e&&b(t,e,n,"!=",d.notEqual)},d.deepEqual=function(t,e,n){y(t,e,!1)||b(t,e,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(t,e,n){y(t,e,!0)||b(t,e,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(t,e,n){y(t,e,!1)&&b(t,e,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function t(e,n,r){y(e,n,!0)&&b(e,n,r,"notDeepStrictEqual",t)},d.strictEqual=function(t,e,n){t!==e&&b(t,e,n,"===",d.strictEqual)},d.notStrictEqual=function(t,e,n){t===e&&b(t,e,n,"!==",d.notStrictEqual)},d.throws=function(t,e,n){S(!0,t,e,n)},d.doesNotThrow=function(t,e,n){S(!1,t,e,n)},d.ifError=function(t){if(t)throw t},d.strict=r((function t(e,n){e||b(e,!0,n,"==",t)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var O=Object.keys||function(t){var e=[];for(var n in t)u.call(t,n)&&e.push(n);return e}}).call(this,n(59))},function(t,e,n){var r=n(36).Buffer;function i(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i<e;i++)n[i]=t.readUInt32BE(4*i);return n}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,n,r,i){for(var o,a,u,s,c=n[0],f=n[1],l=n[2],d=n[3],h=t[0]^e[0],p=t[1]^e[1],g=t[2]^e[2],m=t[3]^e[3],b=4,v=1;v<i;v++)o=c[h>>>24]^f[p>>>16&255]^l[g>>>8&255]^d[255&m]^e[b++],a=c[p>>>24]^f[g>>>16&255]^l[m>>>8&255]^d[255&h]^e[b++],u=c[g>>>24]^f[m>>>16&255]^l[h>>>8&255]^d[255&p]^e[b++],s=c[m>>>24]^f[h>>>16&255]^l[p>>>8&255]^d[255&g]^e[b++],h=o,p=a,g=u,m=s;return o=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[g>>>8&255]<<8|r[255&m])^e[b++],a=(r[p>>>24]<<24|r[g>>>16&255]<<16|r[m>>>8&255]<<8|r[255&h])^e[b++],u=(r[g>>>24]<<24|r[m>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^e[b++],s=(r[m>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&g])^e[b++],[o>>>=0,a>>>=0,u>>>=0,s>>>=0]}var u=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,u=0,s=0;s<256;++s){var c=u^u<<1^u<<2^u<<3^u<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var f=t[a],l=t[f],d=t[l],h=257*t[c]^16843008*c;i[0][a]=h<<24|h>>>8,i[1][a]=h<<16|h>>>16,i[2][a]=h<<8|h>>>24,i[3][a]=h,h=16843009*d^65537*l^257*f^16843008*a,o[0][c]=h<<24|h>>>8,o[1][c]=h<<16|h>>>16,o[2][c]=h<<8|h>>>24,o[3][c]=h,0===a?a=u=1:(a=f^t[t[t[d^f]]],u^=t[t[u]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<r;o++){var a=i[o-1];o%e===0?(a=a<<8|a>>>24,a=s.SBOX[a>>>24]<<24|s.SBOX[a>>>16&255]<<16|s.SBOX[a>>>8&255]<<8|s.SBOX[255&a],a^=u[o/e|0]<<24):e>6&&o%e===4&&(a=s.SBOX[a>>>24]<<24|s.SBOX[a>>>16&255]<<16|s.SBOX[a>>>8&255]<<8|s.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],f=0;f<r;f++){var l=r-f,d=i[l-(f%4?0:4)];c[f]=f<4||l<=4?d:s.INV_SUB_MIX[0][s.SBOX[d>>>24]]^s.INV_SUB_MIX[1][s.SBOX[d>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[d>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=a(t,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},function(t,e,n){var r=n(36).Buffer,i=n(358);t.exports=function(t,e,n,o){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,u=r.alloc(a),s=r.alloc(o||0),c=r.alloc(0);a>0||o>0;){var f=new i;f.update(c),f.update(t),e&&f.update(e),c=f.digest();var l=0;if(a>0){var d=u.length-a;l=Math.min(a,c.length),c.copy(u,d,0,l),a-=l}if(l<c.length&&o>0){var h=s.length-o,p=Math.min(o,c.length-l);c.copy(s,h,l,l+p),o-=p}}return c.fill(0),{key:u,iv:s}}},function(t,e,n){"use strict";var r=n(150),i=n(115),o=i.getNAF,a=i.getJSF,u=i.assert;function s(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(t,e){u(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var a,s,c=[];for(a=0;a<r.length;a+=n.step){s=0;for(var f=a+n.step-1;f>=a;f--)s=(s<<1)+r[f];c.push(s)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a<c.length;a++)(s=c[a])===h?d=d.mixedAdd(n.points[a]):s===-h&&(d=d.mixedAdd(n.points[a].neg()));l=l.add(d)}return l.toP()},s.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(e,n,this._bitLength),s=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var f=0;c>=0&&0===a[c];c--)f++;if(c>=0&&f++,s=s.dblp(f),c<0)break;var l=a[c];u(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},s.prototype._wnafMulAdd=function(t,e,n,r,i){var u,s,c,f=this._wnafT1,l=this._wnafT2,d=this._wnafT3,h=0;for(u=0;u<r;u++){var p=(c=e[u])._getNAFPoints(t);f[u]=p.wnd,l[u]=p.points}for(u=r-1;u>=1;u-=2){var g=u-1,m=u;if(1===f[g]&&1===f[m]){var b=[e[g],null,null,e[m]];0===e[g].y.cmp(e[m].y)?(b[1]=e[g].add(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg())):0===e[g].y.cmp(e[m].y.redNeg())?(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].add(e[m].neg())):(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[g],n[m]);for(h=Math.max(y[0].length,h),d[g]=new Array(h),d[m]=new Array(h),s=0;s<h;s++){var _=0|y[0][s],w=0|y[1][s];d[g][s]=v[3*(_+1)+(w+1)],d[m][s]=0,l[g]=b}}else d[g]=o(n[g],f[g],this._bitLength),d[m]=o(n[m],f[m],this._bitLength),h=Math.max(d[g].length,h),h=Math.max(d[m].length,h)}var S=this.jpoint(null,null,null),O=this._wnafT4;for(u=h;u>=0;u--){for(var x=0;u>=0;){var E=!0;for(s=0;s<r;s++)O[s]=0|d[s][u],0!==O[s]&&(E=!1);if(!E)break;x++,u--}if(u>=0&&x++,S=S.dblp(x),u<0)break;for(s=0;s<r;s++){var M=O[s];0!==M&&(M>0?c=l[s][M-1>>1]:M<0&&(c=l[s][-M-1>>1].neg()),S="affine"===c.type?S.mixedAdd(c):S.add(c))}}for(u=0;u<r;u++)l[u]=null;return i?S:S.toP()},s.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*n)return 6===t[0]?u(t[t.length-1]%2===0):7===t[0]&&u(t[t.length-1]%2===1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},function(t,e,n){var r=n(909),i=n(916),o=n(917),a=n(377),u=n(483),s=n(36).Buffer;function c(t){var e;"object"!==typeof t||s.isBuffer(t)||(e=t.passphrase,t=t.key),"string"===typeof t&&(t=s.from(t));var n,c,f=o(t,e),l=f.tag,d=f.data;switch(l){case"CERTIFICATE":c=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(d,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":d=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,f=t.subjectPrivateKey,l=parseInt(o.split("-")[1],10)/8,d=u.pbkdf2Sync(e,n,r,l,"sha1"),h=a.createDecipheriv(o,d,c),p=[];return p.push(h.update(f)),p.push(h.final()),s.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}t.exports=c,c.signature=r.signature},function(t,e,n){"use strict";var r=n(151),i=n(116),o=i.getNAF,a=i.getJSF,u=i.assert;function s(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(t,e){u(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var a,s,c=[];for(a=0;a<r.length;a+=n.step){s=0;for(var f=a+n.step-1;f>=a;f--)s=(s<<1)+r[f];c.push(s)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a<c.length;a++)(s=c[a])===h?d=d.mixedAdd(n.points[a]):s===-h&&(d=d.mixedAdd(n.points[a].neg()));l=l.add(d)}return l.toP()},s.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(e,n,this._bitLength),s=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var f=0;c>=0&&0===a[c];c--)f++;if(c>=0&&f++,s=s.dblp(f),c<0)break;var l=a[c];u(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},s.prototype._wnafMulAdd=function(t,e,n,r,i){var u,s,c,f=this._wnafT1,l=this._wnafT2,d=this._wnafT3,h=0;for(u=0;u<r;u++){var p=(c=e[u])._getNAFPoints(t);f[u]=p.wnd,l[u]=p.points}for(u=r-1;u>=1;u-=2){var g=u-1,m=u;if(1===f[g]&&1===f[m]){var b=[e[g],null,null,e[m]];0===e[g].y.cmp(e[m].y)?(b[1]=e[g].add(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg())):0===e[g].y.cmp(e[m].y.redNeg())?(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].add(e[m].neg())):(b[1]=e[g].toJ().mixedAdd(e[m]),b[2]=e[g].toJ().mixedAdd(e[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[g],n[m]);for(h=Math.max(y[0].length,h),d[g]=new Array(h),d[m]=new Array(h),s=0;s<h;s++){var _=0|y[0][s],w=0|y[1][s];d[g][s]=v[3*(_+1)+(w+1)],d[m][s]=0,l[g]=b}}else d[g]=o(n[g],f[g],this._bitLength),d[m]=o(n[m],f[m],this._bitLength),h=Math.max(d[g].length,h),h=Math.max(d[m].length,h)}var S=this.jpoint(null,null,null),O=this._wnafT4;for(u=h;u>=0;u--){for(var x=0;u>=0;){var E=!0;for(s=0;s<r;s++)O[s]=0|d[s][u],0!==O[s]&&(E=!1);if(!E)break;x++,u--}if(u>=0&&x++,S=S.dblp(x),u<0)break;for(s=0;s<r;s++){var M=O[s];0!==M&&(M>0?c=l[s][M-1>>1]:M<0&&(c=l[s][-M-1>>1].neg()),S="affine"===c.type?S.mixedAdd(c):S.add(c))}}for(u=0;u<r;u++)l[u]=null;return i?S:S.toP()},s.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*n)return 6===t[0]?u(t[t.length-1]%2===0):7===t[0]&&u(t[t.length-1]%2===1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(187),o=n(241),a=n(79),u=n(80),s=n(159),c=n(186),f=n(101),l=n(242),d=n(52);function h(t,e){if(!(this instanceof h))return new h(t,e);if(t instanceof h)return t;var n=this._classifyArguments(t,e);if(!n.bn||0===n.bn.cmp(new a(0)))throw new TypeError("Number can not be equal to zero, undefined, null or false");if(!n.bn.lt(c.getN()))throw new TypeError("Number must be less than N");if("undefined"===typeof n.network)throw new TypeError('Must specify the network ("livenet" or "testnet")');return u.defineImmutable(this,{bn:n.bn,compressed:n.compressed,network:n.network}),Object.defineProperty(this,"publicKey",{configurable:!1,enumerable:!0,get:this.toPublicKey.bind(this)}),this}h.prototype._classifyArguments=function(t,n){var i={compressed:!0,network:n?s.get(n):s.defaultNetwork};if(r.isUndefined(t)||r.isNull(t))i.bn=h._getRandomBN();else if(t instanceof a)i.bn=t;else if(t instanceof e||t instanceof Uint8Array)i=h._transformBuffer(t,n);else if(t.bn&&t.network)i=h._transformObject(t);else if(!n&&s.get(t))i.bn=h._getRandomBN(),i.network=s.get(t);else{if("string"!==typeof t)throw new TypeError("First argument is an unrecognized data type.");u.isHexa(t)?i.bn=new a(e.from(t,"hex")):i=h._transformWIF(t,n)}return i},h._getRandomBN=function(){var t,e;do{var n=l.getRandomBuffer(32);t=(e=a.fromBuffer(n)).lt(c.getN())}while(!t);return e},h._transformBuffer=function(t,e){var n={};if(32===t.length)return h._transformBNBuffer(t,e);if(n.network=s.get(t[0],"privatekey"),!n.network)throw new Error("Invalid network");if(e&&n.network!==s.get(e))throw new TypeError("Private key network mismatch");if(34===t.length&&1===t[33])n.compressed=!0;else{if(33!==t.length)throw new Error("Length of buffer must be 33 (uncompressed) or 34 (compressed)");n.compressed=!1}return n.bn=a.fromBuffer(t.slice(1,33)),n},h._transformBNBuffer=function(t,e){var n={};return n.network=s.get(e)||s.defaultNetwork,n.bn=a.fromBuffer(t),n.compressed=!1,n},h._transformWIF=function(t,e){return h._transformBuffer(o.decode(t),e)},h.fromBuffer=function(t,e){return new h(t,e)},h._transformObject=function(t){return{bn:new a(t.bn,"hex"),network:s.get(t.network),compressed:t.compressed}},h.fromString=h.fromWIF=function(t){return d.checkArgument(r.isString(t),"First argument is expected to be a string."),new h(t)},h.fromObject=function(t){return d.checkArgument(r.isObject(t),"First argument is expected to be an object."),new h(t)},h.fromRandom=function(t){var e=h._getRandomBN();return new h(e,t)},h.getValidationError=function(t,e){var n;try{new h(t,e)}catch(r){n=r}return n},h.isValid=function(t,e){return!!t&&!h.getValidationError(t,e)},h.prototype.toString=function(){return this.toBuffer().toString("hex")},h.prototype.toWIF=function(){var t,n=this.network;return t=this.compressed?e.concat([e.from([n.privatekey]),this.bn.toBuffer({size:32}),e.from([1])]):e.concat([e.from([n.privatekey]),this.bn.toBuffer({size:32})]),o.encode(t)},h.prototype.toBigNumber=function(){return this.bn},h.prototype.toBuffer=function(){return this.bn.toBuffer({size:32})},h.prototype.toBufferNoPadding=function(){return this.bn.toBuffer()},h.prototype.toPublicKey=function(){return this._pubkey||(this._pubkey=f.fromPrivateKey(this)),this._pubkey},h.prototype.toAddress=function(t){var e=this.toPublicKey();return i.fromPublicKey(e,t||this.network)},h.prototype.toObject=h.prototype.toJSON=function(){return{bn:this.bn.toString("hex"),compressed:this.compressed,network:this.network.toString()}},h.prototype.inspect=function(){var t=this.compressed?"":", uncompressed";return"<PrivateKey: "+this.toString()+", network: "+this.network+t+">"},t.exports=h}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(364),o=n(29),a="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".split(""),u=function t(n){if(!(this instanceof t))return new t(n);if(e.isBuffer(n)){var r=n;this.fromBuffer(r)}else if("string"===typeof n){var i=n;this.fromString(i)}else n&&this.set(n)};u.validCharacters=function(t){return o.Buffer.isBuffer(t)&&(t=t.toString()),r.every(r.map(t,(function(t){return r.includes(a,t)})))},u.prototype.set=function(t){return this.buf=t.buf||this.buf||void 0,this},u.encode=function(t){if(!o.Buffer.isBuffer(t))throw new Error("Input should be a buffer");return i.encode(t)},u.decode=function(t){if("string"!==typeof t)throw new Error("Input should be a string");return e.from(i.decode(t))},u.prototype.fromBuffer=function(t){return this.buf=t,this},u.prototype.fromString=function(t){var e=u.decode(t);return this.buf=e,this},u.prototype.toBuffer=function(){return this.buf},u.prototype.toString=function(){return u.encode(this.buf)},t.exports=u}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(63),a=n(80);function u(t){if(!(this instanceof u))return new u(t);var e;if(r.isNumber(t))e=t;else{if(!r.isString(t))throw new TypeError('Unrecognized num type: "'+typeof t+'" for Opcode');e=u.map[t]}return a.defineImmutable(this,{num:e}),this}for(var s in u.fromBuffer=function(t){return i.checkArgument(o.isBuffer(t)),new u(Number("0x"+t.toString("hex")))},u.fromNumber=function(t){return i.checkArgument(r.isNumber(t)),new u(t)},u.fromString=function(t){i.checkArgument(r.isString(t));var e=u.map[t];if("undefined"===typeof e)throw new TypeError("Invalid opcodestr");return new u(e)},u.prototype.toHex=function(){return this.num.toString(16)},u.prototype.toBuffer=function(){return e.from(this.toHex(),"hex")},u.prototype.toNumber=function(){return this.num},u.prototype.toString=function(){var t=u.reverseMap[this.num];if("undefined"===typeof t)throw new Error("Opcode does not have a string representation");return t},u.smallInt=function(t){return i.checkArgument(r.isNumber(t),"Invalid Argument: n should be number"),i.checkArgument(t>=0&&t<=16,"Invalid Argument: n must be between 0 and 16"),0===t?u("OP_0"):new u(u.map.OP_1+t-1)},u.map={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SPLIT:127,OP_NUM2BIN:128,OP_BIN2NUM:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP1:176,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_CHECKDATASIG:186,OP_CHECKDATASIGVERIFY:187,OP_REVERSEBYTES:188,OP_PREFIX_BEGIN:240,OP_PREFIX_END:241,OP_SMALLINTEGER:250,OP_PUBKEYS:251,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255},u.reverseMap=[],u.map)u.reverseMap[u.map[s]]=s;r.extend(u,u.map),u.isSmallIntOp=function(t){return t instanceof u&&(t=t.toNumber()),t===u.map.OP_0||t>=u.map.OP_1&&t<=u.map.OP_16},u.prototype.inspect=function(){return"<Opcode: "+this.toString()+", hex: "+this.toHex()+", decimal: "+this.num+">"},t.exports=u}).call(this,n(29).Buffer)},function(t,e,n){t.exports=n(387),t.exports.Input=n(388),t.exports.Output=n(153),t.exports.UnspentOutput=n(516),t.exports.Signature=n(207),t.exports.Sighash=n(152)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(79),o=n(63),a=n(160),u=n(134),s=n(84),c=(n(80),n(52)),f=function t(e){if(!(this instanceof t))return new t(e);var n=t._from(e);return this.version=n.version,this.prevHash=n.prevHash,this.merkleRoot=n.merkleRoot,this.time=n.time,this.timestamp=n.time,this.bits=n.bits,this.nonce=n.nonce,n.hash&&c.checkState(this.hash===n.hash,"Argument object hash property does not match block hash."),this};f._from=function(t){var e={};if(o.isBuffer(t))e=f._fromBufferReader(a(t));else{if(!r.isObject(t))throw new TypeError("Unrecognized argument for BlockHeader");e=f._fromObject(t)}return e},f._fromObject=function(t){c.checkArgument(t,"data is required");var n=t.prevHash,i=t.merkleRoot;return r.isString(t.prevHash)&&(n=o.reverse(e.from(t.prevHash,"hex"))),r.isString(t.merkleRoot)&&(i=o.reverse(e.from(t.merkleRoot,"hex"))),{hash:t.hash,version:t.version,prevHash:n,merkleRoot:i,time:t.time,timestamp:t.time,bits:t.bits,nonce:t.nonce}},f.fromObject=function(t){var e=f._fromObject(t);return new f(e)},f.fromRawBlock=function(t){o.isBuffer(t)||(t=e.from(t,"binary"));var n=a(t);n.pos=f.Constants.START_OF_HEADER;var r=f._fromBufferReader(n);return new f(r)},f.fromBuffer=function(t){var e=f._fromBufferReader(a(t));return new f(e)},f.fromString=function(t){var n=e.from(t,"hex");return f.fromBuffer(n)},f._fromBufferReader=function(t){var e={};return e.version=t.readInt32LE(),e.prevHash=t.read(32),e.merkleRoot=t.read(32),e.time=t.readUInt32LE(),e.bits=t.readUInt32LE(),e.nonce=t.readUInt32LE(),e},f.fromBufferReader=function(t){var e=f._fromBufferReader(t);return new f(e)},f.prototype.toObject=f.prototype.toJSON=function(){return{hash:this.hash,version:this.version,prevHash:o.reverse(this.prevHash).toString("hex"),merkleRoot:o.reverse(this.merkleRoot).toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}},f.prototype.toBuffer=function(){return this.toBufferWriter().concat()},f.prototype.toString=function(){return this.toBuffer().toString("hex")},f.prototype.toBufferWriter=function(t){return t||(t=new u),t.writeInt32LE(this.version),t.write(this.prevHash),t.write(this.merkleRoot),t.writeUInt32LE(this.time),t.writeUInt32LE(this.bits),t.writeUInt32LE(this.nonce),t},f.prototype.getTargetDifficulty=function(t){t=t||this.bits;for(var e=new i(16777215&t),n=8*((t>>>24)-3);n-- >0;)e=e.mul(new i(2));return e},f.prototype.getDifficulty=function(){var t=this.getTargetDifficulty(486604799).mul(new i(Math.pow(10,8))),e=this.getTargetDifficulty(),n=t.div(e).toString(10),r=n.length-8;return n=n.slice(0,r)+"."+n.slice(r),parseFloat(n)},f.prototype._getHash=function(){var t=this.toBuffer();return s.sha256sha256(t)};var l={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=a(this._getHash()).readReverse().toString("hex")),this._id},set:r.noop};Object.defineProperty(f.prototype,"id",l),Object.defineProperty(f.prototype,"hash",l),f.prototype.validTimestamp=function(){var t=Math.round((new Date).getTime()/1e3);return!(this.time>t+f.Constants.MAX_TIME_OFFSET)},f.prototype.validProofOfWork=function(){var t=new i(this.id,"hex"),e=this.getTargetDifficulty();return!(t.cmp(e)>0)},f.prototype.inspect=function(){return"<BlockHeader "+this.id+">"},f.Constants={START_OF_HEADER:8,MAX_TIME_OFFSET:7200,LARGEST_HASH:new i("10000000000000000000000000000000000000000000000000000000000000000","hex")},t.exports=f}).call(this,n(29).Buffer)},function(t,e,n){"use strict";n.r(e);var r=n(304);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(395);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=n.n(o),u=n(15),s=(n(13),n(125)),c=n.n(s),f=n(975);function l(t,e){var n={};return Object.keys(t).forEach((function(r){-1===e.indexOf(r)&&(n[r]=t[r])})),n}var d=n(136);e.a=function(t){var e=function(t){return function(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.name,d=Object(i.a)(o,["name"]),h=s,p="function"===typeof e?function(t){return{root:function(n){return e(Object(r.a)({theme:t},n))}}}:{root:e},g=Object(f.a)(p,Object(r.a)({Component:t,name:s||t.displayName,classNamePrefix:h},d));e.filterProps&&(n=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var m=a.a.forwardRef((function(e,o){var s=e.children,c=e.className,f=e.clone,d=e.component,h=Object(i.a)(e,["children","className","clone","component"]),p=g(e),m=Object(u.a)(p.root,c),b=h;if(n&&(b=l(b,n)),f)return a.a.cloneElement(s,Object(r.a)({className:Object(u.a)(s.props.className,m)},b));if("function"===typeof s)return s(Object(r.a)({className:m},b));var v=d||t;return a.a.createElement(v,Object(r.a)({ref:o,className:m},b),s)}));return c()(m,t),m}}(t);return function(t,n){return e(t,Object(r.a)({defaultTheme:d.a},n))}}},function(t,e,n){"use strict";var r=n(1),i=n.n(r).a.createContext(null);e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(245);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;e.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,n){"use strict";function r(t){for(var e="https://material-ui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(107),n(4);var r=n(135),i=(n(13),n(161),{xs:0,sm:600,md:960,lg:1280,xl:1920}),o={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(i[t],"px)")}};function a(t,e,n){if(Array.isArray(e)){var i=t.theme.breakpoints||o;return e.reduce((function(t,r,o){return t[i.up(i.keys[o])]=n(e[o]),t}),{})}if("object"===Object(r.a)(e)){var a=t.theme.breakpoints||o;return Object.keys(e).reduce((function(t,r){return t[a.up(r)]=n(e[r]),t}),{})}return n(e)}},function(t,e,n){"use strict";e.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(246);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 o(t){return a(t,[])}function a(t,e){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return null===t?"null":function(t,e){if(-1!==e.indexOf(t))return"[Circular]";var n=[].concat(e,[t]),i=function(t){var e=t[String(r.a)];if("function"===typeof e)return e;if("function"===typeof t.inspect)return t.inspect}(t);if(void 0!==i){var o=i.call(t);if(o!==t)return"string"===typeof o?o:a(o,n)}else if(Array.isArray(t))return function(t,e){if(0===t.length)return"[]";if(e.length>2)return"[Array]";for(var n=Math.min(10,t.length),r=t.length-n,i=[],o=0;o<n;++o)i.push(a(t[o],e));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(t,n);return function(t,e){var n=Object.keys(t);if(0===n.length)return"{}";if(e.length>2)return"["+function(t){var e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"===typeof t.constructor){var n=t.constructor.name;if("string"===typeof n&&""!==n)return n}return e}(t)+"]";return"{ "+n.map((function(n){return n+": "+a(t[n],e)})).join(", ")+" }"}(t,n)}(t,e);default:return String(t)}}},function(t,e,n){"use strict";function r(t){var e=t.split(/\r\n|[\n\r]/g),n=function(t){for(var e=null,n=1;n<t.length;n++){var r=t[n],o=i(r);if(o!==r.length&&((null===e||o<e)&&0===(e=o)))break}return null===e?0:e}(e);if(0!==n)for(var r=1;r<e.length;r++)e[r]=e[r].slice(n);for(;e.length>0&&o(e[0]);)e.shift();for(;e.length>0&&o(e[e.length-1]);)e.pop();return e.join("\n")}function i(t){for(var e=0;e<t.length&&(" "===t[e]||"\t"===t[e]);)e++;return e}function o(t){return i(t)===t.length}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===t.indexOf("\n"),i=" "===t[0]||"\t"===t[0],o='"'===t[t.length-1],a=!r||o||n,u="";return!a||r&&i||(u+="\n"+e),u+=e?t.replace(/\n/g,"\n"+e):t,a&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}))},function(t,e,n){"use strict";var r=n(61),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(t){return"[object Arguments]"===i.call(t)}:function(t){return Object(r.a)("callee",t)}}();e.a=o},function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length,i=[];n<r;)t(e[n])&&(i[i.length]=e[n]),n+=1;return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(59))},function(t,e,n){"use strict";(function(t){var r=n(71),i=n(537),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===o?r.a.Buffer:void 0,s=(u?u.isBuffer:void 0)||i.a;e.a=s}).call(this,n(253)(t))},function(t,e,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(420),i=n(421),o=n(424);t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(33),c=o.forwardRef((function(t,e){var n=t.children,u=t.classes,c=t.className,f=t.color,l=void 0===f?"inherit":f,d=t.component,h=void 0===d?"svg":d,p=t.fontSize,g=void 0===p?"default":p,m=t.htmlColor,b=t.titleAccess,v=t.viewBox,y=void 0===v?"0 0 24 24":v,_=Object(i.a)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(h,Object(r.a)({className:Object(a.a)(u.root,c,"inherit"!==l&&u["color".concat(Object(s.a)(l))],"default"!==g&&u["fontSize".concat(Object(s.a)(g))]),focusable:"false",viewBox:y,color:m,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:e},_),n,b?o.createElement("title",null,b):null)}));c.muiName="SvgIcon",e.a=Object(u.a)((function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(74);function i(t){return Object(r.a)(t).defaultView||window}},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(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(106),i=function(){function t(){this._nativeSet="function"===typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!o(t,!0,this)},t.prototype.has=function(t){return o(t,!1,this)},t}();function o(t,e,n){var i,o=typeof t;switch(o){case"string":case"number":return 0===t&&1/t===-1/0?!!n._items["-0"]||(e&&(n._items["-0"]=!0),!1):null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?t in n._items[o]||(e&&(n._items[o][t]=!0),!1):(e&&(n._items[o]={},n._items[o][t]=!0),!1);case"boolean":if(o in n._items){var a=t?1:0;return!!n._items[o][a]||(e&&(n._items[o][a]=!0),!1)}return e&&(n._items[o]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?!!Object(r.a)(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1);case"undefined":return!!n._items[o]||(e&&(n._items[o]=!0),!1);case"object":if(null===t)return!!n._items.null||(e&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in n._items?!!Object(r.a)(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1)}}e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(119);function i(t,e,n){var i,o;if("function"===typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(i=1/e;n<t.length;){if(0===(o=t[n])&&1/o===i)return n;n+=1}return-1}if(e!==e){for(;n<t.length;){if("number"===typeof(o=t[n])&&o!==o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(Object(r.a)(t[n],e))return n;n+=1}return-1}},function(t,e,n){"use strict";var r=n(32),i=n(302),o=Object(r.a)(i.a);e.a=o},function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(1),i=r.createContext();e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(91),o=n(17),a=n(1),u=(n(13),n(577)),s=n(90),c=n(96),f=n(121),l=n(44),d={entering:{opacity:1},entered:{opacity:1}},h={enter:s.b.enteringScreen,exit:s.b.leavingScreen},p=a.forwardRef((function(t,e){var n=t.children,s=t.disableStrictModeCompat,p=void 0!==s&&s,g=t.in,m=t.onEnter,b=t.onEntered,v=t.onEntering,y=t.onExit,_=t.onExited,w=t.onExiting,S=t.style,O=t.TransitionComponent,x=void 0===O?u.a:O,E=t.timeout,M=void 0===E?h:E,T=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),$=Object(c.a)(),A=$.unstable_strictMode&&!p,k=a.useRef(null),C=Object(l.a)(n.ref,e),I=Object(l.a)(A?k:void 0,C),P=function(t){return function(e,n){if(t){var r=A?[k.current,e]:[e,n],o=Object(i.a)(r,2),a=o[0],u=o[1];void 0===u?t(a):t(a,u)}}},N=P(v),R=P((function(t,e){Object(f.b)(t);var n=Object(f.a)({style:S,timeout:M},{mode:"enter"});t.style.webkitTransition=$.transitions.create("opacity",n),t.style.transition=$.transitions.create("opacity",n),m&&m(t,e)})),j=P(b),D=P(w),L=P((function(t){var e=Object(f.a)({style:S,timeout:M},{mode:"exit"});t.style.webkitTransition=$.transitions.create("opacity",e),t.style.transition=$.transitions.create("opacity",e),y&&y(t)})),F=P(_);return a.createElement(x,Object(r.a)({appear:!0,in:g,nodeRef:A?k:void 0,onEnter:R,onEntered:j,onEntering:N,onExit:L,onExited:F,onExiting:D,timeout:M},T),(function(t,e){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},d[t],S,n.props.style),ref:I},e))}))}));e.a=p},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(30),i=n(25),o=n(22);function a(t,e){Object(o.a)(2,arguments);var n=Object(i.a)(t),a=Object(r.a)(e);if(isNaN(a))return new Date(NaN);if(!a)return n;var u=n.getDate(),s=new Date(n.getTime());s.setMonth(n.getMonth()+a+1,0);var c=s.getDate();return u>=c?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(30),i=n(307),o=n(22);function a(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,-n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(30),i=n(25),o=n(22);function a(t,e){Object(o.a)(2,arguments);var n=Object(i.a)(t),a=Object(r.a)(e);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t){Object(i.a)(1,arguments);var e=Object(r.a)(t);return e.setHours(23,59,59,999),e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(219),i=n(22),o=n(220);function a(t,e,n){Object(i.a)(2,arguments);var a=Object(r.a)(t,e)/1e3;return Object(o.a)(null===n||void 0===n?void 0:n.roundingMethod)(a)}},function(t,e,n){"use strict";function r(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function i(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var o={p:i,P:function(t,e){var n,o=t.match(/(P+)(p+)?/),a=o[1],u=o[2];if(!u)return r(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(a,e)).replace("{{time}}",i(u,e))}};e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(25),i=n(142),o=n(22);function a(t){Object(o.a)(1,arguments);var e=Object(r.a)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var u=Object(i.a)(a),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var c=Object(i.a)(s);return e.getTime()>=u.getTime()?n+1:e.getTime()>=c.getTime()?n:n-1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(313);function i(t){return Object(r.a)({},t)}},function(t,e,n){"use strict";function r(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{})Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(30),i=n(108),o=n(224),a=36e5,u={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*| UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function s(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=e||{},a=null==n.additionalDigits?2:Object(r.a)(n.additionalDigits);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"===typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!==typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var u=c(t),s=f(u.date,a),h=s.year,p=s.restDateString,g=l(p,h);if(isNaN(g))return new Date(NaN);if(g){var m,b=g.getTime(),v=0;if(u.time&&(v=d(u.time),isNaN(v)))return new Date(NaN);if(u.timezone||n.timeZone){if(m=Object(o.a)(u.timezone||n.timeZone,new Date(b+v)),isNaN(m))return new Date(NaN)}else m=Object(i.a)(new Date(b+v)),m=Object(i.a)(new Date(b+v+m));return new Date(b+v+m)}return new Date(NaN)}function c(t){var e,n={},r=t.split(u.dateTimeDelimeter);if(u.plainTime.test(r[0])?(n.date=null,e=r[0]):(n.date=r[0],e=r[1],n.timezone=r[2],u.timeZoneDelimeter.test(n.date)&&(n.date=t.split(u.timeZoneDelimeter)[0],e=t.substr(n.date.length,t.length))),e){var i=u.timezone.exec(e);i?(n.time=e.replace(i[1],""),n.timezone=i[1]):n.time=e}return n}function f(t,e){var n,r=u.YYY[e],i=u.YYYYY[e];if(n=u.YYYY.exec(t)||i.exec(t)){var o=n[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(n=u.YY.exec(t)||r.exec(t)){var a=n[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}function l(t,e){if(null===e)return null;var n,r,i,o;if(0===t.length)return(r=new Date(0)).setUTCFullYear(e),r;if(n=u.MM.exec(t))return r=new Date(0),b(e,i=parseInt(n[1],10)-1)?(r.setUTCFullYear(e,i),r):new Date(NaN);if(n=u.DDD.exec(t)){r=new Date(0);var a=parseInt(n[1],10);return function(t,e){if(e<1)return!1;var n=m(t);if(n&&e>366)return!1;if(!n&&e>365)return!1;return!0}(e,a)?(r.setUTCFullYear(e,0,a),r):new Date(NaN)}if(n=u.MMDD.exec(t)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return b(e,i,s)?(r.setUTCFullYear(e,i,s),r):new Date(NaN)}if(n=u.Www.exec(t))return v(e,o=parseInt(n[1],10)-1)?h(e,o):new Date(NaN);if(n=u.WwwD.exec(t)){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return v(e,o,c)?h(e,o,c):new Date(NaN)}return null}function d(t){var e,n,r;if(e=u.HH.exec(t))return y(n=parseFloat(e[1].replace(",",".")))?n%24*a:NaN;if(e=u.HHMM.exec(t))return y(n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")))?n%24*a+6e4*r:NaN;if(e=u.HHMMSS.exec(t)){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return y(n,r,i)?n%24*a+6e4*r+1e3*i:NaN}return null}function h(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=7*e+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var p=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function m(t){return t%400===0||t%4===0&&t%100!==0}function b(t,e,n){if(e<0||e>11)return!1;if(null!=n){if(n<1)return!1;var r=m(t);if(r&&n>g[e])return!1;if(!r&&n>p[e])return!1}return!0}function v(t,e,n){return!(e<0||e>52)&&(null==n||!(n<0||n>6))}function y(t,e,n){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==n||!(n<0||n>=60)))}},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return e>t?e:t}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=n(97),o=n(536),a=Object(r.a)((function(t,e){return Object(i.a)(Object(o.a)(t),e)}));e.a=a},function(t,e,n){"use strict";var r=n(1),i=r.createContext();e.a=i},function(t,e,n){(function(r){var i,o,a;!function(r){"use strict";"object"===typeof t.exports?t.exports=r(n(434),n(260),n(435),n(436),n(129),n(130),n(198)):null!=n(148)?(o=[n(434),n(260),n(435),n(436),n(129),n(130),n(198)],void 0===(a="function"===typeof(i=r)?i.apply(e,o):i)||(t.exports=a)):self.sanctuary=r(self.sanctuaryDef,self.sanctuaryEither,self.sanctuaryMaybe,self.sanctuaryPair,self.sanctuaryShow,self.sanctuaryTypeClasses,self.sanctuaryTypeIdentifiers)}((function(t,e,i,o,a,u,s){"use strict";if("undefined"!==typeof __doctest){__doctest.require("sanctuary-descending"),__doctest.require("./test/internal/List").Nil,__doctest.require("./test/internal/List").Cons;var c=__doctest.require("./test/internal/Sum");(function(e){var n=e.create({checkTypes:!0,env:e.env.concat([__doctest.require("./test/internal/List").Type(t.Unknown),c.Type])});n.env=e.env})(n(318))}var f=e.Left,l=e.Right,d=i.Nothing,h=i.Just;function p(t){return function(e){return function(n){return t(e(n))}}}function g(t){return function(e){return function(n){return t(n)(e)}}}function m(t){return p((function(e){return t in e?h(e[t]):d}))(y)}function b(t){return function(e){return e[t]()}}function v(t){return function(e){return function(n){return n[t](e)}}}function y(t){return null==t?Object.create(null):Object(t)}var _=t.TypeVariable("a"),w=t.TypeVariable("b"),S=t.TypeVariable("c"),O=t.TypeVariable("d"),x=t.TypeVariable("e"),E=t.TypeVariable("g"),M=t.TypeVariable("r"),T=t.UnaryTypeVariable("f"),$=t.UnaryTypeVariable("m"),A=t.UnaryTypeVariable("t"),k=t.UnaryTypeVariable("w"),C=t.BinaryTypeVariable("p"),I=t.BinaryTypeVariable("s"),P=t.UnaryType("TypeRep")("https://github.com/fantasyland/fantasy-land#type-representatives")([])((function(e){return t.test([])(t.AnyFunction)(e)||null!=e&&t.test([])(t.String)(e["@@type"])}))(V([])),N=t.RecordType({checkTypes:t.Boolean,env:t.Array(t.Any)}),R={};function j(n){var r=t.create(n),o={env:n.env,is:r("is")({})([t.Type,t.Any,t.Boolean])(t.test(n.env)),Maybe:i,Nothing:d,Either:e};return Object.keys(R).forEach((function(t){o[t]=r(t)(R[t].consts)(R[t].types)(R[t].impl)})),o.unchecked=n.checkTypes?j({checkTypes:!1,env:n.env}):o,o}function D(t){return function(e){return u.equals(t,e)}}function L(t){return function(e){return u.gt(e,t)}}function F(t){return function(e){return u.filter(t,e)}}function B(t){return function(e){return u.reject(t,e)}}function U(t){return function(e){return u.map(t,e)}}function z(t){return function(e){return function(n){return u.reduce((function(e,n){return t(e)(n)}),e,n)}}}function H(t){return t}function V(t){return function(e){return t}}function q(t){return function(e){return e(t)}}function W(t){return function(e){return function(n){return t(e,n)}}}function G(t){return function(e){return function(n){return function(r){return t(e,n,r)}}}}function K(t){return function(e){return function(n){return function(r){return function(i){return t(e,n,r,i)}}}}}function Y(t){return function(e){return t(e.fst)(e.snd)}}function Z(t){return t.isJust}function Q(t){return function(e){return function(n){return n.isJust?e(n.value):t}}}function X(t){return function(e){return function(n){return n.isJust?e(n.value):t()}}}function J(t){return U(ht("value"))(F(Z)(t))}function tt(t){return t.isLeft}function et(t){return t.isRight}function nt(t){return function(e){return function(n){return(n.isLeft?t:e)(n.value)}}}function rt(t){return function(e){try{return l(t(e))}catch(n){return f(n)}}}function it(t){return t.isLeft?d:h(t.value)}function ot(t){return!t}function at(t){return function(e){return function(n){return function(r){return(t(r)?e:n)(r)}}}}function ut(t,e){return function(n){return function(r){if(n<0)return d;if(Array.isArray(r))return n<=r.length?h(t(n,r)):d;var i=u.reduce((function(t,n){return u.map((function(t){var r=t.fst,i=t.snd;return o(r-1)(e(r,i,n))}),t)}),h(o(n)(u.empty(r.constructor))),r);return u.map(o.snd,u.reject(p(L(0))(o.fst),i))}}}R.create={consts:{},types:[N,t.Object],impl:j},R.type={consts:{},types:[t.Any,t.RecordType({namespace:t.Maybe(t.String),name:t.String,version:t.NonNegativeInteger})],impl:function(t){var e=s.parse(s(t));return e.namespace=u.reject(D(null),h(e.namespace)),e}},R.show={consts:{},types:[t.Any,t.String],impl:a},R.equals={consts:{a:[u.Setoid]},types:[_,_,t.Boolean],impl:D},R.lt={consts:{a:[u.Ord]},types:[_,_,t.Boolean],impl:function(t){return function(e){return u.lt(e,t)}}},R.lte={consts:{a:[u.Ord]},types:[_,_,t.Boolean],impl:function(t){return function(e){return u.lte(e,t)}}},R.gt={consts:{a:[u.Ord]},types:[_,_,t.Boolean],impl:L},R.gte={consts:{a:[u.Ord]},types:[_,_,t.Boolean],impl:function(t){return function(e){return u.gte(e,t)}}},R.min={consts:{a:[u.Ord]},types:[_,_,_],impl:W(u.min)},R.max={consts:{a:[u.Ord]},types:[_,_,_],impl:W(u.max)},R.clamp={consts:{a:[u.Ord]},types:[_,_,_,_],impl:G(u.clamp)},R.id={consts:{c:[u.Category]},types:[P(S),S],impl:u.id},R.concat={consts:{a:[u.Semigroup]},types:[_,_,_],impl:W(u.concat)},R.empty={consts:{a:[u.Monoid]},types:[P(_),_],impl:u.empty},R.invert={consts:{g:[u.Group]},types:[E,E],impl:u.invert},R.filter={consts:{f:[u.Filterable]},types:[t.Predicate(_),T(_),T(_)],impl:F},R.reject={consts:{f:[u.Filterable]},types:[t.Predicate(_),T(_),T(_)],impl:B},R.map={consts:{f:[u.Functor]},types:[t.Fn(_)(w),T(_),T(w)],impl:U},R.flip={consts:{f:[u.Functor]},types:[T(t.Fn(_)(w)),_,T(w)],impl:W(u.flip)},R.bimap={consts:{p:[u.Bifunctor]},types:[t.Fn(_)(w),t.Fn(S)(O),C(_)(S),C(w)(O)],impl:G(u.bimap)},R.mapLeft={consts:{p:[u.Bifunctor]},types:[t.Fn(_)(w),C(_)(S),C(w)(S)],impl:W(u.mapLeft)},R.promap={consts:{p:[u.Profunctor]},types:[t.Fn(_)(w),t.Fn(S)(O),C(w)(S),C(_)(O)],impl:G(u.promap)},R.alt={consts:{f:[u.Alt]},types:[T(_),T(_),T(_)],impl:function(t){return function(e){return u.alt(e,t)}}},R.zero={consts:{f:[u.Plus]},types:[P(T(_)),T(_)],impl:u.zero},R.reduce={consts:{f:[u.Foldable]},types:[t.Fn(_)(t.Fn(w)(_)),_,T(w),_],impl:z},R.traverse={consts:{f:[u.Applicative],t:[u.Traversable]},types:[P(T(w)),t.Fn(_)(T(w)),A(_),T(A(w))],impl:G(u.traverse)},R.sequence={consts:{f:[u.Applicative],t:[u.Traversable]},types:[P(T(_)),A(T(_)),T(A(_))],impl:W(u.sequence)},R.ap={consts:{f:[u.Apply]},types:[T(t.Fn(_)(w)),T(_),T(w)],impl:W(u.ap)},R.lift2={consts:{f:[u.Apply]},types:[t.Fn(_)(t.Fn(w)(S)),T(_),T(w),T(S)],impl:G(u.lift2)},R.lift3={consts:{f:[u.Apply]},types:[t.Fn(_)(t.Fn(w)(t.Fn(S)(O))),T(_),T(w),T(S),T(O)],impl:K(u.lift3)},R.apFirst={consts:{f:[u.Apply]},types:[T(_),T(w),T(_)],impl:W(u.apFirst)},R.apSecond={consts:{f:[u.Apply]},types:[T(_),T(w),T(w)],impl:W(u.apSecond)},R.of={consts:{f:[u.Applicative]},types:[P(T(_)),_,T(_)],impl:function(t){return function(e){return u.of(t,e)}}},R.chain={consts:{m:[u.Chain]},types:[t.Fn(_)($(w)),$(_),$(w)],impl:W(u.chain)},R.join={consts:{m:[u.Chain]},types:[$($(_)),$(_)],impl:u.join},R.chainRec={consts:{m:[u.ChainRec]},types:[P($(w)),t.Fn(_)($(t.Either(_)(w))),_,$(w)],impl:function(t){return function(e){return function(e){return u.chainRec(t,n,e)};function n(t,n,r){return u.map(nt(t)(n),e(r))}}}},R.extend={consts:{w:[u.Extend]},types:[t.Fn(k(_))(w),k(_),k(w)],impl:W(u.extend)},R.duplicate={consts:{w:[u.Extend]},types:[k(_),k(k(_))],impl:u.duplicate},R.extract={consts:{w:[u.Comonad]},types:[k(_),_],impl:u.extract},R.contramap={consts:{f:[u.Contravariant]},types:[t.Fn(w)(_),T(_),T(w)],impl:W(u.contramap)},R.I={consts:{},types:[_,_],impl:H},R.K={consts:{},types:[_,w,_],impl:V},R.T={consts:{},types:[_,t.Fn(_)(w),w],impl:q},R.curry2={consts:{},types:[t.Function([_,w,S]),_,w,S],impl:W},R.curry3={consts:{},types:[t.Function([_,w,S,O]),_,w,S,O],impl:G},R.curry4={consts:{},types:[t.Function([_,w,S,O,x]),_,w,S,O,x],impl:K},R.curry5={consts:{},types:[t.Function([_,w,S,O,x,M]),_,w,S,O,x,M],impl:function(t){return function(e){return function(n){return function(r){return function(i){return function(o){return t(e,n,r,i,o)}}}}}}},R.compose={consts:{s:[u.Semigroupoid]},types:[I(w)(S),I(_)(w),I(_)(S)],impl:W(u.compose)},R.pipe={consts:{f:[u.Foldable]},types:[T(t.Fn(t.Any)(t.Any)),_,w],impl:function(t){return function(e){return z(q)(e)(t)}}},R.pipeK={consts:{f:[u.Foldable],m:[u.Chain]},types:[T(t.Fn(t.Any)($(t.Any))),$(_),$(w)],impl:function(t){return function(e){return u.reduce((function(t,e){return u.chain(e,t)}),e,t)}}},R.on={consts:{},types:[t.Fn(w)(t.Fn(w)(S)),t.Fn(_)(w),_,_,S],impl:function(t){return function(e){return function(n){return function(r){return t(e(n))(e(r))}}}}},R.Pair={consts:{},types:[_,w,t.Pair(_)(w)],impl:o},R.pair={consts:{},types:[t.Fn(_)(t.Fn(w)(S)),t.Pair(_)(w),S],impl:Y},R.fst={consts:{},types:[t.Pair(_)(w),_],impl:Y(V)},R.snd={consts:{},types:[t.Pair(_)(w),w],impl:Y(g(V))},R.swap={consts:{},types:[t.Pair(_)(w),t.Pair(w)(_)],impl:Y(g(o))},R.Just={consts:{},types:[_,t.Maybe(_)],impl:h},R.isNothing={consts:{},types:[t.Maybe(_),t.Boolean],impl:function(t){return t.isNothing}},R.isJust={consts:{},types:[t.Maybe(_),t.Boolean],impl:Z},R.fromMaybe={consts:{},types:[_,t.Maybe(_),_],impl:g(Q)(H)},R.fromMaybe_={consts:{},types:[t.Thunk(_),t.Maybe(_),_],impl:g(X)(H)},R.maybeToNullable={consts:{},types:[t.Maybe(_),t.Nullable(_)],impl:function(t){return t.isJust?t.value:null}},R.maybe={consts:{},types:[w,t.Fn(_)(w),t.Maybe(_),w],impl:Q},R.maybe_={consts:{},types:[t.Thunk(w),t.Fn(_)(w),t.Maybe(_),w],impl:X},R.justs={consts:{f:[u.Filterable,u.Functor]},types:[T(t.Maybe(_)),T(_)],impl:J},R.mapMaybe={consts:{f:[u.Filterable,u.Functor]},types:[t.Fn(_)(t.Maybe(w)),T(_),T(w)],impl:p(p(J))(U)},R.maybeToEither={consts:{},types:[_,t.Maybe(w),t.Either(_)(w)],impl:function(t){return Q(f(t))(l)}},R.Left={consts:{},types:[_,t.Either(_)(w)],impl:f},R.Right={consts:{},types:[w,t.Either(_)(w)],impl:l},R.isLeft={consts:{},types:[t.Either(_)(w),t.Boolean],impl:tt},R.isRight={consts:{},types:[t.Either(_)(w),t.Boolean],impl:et},R.fromEither={consts:{},types:[w,t.Either(_)(w),w],impl:function(t){return nt(V(t))(H)}},R.either={consts:{},types:[t.Fn(_)(S),t.Fn(w)(S),t.Either(_)(w),S],impl:nt},R.lefts={consts:{f:[u.Filterable,u.Functor]},types:[T(t.Either(_)(w)),T(_)],impl:p(U(ht("value")))(F(tt))},R.rights={consts:{f:[u.Filterable,u.Functor]},types:[T(t.Either(_)(w)),T(w)],impl:p(U(ht("value")))(F(et))},R.tagBy={consts:{},types:[t.Predicate(_),_,t.Either(_)(_)],impl:function(t){return at(t)(l)(f)}},R.encase={consts:{},types:[t.Fn(_)(w),_,t.Either(t.Error)(w)],impl:rt},R.eitherToMaybe={consts:{},types:[t.Either(_)(w),t.Maybe(w)],impl:it},R.and={consts:{},types:[t.Boolean,t.Boolean,t.Boolean],impl:function(t){return function(e){return t&&e}}},R.or={consts:{},types:[t.Boolean,t.Boolean,t.Boolean],impl:function(t){return function(e){return t||e}}},R.not={consts:{},types:[t.Boolean,t.Boolean],impl:ot},R.complement={consts:{},types:[t.Predicate(_),_,t.Boolean],impl:p(ot)},R.boolean={consts:{},types:[_,_,t.Boolean,_],impl:function(t){return function(e){return function(n){return n?e:t}}}},R.ifElse={consts:{},types:[t.Predicate(_),t.Fn(_)(w),t.Fn(_)(w),_,w],impl:at},R.when={consts:{},types:[t.Predicate(_),t.Fn(_)(_),_,_],impl:function(t){return g(at(t))(H)}},R.unless={consts:{},types:[t.Predicate(_),t.Fn(_)(_),_,_],impl:function(t){return at(t)(H)}},R.array={consts:{},types:[w,t.Fn(_)(t.Fn(t.Array(_))(w)),t.Array(_),w],impl:function(t){return function(e){return function(n){return 0===n.length?t:e(n[0])(n.slice(1))}}}},R.head={consts:{f:[u.Foldable]},types:[T(_),t.Maybe(_)],impl:function(t){return Array.isArray(t)?t.length>0?h(t[0]):d:u.reduce((function(t,e){return t.isJust?t:h(e)}),d,t)}},R.last={consts:{f:[u.Foldable]},types:[T(_),t.Maybe(_)],impl:function(t){return Array.isArray(t)?t.length>0?h(t[t.length-1]):d:u.reduce((function(t,e){return h(e)}),d,t)}},R.tail={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[T(_),t.Maybe(T(_))],impl:function(t){if(Array.isArray(t))return t.length>0?h(t.slice(1)):d;var e=u.empty(t.constructor);return u.reduce((function(t,n){return h(Q(e)(ft(n))(t))}),d,t)}},R.init={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[T(_),t.Maybe(T(_))],impl:function(t){if(Array.isArray(t))return t.length>0?h(t.slice(0,-1)):d;var e=u.empty(t.constructor);return u.map(o.snd,u.reduce((function(t,n){return h(o(n)(Q(e)(Y(ft))(t)))}),d,t))}};var st=ut((function(t,e){return e.slice(0,t)}),(function(t,e,n){return t>0?u.append(n,e):e}));R.take={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[t.Integer,T(_),t.Maybe(T(_))],impl:st};var ct=ut((function(t,e){return e.slice(t)}),(function(t,e,n){return t>0?e:u.append(n,e)}));function ft(t){return function(e){return u.append(t,e)}}function lt(t){return function(e){for(var n=[],r=t(e);r.isJust;r=t(r.value.snd))n.push(r.value.fst);return n}}function dt(t){return function(e){return function(n){for(var r=[],i=Math.min(e.length,n.length),o=0;o<i;o+=1)r.push(t(e[o])(n[o]));return r}}}function ht(t){return function(e){var n=y(e);if(t in n)return n[t];throw new TypeError("\u2018prop\u2019 expected object to have a property named \u2018"+t+"\u2019; "+a(e)+" does not")}}function pt(t){return function(e){var n={};return n[t]=e,n}}function gt(t){return function(e){return t+e}}function mt(t){return function(e){return t*e}}function bt(t){return"(?:"+t.join("|")+")"}R.drop={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[t.Integer,T(_),t.Maybe(T(_))],impl:ct},R.takeLast={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[t.Integer,T(_),t.Maybe(T(_))],impl:function(t){return function(e){return u.map(u.reverse,st(t)(u.reverse(e)))}}},R.dropLast={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[t.Integer,T(_),t.Maybe(T(_))],impl:function(t){return function(e){return u.map(u.reverse,ct(t)(u.reverse(e)))}}},R.takeWhile={consts:{},types:[t.Predicate(_),t.Array(_),t.Array(_)],impl:function(t){return function(e){for(var n=0;n<e.length&&t(e[n]);)n+=1;return e.slice(0,n)}}},R.dropWhile={consts:{},types:[t.Predicate(_),t.Array(_),t.Array(_)],impl:function(t){return function(e){for(var n=0;n<e.length&&t(e[n]);)n+=1;return e.slice(n)}}},R.size={consts:{f:[u.Foldable]},types:[T(_),t.NonNegativeInteger],impl:u.size},R.all={consts:{f:[u.Foldable]},types:[t.Predicate(_),T(_),t.Boolean],impl:W(u.all)},R.any={consts:{f:[u.Foldable]},types:[t.Predicate(_),T(_),t.Boolean],impl:W(u.any)},R.none={consts:{f:[u.Foldable]},types:[t.Predicate(_),T(_),t.Boolean],impl:W(u.none)},R.append={consts:{f:[u.Applicative,u.Semigroup]},types:[_,T(_),T(_)],impl:ft},R.prepend={consts:{f:[u.Applicative,u.Semigroup]},types:[_,T(_),T(_)],impl:W(u.prepend)},R.joinWith={consts:{},types:[t.String,t.Array(t.String),t.String],impl:v("join")},R.elem={consts:{a:[u.Setoid],f:[u.Foldable]},types:[_,T(_),t.Boolean],impl:W(u.elem)},R.find={consts:{f:[u.Foldable]},types:[t.Predicate(_),T(_),t.Maybe(_)],impl:function(t){return function(e){return u.reduce((function(e,n){return e.isJust?e:t(n)?h(n):d}),d,e)}}},R.foldMap={consts:{b:[u.Monoid],f:[u.Foldable]},types:[P(w),t.Fn(_)(w),T(_),w],impl:G(u.foldMap)},R.unfoldr={consts:{},types:[t.Fn(w)(t.Maybe(t.Pair(_)(w))),w,t.Array(_)],impl:lt},R.range={consts:{},types:[t.Integer,t.Integer,t.Array(t.Integer)],impl:function(t){return function(e){for(var n=[],r=t;r<e;r+=1)n.push(r);return n}}},R.groupBy={consts:{},types:[t.Fn(_)(t.Predicate(_)),t.Array(_),t.Array(t.Array(_))],impl:function(t){return function(e){if(0===e.length)return[];for(var n=e[0],r=[n],i=[r],o=1;o<e.length;o+=1){var a=e[o];t(n)(a)?r.push(a):i.push(r=[n=a])}return i}}},R.reverse={consts:{f:[u.Applicative,u.Foldable,u.Monoid]},types:[T(_),T(_)],impl:u.reverse},R.sort={consts:{a:[u.Ord],m:[u.Applicative,u.Foldable,u.Monoid]},types:[$(_),$(_)],impl:u.sort},R.sortBy={consts:{b:[u.Ord],m:[u.Applicative,u.Foldable,u.Monoid]},types:[t.Fn(_)(w),$(_),$(_)],impl:W(u.sortBy)},R.zip={consts:{},types:[t.Array(_),t.Array(w),t.Array(t.Pair(_)(w))],impl:dt(o)},R.zipWith={consts:{},types:[t.Fn(_)(t.Fn(w)(S)),t.Array(_),t.Array(w),t.Array(S)],impl:dt},R.prop={consts:{},types:[t.String,_,w],impl:ht},R.props={consts:{},types:[t.Array(t.String),_,w],impl:function(t){return function(e){return t.reduce((function(e,n){var r=y(e);if(n in r)return r[n];throw new TypeError("\u2018props\u2019 expected object to have a property at "+a(t)+"; "+a(e)+" does not")}),e)}}},R.get={consts:{},types:[t.Predicate(t.Any),t.String,_,t.Maybe(w)],impl:function(t){return p(p(F(t)))(m)}},R.gets={consts:{},types:[t.Predicate(t.Any),t.Array(t.String),_,t.Maybe(w)],impl:function(t){return function(e){return function(n){return u.filter(t,e.reduce((function(t,e){return u.chain(m(e),t)}),h(n)))}}}},R.value={consts:{},types:[t.String,t.StrMap(_),t.Maybe(_)],impl:function(t){return function(e){return Object.prototype.propertyIsEnumerable.call(e,t)?h(e[t]):d}}},R.singleton={consts:{},types:[t.String,_,t.StrMap(_)],impl:pt},R.insert={consts:{},types:[t.String,_,t.StrMap(_),t.StrMap(_)],impl:function(t){return function(e){return function(n){return u.concat(n,pt(t)(e))}}}},R.remove={consts:{},types:[t.String,t.StrMap(_),t.StrMap(_)],impl:function(t){return function(e){var n=u.concat(e,{});return delete n[t],n}}},R.keys={consts:{},types:[t.StrMap(_),t.Array(t.String)],impl:Object.keys},R.values={consts:{},types:[t.StrMap(_),t.Array(_)],impl:function(t){return u.map((function(e){return t[e]}),Object.keys(t))}},R.pairs={consts:{},types:[t.StrMap(_),t.Array(t.Pair(t.String)(_))],impl:function(t){return u.map((function(e){return o(e)(t[e])}),Object.keys(t))}},R.fromPairs={consts:{f:[u.Foldable]},types:[T(t.Pair(t.String)(_)),t.StrMap(_)],impl:function(t){return u.reduce((function(t,e){return t[e.fst]=e.snd,t}),{},t)}},R.negate={consts:{},types:[t.ValidNumber,t.ValidNumber],impl:function(t){return-t}},R.add={consts:{},types:[t.FiniteNumber,t.FiniteNumber,t.FiniteNumber],impl:gt},R.sum={consts:{f:[u.Foldable]},types:[T(t.FiniteNumber),t.FiniteNumber],impl:z(gt)(0)},R.sub={consts:{},types:[t.FiniteNumber,t.FiniteNumber,t.FiniteNumber],impl:function(t){return function(e){return e-t}}},R.mult={consts:{},types:[t.FiniteNumber,t.FiniteNumber,t.FiniteNumber],impl:mt},R.product={consts:{f:[u.Foldable]},types:[T(t.FiniteNumber),t.FiniteNumber],impl:z(mt)(1)},R.div={consts:{},types:[t.NonZeroFiniteNumber,t.FiniteNumber,t.FiniteNumber],impl:function(t){return function(e){return e/t}}},R.pow={consts:{},types:[t.FiniteNumber,t.FiniteNumber,t.FiniteNumber],impl:function(t){return function(e){return Math.pow(e,t)}}},R.mean={consts:{f:[u.Foldable]},types:[T(t.FiniteNumber),t.Maybe(t.FiniteNumber)],impl:function(t){var e=u.reduce((function(t,e){return t.total+=e,t.count+=1,t}),{total:0,count:0},t);return e.count>0?h(e.total/e.count):d}},R.even={consts:{},types:[t.Integer,t.Boolean],impl:function(t){return t%2===0}},R.odd={consts:{},types:[t.Integer,t.Boolean],impl:function(t){return t%2!==0}},R.parseDate={consts:{},types:[t.String,t.Maybe(t.ValidDate)],impl:function(t){var e=new Date(t);return isNaN(e.valueOf())?d:h(e)}};var vt,yt=new RegExp("^\\s*[+-]?"+bt(["Infinity","NaN",bt(["[0-9]+","[0-9]+[.][0-9]+","[0-9]+[.]","[.][0-9]+"])+(vt=["[Ee][+-]?[0-9]+"],bt(vt)+"?")])+"\\s*$");R.parseFloat={consts:{},types:[t.String,t.Maybe(t.Number)],impl:function(t){return yt.test(t)?h(parseFloat(t)):d}};var _t=t.NullaryType("Radix")("")([t.Integer])((function(t){return t>=2&&t<=36}));R.parseInt={consts:{},types:[_t,t.String,t.Maybe(t.Integer)],impl:function(e){return function(n){var r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".slice(0,e),i=new RegExp("^["+r+"]+$","i"),o=n.replace(/^[+-]/,"");if(i.test(16===e?o.replace(/^0x/i,""):o)){var a=parseInt(n,e);if(t.test([])(t.Integer)(a))return h(a)}return d}}},R.parseJson={consts:{},types:[t.Predicate(t.Any),t.String,t.Maybe(_)],impl:function(t){return p(F(t))(p(it)(rt(JSON.parse)))}};var wt=t.RecordType({match:t.String,groups:t.Array(t.Maybe(t.String))});function St(t){return{match:t[0],groups:u.map(p(B(D(void 0)))(h),t.slice(1))}}function Ot(t,e){var n=t.lastIndex,r=e();return t.lastIndex=n,r}return R.regex={consts:{},types:[t.RegexFlags,t.String,t.RegExp],impl:function(t){return function(e){return new RegExp(e,t)}}},R.regexEscape={consts:{},types:[t.String,t.String],impl:function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},R.test={consts:{},types:[t.RegExp,t.String,t.Boolean],impl:function(t){return function(e){return Ot(t,(function(){return t.test(e)}))}}},R.match={consts:{},types:[t.NonGlobalRegExp,t.String,t.Maybe(wt)],impl:function(t){return function(e){return u.map(St,u.reject(D(null),h(e.match(t))))}}},R.matchAll={consts:{},types:[t.GlobalRegExp,t.String,t.Array(wt)],impl:function(t){return function(e){return Ot(t,(function(){return lt((function(n){return u.map((function(t){return o(St(t))(null)}),u.reject(D(null),h(t.exec(e))))}))([])}))}}},R.toUpper={consts:{},types:[t.String,t.String],impl:b("toUpperCase")},R.toLower={consts:{},types:[t.String,t.String],impl:b("toLowerCase")},R.trim={consts:{},types:[t.String,t.String],impl:b("trim")},R.stripPrefix={consts:{},types:[t.String,t.String,t.Maybe(t.String)],impl:function(t){return function(e){var n=t.length;return e.slice(0,n)===t?h(e.slice(n)):d}}},R.stripSuffix={consts:{},types:[t.String,t.String,t.Maybe(t.String)],impl:function(t){return function(e){var n=e.length-t.length;return e.slice(n)===t?h(e.slice(0,n)):d}}},R.words={consts:{},types:[t.String,t.Array(t.String)],impl:function(t){var e=t.split(/\s+/),n=e.length;return e.slice(""===e[0]?1:0,""===e[n-1]?n-1:n)}},R.unwords={consts:{},types:[t.Array(t.String),t.String],impl:v("join")(" ")},R.lines={consts:{},types:[t.String,t.Array(t.String)],impl:function(t){return""===t?[]:t.replace(/\r\n?/g,"\n").match(/^(?=[\s\S]).*/gm)}},R.unlines={consts:{},types:[t.Array(t.String),t.String],impl:function(t){return t.reduce((function(t,e){return t+e+"\n"}),"")}},R.splitOn={consts:{},types:[t.String,t.String,t.Array(t.String)],impl:v("split")},R.splitOnRegex={consts:{},types:[t.GlobalRegExp,t.String,t.Array(t.String)],impl:function(t){return function(e){return Ot(t,(function(){for(var n,r=[],i=0;null!=(n=t.exec(e));)if(t.lastIndex===i&&""===n[0]){if(t.lastIndex===e.length)return r;t.lastIndex+=1}else r.push(e.slice(i,n.index)),i=n.index+n[0].length;return r.push(e.slice(i)),r}))}}},j({checkTypes:"undefined"===typeof r||null==r||null==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_TYPE_CHECK_SANCTUARY:"false",REACT_APP_BUILD_TARGET:"LAMASSU"})||!1,env:t.env})}))}).call(this,n(70))},function(t,e,n){"use strict";var r=n(41),i=n(61),o=Object(r.a)((function(t,e,n){var r,o={};for(r in e)Object(i.a)(r,e)&&(o[r]=Object(i.a)(r,n)?t(r,e[r],n[r]):e[r]);for(r in n)Object(i.a)(r,n)&&!Object(i.a)(r,o)&&(o[r]=n[r]);return o}));e.a=o},function(t,e,n){(function(n){var r,i,o;i=[],void 0===(o="function"===typeof(r=function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function r(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){u(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,u=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(t,e,n){var u=a.URL||a.webkitURL,s=document.createElement("a");e=e||t.name||"download",s.download=e,s.rel="noopener","string"==typeof t?(s.href=t,s.origin===location.origin?o(s):i(s.href)?r(t,e,n):o(s,s.target="_blank")):(s.href=u.createObjectURL(t),setTimeout((function(){u.revokeObjectURL(s.href)}),4e4),setTimeout((function(){o(s)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(i(t))r(t,n,a);else{var u=document.createElement("a");u.href=t,u.target="_blank",setTimeout((function(){o(u)}))}}:function(t,e,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return r(t,e,n);var o="application/octet-stream"===t.type,u=/constructor/i.test(a.HTMLElement)||a.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&u)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var t=c.result;t=s?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},c.readAsDataURL(t)}else{var f=a.URL||a.webkitURL,l=f.createObjectURL(t);i?i.location=l:location.href=l,i=null,setTimeout((function(){f.revokeObjectURL(l)}),4e4)}});a.saveAs=u.saveAs=u,t.exports=u})?r.apply(e,i):r)||(t.exports=o)}).call(this,n(59))},function(t,e,n){"use strict";var r=n(16),i=n(124),o=Object(r.a)((function(t,e){var n=t<0?e.length+t:t;return Object(i.a)(e)?e.charAt(n):e[n]}));e.a=o},function(t,e,n){"use strict";(function(t){function r(e,n){var r,i="undefined"!==typeof(r="undefined"!==typeof n?n:"undefined"!==typeof window?window:"undefined"!==typeof self?self:t).document&&r.document.attachEvent;if(!i){var o=function(){var t=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(t){return r.setTimeout(t,20)};return function(e){return t(e)}}(),a=function(){var t=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(e){return t(e)}}(),u=function(t){var e=t.__resizeTriggers__,n=e.firstElementChild,r=e.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},s=function(t){if(!(t.target.className&&"function"===typeof t.target.className.indexOf&&t.target.className.indexOf("contract-trigger")<0&&t.target.className.indexOf("expand-trigger")<0)){var e=this;u(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=o((function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(e)&&(e.__resizeLast__.width=e.offsetWidth,e.__resizeLast__.height=e.offsetHeight,e.__resizeListeners__.forEach((function(n){n.call(e,t)})))}))}},c=!1,f="",l="animationstart",d="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=r.document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var g=0;g<d.length;g++)if(void 0!==p.style[d[g]+"AnimationName"]){f="-"+d[g].toLowerCase()+"-",l=h[g],c=!0;break}var m="resizeanim",b="@"+f+"keyframes "+m+" { from { opacity: 0; } to { opacity: 0; } } ",v=f+"animation: 1ms "+m+"; "}return{addResizeListener:function(t,n){if(i)t.attachEvent("onresize",n);else{if(!t.__resizeTriggers__){var o=t.ownerDocument,a=r.getComputedStyle(t);a&&"static"==a.position&&(t.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(v||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(t.createTextNode(n)),r.appendChild(i)}}(o),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var c='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var f=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return c}});t.__resizeTriggers__.innerHTML=f.createHTML("")}else t.__resizeTriggers__.innerHTML=c;t.appendChild(t.__resizeTriggers__),u(t),t.addEventListener("scroll",s,!0),l&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&u(t)},t.__resizeTriggers__.addEventListener(l,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(n)}},removeResizeListener:function(t,e){if(i)t.detachEvent("onresize",e);else if(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),!t.__resizeListeners__.length){t.removeEventListener("scroll",s,!0),t.__resizeTriggers__.__animationListener__&&(t.__resizeTriggers__.removeEventListener(l,t.__resizeTriggers__.__animationListener__),t.__resizeTriggers__.__animationListener__=null);try{t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)}catch(n){}}}}}n.d(e,"a",(function(){return r}))}).call(this,n(59))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(211);function i(t){return function e(n){for(var i,o,a,u=[],s=0,c=n.length;s<c;){if(Object(r.a)(n[s]))for(a=0,o=(i=t?e(n[s]):n[s]).length;a<o;)u[u.length]=i[a],a+=1;else u[u.length]=n[s];s+=1}return u}}},function(t,e,n){"use strict";var r=n(32),i=n(85),o=Object(r.a)((function(t){return Object(i.a)(t.length,(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)}))}));e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(25),i=n(22);function o(t){Object(i.a)(1,arguments);var e=Object(r.a)(t),n=e.getFullYear(),o=e.getMonth(),a=new Date(0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n(194),i=n(170),o=n(334),a=n(25);function u(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}var s={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return u("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):u(n+1,2)},d:function(t,e){return u(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return u(t.getUTCHours()%12||12,e.length)},H:function(t,e){return u(t.getUTCHours(),e.length)},m:function(t,e){return u(t.getUTCMinutes(),e.length)},s:function(t,e){return u(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return u(Math.floor(r*Math.pow(10,n-3)),e.length)}},c=n(22),f=864e5;var l=n(336),d=n(311),h=n(335),p=n(221),g="midnight",m="noon",b="morning",v="afternoon",y="evening",_="night";function w(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=e||"";return n+String(i)+a+u(o,2)}function S(t,e){return t%60===0?(t>0?"-":"+")+u(Math.abs(t)/60,2):O(t,e)}function O(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t);return r+u(Math.floor(i/60),2)+n+u(i%60,2)}var x={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return s.y(t,e)},Y:function(t,e,n,r){var i=Object(p.a)(t,r),o=i>0?i:1-i;return"YY"===e?u(o%100,2):"Yo"===e?n.ordinalNumber(o,{unit:"year"}):u(o,e.length)},R:function(t,e){return u(Object(d.a)(t),e.length)},u:function(t,e){return u(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return u(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return u(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return s.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return u(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=Object(h.a)(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):u(i,e.length)},I:function(t,e,n){var r=Object(l.a)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):u(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):s.d(t,e)},D:function(t,e,n){var r=function(t){Object(c.a)(1,arguments);var e=Object(a.a)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=n-r;return Math.floor(i/f)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):u(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return u(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return u(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return u(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?m:0===i?g:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?y:i>=12?v:i>=4?b:_,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return s.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):s.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):u(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):u(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):s.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):s.s(t,e)},S:function(t,e){return s.S(t,e)},X:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return S(i);case"XXXX":case"XX":return O(i);case"XXXXX":case"XXX":default:return O(i,":")}},x:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return S(i);case"xxxx":case"xx":return O(i);case"xxxxx":case"xxx":default:return O(i,":")}},O:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+w(i,":");case"OOOO":default:return"GMT"+O(i,":")}},z:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+w(i,":");case"zzzz":default:return"GMT"+O(i,":")}},t:function(t,e,n,r){var i=r._originalDate||t;return u(Math.floor(i.getTime()/1e3),e.length)},T:function(t,e,n,r){return u((r._originalDate||t).getTime(),e.length)}},E=n(310),M=n(108),T=n(143),$=n(30),A=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,k=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C=/^'([^]*?)'?$/,I=/''/g,P=/[a-zA-Z]/;function N(t,e,n){Object(c.a)(2,arguments);var u=String(e),s=n||{},f=s.locale||i.a,l=f.options&&f.options.firstWeekContainsDate,d=null==l?1:Object($.a)(l),h=null==s.firstWeekContainsDate?d:Object($.a)(s.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=f.options&&f.options.weekStartsOn,g=null==p?0:Object($.a)(p),m=null==s.weekStartsOn?g:Object($.a)(s.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!f.localize)throw new RangeError("locale must contain localize property");if(!f.formatLong)throw new RangeError("locale must contain formatLong property");var b=Object(a.a)(t);if(!Object(r.a)(b))throw new RangeError("Invalid time value");var v=Object(M.a)(b),y=Object(o.a)(b,v),_={firstWeekContainsDate:h,weekStartsOn:m,locale:f,_originalDate:b},w=u.match(k).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,E.a[e])(t,f.formatLong,_):t})).join("").match(A).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return R(n);var i=x[r];if(i)return!s.useAdditionalWeekYearTokens&&Object(T.b)(n)&&Object(T.c)(n,e,t),!s.useAdditionalDayOfYearTokens&&Object(T.a)(n)&&Object(T.c)(n,e,t),i(y,n,f.localize,_);if(r.match(P))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return w}function R(t){return t.match(C)[1].replace(I,"'")}},function(t,e,n){"use strict";var r=n(32),i=n(16),o=n(76),a=n(137),u=n(97),s=Object(i.a)((function(t,e){return"function"===typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"===typeof t.ap?t.ap(e):"function"===typeof t?function(n){return t(n)(e(n))}:Object(o.a)((function(t,n){return Object(a.a)(t,Object(u.a)(n,e))}),[],t)})),c=n(85),f=Object(i.a)((function(t,e){var n=Object(c.a)(t,e);return Object(c.a)(t,(function(){return Object(o.a)(s,Object(u.a)(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))})),l=Object(r.a)((function(t){return f(t.length,t)}));e.a=l},function(t,e,n){"use strict";var r=n(212),i=n(72),o=n(61),a=n(76),u=n(64),s=function(){function t(t,e,n,r){this.valueFn=t,this.valueAcc=e,this.keyFn=n,this.xf=r,this.inputs={}}return t.prototype["@@transducer/init"]=u.a.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(Object(o.a)(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.keyFn(e);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],e),t},t}(),c=Object(r.a)(4,[],(function(t,e,n,r){return new s(t,e,n,r)})),f=Object(r.a)(4,[],Object(i.a)([],c,(function(t,e,n,r){return Object(a.a)((function(r,i){var a=n(i);return r[a]=t(Object(o.a)(a,r)?r[a]:e,i),r}),{},r)})));e.a=f},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(290),a=n(188),u=n(76),s=n(64),c=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=s.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}(),f=Object(r.a)((function(t,e){return new c(t,e)})),l=n(98),d=Object(r.a)(Object(i.a)(["filter"],f,(function(t,e){return Object(a.a)(e)?Object(u.a)((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},Object(l.a)(e)):Object(o.a)(t,e)})));e.a=d},function(t,e,n){"use strict";var r=n(301),i=n(299),o=n(16),a=Object(o.a)((function(t,e){for(var n,r,o=new i.a,a=[],u=0;u<e.length;)n=t(r=e[u]),o.add(n)&&a.push(r),u+=1;return a}))(r.a);e.a=a},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(167),a=n(64),u=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=a.a.init,t.prototype["@@transducer/result"]=a.a.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var n=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?Object(o.a)(n):n},t}(),s=Object(r.a)((function(t,e){return new u(t,e)})),c=n(104),f=Object(r.a)(Object(i.a)(["take"],s,(function(t,e){return Object(c.a)(0,t<0?1/0:t,e)})));e.a=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(25),i=n(22);function o(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e);return n.getFullYear()-o.getFullYear()}var a=n(126);function u(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),u=Object(r.a)(e),s=Object(a.a)(n,u),c=Math.abs(o(n,u));n.setFullYear(1584),u.setFullYear(1584);var f=Object(a.a)(n,u)===-s,l=s*(c-Number(f));return 0===l?0:l}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(25),i=n(108),o=n(174),a=n(22),u=864e5;function s(t,e){Object(a.a)(2,arguments);var n=Object(o.a)(t),r=Object(o.a)(e),s=n.getTime()-Object(i.a)(n),c=r.getTime()-Object(i.a)(r);return Math.round((s-c)/u)}function c(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function f(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(t),i=Object(r.a)(e),o=c(n,i),u=Math.abs(s(n,i));n.setDate(n.getDate()-o*u);var f=Number(c(n,i)===-o),l=o*(u-f);return 0===l?0:l}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(30),i=n(25),o=n(22);function a(t,e){Object(o.a)(2,arguments);var n=Object(i.a)(t).getTime(),a=Object(r.a)(e);return new Date(n+a)}function u(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return a(t,-n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(25),i=n(127),o=n(30),a=n(221),u=n(22);function s(t,e){Object(u.a)(1,arguments);var n=e||{},r=n.locale,s=r&&r.options&&r.options.firstWeekContainsDate,c=null==s?1:Object(o.a)(s),f=null==n.firstWeekContainsDate?c:Object(o.a)(n.firstWeekContainsDate),l=Object(a.a)(t,e),d=new Date(0);d.setUTCFullYear(l,0,f),d.setUTCHours(0,0,0,0);var h=Object(i.a)(d,e);return h}var c=6048e5;function f(t,e){Object(u.a)(1,arguments);var n=Object(r.a)(t),o=Object(i.a)(n,e).getTime()-s(n,e).getTime();return Math.round(o/c)+1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(25),i=n(142),o=n(311),a=n(22);function u(t){Object(a.a)(1,arguments);var e=Object(o.a)(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=Object(i.a)(n);return r}var s=6048e5;function c(t){Object(a.a)(1,arguments);var e=Object(r.a)(t),n=Object(i.a)(e).getTime()-u(e).getTime();return Math.round(n/s)+1}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=n.n(o),u=(n(13),n(47)),s=n(15),c=n(44),f=n(120),l=n(24),d=!0,h=!1,p=null,g={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function m(t){t.metaKey||t.altKey||t.ctrlKey||(d=!0)}function b(){d=!1}function v(){"hidden"===this.visibilityState&&h&&(d=!0)}function y(t){var e=t.target;try{return e.matches(":focus-visible")}catch(n){}return d||function(t){var e=t.type,n=t.tagName;return!("INPUT"!==n||!g[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}function _(){h=!0,window.clearTimeout(p),p=window.setTimeout((function(){h=!1}),100)}function w(){return{isFocusVisible:y,onBlurVisible:_,ref:o.useCallback((function(t){var e,n=u.findDOMNode(t);null!=n&&((e=n.ownerDocument).addEventListener("keydown",m,!0),e.addEventListener("mousedown",b,!0),e.addEventListener("pointerdown",b,!0),e.addEventListener("touchstart",b,!0),e.addEventListener("visibilitychange",v,!0))}),[])}}var S=n(107),O=n(65),x=n(172),E=n(69),M=n(226);function T(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(o.isValidElement)(t)?e(t):t}(t)})),n}function $(t,e,n){return null!=n[e]?n[e]:t.props[e]}function A(t,e,n){var r=T(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var s in e){if(i[s])for(r=0;r<i[s].length;r++){var c=i[s][r];u[i[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}(e,r);return Object.keys(i).forEach((function(a){var u=i[a];if(Object(o.isValidElement)(u)){var s=a in e,c=a in r,f=e[a],l=Object(o.isValidElement)(f)&&!f.props.in;!c||s&&!l?c||!s||l?c&&s&&Object(o.isValidElement)(f)&&(i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:f.props.in,exit:$(u,"exit",t),enter:$(u,"enter",t)})):i[a]=Object(o.cloneElement)(u,{in:!1}):i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:!0,exit:$(u,"exit",t),enter:$(u,"enter",t)})}})),i}var k=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},C=function(t){function e(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(Object(x.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(E.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,T(n.children,(function(t){return Object(o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:$(t,"appear",n),enter:$(t,"enter",n),exit:$(t,"exit",n)})}))):A(t,i,a),firstRender:!1}},n.handleExited=function(t,e){var n=T(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=Object(r.a)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=Object(O.a)(t,["component","childFactory"]),i=this.state.contextValue,o=k(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?a.a.createElement(M.a.Provider,{value:i},o):a.a.createElement(M.a.Provider,{value:i},a.a.createElement(e,r,o))},e}(a.a.Component);C.propTypes={},C.defaultProps={component:"div",childFactory:function(t){return t}};var I=C,P="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var N=function(t){var e=t.classes,n=t.pulsate,r=void 0!==n&&n,i=t.rippleX,a=t.rippleY,u=t.rippleSize,c=t.in,l=t.onExited,d=void 0===l?function(){}:l,h=t.timeout,p=o.useState(!1),g=p[0],m=p[1],b=Object(s.a)(e.ripple,e.rippleVisible,r&&e.ripplePulsate),v={width:u,height:u,top:-u/2+a,left:-u/2+i},y=Object(s.a)(e.child,g&&e.childLeaving,r&&e.childPulsate),_=Object(f.a)(d);return P((function(){if(!c){m(!0);var t=setTimeout(_,h);return function(){clearTimeout(t)}}}),[_,c,h]),o.createElement("span",{className:b,style:v},o.createElement("span",{className:y}))},R=o.forwardRef((function(t,e){var n=t.center,a=void 0!==n&&n,u=t.classes,c=t.className,f=Object(i.a)(t,["center","classes","className"]),l=o.useState([]),d=l[0],h=l[1],p=o.useRef(0),g=o.useRef(null);o.useEffect((function(){g.current&&(g.current(),g.current=null)}),[d]);var m=o.useRef(!1),b=o.useRef(null),v=o.useRef(null),y=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(b.current)}}),[]);var _=o.useCallback((function(t){var e=t.pulsate,n=t.rippleX,r=t.rippleY,i=t.rippleSize,a=t.cb;h((function(t){return[].concat(Object(S.a)(t),[o.createElement(N,{key:p.current,classes:u,timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:i})])})),p.current+=1,g.current=a}),[u]),w=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.pulsate,i=void 0!==r&&r,o=e.center,u=void 0===o?a||e.pulsate:o,s=e.fakeElement,c=void 0!==s&&s;if("mousedown"===t.type&&m.current)m.current=!1;else{"touchstart"===t.type&&(m.current=!0);var f,l,d,h=c?null:y.current,p=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(u||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)f=Math.round(p.width/2),l=Math.round(p.height/2);else{var g=t.touches?t.touches[0]:t,w=g.clientX,S=g.clientY;f=Math.round(w-p.left),l=Math.round(S-p.top)}if(u)(d=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(d+=1);else{var O=2*Math.max(Math.abs((h?h.clientWidth:0)-f),f)+2,x=2*Math.max(Math.abs((h?h.clientHeight:0)-l),l)+2;d=Math.sqrt(Math.pow(O,2)+Math.pow(x,2))}t.touches?null===v.current&&(v.current=function(){_({pulsate:i,rippleX:f,rippleY:l,rippleSize:d,cb:n})},b.current=setTimeout((function(){v.current&&(v.current(),v.current=null)}),80)):_({pulsate:i,rippleX:f,rippleY:l,rippleSize:d,cb:n})}}),[a,_]),O=o.useCallback((function(){w({},{pulsate:!0})}),[w]),x=o.useCallback((function(t,e){if(clearTimeout(b.current),"touchend"===t.type&&v.current)return t.persist(),v.current(),v.current=null,void(b.current=setTimeout((function(){x(t,e)})));v.current=null,h((function(t){return t.length>0?t.slice(1):t})),g.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:O,start:w,stop:x}}),[O,w,x]),o.createElement("span",Object(r.a)({className:Object(s.a)(u.root,c),ref:y},f),o.createElement(I,{component:null,exit:!0},d))})),j=Object(l.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(R)),D=o.forwardRef((function(t,e){var n=t.action,a=t.buttonRef,l=t.centerRipple,d=void 0!==l&&l,h=t.children,p=t.classes,g=t.className,m=t.component,b=void 0===m?"button":m,v=t.disabled,y=void 0!==v&&v,_=t.disableRipple,S=void 0!==_&&_,O=t.disableTouchRipple,x=void 0!==O&&O,E=t.focusRipple,M=void 0!==E&&E,T=t.focusVisibleClassName,$=t.onBlur,A=t.onClick,k=t.onFocus,C=t.onFocusVisible,I=t.onKeyDown,P=t.onKeyUp,N=t.onMouseDown,R=t.onMouseLeave,D=t.onMouseUp,L=t.onTouchEnd,F=t.onTouchMove,B=t.onTouchStart,U=t.onDragLeave,z=t.tabIndex,H=void 0===z?0:z,V=t.TouchRippleProps,q=t.type,W=void 0===q?"button":q,G=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),K=o.useRef(null);var Y=o.useRef(null),Z=o.useState(!1),Q=Z[0],X=Z[1];y&&Q&&X(!1);var J=w(),tt=J.isFocusVisible,et=J.onBlurVisible,nt=J.ref;function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;return Object(f.a)((function(r){return e&&e(r),!n&&Y.current&&Y.current[t](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){X(!0),K.current.focus()}}}),[]),o.useEffect((function(){Q&&M&&!S&&Y.current.pulsate()}),[S,M,Q]);var it=rt("start",N),ot=rt("stop",U),at=rt("stop",D),ut=rt("stop",(function(t){Q&&t.preventDefault(),R&&R(t)})),st=rt("start",B),ct=rt("stop",L),ft=rt("stop",F),lt=rt("stop",(function(t){Q&&(et(t),X(!1)),$&&$(t)}),!1),dt=Object(f.a)((function(t){K.current||(K.current=t.currentTarget),tt(t)&&(X(!0),C&&C(t)),k&&k(t)})),ht=function(){var t=u.findDOMNode(K.current);return b&&"button"!==b&&!("A"===t.tagName&&t.href)},pt=o.useRef(!1),gt=Object(f.a)((function(t){M&&!pt.current&&Q&&Y.current&&" "===t.key&&(pt.current=!0,t.persist(),Y.current.stop(t,(function(){Y.current.start(t)}))),t.target===t.currentTarget&&ht()&&" "===t.key&&t.preventDefault(),I&&I(t),t.target===t.currentTarget&&ht()&&"Enter"===t.key&&!y&&(t.preventDefault(),A&&A(t))})),mt=Object(f.a)((function(t){M&&" "===t.key&&Y.current&&Q&&!t.defaultPrevented&&(pt.current=!1,t.persist(),Y.current.stop(t,(function(){Y.current.pulsate(t)}))),P&&P(t),A&&t.target===t.currentTarget&&ht()&&" "===t.key&&!t.defaultPrevented&&A(t)})),bt=b;"button"===bt&&G.href&&(bt="a");var vt={};"button"===bt?(vt.type=W,vt.disabled=y):("a"===bt&&G.href||(vt.role="button"),vt["aria-disabled"]=y);var yt=Object(c.a)(a,e),_t=Object(c.a)(nt,K),wt=Object(c.a)(yt,_t),St=o.useState(!1),Ot=St[0],xt=St[1];o.useEffect((function(){xt(!0)}),[]);var Et=Ot&&!S&&!y;return o.createElement(bt,Object(r.a)({className:Object(s.a)(p.root,g,Q&&[p.focusVisible,T],y&&p.disabled),onBlur:lt,onClick:A,onFocus:dt,onKeyDown:gt,onKeyUp:mt,onMouseDown:it,onMouseLeave:ut,onMouseUp:at,onDragLeave:ot,onTouchEnd:ct,onTouchMove:ft,onTouchStart:st,ref:wt,tabIndex:y?-1:H},vt,G),h,Et?o.createElement(j,Object(r.a)({ref:Y,center:d},V)):null)}));e.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(D)},,,,,,,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=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(i){return!1}}()?Object.assign:function(t,e){for(var n,u,s=a(t),c=1;c<arguments.length;c++){for(var f in n=Object(arguments[c]))i.call(n,f)&&(s[f]=n[f]);if(r){u=r(n);for(var l=0;l<u.length;l++)o.call(n,u[l])&&(s[u[l]]=n[u[l]])}}return s}},function(t,e,n){var r=n(155),i=n(346),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,n){var r=n(230),i=n(231);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},function(t,e,n){var r=n(626),i=n(642),o=n(644),a=n(645),u=n(646);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(177)(n(147),"Map");t.exports=r},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,n){var r=n(653),i=n(659),o=n(663);t.exports=function(t){return o(t)?r(t):i(t)}},function(t,e,n){"use strict";var r=e;r.version=n(736).version,r.utils=n(113),r.rand=n(180),r.curve=n(440),r.curves=n(353),r.ec=n(749),r.eddsa=n(752)},function(t,e,n){"use strict";var r,i=e,o=n(181),a=n(440),u=n(113).assert;function s(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new s(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=s,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(748)}catch(f){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(t,e,n){"use strict";var r=n(181),i=n(261),o=n(95);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=a,a.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,n,r){"string"!==typeof e&&(r=n,n=e,e=null),t=i.toArray(t,e),n=i.toArray(n,r),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},a.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(n),this._reseed++,i.encode(a,e)}},function(t,e,n){(e=t.exports=n(444)).Stream=e,e.Readable=e,e.Writable=n(357),e.Duplex=n(182),e.Transform=n(449),e.PassThrough=n(763)},function(t,e,n){var r=n(29),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";(function(e,r,i){var o=n(264);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=v;var u,s=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:o.nextTick;v.WritableState=b;var c=Object.create(n(237));c.inherits=n(37);var f={deprecate:n(448)},l=n(445),d=n(356).Buffer,h=i.Uint8Array||function(){};var p,g=n(446);function m(){}function b(t,e){u=u||n(182),t=t||{};var r=e instanceof u;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,f=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(o.nextTick(i,r),o.nextTick(x,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),x(t,e))}(t,n,r,e,i);else{var a=S(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?s(_,t,n,a,i):_(t,n,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(t){if(u=u||n(182),!p.call(v,this)&&!(this instanceof u))return new v(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),l.call(this)}function y(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function _(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),x(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var u=0,s=!0;n;)i[u]=n,n.isBuf||(s=!1),n=n.next,u+=1;i.allBuffers=s,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,f=n.encoding,l=n.callback;if(y(t,e,!1,e.objectMode?1:c.length,c,f,l),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function S(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function O(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),x(t,e)}))}function x(t,e){var n=S(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(O,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(v,l),b.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(b.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===v&&(t&&t._writableState instanceof b)}})):p=function(t){return t instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,e,n){var r,i=this._writableState,a=!1,u=!i.objectMode&&(r=t,d.isBuffer(r)||r instanceof h);return u&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"===typeof e&&(n=e,e=null),u?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof n&&(n=m),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),o.nextTick(e,n)}(this,n):(u||function(t,e,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,t,n))&&(i.pendingcb++,a=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=d.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var u=e.objectMode?1:r.length;e.length+=u;var s=e.length<e.highWaterMark;s||(e.needDrain=!0);if(e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,u,r,i,o);return s}(this,i,u,t,e,n)),a},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},v.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,x(t,e),n&&(e.finished?o.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(70),n(447).setImmediate,n(59))},function(t,e,n){"use strict";var r=n(37),i=n(451),o=n(36).Buffer,a=new Array(16);function u(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(t,e){return t<<e|t>>>32-e}function c(t,e,n,r,i,o,a){return s(t+(e&n|~e&r)+i+o|0,a)+e|0}function f(t,e,n,r,i,o,a){return s(t+(e&r|n&~r)+i+o|0,a)+e|0}function l(t,e,n,r,i,o,a){return s(t+(e^n^r)+i+o|0,a)+e|0}function d(t,e,n,r,i,o,a){return s(t+(n^(e|~r))+i+o|0,a)+e|0}r(u,i),u.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=f(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=f(o,n,r,i,t[6],3225465664,9),i=f(i,o,n,r,t[11],643717713,14),r=f(r,i,o,n,t[0],3921069994,20),n=f(n,r,i,o,t[5],3593408605,5),o=f(o,n,r,i,t[10],38016083,9),i=f(i,o,n,r,t[15],3634488961,14),r=f(r,i,o,n,t[4],3889429448,20),n=f(n,r,i,o,t[9],568446438,5),o=f(o,n,r,i,t[14],3275163606,9),i=f(i,o,n,r,t[3],4107603335,14),r=f(r,i,o,n,t[8],1163531501,20),n=f(n,r,i,o,t[13],2850285829,5),o=f(o,n,r,i,t[2],4243563512,9),i=f(i,o,n,r,t[7],1735328473,14),n=l(n,r=f(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=l(o,n,r,i,t[8],2272392833,11),i=l(i,o,n,r,t[11],1839030562,16),r=l(r,i,o,n,t[14],4259657740,23),n=l(n,r,i,o,t[1],2763975236,4),o=l(o,n,r,i,t[4],1272893353,11),i=l(i,o,n,r,t[7],4139469664,16),r=l(r,i,o,n,t[10],3200236656,23),n=l(n,r,i,o,t[13],681279174,4),o=l(o,n,r,i,t[0],3936430074,11),i=l(i,o,n,r,t[3],3572445317,16),r=l(r,i,o,n,t[6],76029189,23),n=l(n,r,i,o,t[9],3654602809,4),o=l(o,n,r,i,t[12],3873151461,11),i=l(i,o,n,r,t[15],530742520,16),n=d(n,r=l(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=d(o,n,r,i,t[7],1126891415,10),i=d(i,o,n,r,t[14],2878612391,15),r=d(r,i,o,n,t[5],4237533241,21),n=d(n,r,i,o,t[12],1700485571,6),o=d(o,n,r,i,t[3],2399980690,10),i=d(i,o,n,r,t[10],4293915773,15),r=d(r,i,o,n,t[1],2240044497,21),n=d(n,r,i,o,t[8],1873313359,6),o=d(o,n,r,i,t[15],4264355552,10),i=d(i,o,n,r,t[6],2734768916,15),r=d(r,i,o,n,t[13],1309151649,21),n=d(n,r,i,o,t[4],4149444226,6),o=d(o,n,r,i,t[11],3174756917,10),i=d(i,o,n,r,t[2],718787259,15),r=d(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},u.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=u},function(t,e,n){"use strict";var r=n(199).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"===typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,u=n.writable||!1!==n.writable&&e.writable,s=function(){e.writable||f()},c=e._writableState&&e._writableState.finished,f=function(){u=!1,c=!0,a||o.call(e)},l=e._readableState&&e._readableState.endEmitted,d=function(){a=!1,l=!0,u||o.call(e)},h=function(t){o.call(e,t)},p=function(){var t;return a&&!l?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):u&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},g=function(){e.req.on("finish",f)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?u&&!e._writableState&&(e.on("end",s),e.on("close",s)):(e.on("complete",f),e.on("abort",p),e.req?g():e.on("request",g)),e.on("end",d),e.on("finish",f),!1!==n.error&&e.on("error",h),e.on("close",p),function(){e.removeListener("complete",f),e.removeListener("abort",p),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",f),e.removeListener("end",d),e.removeListener("error",h),e.removeListener("close",p)}}},function(t,e,n){"use strict";var r=n(29).Buffer,i=n(37),o=n(451),a=new Array(16),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],l=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function g(t,e,n,r,i,o,a,u){return p(t+(e^n^r)+o+a|0,u)+i|0}function m(t,e,n,r,i,o,a,u){return p(t+(e&n|~e&r)+o+a|0,u)+i|0}function b(t,e,n,r,i,o,a,u){return p(t+((e|~n)^r)+o+a|0,u)+i|0}function v(t,e,n,r,i,o,a,u){return p(t+(e&r|n&~r)+o+a|0,u)+i|0}function y(t,e,n,r,i,o,a,u){return p(t+(e^(n|~r))+o+a|0,u)+i|0}i(h,o),h.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,_=0|this._a,w=0|this._b,S=0|this._c,O=0|this._d,x=0|this._e,E=0;E<80;E+=1){var M,T;E<16?(M=g(n,r,i,o,h,t[u[E]],l[0],c[E]),T=y(_,w,S,O,x,t[s[E]],d[0],f[E])):E<32?(M=m(n,r,i,o,h,t[u[E]],l[1],c[E]),T=v(_,w,S,O,x,t[s[E]],d[1],f[E])):E<48?(M=b(n,r,i,o,h,t[u[E]],l[2],c[E]),T=b(_,w,S,O,x,t[s[E]],d[2],f[E])):E<64?(M=v(n,r,i,o,h,t[u[E]],l[3],c[E]),T=m(_,w,S,O,x,t[s[E]],d[3],f[E])):(M=y(n,r,i,o,h,t[u[E]],l[4],c[E]),T=g(_,w,S,O,x,t[s[E]],d[4],f[E])),n=h,h=o,o=p(i,10),i=r,r=M,_=x,x=O,O=p(S,10),S=w,w=T}var $=this._b+i+O|0;this._b=this._c+o+x|0,this._c=this._d+h+_|0,this._d=this._e+n+w|0,this._e=this._a+r+S|0,this._a=$},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=h},function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n(775),e.sha1=n(776),e.sha224=n(777),e.sha256=n(458),e.sha384=n(778),e.sha512=n(459)},function(t,e){var n={Array:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return null!==t&&void 0!==t&&t.constructor===Array})),Boolean:function(t){return"boolean"===typeof t},Function:function(t){return"function"===typeof t},Nil:function(t){return void 0===t||null===t},Number:function(t){return"number"===typeof t},Object:function(t){return"object"===typeof t},String:function(t){return"string"===typeof t},"":function(){return!0}};for(var r in n.Null=n.Nil,n)n[r].toJSON=function(t){return t}.bind(null,r);t.exports=n},function(t,e,n){var r=n(36).Buffer,i=n(157),o=n(60),a=n(785),u=n(67),s=n(78),c=n(132),f=n(462);function l(t){var e=t.length;return f.encodingLength(e)+e}function d(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}d.DEFAULT_SEQUENCE=4294967295,d.SIGHASH_ALL=1,d.SIGHASH_NONE=2,d.SIGHASH_SINGLE=3,d.SIGHASH_ANYONECANPAY=128,d.ADVANCED_TRANSACTION_MARKER=0,d.ADVANCED_TRANSACTION_FLAG=1;var h=r.allocUnsafe(0),p=[],g=r.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),m=r.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),b=r.from("ffffffffffffffff","hex"),v={script:h,valueBuffer:b};d.fromBuffer=function(t,e){var n=0;function r(e){return n+=e,t.slice(n-e,n)}function i(){var e=t.readUInt32LE(n);return n+=4,e}function o(){var e=a.readUInt64LE(t,n);return n+=8,e}function u(){var e=f.decode(t,n);return n+=f.decode.bytes,e}function s(){return r(u())}function c(){for(var t=u(),e=[],n=0;n<t;n++)e.push(s());return e}var l=new d;l.version=function(){var e=t.readInt32LE(n);return n+=4,e}();var h=t.readUInt8(n),g=t.readUInt8(n+1),m=!1;h===d.ADVANCED_TRANSACTION_MARKER&&g===d.ADVANCED_TRANSACTION_FLAG&&(n+=2,m=!0);for(var b=u(),v=0;v<b;++v)l.ins.push({hash:r(32),index:i(),script:s(),sequence:i(),witness:p});var y=u();for(v=0;v<y;++v)l.outs.push({value:o(),script:s()});if(m){for(v=0;v<b;++v)l.ins[v].witness=c();if(!l.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(l.locktime=i(),e)return l;if(n!==t.length)throw new Error("Transaction has unexpected data");return l},d.fromHex=function(t){return d.fromBuffer(r.from(t,"hex"))},d.isCoinbaseHash=function(t){s(c.Hash256bit,t);for(var e=0;e<32;++e)if(0!==t[e])return!1;return!0},d.prototype.isCoinbase=function(){return 1===this.ins.length&&d.isCoinbaseHash(this.ins[0].hash)},d.prototype.addInput=function(t,e,n,r){return s(c.tuple(c.Hash256bit,c.UInt32,c.maybe(c.UInt32),c.maybe(c.Buffer)),arguments),c.Null(n)&&(n=d.DEFAULT_SEQUENCE),this.ins.push({hash:t,index:e,script:r||h,sequence:n,witness:p})-1},d.prototype.addOutput=function(t,e){return s(c.tuple(c.Buffer,c.Satoshi),arguments),this.outs.push({script:t,value:e})-1},d.prototype.hasWitnesses=function(){return this.ins.some((function(t){return 0!==t.witness.length}))},d.prototype.weight=function(){return 3*this.__byteLength(!1)+this.__byteLength(!0)},d.prototype.virtualSize=function(){return Math.ceil(this.weight()/4)},d.prototype.byteLength=function(){return this.__byteLength(!0)},d.prototype.__byteLength=function(t){var e=t&&this.hasWitnesses();return(e?10:8)+f.encodingLength(this.ins.length)+f.encodingLength(this.outs.length)+this.ins.reduce((function(t,e){return t+40+l(e.script)}),0)+this.outs.reduce((function(t,e){return t+8+l(e.script)}),0)+(e?this.ins.reduce((function(t,e){return t+function(t){var e=t.length;return f.encodingLength(e)+t.reduce((function(t,e){return t+l(e)}),0)}(e.witness)}),0):0)},d.prototype.clone=function(){var t=new d;return t.version=this.version,t.locktime=this.locktime,t.ins=this.ins.map((function(t){return{hash:t.hash,index:t.index,script:t.script,sequence:t.sequence,witness:t.witness}})),t.outs=this.outs.map((function(t){return{script:t.script,value:t.value}})),t},d.prototype.hashForSignature=function(t,e,n){if(s(c.tuple(c.UInt32,c.Buffer,c.Number),arguments),t>=this.ins.length)return m;var a=o.compile(o.decompile(e).filter((function(t){return t!==u.OP_CODESEPARATOR}))),f=this.clone();if((31&n)===d.SIGHASH_NONE)f.outs=[],f.ins.forEach((function(e,n){n!==t&&(e.sequence=0)}));else if((31&n)===d.SIGHASH_SINGLE){if(t>=this.outs.length)return m;f.outs.length=t+1;for(var l=0;l<t;l++)f.outs[l]=v;f.ins.forEach((function(e,n){n!==t&&(e.sequence=0)}))}n&d.SIGHASH_ANYONECANPAY?(f.ins=[f.ins[t]],f.ins[0].script=a):(f.ins.forEach((function(t){t.script=h})),f.ins[t].script=a);var p=r.allocUnsafe(f.__byteLength(!1)+4);return p.writeInt32LE(n,p.length-4),f.__toBuffer(p,0,!1),i.hash256(p)},d.prototype.hashForWitnessV0=function(t,e,n,o){var u,h;function p(t){h+=t.copy(u,h)}function m(t){h=u.writeUInt32LE(t,h)}function b(t){h=a.writeUInt64LE(u,t,h)}function v(t){f.encode(t,u,h),h+=f.encode.bytes}function y(t){v(t.length),p(t)}s(c.tuple(c.UInt32,c.Buffer,c.Satoshi,c.UInt32),arguments);var _=g,w=g,S=g;if(o&d.SIGHASH_ANYONECANPAY||(u=r.allocUnsafe(36*this.ins.length),h=0,this.ins.forEach((function(t){p(t.hash),m(t.index)})),w=i.hash256(u)),o&d.SIGHASH_ANYONECANPAY||(31&o)===d.SIGHASH_SINGLE||(31&o)===d.SIGHASH_NONE||(u=r.allocUnsafe(4*this.ins.length),h=0,this.ins.forEach((function(t){m(t.sequence)})),S=i.hash256(u)),(31&o)!==d.SIGHASH_SINGLE&&(31&o)!==d.SIGHASH_NONE){var O=this.outs.reduce((function(t,e){return t+8+l(e.script)}),0);u=r.allocUnsafe(O),h=0,this.outs.forEach((function(t){b(t.value),y(t.script)})),_=i.hash256(u)}else if((31&o)===d.SIGHASH_SINGLE&&t<this.outs.length){var x=this.outs[t];u=r.allocUnsafe(8+l(x.script)),h=0,b(x.value),y(x.script),_=i.hash256(u)}u=r.allocUnsafe(156+l(e)),h=0;var E=this.ins[t];return m(this.version),p(w),p(S),p(E.hash),m(E.index),y(e),b(n),m(E.sequence),p(_),m(this.locktime),m(o),i.hash256(u)},d.prototype.getHash=function(){return i.hash256(this.__toBuffer(void 0,void 0,!1))},d.prototype.getId=function(){return this.getHash().reverse().toString("hex")},d.prototype.toBuffer=function(t,e){return this.__toBuffer(t,e,!0)},d.prototype.__toBuffer=function(t,e,n){t||(t=r.allocUnsafe(this.__byteLength(n)));var i,o=e||0;function u(e){o+=e.copy(t,o)}function s(e){o=t.writeUInt8(e,o)}function c(e){o=t.writeUInt32LE(e,o)}function l(e){f.encode(e,t,o),o+=f.encode.bytes}function h(t){l(t.length),u(t)}i=this.version,o=t.writeInt32LE(i,o);var p=n&&this.hasWitnesses();return p&&(s(d.ADVANCED_TRANSACTION_MARKER),s(d.ADVANCED_TRANSACTION_FLAG)),l(this.ins.length),this.ins.forEach((function(t){u(t.hash),c(t.index),h(t.script),c(t.sequence)})),l(this.outs.length),this.outs.forEach((function(e){e.valueBuffer?u(e.valueBuffer):function(e){o=a.writeUInt64LE(t,e,o)}(e.value),h(e.script)})),p&&this.ins.forEach((function(t){var e;l((e=t.witness).length),e.forEach(h)})),c(this.locktime),void 0!==e?t.slice(e,o):t},d.prototype.toHex=function(){return this.toBuffer().toString("hex")},d.prototype.setInputScript=function(t,e){s(c.tuple(c.Number,c.Buffer),arguments),this.ins[t].script=e},d.prototype.setWitness=function(t,e){s(c.tuple(c.Number,[c.Buffer]),arguments),this.ins[t].witness=e},t.exports=d},function(t,e,n){var r=n(465);t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(t,e,n){"use strict";for(var r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",i={},o=0;o<r.length;o++){var a=r.charAt(o);if(void 0!==i[a])throw new TypeError(a+" is ambiguous");i[a]=o}function u(t){var e=t>>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function s(t){for(var e=1,n=0;n<t.length;++n){var r=t.charCodeAt(n);if(r<33||r>126)return"Invalid prefix ("+t+")";e=u(e)^r>>5}for(e=u(e),n=0;n<t.length;++n){var i=t.charCodeAt(n);e=u(e)^31&i}return e}function c(t,e){if(e=e||90,t.length<8)return t+" too short";if(t.length>e)return"Exceeds length limit";var n=t.toLowerCase(),r=t.toUpperCase();if(t!==n&&t!==r)return"Mixed-case string "+t;var o=(t=n).lastIndexOf("1");if(-1===o)return"No separator character for "+t;if(0===o)return"Missing prefix for "+t;var a=t.slice(0,o),c=t.slice(o+1);if(c.length<6)return"Data too short";var f=s(a);if("string"===typeof f)return f;for(var l=[],d=0;d<c.length;++d){var h=c.charAt(d),p=i[h];if(void 0===p)return"Unknown character "+h;f=u(f)^p,d+6>=c.length||l.push(p)}return 1!==f?"Invalid checksum for "+t:{prefix:a,words:l}}function f(t,e,n,r){for(var i=0,o=0,a=(1<<n)-1,u=[],s=0;s<t.length;++s)for(i=i<<e|t[s],o+=e;o>=n;)o-=n,u.push(i>>o&a);if(r)o>0&&u.push(i<<n-o&a);else{if(o>=e)return"Excess padding";if(i<<n-o&a)return"Non-zero padding"}return u}t.exports={decodeUnsafe:function(){var t=c.apply(null,arguments);if("object"===typeof t)return t},decode:function(t){var e=c.apply(null,arguments);if("object"===typeof e)return e;throw new Error(e)},encode:function(t,e,n){if(n=n||90,t.length+7+e.length>n)throw new TypeError("Exceeds length limit");var i=s(t=t.toLowerCase());if("string"===typeof i)throw new Error(i);for(var o=t+"1",a=0;a<e.length;++a){var c=e[a];if(c>>5!==0)throw new Error("Non 5-bit word");i=u(i)^c,o+=r.charAt(c)}for(a=0;a<6;++a)i=u(i);for(i^=1,a=0;a<6;++a){o+=r.charAt(i>>5*(5-a)&31)}return o},toWordsUnsafe:function(t){var e=f(t,8,5,!0);if(Array.isArray(e))return e},toWords:function(t){var e=f(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)},fromWordsUnsafe:function(t){var e=f(t,5,8,!1);if(Array.isArray(e))return e},fromWords:function(t){var e=f(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}}},function(t,e,n){var r=n(788),i=n(789),o=n(790),a=n(791),u=n(792),s=n(793),c=n(794);t.exports={embed:r,p2ms:i,p2pk:o,p2pkh:a,p2sh:u,p2wpkh:s,p2wsh:c}},function(t,e,n){t.exports={input:n(796),output:n(797)}},function(t,e,n){t.exports={input:n(799),output:n(800)}},function(t,e,n){t.exports={input:n(801),output:n(802)}},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(){var t=i,e=t.lib,n=e.WordArray,r=e.Hasher,o=t.algo,a=[],u=o.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],u=n[3],s=n[4],c=0;c<80;c++){if(c<16)a[c]=0|t[e+c];else{var f=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=f<<1|f>>>31}var l=(r<<5|r>>>27)+s+a[c];l+=c<20?1518500249+(i&o|~i&u):c<40?1859775393+(i^o^u):c<60?(i&o|i&u|o&u)-1894007588:(i^o^u)-899497514,s=u,u=o,o=i<<30|i>>>2,i=r,r=l}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+u|0,n[4]=n[4]+s|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),e[15+(r+64>>>9<<4)]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA1=r._createHelper(u),t.HmacSHA1=r._createHmacHelper(u)}(),i.SHA1)}()},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),void function(){var t=i,e=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var r=t.blockSize,i=4*r;e.sigBytes>i&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),a=this._iKey=e.clone(),u=o.words,s=a.words,c=0;c<r;c++)u[c]^=1549556828,s[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,n=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(n))}})}())}()},function(t,e,n){var r=n(863),i=n(864),o=n(373),a=n(865);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()}},function(t,e,n){var r=n(480);t.exports=function(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e,n){"use strict";function r(t){var e=new Error;this.name=e.name="ValidationError",this.message=e.message=t,this.stack=e.stack}r.prototype=Object.create(Error.prototype),t.exports={ValidationError:r,validate:function(t,e){if(!t)throw new r(e)}}},function(t,e,n){"use strict";(function(e){var r=n(79),i=n(186),o=n(100),a=n(101),u=n(242),s=n(84),c=n(63),f=n(48),l=n(52),d=function t(e){if(!(this instanceof t))return new t(e);e&&this.set(e)};d.prototype.set=function(t){return this.hashbuf=t.hashbuf||this.hashbuf,this.endian=t.endian||this.endian,this.privkey=t.privkey||this.privkey,this.pubkey=t.pubkey||(this.privkey?this.privkey.publicKey:this.pubkey),this.sig=t.sig||this.sig,this.k=t.k||this.k,this.verified=t.verified||this.verified,this},d.prototype.privkey2pubkey=function(){this.pubkey=this.privkey.toPublicKey()},d.prototype.calci=function(){for(var t=0;t<4;t++){var e;this.sig.i=t;try{e=this.toPublicKey()}catch(n){console.error(n);continue}if(e.point.eq(this.pubkey.point))return this.sig.compressed=this.pubkey.compressed,this}throw this.sig.i=void 0,new Error("Unable to find valid recovery factor")},d.fromString=function(t){var e=JSON.parse(t);return new d(e)},d.prototype.randomK=function(){var t,e=i.getN();do{t=r.fromBuffer(u.getRandomBuffer(32))}while(!t.lt(e)||!t.gt(r.Zero));return this.k=t,this},d.prototype.deterministicK=function(t){f.isUndefined(t)&&(t=0);var n=e.alloc(32);n.fill(1);var o=e.alloc(32);o.fill(0);var a=this.privkey.bn.toBuffer({size:32}),u="little"===this.endian?c.reverse(this.hashbuf):this.hashbuf;o=s.sha256hmac(e.concat([n,e.from([0]),a,u]),o),n=s.sha256hmac(n,o),o=s.sha256hmac(e.concat([n,e.from([1]),a,u]),o),n=s.sha256hmac(n,o),n=s.sha256hmac(n,o);for(var l=r.fromBuffer(n),d=i.getN(),h=0;h<t||!l.lt(d)||!l.gt(r.Zero);h++)o=s.sha256hmac(e.concat([n,e.from([0])]),o),n=s.sha256hmac(n,o),n=s.sha256hmac(n,o),l=r.fromBuffer(n);return this.k=l,this},d.prototype.toPublicKey=function(){var t=this.sig.i;l.checkArgument(0===t||1===t||2===t||3===t,new Error("i must be equal to 0, 1, 2, or 3"));var e=r.fromBuffer(this.hashbuf),n=this.sig.r,o=this.sig.s,u=1&t,s=t>>1,c=i.getN(),f=i.getG(),d=s?n.add(c):n,h=i.fromX(u,d);if(!h.mul(c).isInfinity())throw new Error("nR is not a valid curve point");var p=e.neg().umod(c),g=n.invm(c),m=h.mul(o).add(f.mul(p)).mul(g);return a.fromPoint(m,this.sig.compressed)},d.prototype.sigError=function(){if(!c.isBuffer(this.hashbuf)||32!==this.hashbuf.length)return"hashbuf must be a 32 byte buffer";var t=this.sig.r,e=this.sig.s;if(!t.gt(r.Zero)||!t.lt(i.getN())||!e.gt(r.Zero)||!e.lt(i.getN()))return"r and s not in range";var n=r.fromBuffer(this.hashbuf,this.endian?{endian:this.endian}:void 0),o=i.getN(),a=e.invm(o),u=a.mul(n).umod(o),s=a.mul(t).umod(o),f=i.getG().mulAdd(u,this.pubkey.point,s);return f.isInfinity()?"p is infinity":0!==f.getX().umod(o).cmp(t)&&"Invalid signature"},d.toLowS=function(t){return t.gt(r.fromBuffer(e.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(t=i.getN().sub(t)),t},d.prototype._findSignature=function(t,e){var n,o,a,u=i.getN(),s=i.getG(),c=0;do{(!this.k||c>0)&&this.deterministicK(c),c++,n=this.k,o=s.mul(n).x.umod(u),a=n.invm(u).mul(e.add(t.mul(o))).umod(u)}while(o.cmp(r.Zero)<=0||a.cmp(r.Zero)<=0);return{s:a=d.toLowS(a),r:o}},d.prototype.sign=function(){var t=this.hashbuf,e=this.privkey,n=e.bn;l.checkState(t&&e&&n,new Error("invalid parameters")),l.checkState(c.isBuffer(t)&&32===t.length,new Error("hashbuf must be a 32 byte buffer"));var i=r.fromBuffer(t,this.endian?{endian:this.endian}:void 0),a=this._findSignature(n,i);return a.compressed=this.pubkey.compressed,this.sig=new o(a),this},d.prototype.signRandomK=function(){return this.randomK(),this.sign()},d.prototype.toString=function(){var t={};return this.hashbuf&&(t.hashbuf=this.hashbuf.toString("hex")),this.privkey&&(t.privkey=this.privkey.toString()),this.pubkey&&(t.pubkey=this.pubkey.toString()),this.sig&&(t.sig=this.sig.toString()),this.k&&(t.k=this.k.toString()),JSON.stringify(t)},d.prototype.verify=function(){return this.sigError()?this.verified=!1:this.verified=!0,this},d.sign=function(t,e,n){return d().set({hashbuf:t,endian:n,privkey:e}).sign().sig},d.verify=function(t,e,n,r){return d().set({hashbuf:t,endian:r,sig:e,pubkey:n}).verify().verified},t.exports=d}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(95);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r<n;r++)this.buffer[this.bufferOff+r]=t[e+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,n=0,r=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,n=0,r=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},function(t,e,n){var r=n(879),i=n(887),o=n(492);e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},function(t,e,n){var r={ECB:n(880),CBC:n(881),CFB:n(882),CFB8:n(883),CFB1:n(884),OFB:n(885),CTR:n(490),GCM:n(490)},i=n(492);for(var o in i)i[o].module=r[i[o].mode];t.exports=i},function(t,e,n){(function(e){var r=n(894),i=n(183);function o(t){var e,n=t.modulus.byteLength();do{e=new r(i(n))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,n){var i=function(t){var e=o(t);return{blinder:e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(n),a=n.modulus.byteLength(),u=new r(t).mul(i.blinder).umod(n.modulus),s=u.toRed(r.mont(n.prime1)),c=u.toRed(r.mont(n.prime2)),f=n.coefficient,l=n.prime1,d=n.prime2,h=s.redPow(n.exponent1).fromRed(),p=c.redPow(n.exponent2).fromRed(),g=h.isub(p).imul(f).umod(l).imul(d);return p.iadd(g).imul(i.unblinder).umod(n.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r,i=e,o=n(181),a=n(498),u=n(115).assert;function s(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new s(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=s,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(901)}catch(f){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(t,e,n){"use strict";(function(e){var r,i=n(29),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var u=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(u[r]=o[r]);if(a.Buffer.prototype=o.prototype,u.from&&u.from!==Uint8Array.from||(u.from=function(t,e,n){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,n)}),u.alloc||(u.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=o(t);return e&&0!==e.length?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(s){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,n(70))},function(t,e,n){"use strict";var r=n(383).Reporter,i=n(240).EncoderBuffer,o=n(240).DecoderBuffer,a=n(95),u=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(u);function c(t,e,n){var r={};this._baseState=r,r.name=n,r.enc=t,r.parent=e||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=c;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var t=this._baseState,e={};f.forEach((function(n){e[n]=t[n]}));var n=new this.constructor(e.parent);return n._baseState=e,n},c.prototype._wrap=function(){var t=this._baseState;s.forEach((function(e){this[e]=function(){var n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},c.prototype._init=function(t){var e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){var e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(a(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0);var r=t[n];e[r]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),u.forEach((function(t){c.prototype[t]=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(n),this}})),c.prototype.use=function(t){a(t);var e=this._baseState;return a(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){var e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){var e=this._baseState;return a(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){var e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){var e=this._baseState;return a(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){var n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));var r,i=n.default,a=!0,u=null;if(null!==n.key&&(u=t.enterKey(n.key)),n.optional){var s=null;if(null!==n.explicit?s=n.explicit:null!==n.implicit?s=n.implicit:null!==n.tag&&(s=n.tag),null!==s||n.any){if(a=this._peekTag(t,s,n.any),t.isError(a))return a}else{var c=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),a=!0}catch(g){a=!1}t.restore(c)}}if(n.obj&&a&&(r=t.enterObject()),a){if(null!==n.explicit){var f=this._decodeTag(t,n.explicit);if(t.isError(f))return f;t=f}var l=t.offset;if(null===n.use&&null===n.choice){var d;n.any&&(d=t.save());var h=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(h))return h;n.any?i=t.raw(d):t=h}if(e&&e.track&&null!==n.tag&&e.track(t.path(),l,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new o(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(p,e)}}return n.obj&&a&&(i=t.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==u&&t.exitKey(u):t.leaveKey(u,n.key,i),i},c.prototype._decodeGeneric=function(t,e,n){var r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,r.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&r.args?this._decodeObjid(e,r.args[0],r.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){var n=this._baseState;return n.useDecoder=this._use(t,e),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(t,e){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var a=t.save(),u=n.choice[o];try{var s=u._decode(t,e);if(t.isError(s))return!1;r={type:o,value:s},i=!0}catch(c){return t.restore(a),!1}return!0}),this),i?r:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,n){var r=this._baseState;if(null===r.default||r.default!==t){var i=this._encodeValue(t,e,n);if(void 0!==i&&!this._skipDefault(i,e,n))return i}},c.prototype._encodeValue=function(t,e,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new r);var o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var a=null,u=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,n)._encode(t,e),u=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");var r=e.enterKey(n._baseState.key);if("object"!==typeof t)return e.error("Child expected, but input is not object");var i=n._encode(t[n._baseState.key],e,t);return e.leaveKey(r),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(n){var r=this._baseState;return this._getUse(r.args[0],t)._encode(n,e)}),s))}else null!==i.use?o=this._getUse(i.use,n)._encode(t,e):(a=this._encodePrimitive(i.tag,t),u=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,f=null===i.implicit?"universal":"context";null===c?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(c,u,f,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){var n=this._baseState,r=n.choice[t.type];return r||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){var n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,n){"use strict";var r=n(37);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){var r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){var e,n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(t,e,n){"use strict";function r(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);var r=t[n];e[r]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r(e.tag)},function(t,e,n){"use strict";var r,i=e,o=n(181),a=n(506),u=n(116).assert;function s(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new s(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=s,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(926)}catch(f){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(t,e,n){"use strict";(function(e){var r=n(79),i=n(186),o=n(100),a=(n(101),n(242),n(84)),u=n(63),s=(n(48),n(52)),c=function t(e){if(!(this instanceof t))return new t(e);e&&this.set(e)};function f(t){return t.toBuffer().length<32?t.toBuffer({size:32}):t.toBuffer()}c.prototype.set=function(t){return this.hashbuf=t.hashbuf||this.hashbuf,this.endian=t.endian||this.endian,this.privkey=t.privkey||this.privkey,this.pubkey=t.pubkey||(this.privkey?this.privkey.publicKey:this.pubkey),this.sig=t.sig||this.sig,this.verified=t.verified||this.verified,this},c.prototype.privkey2pubkey=function(){this.pubkey=this.privkey.toPublicKey()},c.prototype.toPublicKey=function(){return this.privkey.toPublicKey()},c.prototype.sign=function(){var t=this.hashbuf,e=this.privkey,n=e.bn;s.checkState(t&&e&&n,new Error("invalid parameters")),s.checkState(u.isBuffer(t)&&32===t.length,new Error("hashbuf must be a 32 byte buffer"));var i=r.fromBuffer(t,this.endian?{endian:this.endian}:void 0),a=this._findSignature(n,i);return a.compressed=this.pubkey.compressed,a.isSchnorr=!0,this.sig=new o(a),this},c.prototype._findSignature=function(t,n){var o=i.getN(),u=i.getG();s.checkState(!t.lte(new r(0)),new Error("privkey out of field of curve")),s.checkState(!t.gte(o),new Error("privkey out of field of curve"));var c=this.nonceFunctionRFC6979(t.toBuffer({size:32}),n.toBuffer({size:32})),l=u.mul(t),d=u.mul(c);c=d.hasSquare()?c:o.sub(c);var h=d.getX();return{r:h,s:r.fromBuffer(a.sha256(e.concat([f(h),i.pointToCompressed(l),n.toBuffer({size:32})]))).mul(t).add(c).mod(o)}},c.prototype.sigError=function(){if(!u.isBuffer(this.hashbuf)||32!==this.hashbuf.length)return"hashbuf must be a 32 byte buffer";var t=f(this.sig.r).length+function(t){return t.toBuffer().length<32?t.toBuffer({size:32}):t.toBuffer()}(this.sig.s).length;if(64!==t&&65!==t)return"signature must be a 64 byte or 65 byte array";var n="little"===this.endian?u.reverse(this.hashbuf):this.hashbuf,o=this.pubkey.point,s=i.getG();if(o.isInfinity())return!0;var c=this.sig.r,l=this.sig.s,d=new r("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","hex"),h=i.getN();if(c.gte(d)||l.gte(h))return!0;var p=f(this.sig.r),g=i.pointToCompressed(o),m=a.sha256(e.concat([p,g,n])),b=r.fromBuffer(m,"big").umod(h),v=s.mul(l),y=o.mul(h.sub(b)),_=v.add(y);return!(!_.isInfinity()&&_.hasSquare()&&_.getX().eq(c))},c.prototype.verify=function(){return this.sigError()?this.verified=!1:this.verified=!0,this},c.prototype.nonceFunctionRFC6979=function(t,n){var o=e.from("0101010101010101010101010101010101010101010101010101010101010101","hex"),u=e.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),c=e.concat([t,n,e.from("","ascii"),e.from("Schnorr+SHA256 ","ascii")]);u=a.sha256hmac(e.concat([o,e.from("00","hex"),c]),u),o=a.sha256hmac(o,u),u=a.sha256hmac(e.concat([o,e.from("01","hex"),c]),u),o=a.sha256hmac(o,u);for(var f=new r(0);o=a.sha256hmac(o,u),f=r.fromBuffer(o),s.checkState(o.length>=32,"V length should be >= 32"),!f.gt(new r(0))||!f.lt(i.getN());)u=a.sha256hmac(e.concat([o,e.from("00","hex")]),u),o=a.hmac(a.sha256,o,u);return f},c.sign=function(t,e,n){return c().set({hashbuf:t,endian:n,privkey:e}).sign().sig},c.verify=function(t,e,n,r){return c().set({hashbuf:t,endian:r,sig:e,pubkey:n}).verify().verified},t.exports=c}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(513),i=n(372),o=n(941),a=n(515),u=n(48),s=n(52),c=n(29),f=e.compare||n(942),l=n(114),d=n(63),h=n(80),p=n(160),g=n(134),m=n(84),b=n(100),v=n(152),y=n(187),_=n(516),w=n(388),S=w.PublicKeyHash,O=w.PublicKey,x=w.MultiSigScriptHash,E=w.MultiSig,M=w.Escrow,T=n(153),$=n(117),A=n(273),k=n(101),C=n(79);function I(t){if(!(this instanceof I))return new I(t);if(this.inputs=[],this.outputs=[],this._inputAmount=void 0,this._outputAmount=void 0,t){if(t instanceof I)return I.shallowCopy(t);if(h.isHexa(t))this.fromString(t);else if(d.isBuffer(t))this.fromBuffer(t);else{if(!u.isObject(t))throw new l.InvalidArgument("Must provide an object or string to deserialize a transaction");this.fromObject(t)}}else this._newTransaction()}I.DUST_AMOUNT=546,I.FEE_SECURITY_MARGIN=150,I.MAX_MONEY=21e14,I.NLOCKTIME_BLOCKHEIGHT_LIMIT=5e8,I.NLOCKTIME_MAX_VALUE=4294967295,I.FEE_PER_KB=1e5,I.CHANGE_OUTPUT_MAX_SIZE=62,I.MAXIMUM_EXTRA_SIZE=26,I.shallowCopy=function(t){return new I(t.toBuffer())};var P={configurable:!1,enumerable:!0,get:function(){return this._hash=new p(this._getHash()).readReverse().toString("hex"),this._hash}};Object.defineProperty(I.prototype,"hash",P),Object.defineProperty(I.prototype,"id",P);var N={configurable:!1,enumerable:!0,get:function(){return this._getInputAmount()}};Object.defineProperty(I.prototype,"inputAmount",N),N.get=function(){return this._getOutputAmount()},Object.defineProperty(I.prototype,"outputAmount",N),I.prototype._getHash=function(){return m.sha256sha256(this.toBuffer())},I.prototype.serialize=function(t){return!0===t||t&&t.disableAll?this.uncheckedSerialize():this.checkedSerialize(t)},I.prototype.uncheckedSerialize=I.prototype.toString=function(){return this.toBuffer().toString("hex")},I.prototype.checkedSerialize=function(t){var e=this.getSerializationError(t);if(e)throw e.message+=" - For more information please see: https://bitcore.io/api/lib/transaction#serialization-checks",e;return this.uncheckedSerialize()},I.prototype.invalidSatoshis=function(){for(var t=!1,e=0;e<this.outputs.length;e++)this.outputs[e].invalidSatoshis()&&(t=!0);return t},I.prototype.getSerializationError=function(t){if(t=t||{},this.invalidSatoshis())return new l.Transaction.InvalidSatoshis;var e,n=this._getUnspentValue();return n<0?t.disableMoreOutputThanInput||(e=new l.Transaction.InvalidOutputAmountSum):e=this._hasFeeError(t,n),e||this._hasDustOutputs(t)||this._isMissingSignatures(t)},I.prototype._hasFeeError=function(t,e){if(!u.isUndefined(this._fee)&&this._fee!==e)return new l.Transaction.FeeError.Different("Unspent value is "+e+" but specified fee is "+this._fee);if(!t.disableLargeFees){var n=Math.floor(I.FEE_SECURITY_MARGIN*this._estimateFee());if(e>n)return this._missingChange()?new l.Transaction.ChangeAddressMissing("Fee is too large and no change address was provided"):new l.Transaction.FeeError.TooLarge("expected less than "+n+" but got "+e)}if(!t.disableSmallFees){var r=Math.ceil(this._estimateFee()/I.FEE_SECURITY_MARGIN);if(e<r)return new l.Transaction.FeeError.TooSmall("expected more than "+r+" but got "+e)}},I.prototype._missingChange=function(){return!this._changeScript},I.prototype._hasDustOutputs=function(t){var e,n;if(!t.disableDustOutputs)for(e in this.outputs)if((n=this.outputs[e]).satoshis<I.DUST_AMOUNT&&!n.script.isDataOut())return new l.Transaction.DustOutputs},I.prototype._isMissingSignatures=function(t){if(!t.disableIsFullySigned)return this.isFullySigned()?void 0:new l.Transaction.MissingSignatures},I.prototype.inspect=function(){return"<Transaction: "+this.uncheckedSerialize()+">"},I.prototype.toBuffer=function(){var t=new g;return this.toBufferWriter(t).toBuffer()},I.prototype.toBufferWriter=function(t){return t.writeInt32LE(this.version),t.writeVarintNum(this.inputs.length),u.each(this.inputs,(function(e){e.toBufferWriter(t)})),t.writeVarintNum(this.outputs.length),u.each(this.outputs,(function(e){e.toBufferWriter(t)})),t.writeUInt32LE(this.nLockTime),t},I.prototype.fromBuffer=function(t){var e=new p(t);return this.fromBufferReader(e)},I.prototype.fromBufferReader=function(t){var e,n,r;for(s.checkArgument(!t.finished(),"No transaction data received"),this.version=t.readInt32LE(),n=t.readVarintNum(),e=0;e<n;e++){var i=w.fromBufferReader(t);this.inputs.push(i)}for(r=t.readVarintNum(),e=0;e<r;e++)this.outputs.push(T.fromBufferReader(t));return this.nLockTime=t.readUInt32LE(),this},I.prototype.toObject=I.prototype.toJSON=function(){var t=[];this.inputs.forEach((function(e){t.push(e.toObject())}));var e=[];this.outputs.forEach((function(t){e.push(t.toObject())}));var n={hash:this.hash,version:this.version,inputs:t,outputs:e,nLockTime:this.nLockTime};return this._changeScript&&(n.changeScript=this._changeScript.toString()),u.isUndefined(this._changeIndex)||(n.changeIndex=this._changeIndex),u.isUndefined(this._fee)||(n.fee=this._fee),n},I.prototype.fromObject=function(t){s.checkArgument(u.isObject(t)||t instanceof I);var e,n=this;return e=t instanceof I?e.toObject():t,u.each(e.inputs,(function(t){if(t.output&&t.output.script){var e,r=new $(t.output.script);if(r.isPublicKeyHashOut())e=new w.PublicKeyHash(t);else if(r.isScriptHashOut()&&t.publicKeys&&t.threshold)e=new w.MultiSigScriptHash(t,t.publicKeys,t.threshold,t.signatures);else{if(!r.isPublicKeyOut())throw new l.Transaction.Input.UnsupportedScript(t.output.script);e=new w.PublicKey(t)}n.addInput(e)}else n.uncheckedAddInput(new w(t))})),u.each(e.outputs,(function(t){n.addOutput(new T(t))})),e.changeIndex&&(this._changeIndex=e.changeIndex),e.changeScript&&(this._changeScript=new $(e.changeScript)),e.fee&&(this._fee=e.fee),this.nLockTime=e.nLockTime,this.version=e.version,this._checkConsistency(t),this},I.prototype._checkConsistency=function(t){u.isUndefined(this._changeIndex)||(s.checkState(this._changeScript,"Change script is expected."),s.checkState(this.outputs[this._changeIndex],"Change index points to undefined output."),s.checkState(this.outputs[this._changeIndex].script.toString()===this._changeScript.toString(),"Change output has an unexpected script.")),t&&t.hash&&s.checkState(t.hash===this.hash,"Hash in object does not match transaction hash.")},I.prototype.lockUntilDate=function(t){if(s.checkArgument(t),u.isNumber(t)&&t<I.NLOCKTIME_BLOCKHEIGHT_LIMIT)throw new l.Transaction.LockTimeTooEarly;u.isDate(t)&&(t=t.getTime()/1e3);for(var e=0;e<this.inputs.length;e++)this.inputs[e].sequenceNumber===w.DEFAULT_SEQNUMBER&&(this.inputs[e].sequenceNumber=w.DEFAULT_LOCKTIME_SEQNUMBER);return this.nLockTime=t,this},I.prototype.lockUntilBlockHeight=function(t){if(s.checkArgument(u.isNumber(t)),t>=I.NLOCKTIME_BLOCKHEIGHT_LIMIT)throw new l.Transaction.BlockHeightTooHigh;if(t<0)throw new l.Transaction.NLockTimeOutOfRange;for(var e=0;e<this.inputs.length;e++)this.inputs[e].sequenceNumber===w.DEFAULT_SEQNUMBER&&(this.inputs[e].sequenceNumber=w.DEFAULT_LOCKTIME_SEQNUMBER);return this.nLockTime=t,this},I.prototype.getLockTime=function(){return this.nLockTime?this.nLockTime<I.NLOCKTIME_BLOCKHEIGHT_LIMIT?this.nLockTime:new Date(1e3*this.nLockTime):null},I.prototype.fromString=function(t){this.fromBuffer(c.Buffer.from(t,"hex"))},I.prototype._newTransaction=function(){this.version=2,this.nLockTime=0},I.prototype.from=function(t,e,n,r){if(u.isArray(t)){var i=this;return u.each(t,(function(t){i.from(t,e,n,r)})),this}return u.some(this.inputs,(function(e){return e.prevTxId.toString("hex")===t.txId&&e.outputIndex===t.outputIndex}))||(e&&n?this._fromMultisigUtxo(t,e,n,r):t.publicKeys&&t.publicKeys.length>1?this._fromEscrowUtxo(t,t.publicKeys):this._fromNonP2SH(t)),this},I.prototype.associateInputs=function(t,e,n,r){var i,o=this,u=[],s=a(t);try{var c=function(){var t=i.value,a=o.inputs.findIndex((function(e){return e.prevTxId.toString("hex")===t.txId&&e.outputIndex===t.outputIndex}));u.push(a),a>=0&&(o.inputs[a]=o._getInputFrom(t,e,n,r))};for(s.s();!(i=s.n()).done;)c()}catch(f){s.e(f)}finally{s.f()}return u},I.prototype._selectInputType=function(t,e,n){var r;return t=new _(t),e&&n?t.script.isMultisigOut()?r=E:(t.script.isScriptHashOut()||t.script.isWitnessScriptHashOut())&&(r=x):r=t.script.isPublicKeyHashOut()||t.script.isWitnessPublicKeyHashOut()||t.script.isScriptHashOut()?S:t.script.isPublicKeyOut()?O:w,r},I.prototype._getInputFrom=function(t,e,n,r){t=new _(t);var i=this._selectInputType(t,e,n),a={output:new T({script:t.script,satoshis:t.satoshis}),prevTxId:t.txId,outputIndex:t.outputIndex,sequenceNumber:t.sequenceNumber,script:$.empty()};return o(i,[a].concat(e&&n?[e,n,!1,r]:[]))},I.prototype._fromEscrowUtxo=function(t,e){var n=e.map((function(t){return new k(t)})),r=n.slice(1),i=n[0];t=new _(t),this.addInput(new M({output:new T({script:t.script,satoshis:t.satoshis}),prevTxId:t.txId,outputIndex:t.outputIndex,script:$.empty()},r,i))},I.prototype._fromNonP2SH=function(t){var e;e=(t=new _(t)).script.isPublicKeyHashOut()?S:t.script.isPublicKeyOut()?O:w,this.addInput(new e({output:new T({script:t.script,satoshis:t.satoshis}),prevTxId:t.txId,outputIndex:t.outputIndex,script:$.empty()}))},I.prototype._fromMultisigUtxo=function(t,e,n,r){var i;if(s.checkArgument(n<=e.length,"Number of required signatures must be greater than the number of public keys"),(t=new _(t)).script.isMultisigOut())i=E;else{if(!t.script.isScriptHashOut())throw new Error("@TODO");i=x}this.addInput(new i({output:new T({script:t.script,satoshis:t.satoshis}),prevTxId:t.txId,outputIndex:t.outputIndex,script:$.empty()},e,n,void 0,r))},I.prototype.addInput=function(t,e,n){if(s.checkArgumentType(t,w,"input"),!t.output&&(u.isUndefined(e)||u.isUndefined(n)))throw new l.Transaction.NeedMoreInfo("Need information about the UTXO script and satoshis");return t.output||!e||u.isUndefined(n)||(e=e instanceof $?e:new $(e),s.checkArgumentType(n,"number","satoshis"),t.output=new T({script:e,satoshis:n})),this.uncheckedAddInput(t)},I.prototype.uncheckedAddInput=function(t){return s.checkArgumentType(t,w,"input"),this.inputs.push(t),this._inputAmount=void 0,this._updateChangeOutput(),this},I.prototype.hasAllUtxoInfo=function(){return u.every(this.inputs.map((function(t){return!!t.output})))},I.prototype.fee=function(t){return s.checkArgument(u.isNumber(t),"amount must be a number"),this._fee=t,this._updateChangeOutput(),this},I.prototype.feePerKb=function(t){return s.checkArgument(u.isNumber(t),"amount must be a number"),this._feePerKb=t,this._updateChangeOutput(),this},I.prototype.feePerByte=function(t){return s.checkArgument(u.isNumber(t),"amount must be a number"),this._feePerByte=t,this._updateChangeOutput(),this},I.prototype.change=function(t){return s.checkArgument(t,"address is required"),this._changeScript=$.fromAddress(t),this._updateChangeOutput(),this},I.prototype.escrow=function(t,e){s.checkArgument(this.inputs.length>0,"inputs must have already been set when setting escrow"),s.checkArgument(this.outputs.length>0,"non-change outputs must have already been set when setting escrow"),s.checkArgument(!this.getChangeOutput(),"change must still be unset when setting escrow"),s.checkArgument(t,"address is required"),s.checkArgument(e,"amount is required");var n=this._getOutputAmount()+this.getFee()+e,r=this._getInputAmount()-n>I.DUST_AMOUNT;return this.to(t,e),r||(this._fee=void 0),this},I.prototype.getChangeOutput=function(){return u.isUndefined(this._changeIndex)?null:this.outputs[this._changeIndex]},I.prototype.to=function(t,e){if(u.isArray(t)){var n=this;return u.each(t,(function(t){n.to(t.address,t.satoshis)})),this}return s.checkArgument(h.isNaturalNumber(e),"Amount is expected to be a positive integer"),this.addOutput(new T({script:$(new y(t)),satoshis:e})),this},I.prototype.addData=function(t){return this.addOutput(new T({script:$.buildDataOut(t),satoshis:0})),this},I.prototype.addOutput=function(t){return s.checkArgumentType(t,T,"output"),this._addOutput(t),this._updateChangeOutput(),this},I.prototype.clearOutputs=function(){return this.outputs=[],this._clearSignatures(),this._outputAmount=void 0,this._changeIndex=void 0,this._updateChangeOutput(),this},I.prototype._addOutput=function(t){this.outputs.push(t),this._outputAmount=void 0},I.prototype._getOutputAmount=function(){if(u.isUndefined(this._outputAmount)){var t=this;this._outputAmount=0,u.each(this.outputs,(function(e){t._outputAmount+=e.satoshis}))}return this._outputAmount},I.prototype._getInputAmount=function(){return u.isUndefined(this._inputAmount)&&(this._inputAmount=u.sumBy(this.inputs,(function(t){if(u.isUndefined(t.output))throw new l.Transaction.Input.MissingPreviousOutput;return t.output.satoshis}))),this._inputAmount},I.prototype._updateChangeOutput=function(){if(this._changeScript){this._clearSignatures(),u.isUndefined(this._changeIndex)||this._removeOutput(this._changeIndex);var t=this._getUnspentValue()-this.getFee();t>=I.DUST_AMOUNT?(this._changeIndex=this.outputs.length,this._addOutput(new T({script:this._changeScript,satoshis:t}))):this._changeIndex=void 0}},I.prototype.getFee=function(){return this.isCoinbase()?0:u.isUndefined(this._fee)?this._changeScript?this._estimateFee():this._getUnspentValue():this._fee},I.prototype._estimateFee=function(){var t=this._estimateSize(),e=this._getUnspentValue(),n=this._feePerByte||(this._feePerKb||I.FEE_PER_KB)/1e3;function r(t){return t*n}var i=Math.ceil(r(t)),o=Math.ceil(r(t)+r(I.CHANGE_OUTPUT_MAX_SIZE));return!this._changeScript||e<=o?i:o},I.prototype._getUnspentValue=function(){return this._getInputAmount()-this._getOutputAmount()},I.prototype._clearSignatures=function(){u.each(this.inputs,(function(t){t.clearSignatures()}))},I.prototype._estimateSize=function(){var t=I.MAXIMUM_EXTRA_SIZE;return u.each(this.inputs,(function(e){var n=e._estimateSize(),r=g.varintBufNum(n).length;t+=36+r+n})),u.each(this.outputs,(function(e){t+=e.script.toBuffer().length+9})),t},I.prototype._removeOutput=function(t){var e=this.outputs[t];this.outputs=u.without(this.outputs,e),this._outputAmount=void 0},I.prototype.removeOutput=function(t){this._removeOutput(t),this._updateChangeOutput()},I.prototype.sort=function(){return this.sortInputs((function(t){var e=Array.prototype.concat.apply([],t),n=0;return e.forEach((function(t){t.i=n++})),e.sort((function(t,e){return f(t.prevTxId,e.prevTxId)||t.outputIndex-e.outputIndex||t.i-e.i})),e})),this.sortOutputs((function(t){var e=Array.prototype.concat.apply([],t),n=0;return e.forEach((function(t){t.i=n++})),e.sort((function(t,e){return t.satoshis-e.satoshis||f(t.script.toBuffer(),e.script.toBuffer())||t.i-e.i})),e})),this},I.prototype.shuffleOutputs=function(){return this.sortOutputs(u.shuffle)},I.prototype.sortOutputs=function(t){var e=t(this.outputs);return this._newOutputOrder(e)},I.prototype.sortInputs=function(t){return this.inputs=t(this.inputs),this._clearSignatures(),this},I.prototype._newOutputOrder=function(t){if(this.outputs.length!==t.length||0!==u.difference(this.outputs,t).length)throw new l.Transaction.InvalidSorting;if(!u.isUndefined(this._changeIndex)){var e=this.outputs[this._changeIndex];this._changeIndex=u.findIndex(t,e)}return this.outputs=t,this},I.prototype.removeInput=function(t,e){var n;if((n=!e&&u.isNumber(t)?t:u.findIndex(this.inputs,(function(n){return n.prevTxId.toString("hex")===t&&n.outputIndex===e})))<0||n>=this.inputs.length)throw new l.Transaction.InvalidIndex(n,this.inputs.length);var r=this.inputs[n];this.inputs=u.without(this.inputs,r),this._inputAmount=void 0,this._updateChangeOutput()},I.prototype.sign=function(t,e,n){n=n||"ecdsa",s.checkState(this.hasAllUtxoInfo(),"Not all utxo information is available to sign the transaction.");var r=this;return u.isArray(t)?(u.each(t,(function(t){r.sign(t,e,n)})),this):(u.each(this.getSignatures(t,e,n),(function(t){r.applySignature(t,n)})),this)},I.prototype.getSignatures=function(t,e,n){t=new A(t),e=e||b.SIGHASH_ALL|b.SIGHASH_FORKID;var r=this,i=[],o=m.sha256ripemd160(t.publicKey.toBuffer());return u.each(this.inputs,(function(a,s){u.each(a.getSignatures(r,t,s,e,o,n),(function(t){i.push(t)}))})),i},I.prototype.applySignature=function(t,e){return this.inputs[t.inputIndex].addSignature(this,t,e),this},I.prototype.isFullySigned=function(){return u.each(this.inputs,(function(t){if(t.isFullySigned===w.prototype.isFullySigned)throw new l.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction")})),u.every(u.map(this.inputs,(function(t){return t.isFullySigned()})))},I.prototype.isValidSignature=function(t){if(this.inputs[t.inputIndex].isValidSignature===w.prototype.isValidSignature)throw new l.Transaction.UnableToVerifySignature("Unrecognized script kind, or not enough information to execute script.This usually happens when creating a transaction from a serialized transaction");return this.inputs[t.inputIndex].isValidSignature(this,t)},I.prototype.verifySignature=function(t,e,n,r,i,o,a){return v.verify(this,t,e,n,r,i,o,a)},I.prototype.verify=function(){if(0===this.inputs.length)return"transaction txins empty";if(0===this.outputs.length)return"transaction txouts empty";for(var t=new C(0),e=0;e<this.outputs.length;e++){var n=this.outputs[e];if(n.invalidSatoshis())return"transaction txout "+e+" satoshis is invalid";if(n._satoshisBN.gt(new C(I.MAX_MONEY,10)))return"transaction txout "+e+" greater than MAX_MONEY";if((t=t.add(n._satoshisBN)).gt(new C(I.MAX_MONEY)))return"transaction txout "+e+" total output greater than MAX_MONEY"}if(this.toBuffer().length>1e6)return"transaction over the maximum block size";var r={};for(e=0;e<this.inputs.length;e++){var i=this.inputs[e],o=i.prevTxId+":"+i.outputIndex;if(!u.isUndefined(r[o]))return"transaction input "+e+" duplicate input";r[o]=!0}if(this.isCoinbase()){var a=this.inputs[0]._scriptBuffer;if(a.length<2||a.length>100)return"coinbase transaction script size invalid"}else for(e=0;e<this.inputs.length;e++)if(this.inputs[e].isNull())return"transaction input "+e+" has null input";return!0},I.prototype.isZceSecured=function(t,e,n){if(this.inputs.length>65536)return!1;if(!this.inputs.every((function(t){return t.script.isPublicKeyHashIn()})))return!1;var o;try{o=new I(t)}catch(T){return!1}var a=o.inputs[0];if(a.prevTxId.toString("hex")!==this.id)return!1;var u=this.outputs[a.outputIndex];if(!u)return!1;var s=this.uncheckedSerialize().length/2*n;if(u.toObject().satoshis<e+s)return!1;a.output=u;var c=t.length/2;if(o.getFee()/c<n)return!1;var f=a.script.toASM().split(" ");if(3!==f.length)return!1;var l=i(f,3),d=l[0],h=l[1],p=l[2],g=new k(h),v=this.inputs.map((function(t){return new k(t.script.getPublicKey())})),y=this.inputs.map((function(t){return t.script.toASM().split(" ")[0]})),_=b.SIGHASH_ALL|b.SIGHASH_FORKID;if(![d].concat(r(y)).every((function(t){return t.endsWith(_.toString(16))})))return!1;var w=$.buildEscrowOut(v,g),S=m.sha256ripemd160(w.toBuffer()),O=u.script.getData(),x=new $(p),E=[S,m.sha256ripemd160(x.toBuffer()),O].map((function(t){return t.toString("hex")}));if(!E.every((function(t){return t===E[0]})))return!1;var M=b.fromString(d);return M.nhashtype=_,!!o.verifySignature(M,g,0,x,u.satoshisBN,void 0,M.isSchnorr?"schnorr":"ecdsa")},I.prototype.isCoinbase=function(){return 1===this.inputs.length&&this.inputs[0].isNull()},I.prototype.setVersion=function(t){return s.checkArgument(h.isNaturalNumber(t)&&t<=2,"Wrong version number"),this.version=t,this},t.exports=I}).call(this,n(29).Buffer)},function(t,e,n){t.exports=n(205),t.exports.PublicKey=n(943),t.exports.PublicKeyHash=n(944),t.exports.MultiSig=n(945),t.exports.MultiSigScriptHash=n(946),t.exports.Escrow=n(947)},function(t,e,n){"use strict";var r=n(48),i=n(114),o=n(52),a={BTC:[1e8,8],mBTC:[1e5,5],uBTC:[100,2],bits:[100,2],satoshis:[1,0]};function u(t,e){if(!(this instanceof u))return new u(t,e);if(r.isNumber(e)){if(e<=0)throw new i.Unit.InvalidRate(e);t/=e,e=u.BTC}this._value=this._from(t,e);var n=this;Object.keys(a).forEach((function(t){Object.defineProperty(n,t,{get:function(){return n.to(t)},enumerable:!0})}))}Object.keys(a).forEach((function(t){u[t]=t})),u.fromObject=function(t){return o.checkArgument(r.isObject(t),"Argument is expected to be an object"),new u(t.amount,t.code)},u.fromBTC=function(t){return new u(t,u.BTC)},u.fromMillis=u.fromMilis=function(t){return new u(t,u.mBTC)},u.fromMicros=u.fromBits=function(t){return new u(t,u.bits)},u.fromSatoshis=function(t){return new u(t,u.satoshis)},u.fromFiat=function(t,e){return new u(t,e)},u.prototype._from=function(t,e){if(!a[e])throw new i.Unit.UnknownCode(e);return parseInt((t*a[e][0]).toFixed())},u.prototype.to=function(t){if(r.isNumber(t)){if(t<=0)throw new i.Unit.InvalidRate(t);return parseFloat((this.BTC*t).toFixed(2))}if(!a[t])throw new i.Unit.UnknownCode(t);var e=this._value/a[t][0];return parseFloat(e.toFixed(a[t][1]))},u.prototype.toBTC=function(){return this.to(u.BTC)},u.prototype.toMillis=u.prototype.toMilis=function(){return this.to(u.mBTC)},u.prototype.toMicros=u.prototype.toBits=function(){return this.to(u.bits)},u.prototype.toSatoshis=function(){return this.to(u.satoshis)},u.prototype.atRate=function(t){return this.to(t)},u.prototype.toString=function(){return this.satoshis+" satoshis"},u.prototype.toObject=u.prototype.toJSON=function(){return{amount:this.BTC,code:u.BTC}},u.prototype.inspect=function(){return"<Unit: "+this.toString()+">"},t.exports=u},function(t,e,n){"use strict";t.exports=function(t){var e=t.uri,n=t.name,r=t.type;this.uri=e,this.name=n,this.type=r}},function(t,e,n){"use strict";var r=n(390);t.exports=function(t){return"undefined"!==typeof File&&t instanceof File||"undefined"!==typeof Blob&&t instanceof Blob||t instanceof r}},function(t,e,n){"use strict";n.r(e);var r=n(394);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(4),i=n(135);function o(t){return t&&"object"===Object(i.a)(t)&&t.constructor===Object}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t?i[r]=a(t[r],e[r],n):i[r]=e[r])})),i}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(35),c=n(337),f=n(33),l=o.forwardRef((function(t,e){var n=t.edge,u=void 0!==n&&n,s=t.children,l=t.classes,d=t.className,h=t.color,p=void 0===h?"default":h,g=t.disabled,m=void 0!==g&&g,b=t.disableFocusRipple,v=void 0!==b&&b,y=t.size,_=void 0===y?"medium":y,w=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(c.a,Object(r.a)({className:Object(a.a)(l.root,d,"default"!==p&&l["color".concat(Object(f.a)(p))],m&&l.disabled,"small"===_&&l["size".concat(Object(f.a)(_))],{start:l.edgeStart,end:l.edgeEnd}[u]),centerRipple:!0,focusRipple:!v,disabled:m,ref:e},w),o.createElement("span",{className:l.label},s))}));e.a=Object(u.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(s.d)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(l)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(47)),u=n(215),s=n(577),c=n(44),f=n(96),l=n(90),d=n(121);function h(t,e){var n=function(t,e){var n,r=e.getBoundingClientRect();if(e.fakeTransform)n=e.fakeTransform;else{var i=window.getComputedStyle(e);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var u=n.split("(")[1].split(")")[0].split(",");o=parseInt(u[4],10),a=parseInt(u[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-r.left,"px)"):"right"===t?"translateX(-".concat(r.left+r.width-o,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(t,e);n&&(e.style.webkitTransform=n,e.style.transform=n)}var p={enter:l.b.enteringScreen,exit:l.b.leavingScreen},g=o.forwardRef((function(t,e){var n=t.children,l=t.direction,g=void 0===l?"down":l,m=t.in,b=t.onEnter,v=t.onEntered,y=t.onEntering,_=t.onExit,w=t.onExited,S=t.onExiting,O=t.style,x=t.timeout,E=void 0===x?p:x,M=t.TransitionComponent,T=void 0===M?s.a:M,$=Object(i.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),A=Object(f.a)(),k=o.useRef(null),C=o.useCallback((function(t){k.current=a.findDOMNode(t)}),[]),I=Object(c.a)(n.ref,C),P=Object(c.a)(I,e),N=function(t){return function(e){t&&(void 0===e?t(k.current):t(k.current,e))}},R=N((function(t,e){h(g,t),Object(d.b)(t),b&&b(t,e)})),j=N((function(t,e){var n=Object(d.a)({timeout:E,style:O},{mode:"enter"});t.style.webkitTransition=A.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:A.transitions.easing.easeOut})),t.style.transition=A.transitions.create("transform",Object(r.a)({},n,{easing:A.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",y&&y(t,e)})),D=N(v),L=N(S),F=N((function(t){var e=Object(d.a)({timeout:E,style:O},{mode:"exit"});t.style.webkitTransition=A.transitions.create("-webkit-transform",Object(r.a)({},e,{easing:A.transitions.easing.sharp})),t.style.transition=A.transitions.create("transform",Object(r.a)({},e,{easing:A.transitions.easing.sharp})),h(g,t),_&&_(t)})),B=N((function(t){t.style.webkitTransition="",t.style.transition="",w&&w(t)})),U=o.useCallback((function(){k.current&&h(g,k.current)}),[g]);return o.useEffect((function(){if(!m&&"down"!==g&&"right"!==g){var t=Object(u.a)((function(){k.current&&h(g,k.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[g,m]),o.useEffect((function(){m||U()}),[m,U]),o.createElement(T,Object(r.a)({nodeRef:k,onEnter:R,onEntered:D,onEntering:j,onExit:F,onExited:B,onExiting:L,appear:!0,in:m,timeout:E},$),(function(t,e){return o.cloneElement(n,Object(r.a)({ref:P,style:Object(r.a)({visibility:"exited"!==t||m?void 0:"hidden"},O,n.props.style)},e))}))}));e.a=g},function(t,e,n){"use strict";t.exports=n(613)},function(t,e,n){var r=n(431)((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));t.exports=r},function(t,e,n){var r=n(718);t.exports=h,t.exports.parse=o,t.exports.compile=function(t,e){return u(o(t,e),e)},t.exports.tokensToFunction=u,t.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(t,e){for(var n,r=[],o=0,a=0,u="",f=e&&e.delimiter||"/";null!=(n=i.exec(t));){var l=n[0],d=n[1],h=n.index;if(u+=t.slice(a,h),a=h+l.length,d)u+=d[1];else{var p=t[a],g=n[2],m=n[3],b=n[4],v=n[5],y=n[6],_=n[7];u&&(r.push(u),u="");var w=null!=g&&null!=p&&p!==g,S="+"===y||"*"===y,O="?"===y||"*"===y,x=n[2]||f,E=b||v;r.push({name:m||o++,prefix:g||"",delimiter:x,optional:O,repeat:S,partial:w,asterisk:!!_,pattern:E?c(E):_?".*":"[^"+s(x)+"]+?"})}}return a<t.length&&(u+=t.substr(a)),u&&r.push(u),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function u(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",l(e)));return function(e,i){for(var o="",u=e||{},s=(i||{}).pretty?a:encodeURIComponent,c=0;c<t.length;c++){var f=t[c];if("string"!==typeof f){var l,d=u[f.name];if(null==d){if(f.optional){f.partial&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(d)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(l=s(d[h]),!n[c].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(d).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):s(d),!n[c].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');o+=f.prefix+l}}else o+=f}return o}}function s(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,e){return t.keys=e,t}function l(t){return t&&t.sensitive?"":"i"}function d(t,e,n){r(e)||(n=e||n,e=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",u=0;u<t.length;u++){var c=t[u];if("string"===typeof c)a+=s(c);else{var d=s(c.prefix),h="(?:"+c.pattern+")";e.push(c),c.repeat&&(h+="(?:"+d+h+")*"),a+=h=c.optional?c.partial?d+"("+h+")?":"(?:"+d+"("+h+"))?":d+"("+h+")"}}var p=s(n.delimiter||"/"),g=a.slice(-p.length)===p;return i||(a=(g?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&g?"":"(?="+p+"|$)",f(new RegExp("^"+a,l(n)),e)}function h(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(h(t[i],e,n).source);return f(new RegExp("(?:"+r.join("|")+")",l(n)),e)}(t,e,n):function(t,e,n){return d(o(t,n),e,n)}(t,e,n)}},function(t,e,n){"use strict";var r=n(178)(n(81)),i=n(109),o=i.ApolloLink,a=i.Observable,u=n(970),s=u.selectURI,c=u.selectHttpOptionsAndBody,f=u.fallbackHttpConfig,l=u.serializeFetchParameter,d=u.createSignalIfSupported,h=u.parseAndCheckHttpResponse,p=n(953),g=p.extractFiles,m=p.isExtractableFile,b=p.ReactNativeFile;function v(t,e,n){t.append(e,n,n.name)}e.ReactNativeFile=b,e.isExtractableFile=m,e.formDataAppendFile=v,e.createUploadLink=function(t){var e=void 0===t?{}:t,n=e.uri,i=void 0===n?"/graphql":n,u=e.isExtractableFile,p=void 0===u?m:u,b=e.FormData,y=e.formDataAppendFile,_=void 0===y?v:y,w=e.fetch,S=e.fetchOptions,O=e.credentials,x=e.headers,E={http:{includeExtensions:e.includeExtensions},options:S,credentials:O,headers:x};return new o((function(t){var e=s(t,i),n=t.getContext(),o=n.clientAwareness,u=(o=void 0===o?{}:o).name,m=o.version,v=n.headers,y={http:n.http,options:n.fetchOptions,credentials:n.credentials,headers:(0,r.default)({},u&&{"apollographql-client-name":u},{},m&&{"apollographql-client-version":m},{},v)},S=c(t,f,E,y),O=S.options,x=S.body,M=g(x,"",p),T=M.clone,$=M.files,A=l(T,"Payload");if($.size){delete O.headers["content-type"];var k=new(b||FormData);k.append("operations",A);var C={},I=0;$.forEach((function(t){C[++I]=t})),k.append("map",JSON.stringify(C)),I=0,$.forEach((function(t,e){_(k,++I,e)})),O.body=k}else O.body=A;return new a((function(n){var r;if(!O.signal){var i=d().controller;i&&(r=i,O.signal=r.signal)}return(w||fetch)(e,O).then((function(e){return t.setContext({response:e}),e})).then(h(t)).then((function(t){n.next(t),n.complete()})).catch((function(t){"AbortError"!==t.name&&(t.result&&t.result.errors&&t.result.data&&n.next(t.result),n.error(t))})),function(){r&&r.abort()}}))}))}},function(module,exports,__webpack_require__){(function(global){var require,require,f;f=function(){var define,module,exports;return function t(e,n,r){function i(a,u){if(!n[a]){if(!e[a]){if(!u&&"function"==typeof require&&require)return require(a,!0);if(o)return o(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){return i(e[a][1][t]||t)}),c,c.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(require,module,exports){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(t){return t.raw=t},$jscomp.createTemplateTagFirstArgWithRaw=function(t,e){return t.raw=e,t},$jscomp.checkStringArgs=function(t,e,n){if(null==t)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return t+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t},$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var n=t[e];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,e){var n=$jscomp.propertyToPolyfillSymbol[e];return null==n?t[e]:void 0!==(n=t[n])?n:t[e]};$jscomp.polyfill=function(t,e,n,r){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,e,n,r):$jscomp.polyfillUnisolated(t,e,n,r))},$jscomp.polyfillUnisolated=function(t,e,n,r){for(n=$jscomp.global,t=t.split("."),r=0;r<t.length-1;r++){var i=t[r];if(!(i in n))return;n=n[i]}(e=e(r=n[t=t[t.length-1]]))!=r&&null!=e&&$jscomp.defineProperty(n,t,{configurable:!0,writable:!0,value:e})},$jscomp.polyfillIsolated=function(t,e,n,r){var i=t.split(".");t=1===i.length,r=i[0],r=!t&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var o=0;o<i.length-1;o++){var a=i[o];if(!(a in r))return;r=r[a]}i=i[i.length-1],null!=(e=e(n=$jscomp.IS_SYMBOL_NATIVE&&"es6"===n?r[i]:null))&&(t?$jscomp.defineProperty($jscomp.polyfills,i,{configurable:!0,writable:!0,value:e}):e!==n&&($jscomp.propertyToPolyfillSymbol[i]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(i):$jscomp.POLYFILL_PREFIX+i,i=$jscomp.propertyToPolyfillSymbol[i],$jscomp.defineProperty(r,i,{configurable:!0,writable:!0,value:e})))},$jscomp.polyfill("String.prototype.endsWith",(function(t){return t||function(t,e){var n=$jscomp.checkStringArgs(this,t,"endsWith");t+="",void 0===e&&(e=n.length),e=Math.max(0,Math.min(0|e,n.length));for(var r=t.length;0<r&&0<e;)if(n[--e]!=t[--r])return!1;return 0>=r}}),"es6","es3"),$jscomp.findInternal=function(t,e,n){t instanceof String&&(t=String(t));for(var r=t.length,i=0;i<r;i++){var o=t[i];if(e.call(n,o,i,t))return{i:i,v:o}}return{i:-1,v:void 0}},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var n=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var r=n.length,i=t.length;e=Math.max(0,Math.min(0|e,n.length));for(var o=0;o<i&&e<r;)if(n[e++]!=t[o++])return!1;return o>=i}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(t){return t||function(t){var e=$jscomp.checkStringArgs(this,null,"repeat");if(0>t||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var n="";t;)1&t&&(n+=e),(t>>>=1)&&(e+=e);return n}}),"es6","es3"),$jscomp.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",(function(t){if(t)return t;var e=function(t,e){this.$jscomp$symbol$id_=t,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:e})};e.prototype.toString=function(){return this.$jscomp$symbol$id_};var n=0;return function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(r||"")+"_"+n++,r)}}),"es6","es3"),$jscomp.polyfill("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var e="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<e.length;n++){var r=$jscomp.global[e[n]];"function"===typeof r&&"function"!=typeof r.prototype[t]&&$jscomp.defineProperty(r.prototype,t,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return t}),"es6","es3"),$jscomp.iteratorPrototype=function(t){return(t={next:t})[Symbol.iterator]=function(){return this},t},$jscomp.iteratorFromArray=function(t,e){t instanceof String&&(t+="");var n=0,r=!1,i={next:function(){if(!r&&n<t.length){var i=n++;return{value:e(i,t[i]),done:!1}}return r=!0,{done:!0,value:void 0}}};return i[Symbol.iterator]=function(){return i},i},$jscomp.polyfill("Array.prototype.keys",(function(t){return t||function(){return $jscomp.iteratorFromArray(this,(function(t){return t}))}}),"es6","es3");var COMPILED=!0,goog=goog||{};function module$contents$goog$debug$Error_DebugError(t){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t)),this.reportErrorToServer=!0}goog.global=this||self,goog.exportPath_=function(t,e,n,r){t=t.split("."),r=r||goog.global,t[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+t[0]);for(var i;t.length&&(i=t.shift());)if(t.length||void 0===e)r=r[i]&&r[i]!==Object.prototype[i]?r[i]:r[i]={};else if(!n&&goog.isObject(e)&&goog.isObject(r[i]))for(var o in e)e.hasOwnProperty(o)&&(r[i][o]=e[o]);else r[i]=e},goog.define=function(t,e){if(!COMPILED){var n=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;n&&void 0===n.nodeType&&Object.prototype.hasOwnProperty.call(n,t)?e=n[t]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,t)&&(e=r[t])}return e},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');goog.constructNamespace_(t)},goog.constructNamespace_=function(t,e,n){if(!COMPILED){delete goog.implicitNamespaces_[t];for(var r=t;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(t,e,n)},goog.getScriptNonce=function(t){return t&&t!=goog.global?goog.getScriptNonce_(t.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(t){if("string"!==typeof t||!t||-1==t.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=t,!COMPILED){if(goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');delete goog.implicitNamespaces_[t]}},goog.module.get=function(t){return goog.module.getInternal_(t)},goog.module.getInternal_=function(t){if(!COMPILED){if(t in goog.loadedModules_)return goog.loadedModules_[t].exports;if(!goog.implicitNamespaces_[t])return null!=(t=goog.getObjectByName(t))?t:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t=goog.global.$jscomp;return!!t&&"function"==typeof t.getCurrentModulePath&&!!t.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(t){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(t in goog.loadedModules_)throw Error('Module with namespace "'+t+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var e=goog.global.$jscomp;if(!e||"function"!=typeof e.getCurrentModulePath)throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');e=e.require(e.getCurrentModulePath()),goog.loadedModules_[t]={exports:e,type:goog.ModuleType.ES6,moduleId:t}}},goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))},goog.forwardDeclare=function(t){},COMPILED||(goog.isProvided_=function(t){return t in goog.loadedModules_||!goog.implicitNamespaces_[t]&&null!=goog.getObjectByName(t)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(t,e){t=t.split("."),e=e||goog.global;for(var n=0;n<t.length;n++)if(null==(e=e[t[n]]))return null;return e},goog.addDependency=function(t,e,n,r){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(t,e,n,r)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)},goog.require=function(t){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(t),goog.isProvided_(t)){if(goog.isInModuleLoader_())return goog.module.getInternal_(t)}else if(goog.ENABLE_DEBUG_LOADER){var e=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(t)}finally{goog.moduleLoaderState_=e}}return null}},goog.requireType=function(t){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(b){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(t){return"(function(){"+t+"\n;})();\n"},goog.loadModule=function(t){var e=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var n={},r=n;if("function"===typeof t)r=t.call(void 0,r);else{if("string"!==typeof t)throw Error("Invalid module definition");goog.useSafari10Workaround()&&(t=goog.workaroundSafari10EvalBug(t)),r=goog.loadModuleFromSource_.call(void 0,r,t)}var i=goog.moduleLoaderState_.moduleName;if("string"!==typeof i||!i)throw Error('Invalid module name "'+i+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(i,r,n!==r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof r&&null!=r&&Object.seal(r),goog.loadedModules_[i]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=e}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(t){t=t.split("/");for(var e=0;e<t.length;)"."==t[e]?t.splice(e,1):e&&".."==t[e]&&t[e-1]&&".."!=t[e-1]?t.splice(--e,2):e++;return t.join("/")},goog.loadFileSync_=function(t){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t);try{var e=new goog.global.XMLHttpRequest;return e.open("get",t,!1),e.send(),0==e.status||200==e.status?e.responseText:null}catch(n){return null}},goog.transpile_=function(t,e,n){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var i=r.transpile;if(!i){var o=goog.basePath+goog.TRANSPILER,a=goog.loadFileSync_(o);if(a){if(function(){(0,eval)(a+"\n//# sourceURL="+o)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,i=(r=goog.global.$jscomp).transpile}}return i||(i=r.transpile=function(t,e){return goog.logToConsole_(e+" requires transpilation but no transpiler was found."),t}),i(t,e,n)},goog.typeOf=function(t){var e=typeof t;return"object"!=e?e:t?Array.isArray(t)?"array":e:"null"},goog.isArrayLike=function(t){var e=goog.typeOf(t);return"array"==e||"object"==e&&"number"==typeof t.length},goog.isDateLike=function(t){return goog.isObject(t)&&"function"==typeof t.getFullYear},goog.isObject=function(t){var e=typeof t;return"object"==e&&null!=t||"function"==e},goog.getUid=function(t){return Object.prototype.hasOwnProperty.call(t,goog.UID_PROPERTY_)&&t[goog.UID_PROPERTY_]||(t[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(t){return!!t[goog.UID_PROPERTY_]},goog.removeUid=function(t){null!==t&&"removeAttribute"in t&&t.removeAttribute(goog.UID_PROPERTY_);try{delete t[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(t){var e=goog.typeOf(t);if("object"==e||"array"==e){if("function"===typeof t.clone)return t.clone();for(var n in e="array"==e?[]:{},t)e[n]=goog.cloneObject(t[n]);return e}return t},goog.bindNative_=function(t,e,n){return t.call.apply(t.bind,arguments)},goog.bindJs_=function(t,e,n){if(!t)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),t.apply(e,n)}}return function(){return t.apply(e,arguments)}},goog.bind=function(t,e,n){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=n.slice();return e.push.apply(e,arguments),t.apply(this,e)}},goog.mixin=function(t,e){for(var n in e)t[n]=e[n]},goog.now=function(){return Date.now()},goog.globalEval=function(t){(0,eval)(t)},goog.getCssName=function(t,e){if("."==String(t).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+t);var n=function(t){return goog.cssNameMapping_[t]||t},r=function(t){t=t.split("-");for(var e=[],r=0;r<t.length;r++)e.push(n(t[r]));return e.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?n:r:function(t){return t},t=e?t+"-"+r(e):r(t),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t):t},goog.setCssNameMapping=function(t,e){goog.cssNameMapping_=t,goog.cssNameMappingStyle_=e},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(t,e,n){return n&&n.html&&(t=t.replace(/</g,"<")),n&&n.unescapeHtmlEntities&&(t=t.replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,'"').replace(/&/g,"&")),e&&(t=t.replace(/\{\$([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t},goog.getMsgWithFallback=function(t,e){return t},goog.exportSymbol=function(t,e,n){goog.exportPath_(t,e,!0,n)},goog.exportProperty=function(t,e,n){t[e]=n},goog.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.superClass_=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.base=function(t,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return e.prototype[n].apply(t,i)}},goog.scope=function(t){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");t.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(t,e){var n=e.constructor,r=e.statics;return n&&n!=Object.prototype.constructor||(n=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),n=goog.defineClass.createSealingConstructor_(n,t),t&&goog.inherits(n,t),delete e.constructor,delete e.statics,goog.defineClass.applyProperties_(n.prototype,e),null!=r&&(r instanceof Function?r(n):goog.defineClass.applyProperties_(n,r)),n},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(t,e){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var e=t.apply(this,arguments)||this;return e[goog.UID_PROPERTY_]=e[goog.UID_PROPERTY_],e}:t},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)n=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var t=goog.global.document;return null!=t&&"write"in t},goog.isDocumentLoading_=function(){var t=goog.global.document;return t.attachEvent?"complete"!=t.readyState:"loading"==t.readyState},goog.findBasePath_=function(){if(void 0!=goog.global.CLOSURE_BASE_PATH&&"string"===typeof goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var t=goog.global.document,e=t.currentScript;for(e=(t=e?[e]:t.getElementsByTagName("SCRIPT")).length-1;0<=e;--e){var n=t[e].src,r=n.lastIndexOf("?");if(r=-1==r?n.length:r,"base.js"==n.substr(r-7,7)){goog.basePath=n.substr(0,r-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,n){e?d[t]=!0:n()?(c=t,d[t]=!1):e=d[t]=!0}function b(g){try{return!!eval(g)}catch(h){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",(function(){return b("[1,].length==1")})),a("es6",(function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(t,e){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var n=this.createRequiresTranspilation_();this.requiresTranspilation_=n.map,this.transpilationTarget_=this.transpilationTarget_||n.target}if(t in this.requiresTranspilation_)return!!this.requiresTranspilation_[t]||!(!goog.inHtmlDocument_()||"es6"!=e||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+t)},goog.Transpiler.prototype.transpile=function(t,e){return goog.transpile_(t,e,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(t){return t.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(t,e){function n(){r&&(goog.global.setTimeout(r,0),r=null)}var r=e;if(t.length){e=[];for(var i=0;i<t.length;i++){var o=this.getPathFromDeps_(t[i]);if(!o)throw Error("Unregonized namespace: "+t[i]);e.push(this.dependencies_[o])}o=goog.require;var a=0;for(i=0;i<t.length;i++)o(t[i]),e[i].onLoad((function(){++a==t.length&&n()}))}else n()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(t,e){(t=this.getPathFromDeps_(t))&&(e||this.areDepsLoaded_(this.dependencies_[t].requires))&&(e=this.deferredCallbacks_[t])&&(delete this.deferredCallbacks_[t],e())},goog.DebugLoader_.prototype.setDependencyFactory=function(t){this.factory_=t},goog.DebugLoader_.prototype.load_=function(t){if(!this.getPathFromDeps_(t))throw t="goog.require could not find: "+t,goog.logToConsole_(t),Error(t);var e=this,n=[];!function t(r){var i=e.getPathFromDeps_(r);if(!i)throw Error("Bad dependency path or symbol: "+r);if(!e.written_[i]){for(e.written_[i]=!0,r=e.dependencies_[i],i=0;i<r.requires.length;i++)goog.isProvided_(r.requires[i])||t(r.requires[i]);n.push(r)}}(t),t=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(n),this.paused_||t||this.loadDeps_()},goog.DebugLoader_.prototype.loadDeps_=function(){for(var t=this,e=this.paused_;this.depsToLoad_.length&&!e;)!function(){var n=!1,r=t.depsToLoad_.shift(),i=!1;t.loading_(r);var o={pause:function(){if(n)throw Error("Cannot call pause after the call to load.");e=!0},resume:function(){n?t.resume_():e=!1},loaded:function(){if(i)throw Error("Double call to loaded.");i=!0,t.loaded_(r)},pending:function(){for(var e=[],n=0;n<t.loadingDeps_.length;n++)e.push(t.loadingDeps_[n]);return e},setModuleState:function(t){goog.moduleLoaderState_={type:t,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(t,e,n){n&&(goog.loadedModules_[n]={exports:e,type:goog.ModuleType.ES6,moduleId:n||""})},registerGoogModuleExports:function(t,e){goog.loadedModules_[t]={exports:e,type:goog.ModuleType.GOOG,moduleId:t}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(e){if(n)throw Error("Cannot register with defer after the call to load.");t.defer_(r,e)},areDepsLoaded:function(){return t.areDepsLoaded_(r.requires)}};try{r.load(o)}finally{n=!0}}();e&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(t){this.loadingDeps_.push(t)},goog.DebugLoader_.prototype.loaded_=function(t){for(var e=0;e<this.loadingDeps_.length;e++)if(this.loadingDeps_[e]==t){this.loadingDeps_.splice(e,1);break}for(e=0;e<this.deferredQueue_.length;e++)if(this.deferredQueue_[e]==t.path){this.deferredQueue_.splice(e,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);t.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(t){for(var e=0;e<t.length;e++){var n=this.getPathFromDeps_(t[e]);if(!n||!(n in this.deferredCallbacks_)&&!goog.isProvided_(t[e]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(t){return t in this.idToPath_?this.idToPath_[t]:t in this.dependencies_?t:null},goog.DebugLoader_.prototype.defer_=function(t,e){this.deferredCallbacks_[t.path]=e,this.deferredQueue_.push(t.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(t,e,n){},goog.LoadController.prototype.setModuleState=function(t){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(t){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(t,e,n,r,i){this.path=t,this.relativePath=e,this.provides=n,this.requires=r,this.loadFlags=i,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var t=this.path,e=t.indexOf("://");return 0<=e&&0<=(e=(t=t.substring(e+3)).indexOf("/"))&&(t=t.substring(e+1)),t},goog.Dependency.prototype.onLoad=function(t){this.loaded_?t():this.loadCallbacks_.push(t)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var t=this.loadCallbacks_;this.loadCallbacks_=[];for(var e=0;e<t.length;e++)t[e]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(t){var e=Math.random().toString(32);return goog.Dependency.callbackMap_[e]=t,e},goog.Dependency.unregisterCallback_=function(t){delete goog.Dependency.callbackMap_[t]},goog.Dependency.callback_=function(t,e){if(!(t in goog.Dependency.callbackMap_))throw Error("Callback key "+t+" does not exist (was base.js loaded more than once?).");for(var n=goog.Dependency.callbackMap_[t],r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);n.apply(void 0,r)},goog.Dependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var e=goog.global.document;if("complete"==e.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void t.loaded();throw Error('Cannot write "'+this.path+'" after document load')}var n=goog.getScriptNonce();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var r=goog.Dependency.registerCallback_((function e(n){n.readyState&&"complete"!=n.readyState?n.onload=e:(goog.Dependency.unregisterCallback_(r),t.loaded())}));n=n?' nonce="'+n+'"':"";var i='<script src="'+this.path+'"'+n+(goog.Dependency.defer_?" defer":"")+' id="script-'+r+'"><\/script>';i+="<script"+n+">",i=goog.Dependency.defer_?i+"document.getElementById('script-"+r+"').onload = function() {\n goog.Dependency.callback_('"+r+"', this);\n};\n":i+"goog.Dependency.callback_('"+r+"', document.getElementById('script-"+r+"'));",i+="<\/script>",e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(i):i)}else{var o=e.createElement("script");o.defer=goog.Dependency.defer_,o.async=!1,n&&(o.nonce=n),goog.DebugLoader_.IS_OLD_IE_?(t.pause(),o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(t.loaded(),t.resume())}):o.onload=function(){o.onload=null,t.loaded()},o.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,e.head.appendChild(o)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),t.loaded()):t.pause()},goog.Es6ModuleDependency=function(t,e,n,r,i){goog.Dependency.call(this,t,e,n,r,i)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var e=goog.global.document,n=this;if(goog.isDocumentLoading_()){var r=function(t,n){var r="",i=goog.getScriptNonce();i&&(r=' nonce="'+i+'"'),t=n?'<script type="module" crossorigin'+r+">"+n+"<\/script>":'<script type="module" crossorigin src="'+t+'"'+r+"><\/script>",e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(t):t)};goog.Dependency.defer_=!0}else r=function(t,n){var r=e.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var i=goog.getScriptNonce();i&&(r.nonce=i),n?r.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(n):n:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(t):t,e.head.appendChild(r)};var i=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(i),t.setModuleState(goog.ModuleType.ES6)}));r(void 0,'goog.Dependency.callback_("'+i+'")'),r(this.path,void 0);var o=goog.Dependency.registerCallback_((function(e){goog.Dependency.unregisterCallback_(o),t.registerEs6ModuleExports(n.path,e,goog.moduleLoaderState_.moduleName)}));r(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+o+'", m)');var a=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(a),t.clearModuleState(),t.loaded()}));r(void 0,'goog.Dependency.callback_("'+a+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),t.pause()},goog.TransformedDependency=function(t,e,n,r,i){goog.Dependency.call(this,t,e,n,r,i),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(t){function e(){r.contents_=goog.loadFileSync_(r.path),r.contents_&&(r.contents_=r.transform(r.contents_),r.contents_&&(r.contents_+="\n//# sourceURL="+r.path))}function n(){if(r.lazyFetch_&&e(),r.contents_){i&&t.setModuleState(goog.ModuleType.ES6);try{var n=r.contents_;if(r.contents_=null,goog.globalEval(n),i)var o=goog.moduleLoaderState_.moduleName}finally{i&&t.clearModuleState()}i&&goog.global.$jscomp.require.ensure([r.getPathName()],(function(){t.registerEs6ModuleExports(r.path,goog.global.$jscomp.require(r.getPathName()),o)})),t.loaded()}}var r=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)e(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,t.loaded()):t.pause();else{var i=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||e();var o=1<t.pending().length,a=o&&goog.DebugLoader_.IS_OLD_IE_;if(o=goog.Dependency.defer_&&(o||goog.isDocumentLoading_()),a||o)t.defer((function(){n()}));else{var u=goog.global.document;if(a=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,i&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!a){goog.Dependency.defer_=!0,t.pause();var s=u.onreadystatechange;u.onreadystatechange=function(){"interactive"==u.readyState&&(u.onreadystatechange=s,n(),t.resume()),"function"===typeof s&&s.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function(){var t=goog.global.document,e=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(e),n()})),r=goog.getScriptNonce();r="<script"+(r?' nonce="'+r+'"':"")+">"+goog.protectScriptTag_('goog.Dependency.callback_("'+e+'");')+"<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}():n()}}},goog.TransformedDependency.prototype.transform=function(t){},goog.TranspiledDependency=function(t,e,n,r,i,o){goog.TransformedDependency.call(this,t,e,n,r,i),this.transpiler=o},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(t){return this.transpiler.transpile(t,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(t,e,n,r,i){goog.TransformedDependency.call(this,t,e,n,r,i)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(t){return t},goog.GoogModuleDependency=function(t,e,n,r,i,o,a){goog.TransformedDependency.call(this,t,e,n,r,i),this.needsTranspile_=o,this.transpiler_=a},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(t){return this.needsTranspile_&&(t=this.transpiler_.transpile(t,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&void 0!==goog.global.JSON?"goog.loadModule("+goog.global.JSON.stringify(t+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+t+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(t,e,n,r){e=e||[],t=t.replace(/\\/g,"/");var i=goog.normalizePath_(goog.basePath+t);for(r&&"boolean"!==typeof r||(r=r?{module:goog.ModuleType.GOOG}:{}),n=this.factory_.createDependency(i,t,e,n,r,goog.transpiler_.needsTranspile(r.lang||"es3",r.module)),this.dependencies_[i]=n,n=0;n<e.length;n++)this.idToPath_[e[n]]=i;this.idToPath_[t]=i},goog.DependencyFactory=function(t){this.transpiler=t},goog.DependencyFactory.prototype.createDependency=function(t,e,n,r,i,o){return i.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(t,e,n,r,i,o,this.transpiler):o?new goog.TranspiledDependency(t,e,n,r,i,this.transpiler):i.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(t,e,n,r,i):new goog.Es6ModuleDependency(t,e,n,r,i):new goog.Dependency(t,e,n,r,i)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(t){goog.debugLoader_.setDependencyFactory(t)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(t,e){goog.debugLoader_.bootstrap(t,e)}),goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.identity_=function(t){return t},goog.createTrustedTypesPolicy=function(t){var e=null,n=goog.global.trustedTypes;if(!n||!n.createPolicy)return e;try{e=n.createPolicy(t,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(r){goog.logToConsole_(r.message)}return e},goog.debug={},goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(t,e){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(t,e)),this.messagePattern=t},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(t){throw t},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(t,e){for(var n="",r=(t=t.split("%s")).length-1,i=0;i<r;i++)n+=t[i]+(i<e.length?e[i]:"%s");return n+t[r]},goog.asserts.doAssertFailure_=function(t,e,n,r){var i="Assertion failed";if(n){i+=": "+n;var o=r}else t&&(i+=": "+t,o=e);t=new goog.asserts.AssertionError(""+i,o||[]),goog.asserts.errorHandler_(t)},goog.asserts.setErrorHandler=function(t){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=t)},goog.asserts.assert=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&!t&&goog.asserts.doAssertFailure_("",null,e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertExists=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&null==t&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.fail=function(t,e){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&"number"!==typeof t&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertString=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&"string"!==typeof t&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertFunction=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&"function"!==typeof t&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertObject=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertArray=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(t)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertBoolean=function(t,e,n){return goog.asserts.ENABLE_ASSERTS&&"boolean"!==typeof t&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertElement=function(t,e,n){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t)&&t.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertInstanceof=function(t,e,n,r){return!goog.asserts.ENABLE_ASSERTS||t instanceof e||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(e),goog.asserts.getType_(t)],n,Array.prototype.slice.call(arguments,3)),t},goog.asserts.assertFinite=function(t,e,n){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof t&&isFinite(t)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var t in Object.prototype)goog.asserts.fail(t+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):null===t?"null":typeof t},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;function module$contents$goog$array_peek(t){return t[t.length-1]}goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS,goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.indexOf.call(t,e,n)}:function(t,e,n){if(n=null==n?0:0>n?Math.max(0,t.length+n):n,"string"===typeof t)return"string"!==typeof e||1!=e.length?-1:t.indexOf(e,n);for(;n<t.length;n++)if(n in t&&t[n]===e)return n;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.lastIndexOf.call(t,e,null==n?t.length-1:n)}:function(t,e,n){if(0>(n=null==n?t.length-1:n)&&(n=Math.max(0,t.length+n)),"string"===typeof t)return"string"!==typeof e||1!=e.length?-1:t.lastIndexOf(e,n);for(;0<=n;n--)if(n in t&&t[n]===e)return n;return-1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(t,e,n){goog.asserts.assert(null!=t.length),Array.prototype.forEach.call(t,e,n)}:function(t,e,n){for(var r=t.length,i="string"===typeof t?t.split(""):t,o=0;o<r;o++)o in i&&e.call(n,i[o],o,t)};function module$contents$goog$array_forEachRight(t,e,n){var r=t.length,i="string"===typeof t?t.split(""):t;for(--r;0<=r;--r)r in i&&e.call(n,i[r],r,t)}goog.array.forEach=module$contents$goog$array_forEach,goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.filter.call(t,e,n)}:function(t,e,n){for(var r=t.length,i=[],o=0,a="string"===typeof t?t.split(""):t,u=0;u<r;u++)if(u in a){var s=a[u];e.call(n,s,u,t)&&(i[o++]=s)}return i};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.map.call(t,e,n)}:function(t,e,n){for(var r=t.length,i=Array(r),o="string"===typeof t?t.split(""):t,a=0;a<r;a++)a in o&&(i[a]=e.call(n,o[a],a,t));return i};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(t,e,n,r){return goog.asserts.assert(null!=t.length),r&&(e=goog.bind(e,r)),Array.prototype.reduce.call(t,e,n)}:function(t,e,n,r){var i=n;return module$contents$goog$array_forEach(t,(function(n,o){i=e.call(r,i,n,o,t)})),i};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(t,e,n,r){return goog.asserts.assert(null!=t.length),goog.asserts.assert(null!=e),r&&(e=goog.bind(e,r)),Array.prototype.reduceRight.call(t,e,n)}:function(t,e,n,r){var i=n;return module$contents$goog$array_forEachRight(t,(function(n,o){i=e.call(r,i,n,o,t)})),i};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.some.call(t,e,n)}:function(t,e,n){for(var r=t.length,i="string"===typeof t?t.split(""):t,o=0;o<r;o++)if(o in i&&e.call(n,i[o],o,t))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(t,e,n){return goog.asserts.assert(null!=t.length),Array.prototype.every.call(t,e,n)}:function(t,e,n){for(var r=t.length,i="string"===typeof t?t.split(""):t,o=0;o<r;o++)if(o in i&&!e.call(n,i[o],o,t))return!1;return!0};function module$contents$goog$array_count(t,e,n){var r=0;return module$contents$goog$array_forEach(t,(function(t,i,o){e.call(n,t,i,o)&&++r}),n),r}function module$contents$goog$array_find(t,e,n){return 0>(e=module$contents$goog$array_findIndex(t,e,n))?null:"string"===typeof t?t.charAt(e):t[e]}function module$contents$goog$array_findIndex(t,e,n){for(var r=t.length,i="string"===typeof t?t.split(""):t,o=0;o<r;o++)if(o in i&&e.call(n,i[o],o,t))return o;return-1}function module$contents$goog$array_findRight(t,e,n){return 0>(e=module$contents$goog$array_findIndexRight(t,e,n))?null:"string"===typeof t?t.charAt(e):t[e]}function module$contents$goog$array_findIndexRight(t,e,n){var r=t.length,i="string"===typeof t?t.split(""):t;for(--r;0<=r;r--)if(r in i&&e.call(n,i[r],r,t))return r;return-1}function module$contents$goog$array_contains(t,e){return 0<=module$contents$goog$array_indexOf(t,e)}function module$contents$goog$array_isEmpty(t){return 0==t.length}function module$contents$goog$array_clear(t){if(!Array.isArray(t))for(var e=t.length-1;0<=e;e--)delete t[e];t.length=0}function module$contents$goog$array_insert(t,e){module$contents$goog$array_contains(t,e)||t.push(e)}function module$contents$goog$array_insertAt(t,e,n){module$contents$goog$array_splice(t,n,0,e)}function module$contents$goog$array_insertArrayAt(t,e,n){goog.partial(module$contents$goog$array_splice,t,n,0).apply(null,e)}function module$contents$goog$array_insertBefore(t,e,n){var r;2==arguments.length||0>(r=module$contents$goog$array_indexOf(t,n))?t.push(e):module$contents$goog$array_insertAt(t,e,r)}function module$contents$goog$array_remove(t,e){var n;return(n=0<=(e=module$contents$goog$array_indexOf(t,e)))&&module$contents$goog$array_removeAt(t,e),n}function module$contents$goog$array_removeLast(t,e){return 0<=(e=module$contents$goog$array_lastIndexOf(t,e))&&(module$contents$goog$array_removeAt(t,e),!0)}function module$contents$goog$array_removeAt(t,e){return goog.asserts.assert(null!=t.length),1==Array.prototype.splice.call(t,e,1).length}function module$contents$goog$array_removeIf(t,e,n){return 0<=(e=module$contents$goog$array_findIndex(t,e,n))&&(module$contents$goog$array_removeAt(t,e),!0)}function module$contents$goog$array_removeAllIf(t,e,n){var r=0;return module$contents$goog$array_forEachRight(t,(function(i,o){e.call(n,i,o,t)&&module$contents$goog$array_removeAt(t,o)&&r++})),r}function module$contents$goog$array_concat(t){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_join(t){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_toArray(t){var e=t.length;if(0<e){for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}return[]}goog.array.every=module$contents$goog$array_every,goog.array.count=module$contents$goog$array_count,goog.array.find=module$contents$goog$array_find,goog.array.findIndex=module$contents$goog$array_findIndex,goog.array.findRight=module$contents$goog$array_findRight,goog.array.findIndexRight=module$contents$goog$array_findIndexRight,goog.array.contains=module$contents$goog$array_contains,goog.array.isEmpty=module$contents$goog$array_isEmpty,goog.array.clear=module$contents$goog$array_clear,goog.array.insert=module$contents$goog$array_insert,goog.array.insertAt=module$contents$goog$array_insertAt,goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt,goog.array.insertBefore=module$contents$goog$array_insertBefore,goog.array.remove=module$contents$goog$array_remove,goog.array.removeLast=module$contents$goog$array_removeLast,goog.array.removeAt=module$contents$goog$array_removeAt,goog.array.removeIf=module$contents$goog$array_removeIf,goog.array.removeAllIf=module$contents$goog$array_removeAllIf,goog.array.concat=module$contents$goog$array_concat,goog.array.join=module$contents$goog$array_join;var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;function module$contents$goog$array_extend(t,e){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(goog.isArrayLike(r)){var i=t.length||0,o=r.length||0;t.length=i+o;for(var a=0;a<o;a++)t[i+a]=r[a]}else t.push(r)}}function module$contents$goog$array_splice(t,e,n,r){return goog.asserts.assert(null!=t.length),Array.prototype.splice.apply(t,module$contents$goog$array_slice(arguments,1))}function module$contents$goog$array_slice(t,e,n){return goog.asserts.assert(null!=t.length),2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,n)}function module$contents$goog$array_removeDuplicates(t,e,n){e=e||t;var r=function(t){return goog.isObject(t)?"o"+goog.getUid(t):(typeof t).charAt(0)+t};n=n||r,r={};for(var i=0,o=0;o<t.length;){var a=t[o++],u=n(a);Object.prototype.hasOwnProperty.call(r,u)||(r[u]=!0,e[i++]=a)}e.length=i}function module$contents$goog$array_binarySearch(t,e,n){return module$contents$goog$array_binarySearch_(t,n||module$contents$goog$array_defaultCompare,!1,e)}function module$contents$goog$array_binarySelect(t,e,n){return module$contents$goog$array_binarySearch_(t,e,!0,void 0,n)}function module$contents$goog$array_binarySearch_(t,e,n,r,i){for(var o,a=0,u=t.length;a<u;){var s=a+(u-a>>>1),c=n?e.call(i,t[s],s,t):e(r,t[s]);0<c?a=s+1:(u=s,o=!c)}return o?a:-a-1}function module$contents$goog$array_sort(t,e){t.sort(e||module$contents$goog$array_defaultCompare)}function module$contents$goog$array_stableSort(t,e){for(var n=Array(t.length),r=0;r<t.length;r++)n[r]={index:r,value:t[r]};var i=e||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(n,(function(t,e){return i(t.value,e.value)||t.index-e.index})),r=0;r<t.length;r++)t[r]=n[r].value}function module$contents$goog$array_sortByKey(t,e,n){var r=n||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(t,(function(t,n){return r(e(t),e(n))}))}function module$contents$goog$array_sortObjectsByKey(t,e,n){module$contents$goog$array_sortByKey(t,(function(t){return t[e]}),n)}function module$contents$goog$array_isSorted(t,e,n){e=e||module$contents$goog$array_defaultCompare;for(var r=1;r<t.length;r++){var i=e(t[r-1],t[r]);if(0<i||0==i&&n)return!1}return!0}function module$contents$goog$array_equals(t,e,n){if(!goog.isArrayLike(t)||!goog.isArrayLike(e)||t.length!=e.length)return!1;var r=t.length;n=n||module$contents$goog$array_defaultCompareEquality;for(var i=0;i<r;i++)if(!n(t[i],e[i]))return!1;return!0}function module$contents$goog$array_compare3(t,e,n){n=n||module$contents$goog$array_defaultCompare;for(var r=Math.min(t.length,e.length),i=0;i<r;i++){var o=n(t[i],e[i]);if(0!=o)return o}return module$contents$goog$array_defaultCompare(t.length,e.length)}function module$contents$goog$array_defaultCompare(t,e){return t>e?1:t<e?-1:0}function module$contents$goog$array_inverseDefaultCompare(t,e){return-module$contents$goog$array_defaultCompare(t,e)}function module$contents$goog$array_defaultCompareEquality(t,e){return t===e}function module$contents$goog$array_binaryInsert(t,e,n){return 0>(n=module$contents$goog$array_binarySearch(t,e,n))&&(module$contents$goog$array_insertAt(t,e,-(n+1)),!0)}function module$contents$goog$array_binaryRemove(t,e,n){return 0<=(e=module$contents$goog$array_binarySearch(t,e,n))&&module$contents$goog$array_removeAt(t,e)}function module$contents$goog$array_bucket(t,e,n){for(var r={},i=0;i<t.length;i++){var o=t[i],a=e.call(n,o,i,t);void 0!==a&&(r[a]||(r[a]=[])).push(o)}return r}function module$contents$goog$array_toObject(t,e,n){var r={};return module$contents$goog$array_forEach(t,(function(i,o){r[e.call(n,i,o,t)]=i})),r}function module$contents$goog$array_range(t,e,n){var r=[],i=0,o=t;if(void 0!==e&&(i=t,o=e),0>(n=n||1)*(o-i))return[];if(0<n)for(t=i;t<o;t+=n)r.push(t);else for(t=i;t>o;t+=n)r.push(t);return r}function module$contents$goog$array_repeat(t,e){for(var n=[],r=0;r<e;r++)n[r]=t;return n}function module$contents$goog$array_flatten(t){for(var e=[],n=0;n<arguments.length;n++){var r=arguments[n];if(Array.isArray(r))for(var i=0;i<r.length;i+=8192){var o=module$contents$goog$array_slice(r,i,i+8192);o=module$contents$goog$array_flatten.apply(null,o);for(var a=0;a<o.length;a++)e.push(o[a])}else e.push(r)}return e}function module$contents$goog$array_rotate(t,e){return goog.asserts.assert(null!=t.length),t.length&&(0<(e%=t.length)?Array.prototype.unshift.apply(t,t.splice(-e,e)):0>e&&Array.prototype.push.apply(t,t.splice(0,-e))),t}function module$contents$goog$array_moveItem(t,e,n){goog.asserts.assert(0<=e&&e<t.length),goog.asserts.assert(0<=n&&n<t.length),e=Array.prototype.splice.call(t,e,1),Array.prototype.splice.call(t,n,0,e[0])}function module$contents$goog$array_zip(t){if(!arguments.length)return[];for(var e=[],n=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<n&&(n=arguments[r].length);for(r=0;r<n;r++){for(var i=[],o=0;o<arguments.length;o++)i.push(arguments[o][r]);e.push(i)}return e}function module$contents$goog$array_shuffle(t,e){e=e||Math.random;for(var n=t.length-1;0<n;n--){var r=Math.floor(e()*(n+1)),i=t[n];t[n]=t[r],t[r]=i}}function module$contents$goog$array_copyByIndex(t,e){var n=[];return module$contents$goog$array_forEach(e,(function(e){n.push(t[e])})),n}function module$contents$goog$array_concatMap(t,e,n){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(t,e,n))}goog.array.clone=module$contents$goog$array_clone,goog.array.extend=module$contents$goog$array_extend,goog.array.splice=module$contents$goog$array_splice,goog.array.slice=module$contents$goog$array_slice,goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates,goog.array.binarySearch=module$contents$goog$array_binarySearch,goog.array.binarySelect=module$contents$goog$array_binarySelect,goog.array.sort=module$contents$goog$array_sort,goog.array.stableSort=module$contents$goog$array_stableSort,goog.array.sortByKey=module$contents$goog$array_sortByKey,goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey,goog.array.isSorted=module$contents$goog$array_isSorted,goog.array.equals=module$contents$goog$array_equals,goog.array.compare3=module$contents$goog$array_compare3,goog.array.defaultCompare=module$contents$goog$array_defaultCompare,goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare,goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality,goog.array.binaryInsert=module$contents$goog$array_binaryInsert,goog.array.binaryRemove=module$contents$goog$array_binaryRemove,goog.array.bucket=module$contents$goog$array_bucket,goog.array.toObject=module$contents$goog$array_toObject,goog.array.range=module$contents$goog$array_range,goog.array.repeat=module$contents$goog$array_repeat,goog.array.flatten=module$contents$goog$array_flatten,goog.array.rotate=module$contents$goog$array_rotate,goog.array.moveItem=module$contents$goog$array_moveItem,goog.array.zip=module$contents$goog$array_zip,goog.array.shuffle=module$contents$goog$array_shuffle,goog.array.copyByIndex=module$contents$goog$array_copyByIndex,goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(t){if(goog.asserts.ENABLE_ASSERTS){var e=goog.dom.asserts.getWindow_(t);e&&(!t||!(t instanceof e.Location)&&t instanceof e.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(t))}return t},goog.dom.asserts.assertIsElementType_=function(t,e){if(goog.asserts.ENABLE_ASSERTS){var n=goog.dom.asserts.getWindow_(t);n&&"undefined"!=typeof n[e]&&(t&&(t instanceof n[e]||!(t instanceof n.Location||t instanceof n.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",e,goog.dom.asserts.debugStringForType_(t)))}return t},goog.dom.asserts.assertIsHTMLAnchorElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(t){if(!goog.isObject(t))return void 0===t?"undefined":null===t?"null":typeof t;try{return t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t)}catch(e){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(t){try{var e=t&&t.ownerDocument,n=e&&(e.defaultView||e.parentWindow);if((n=n||goog.global).Element&&n.Location)return n}catch(r){}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(t){return function(){return t}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(t,e){return t},goog.functions.error=function(t){return function(){throw Error(t)}},goog.functions.fail=function(t){return function(){throw t}},goog.functions.lock=function(t,e){return e=e||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,e))}},goog.functions.nth=function(t){return function(){return arguments[t]}},goog.functions.partialRight=function(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=this;e===goog.global&&(e=void 0);var r=Array.prototype.slice.call(arguments);return r.push.apply(r,n),t.apply(e,r)}},goog.functions.withReturnValue=function(t,e){return goog.functions.sequence(t,goog.functions.constant(e))},goog.functions.equalTo=function(t,e){return function(n){return e?t==n:t===n}},goog.functions.compose=function(t,e){var n=arguments,r=n.length;return function(){var t;r&&(t=n[r-1].apply(this,arguments));for(var e=r-2;0<=e;e--)t=n[e].call(this,t);return t}},goog.functions.sequence=function(t){var e=arguments,n=e.length;return function(){for(var t,r=0;r<n;r++)t=e[r].apply(this,arguments);return t}},goog.functions.and=function(t){var e=arguments,n=e.length;return function(){for(var t=0;t<n;t++)if(!e[t].apply(this,arguments))return!1;return!0}},goog.functions.or=function(t){var e=arguments,n=e.length;return function(){for(var t=0;t<n;t++)if(e[t].apply(this,arguments))return!0;return!1}},goog.functions.not=function(t){return function(){return!t.apply(this,arguments)}},goog.functions.create=function(t,e){var n=function(){};return n.prototype=t.prototype,n=new n,t.apply(n,Array.prototype.slice.call(arguments,1)),n},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(t){var e,n=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(n||(e=t(),n=!0),e):t()}},goog.functions.once=function(t){var e=t;return function(){if(e){var t=e;e=null,t()}}},goog.functions.debounce=function(t,e,n){var r=0;return function(i){goog.global.clearTimeout(r);var o=arguments;r=goog.global.setTimeout((function(){t.apply(n,o)}),e)}},goog.functions.throttle=function(t,e,n){var r=0,i=!1,o=[],a=function(){r=0,i&&(i=!1,u())},u=function(){r=goog.global.setTimeout(a,e),t.apply(n,o)};return function(t){o=arguments,r?i=!0:u()}},goog.functions.rateLimit=function(t,e,n){var r=0,i=function(){r=0};return function(o){r||(r=goog.global.setTimeout(i,e),t.apply(n,arguments))}},goog.functions.isFunction=function(t){return"function"===typeof t},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(t,e){return t},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A="A",goog.dom.TagName.ABBR="ABBR",goog.dom.TagName.ACRONYM="ACRONYM",goog.dom.TagName.ADDRESS="ADDRESS",goog.dom.TagName.APPLET="APPLET",goog.dom.TagName.AREA="AREA",goog.dom.TagName.ARTICLE="ARTICLE",goog.dom.TagName.ASIDE="ASIDE",goog.dom.TagName.AUDIO="AUDIO",goog.dom.TagName.B="B",goog.dom.TagName.BASE="BASE",goog.dom.TagName.BASEFONT="BASEFONT",goog.dom.TagName.BDI="BDI",goog.dom.TagName.BDO="BDO",goog.dom.TagName.BIG="BIG",goog.dom.TagName.BLOCKQUOTE="BLOCKQUOTE",goog.dom.TagName.BODY="BODY",goog.dom.TagName.BR="BR",goog.dom.TagName.BUTTON="BUTTON",goog.dom.TagName.CANVAS="CANVAS",goog.dom.TagName.CAPTION="CAPTION",goog.dom.TagName.CENTER="CENTER",goog.dom.TagName.CITE="CITE",goog.dom.TagName.CODE="CODE",goog.dom.TagName.COL="COL",goog.dom.TagName.COLGROUP="COLGROUP",goog.dom.TagName.COMMAND="COMMAND",goog.dom.TagName.DATA="DATA",goog.dom.TagName.DATALIST="DATALIST",goog.dom.TagName.DD="DD",goog.dom.TagName.DEL="DEL",goog.dom.TagName.DETAILS="DETAILS",goog.dom.TagName.DFN="DFN",goog.dom.TagName.DIALOG="DIALOG",goog.dom.TagName.DIR="DIR",goog.dom.TagName.DIV="DIV",goog.dom.TagName.DL="DL",goog.dom.TagName.DT="DT",goog.dom.TagName.EM="EM",goog.dom.TagName.EMBED="EMBED",goog.dom.TagName.FIELDSET="FIELDSET",goog.dom.TagName.FIGCAPTION="FIGCAPTION",goog.dom.TagName.FIGURE="FIGURE",goog.dom.TagName.FONT="FONT",goog.dom.TagName.FOOTER="FOOTER",goog.dom.TagName.FORM="FORM",goog.dom.TagName.FRAME="FRAME",goog.dom.TagName.FRAMESET="FRAMESET",goog.dom.TagName.H1="H1",goog.dom.TagName.H2="H2",goog.dom.TagName.H3="H3",goog.dom.TagName.H4="H4",goog.dom.TagName.H5="H5",goog.dom.TagName.H6="H6",goog.dom.TagName.HEAD="HEAD",goog.dom.TagName.HEADER="HEADER",goog.dom.TagName.HGROUP="HGROUP",goog.dom.TagName.HR="HR",goog.dom.TagName.HTML="HTML",goog.dom.TagName.I="I",goog.dom.TagName.IFRAME="IFRAME",goog.dom.TagName.IMG="IMG",goog.dom.TagName.INPUT="INPUT",goog.dom.TagName.INS="INS",goog.dom.TagName.ISINDEX="ISINDEX",goog.dom.TagName.KBD="KBD",goog.dom.TagName.KEYGEN="KEYGEN",goog.dom.TagName.LABEL="LABEL",goog.dom.TagName.LEGEND="LEGEND",goog.dom.TagName.LI="LI",goog.dom.TagName.LINK="LINK",goog.dom.TagName.MAIN="MAIN",goog.dom.TagName.MAP="MAP",goog.dom.TagName.MARK="MARK",goog.dom.TagName.MATH="MATH",goog.dom.TagName.MENU="MENU",goog.dom.TagName.MENUITEM="MENUITEM",goog.dom.TagName.META="META",goog.dom.TagName.METER="METER",goog.dom.TagName.NAV="NAV",goog.dom.TagName.NOFRAMES="NOFRAMES",goog.dom.TagName.NOSCRIPT="NOSCRIPT",goog.dom.TagName.OBJECT="OBJECT",goog.dom.TagName.OL="OL",goog.dom.TagName.OPTGROUP="OPTGROUP",goog.dom.TagName.OPTION="OPTION",goog.dom.TagName.OUTPUT="OUTPUT",goog.dom.TagName.P="P",goog.dom.TagName.PARAM="PARAM",goog.dom.TagName.PICTURE="PICTURE",goog.dom.TagName.PRE="PRE",goog.dom.TagName.PROGRESS="PROGRESS",goog.dom.TagName.Q="Q",goog.dom.TagName.RP="RP",goog.dom.TagName.RT="RT",goog.dom.TagName.RTC="RTC",goog.dom.TagName.RUBY="RUBY",goog.dom.TagName.S="S",goog.dom.TagName.SAMP="SAMP",goog.dom.TagName.SCRIPT="SCRIPT",goog.dom.TagName.SECTION="SECTION",goog.dom.TagName.SELECT="SELECT",goog.dom.TagName.SMALL="SMALL",goog.dom.TagName.SOURCE="SOURCE",goog.dom.TagName.SPAN="SPAN",goog.dom.TagName.STRIKE="STRIKE",goog.dom.TagName.STRONG="STRONG",goog.dom.TagName.STYLE="STYLE",goog.dom.TagName.SUB="SUB",goog.dom.TagName.SUMMARY="SUMMARY",goog.dom.TagName.SUP="SUP",goog.dom.TagName.SVG="SVG",goog.dom.TagName.TABLE="TABLE",goog.dom.TagName.TBODY="TBODY",goog.dom.TagName.TD="TD",goog.dom.TagName.TEMPLATE="TEMPLATE",goog.dom.TagName.TEXTAREA="TEXTAREA",goog.dom.TagName.TFOOT="TFOOT",goog.dom.TagName.TH="TH",goog.dom.TagName.THEAD="THEAD",goog.dom.TagName.TIME="TIME",goog.dom.TagName.TITLE="TITLE",goog.dom.TagName.TR="TR",goog.dom.TagName.TRACK="TRACK",goog.dom.TagName.TT="TT",goog.dom.TagName.U="U",goog.dom.TagName.UL="UL",goog.dom.TagName.VAR="VAR",goog.dom.TagName.VIDEO="VIDEO",goog.dom.TagName.WBR="WBR",goog.object={},goog.object.forEach=function(t,e,n){for(var r in t)e.call(n,t[r],r,t)},goog.object.filter=function(t,e,n){var r,i={};for(r in t)e.call(n,t[r],r,t)&&(i[r]=t[r]);return i},goog.object.map=function(t,e,n){var r,i={};for(r in t)i[r]=e.call(n,t[r],r,t);return i},goog.object.some=function(t,e,n){for(var r in t)if(e.call(n,t[r],r,t))return!0;return!1},goog.object.every=function(t,e,n){for(var r in t)if(!e.call(n,t[r],r,t))return!1;return!0},goog.object.getCount=function(t){var e,n=0;for(e in t)n++;return n},goog.object.getAnyKey=function(t){for(var e in t)return e},goog.object.getAnyValue=function(t){for(var e in t)return t[e]},goog.object.contains=function(t,e){return goog.object.containsValue(t,e)},goog.object.getValues=function(t){var e,n=[],r=0;for(e in t)n[r++]=t[e];return n},goog.object.getKeys=function(t){var e,n=[],r=0;for(e in t)n[r++]=e;return n},goog.object.getValueByKeys=function(t,e){var n=goog.isArrayLike(e),r=n?e:arguments;for(n=n?0:1;n<r.length;n++){if(null==t)return;t=t[r[n]]}return t},goog.object.containsKey=function(t,e){return null!==t&&e in t},goog.object.containsValue=function(t,e){for(var n in t)if(t[n]==e)return!0;return!1},goog.object.findKey=function(t,e,n){for(var r in t)if(e.call(n,t[r],r,t))return r},goog.object.findValue=function(t,e,n){return(e=goog.object.findKey(t,e,n))&&t[e]},goog.object.isEmpty=function(t){for(var e in t)return!1;return!0},goog.object.clear=function(t){for(var e in t)delete t[e]},goog.object.remove=function(t,e){var n;return(n=e in t)&&delete t[e],n},goog.object.add=function(t,e,n){if(null!==t&&e in t)throw Error('The object already contains the key "'+e+'"');goog.object.set(t,e,n)},goog.object.get=function(t,e,n){return null!==t&&e in t?t[e]:n},goog.object.set=function(t,e,n){t[e]=n},goog.object.setIfUndefined=function(t,e,n){return e in t?t[e]:t[e]=n},goog.object.setWithReturnValueIfNotSet=function(t,e,n){return e in t?t[e]:(n=n(),t[e]=n)},goog.object.equals=function(t,e){for(var n in t)if(!(n in e)||t[n]!==e[n])return!1;for(var r in e)if(!(r in t))return!1;return!0},goog.object.clone=function(t){var e,n={};for(e in t)n[e]=t[e];return n},goog.object.unsafeClone=function(t){if(!t||"object"!==typeof t)return t;if("function"===typeof t.clone)return t.clone();var e,n=Array.isArray(t)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(t)||t instanceof DataView?{}:new t.constructor(t.length);for(e in t)n[e]=goog.object.unsafeClone(t[e]);return n},goog.object.transpose=function(t){var e,n={};for(e in t)n[t[e]]=e;return n},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(t,e){for(var n,r,i=1;i<arguments.length;i++){for(n in r=arguments[i])t[n]=r[n];for(var o=0;o<goog.object.PROTOTYPE_FIELDS_.length;o++)n=goog.object.PROTOTYPE_FIELDS_[o],Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}},goog.object.create=function(t){var e=arguments.length;if(1==e&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(e%2)throw Error("Uneven number of arguments");for(var n={},r=0;r<e;r+=2)n[arguments[r]]=arguments[r+1];return n},goog.object.createSet=function(t){var e=arguments.length;if(1==e&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var n={},r=0;r<e;r++)n[arguments[r]]=!0;return n},goog.object.createImmutableView=function(t){var e=t;return Object.isFrozen&&!Object.isFrozen(t)&&(e=Object.create(t),Object.freeze(e)),e},goog.object.isImmutableView=function(t){return!!Object.isFrozen&&Object.isFrozen(t)},goog.object.getAllPropertyNames=function(t,e,n){if(!t)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(t);for(var r={};t&&(t!==Object.prototype||e)&&(t!==Function.prototype||n);){for(var i=Object.getOwnPropertyNames(t),o=0;o<i.length;o++)r[i[o]]=!0;t=Object.getPrototypeOf(t)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(t){return(t=Object.getPrototypeOf(t.prototype))&&t.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(t){return!0===goog.dom.tags.VOID_TAGS_[t]},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(t,e){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=t===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(t){return t instanceof goog.string.Const&&t.constructor===goog.string.Const&&t.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?t.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+t+"'"),"type_error:Const")},goog.string.Const.from=function(t){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,t)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(void 0===goog.html.trustedtypes.cachedPolicy_&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html")),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(t,e){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=e===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?t:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(t){return 0===(t=goog.string.Const.unwrap(t)).length?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(t,e){for(var n=[],r=1;r<arguments.length;r++)n.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[r]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(t)+")("+n.join(", ")+");")},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(t){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(t))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(t){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(t).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(t){return t instanceof module$contents$goog$html$SafeScript_SafeScript&&t.constructor===module$contents$goog$html$SafeScript_SafeScript?t.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeScript, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeScript")},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(t){return JSON.stringify(t).replace(/</g,"\\x3c")},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(t){var e=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t=e?e.createScript(t):t,new module$contents$goog$html$SafeScript_SafeScript(t,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(t){return goog.fs.url.getUrlObject_().createObjectURL(t)},goog.fs.url.revokeObjectUrl=function(t){goog.fs.url.getUrlObject_().revokeObjectURL(t)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(t){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(t){},goog.fs.url.getUrlObject_=function(){var t=goog.fs.url.findUrlObject_();if(null!=t)return t;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(t){var e=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==e){e=new e;for(var n=0;n<arguments.length;n++)e.append(arguments[n]);return e.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(t,e,n){var r=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==r){r=new r;for(var i=0;i<t.length;i++)r.append(t[i],n);return r.getBlob(e)}if(void 0!==goog.global.Blob)return r={},e&&(r.type=e),n&&(r.endings=n),new Blob(t,r);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(t,e){return"number"==typeof t?0<t?goog.i18n.bidi.Dir.LTR:0>t?goog.i18n.bidi.Dir.RTL:e?null:goog.i18n.bidi.Dir.NEUTRAL:null==t?null:t?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",goog.i18n.bidi.rtlChars_="\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(t,e){return e?t.replace(goog.i18n.bidi.htmlSkipReg_,""):t},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(t,e){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(t,e){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(t){return goog.i18n.bidi.rtlRe_.test(t)},goog.i18n.bidi.isLtrChar=function(t){return goog.i18n.bidi.ltrRe_.test(t)},goog.i18n.bidi.isNeutralChar=function(t){return!goog.i18n.bidi.isLtrChar(t)&&!goog.i18n.bidi.isRtlChar(t)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(t,e){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(t,e){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(t,e){return t=goog.i18n.bidi.stripHtmlIfNeeded_(t,e),goog.i18n.bidi.isRequiredLtrRe_.test(t)||!goog.i18n.bidi.hasAnyLtr(t)&&!goog.i18n.bidi.hasAnyRtl(t)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(t,e){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(t,e){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(t){return goog.i18n.bidi.rtlLocalesRe_.test(t)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(t,e){return e=(void 0===e?goog.i18n.bidi.hasAnyRtl(t):e)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,t.replace(goog.i18n.bidi.bracketGuardTextRe_,e+"$&"+e)},goog.i18n.bidi.enforceRtlInHtml=function(t){return"<"==t.charAt(0)?t.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+t+"</span>"},goog.i18n.bidi.enforceRtlInText=function(t){return goog.i18n.bidi.Format.RLE+t+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(t){return"<"==t.charAt(0)?t.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+t+"</span>"},goog.i18n.bidi.enforceLtrInText=function(t){return goog.i18n.bidi.Format.LRE+t+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(t){return t.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(t){return t.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05f3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(t,e){var n=0,r=0,i=!1;for(t=goog.i18n.bidi.stripHtmlIfNeeded_(t,e).split(goog.i18n.bidi.wordSeparatorRe_),e=0;e<t.length;e++){var o=t[e];goog.i18n.bidi.startsWithRtl(o)?(n++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(o)?i=!0:goog.i18n.bidi.hasAnyLtr(o)?r++:goog.i18n.bidi.hasNumeralsRe_.test(o)&&(i=!0)}return 0==r?i?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:n/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(t,e){return goog.i18n.bidi.estimateDirection(t,e)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(t,e){t&&(e=goog.i18n.bidi.toDir(e))&&(t.style.textAlign=e==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,t.dir=e==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(t,e){switch(goog.i18n.bidi.estimateDirection(e)){case goog.i18n.bidi.Dir.LTR:"ltr"!==t.dir&&(t.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!==t.dir&&(t.dir="rtl");break;default:t.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(t,e){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=e===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?t:""},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(t,e){var n=goog.html.TrustedResourceUrl.unwrap(this),r=(n=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(n))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(n[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",n[2]||"",t)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,e))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(t){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(t){return t instanceof goog.html.TrustedResourceUrl&&t.constructor===goog.html.TrustedResourceUrl?t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(t,e){var n=goog.string.Const.unwrap(t);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return t=n.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,(function(t,r){if(!Object.prototype.hasOwnProperty.call(e,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(e));return(t=e[r])instanceof goog.string.Const?goog.string.Const.unwrap(t):encodeURIComponent(String(t))})),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(t,e,n,r){return goog.html.TrustedResourceUrl.format(t,e).cloneWithParams(n,r)},goog.html.TrustedResourceUrl.fromConstant=function(t){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))},goog.html.TrustedResourceUrl.fromConstants=function(t){for(var e="",n=0;n<t.length;n++)e+=goog.string.Const.unwrap(t[n]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.fromSafeScript=function(t){return t=goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(t)],"text/javascript"),t=goog.fs.url.createObjectUrl(t),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(t){var e=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t=e?e.createScriptURL(t):t,new goog.html.TrustedResourceUrl(t,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.TrustedResourceUrl.stringifyParams_=function(t,e,n){if(null==n)return e;if("string"===typeof n)return n?t+encodeURIComponent(n):"";for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];i=Array.isArray(i)?i:[i];for(var o=0;o<i.length;o++){var a=i[o];null!=a&&(e||(e=t),e+=(e.length>t.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(a)))}}return e},goog.string.internal={},goog.string.internal.startsWith=function(t,e){return 0==t.lastIndexOf(e,0)},goog.string.internal.endsWith=function(t,e){var n=t.length-e.length;return 0<=n&&t.indexOf(e,n)==n},goog.string.internal.caseInsensitiveStartsWith=function(t,e){return 0==goog.string.internal.caseInsensitiveCompare(e,t.substr(0,e.length))},goog.string.internal.caseInsensitiveEndsWith=function(t,e){return 0==goog.string.internal.caseInsensitiveCompare(e,t.substr(t.length-e.length,e.length))},goog.string.internal.caseInsensitiveEquals=function(t,e){return t.toLowerCase()==e.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(t){return/^[\s\xa0]*$/.test(t)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]},goog.string.internal.caseInsensitiveCompare=function(t,e){return(t=String(t).toLowerCase())<(e=String(e).toLowerCase())?-1:t==e?0:1},goog.string.internal.newLineToBr=function(t,e){return t.replace(/(\r\n|\r|\n)/g,e?"<br />":"<br>")},goog.string.internal.htmlEscape=function(t,e){if(e)t=t.replace(goog.string.internal.AMP_RE_,"&").replace(goog.string.internal.LT_RE_,"<").replace(goog.string.internal.GT_RE_,">").replace(goog.string.internal.QUOT_RE_,""").replace(goog.string.internal.SINGLE_QUOTE_RE_,"'").replace(goog.string.internal.NULL_RE_,"�");else{if(!goog.string.internal.ALL_RE_.test(t))return t;-1!=t.indexOf("&")&&(t=t.replace(goog.string.internal.AMP_RE_,"&")),-1!=t.indexOf("<")&&(t=t.replace(goog.string.internal.LT_RE_,"<")),-1!=t.indexOf(">")&&(t=t.replace(goog.string.internal.GT_RE_,">")),-1!=t.indexOf('"')&&(t=t.replace(goog.string.internal.QUOT_RE_,""")),-1!=t.indexOf("'")&&(t=t.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=t.indexOf("\0")&&(t=t.replace(goog.string.internal.NULL_RE_,"�"))}return t},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(t,e){return goog.string.internal.newLineToBr(t.replace(/ /g,"  "),e)},goog.string.internal.contains=function(t,e){return-1!=t.indexOf(e)},goog.string.internal.caseInsensitiveContains=function(t,e){return goog.string.internal.contains(t.toLowerCase(),e.toLowerCase())},goog.string.internal.compareVersions=function(t,e){var n=0;t=goog.string.internal.trim(String(t)).split("."),e=goog.string.internal.trim(String(e)).split(".");for(var r=Math.max(t.length,e.length),i=0;0==n&&i<r;i++){var o=t[i]||"",a=e[i]||"";do{if(o=/(\d*)(\D*)(.*)/.exec(o)||["","","",""],a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],0==o[0].length&&0==a[0].length)break;n=0==o[1].length?0:parseInt(o[1],10);var u=0==a[1].length?0:parseInt(a[1],10);n=goog.string.internal.compareElements_(n,u)||goog.string.internal.compareElements_(0==o[2].length,0==a[2].length)||goog.string.internal.compareElements_(o[2],a[2]),o=o[3],a=a[3]}while(0==n)}return n},goog.string.internal.compareElements_=function(t,e){return t<e?-1:t>e?1:0},goog.html.SafeUrl=function(t,e){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=e===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?t:""},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(t){return t instanceof goog.html.SafeUrl&&t.constructor===goog.html.SafeUrl?t.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(t){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(t)},goog.html.SafeUrl.fromBlob=function(t){return t=goog.html.SafeUrl.isSafeMimeType(t.type)?goog.fs.url.createObjectUrl(t):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.revokeObjectUrl=function(t){(t=t.getTypedStringValue())!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(t)},goog.html.SafeUrl.fromMediaSource=function(t){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),t=t instanceof MediaSource?goog.fs.url.createObjectUrl(t):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.tryFromDataUrl=function(t){var e=(t=(t=String(t)).replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return e&&goog.html.SafeUrl.isSafeMimeType(e[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t):null},goog.html.SafeUrl.fromDataUrl=function(t){return goog.html.SafeUrl.tryFromDataUrl(t)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.fromTelUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"tel:")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(t){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(t))||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"fb-messenger://share")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromWhatsAppUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"whatsapp://send")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromSmsUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(t){var e=t.indexOf("#");if(0<e&&(t=t.substring(0,e)),!(e=t.match(/[?&]body=/gi)))return!0;if(1<e.length)return!1;if(!(t=t.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(t)}catch(n){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(t)},goog.html.SafeUrl.fromSshUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"ssh://")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(t,e,n){return(t=t.exec(e))?(t=t[1],-1==(n instanceof goog.string.Const?[goog.string.Const.unwrap(n)]:n.map((function(t){return goog.string.Const.unwrap(t)}))).indexOf(t)&&(e=goog.html.SafeUrl.INNOCUOUS_STRING)):e=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromTrustedResourceUrl=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(t))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.trySanitize=function(t){return t instanceof goog.html.SafeUrl?t:(t="object"==typeof t&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SAFE_URL_PATTERN_.test(t)?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeUrl.tryFromDataUrl(t))},goog.html.SafeUrl.sanitize=function(t){return goog.html.SafeUrl.trySanitize(t)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.sanitizeAssertUnchanged=function(t,e){return t instanceof goog.html.SafeUrl?t:(t="object"==typeof t&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),e&&/^data:/i.test(t)&&(e=goog.html.SafeUrl.fromDataUrl(t)).getTypedStringValue()==t?e:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(t),"%s does not match the safe URL pattern",t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)))},goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeUrl(t,goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeUrl.INNOCUOUS_URL=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(t,e){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=e===goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_?t:""},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.fromConstant=function(t){return 0===(t=goog.string.Const.unwrap(t)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(t,";"),"Last character of style string is not ';': "+t),goog.asserts.assert(goog.string.internal.contains(t,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+t),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(t){return t instanceof goog.html.SafeStyle&&t.constructor===goog.html.SafeStyle?t.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyle")},goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeStyle(t,goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(t){var e,n="";for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var r=t[e];null!=r&&(n+=e+":"+(r=Array.isArray(r)?module$contents$goog$array_map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return n?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(n):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(t){if(t instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(t).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(t=t instanceof goog.string.Const?goog.string.Const.unwrap(t):goog.html.SafeStyle.sanitizePropertyValueString_(String(t)),/[{;}]/.test(t))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[t]);return t},goog.html.SafeStyle.sanitizePropertyValueString_=function(t){var e=t.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(e)?goog.html.SafeStyle.COMMENT_RE_.test(t)?(goog.asserts.fail("String value disallows comments, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(t)?goog.html.SafeStyle.hasBalancedSquareBrackets_(t)?goog.html.SafeStyle.sanitizeUrl_(t):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"==i&&n?e=!e:'"'==i&&e&&(n=!n)}return e&&n},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(t){for(var e=!0,n=/^[-_a-zA-Z0-9]$/,r=0;r<t.length;r++){var i=t.charAt(r);if("]"==i){if(e)return!1;e=!0}else if("["==i){if(!e)return!1;e=!1}else if(!e&&!n.test(i))return!1}return e},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(t){return t.replace(goog.html.SafeStyle.URL_RE_,(function(t,e,n,r){var i="";return n=n.replace(/^(['"])(.*)\1$/,(function(t,e,n){return i=e,n})),t=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),e+i+t+i+r}))},goog.html.SafeStyle.concat=function(t){var e="",n=function t(n){Array.isArray(n)?module$contents$goog$array_forEach(n,t):e+=goog.html.SafeStyle.unwrap(n)};return module$contents$goog$array_forEach(arguments,n),e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY};var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet=function(t,e){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=e===module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE?t:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(t,e){if((0,goog.string.internal.contains)(t,"<"))throw Error("Selector does not allow '<', got: "+t);var n=t.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(n))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+t);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(n))throw Error("() and [] in selector must be balanced, got: "+t);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),t=t+"{"+goog.html.SafeStyle.unwrap(e).replace(/</g,"\\3C ")+"}",module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=function(t){for(var e={"(":")","[":"]"},n=[],r=0;r<t.length;r++){var i=t[r];if(e[i])n.push(e[i]);else if(goog.object.contains(e,i)&&n.pop()!=i)return!1}return 0==n.length},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(t){var e="",n=function t(n){Array.isArray(n)?module$contents$goog$array_forEach(n,t):e+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(n)};return module$contents$goog$array_forEach(arguments,n),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(t){return 0===(t=goog.string.Const.unwrap(t)).length?module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY:((0,goog.asserts.assert)(!(0,goog.string.internal.contains)(t,"<"),"Forbidden '<' character in style sheet string: "+t),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t))},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(t){return t instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&t.constructor===module$contents$goog$html$SafeStyleSheet_SafeStyleSheet?t.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyleSheet")},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(t){return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(t,module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyleSheet=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet,goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var t=goog.labs.userAgent.util.getNavigator_();return t&&(t=t.userAgent)?t:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(t){goog.labs.userAgent.util.userAgent_=t||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(t){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(e,t)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(t){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(e,t)},goog.labs.userAgent.util.extractVersionTuples=function(t){for(var e,n=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];e=n.exec(t);)r.push([e[1],e[2],e[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function t(t){return t=module$contents$goog$array_find(t,r),n[t]||""}var e=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(e);e=goog.labs.userAgent.util.extractVersionTuples(e);var n={};module$contents$goog$array_forEach(e,(function(t){n[t[0]]=t[1]}));var r=goog.partial(goog.object.containsKey,n);return goog.labs.userAgent.browser.isOpera()?t(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?t(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?t(["Edg"]):goog.labs.userAgent.browser.isChrome()?t(["Chrome","CriOS","HeadlessChrome"]):(e=e[2])&&e[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(t){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),t)},goog.labs.userAgent.browser.getIEVersion_=function(t){var e=/rv: *([\d\.]*)/.exec(t);if(e&&e[1])return e[1];e="";var n=/MSIE +([\d\.]+)/.exec(t);if(n&&n[1])if(t=/Trident\/(\d.\d)/.exec(t),"7.0"==n[1])if(t&&t[1])switch(t[1]){case"4.0":e="8.0";break;case"5.0":e="9.0";break;case"6.0":e="10.0";break;case"7.0":e="11.0"}else e="7.0";else e=n[1];return e},goog.html.SafeHtml=function(t,e,n){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=n===goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_?t:"",this.dir_=e},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(t){return goog.html.SafeHtml.unwrapTrustedHTML(t).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(t){return t instanceof goog.html.SafeHtml&&t.constructor===goog.html.SafeHtml?t.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(t){if(t instanceof goog.html.SafeHtml)return t;var e="object"==typeof t,n=null;return e&&t.implementsGoogI18nBidiDirectionalString&&(n=t.getDirection()),t=e&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(t),n)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(t)),t.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(t)),t.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(t){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(t)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_=goog.object.createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE),goog.html.SafeHtml.create=function(t,e,n){return goog.html.SafeHtml.verifyTagName(String(t)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(t),e,n)},goog.html.SafeHtml.verifyTagName=function(t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+t+">.":"");if(t.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+t+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(t,e,n,r){t&&goog.html.TrustedResourceUrl.unwrap(t);var i={};return i.src=t||null,i.srcdoc=e&&goog.html.SafeHtml.unwrap(e),t=goog.html.SafeHtml.combineAttributes(i,{sandbox:""},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,r)},goog.html.SafeHtml.createSandboxIframe=function(t,e,n,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var i={};return i.src=t?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)):null,i.srcdoc=e||null,i.sandbox="",t=goog.html.SafeHtml.combineAttributes(i,{},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(t,e){return goog.html.TrustedResourceUrl.unwrap(t),t=goog.html.SafeHtml.combineAttributes({src:t},{},e),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t)},goog.html.SafeHtml.createScript=function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=n.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+r+'" attribute':"")}for(n="",t=module$contents$goog$array_concat(t),r=0;r<t.length;r++)n+=module$contents$goog$html$SafeScript_SafeScript.unwrap(t[r]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e,t)},goog.html.SafeHtml.createStyle=function(t,e){e=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},e);var n="";t=module$contents$goog$array_concat(t);for(var r=0;r<t.length;r++)n+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(t[r]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",e,t)},goog.html.SafeHtml.createMetaRefresh=function(t,e){return t=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(t,";")&&(t="'"+t.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(e||0)+"; url="+t})},goog.html.SafeHtml.getAttrNameAndValue_=function(t,e,n){if(n instanceof goog.string.Const)n=goog.string.Const.unwrap(n);else if("style"==e.toLowerCase()){if(!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");n=goog.html.SafeHtml.getStyleValue_(n)}else{if(/^on/i.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" requires goog.string.Const value, "'+n+'" given.':"");if(e.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(n instanceof goog.html.TrustedResourceUrl)n=goog.html.TrustedResourceUrl.unwrap(n);else if(n instanceof goog.html.SafeUrl)n=goog.html.SafeUrl.unwrap(n);else{if("string"!==typeof n)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" on tag "'+t+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+n+'" given.':"");n=goog.html.SafeUrl.sanitize(n).getTypedStringValue()}}return n.implementsGoogStringTypedString&&(n=n.getTypedStringValue()),goog.asserts.assert("string"===typeof n||"number"===typeof n,"String or number value expected, got "+typeof n+" with value: "+n),e+'="'+goog.string.internal.htmlEscape(String(n))+'"'},goog.html.SafeHtml.getStyleValue_=function(t){if(!goog.isObject(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof t+" given: "+t:"");return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),goog.html.SafeStyle.unwrap(t)},goog.html.SafeHtml.createWithDir=function(t,e,n,r){return(e=goog.html.SafeHtml.create(e,n,r)).dir_=t,e},goog.html.SafeHtml.join=function(t,e){var n=(t=goog.html.SafeHtml.htmlEscape(t)).getDirection(),r=[];return module$contents$goog$array_forEach(e,(function t(e){Array.isArray(e)?module$contents$goog$array_forEach(e,t):(e=goog.html.SafeHtml.htmlEscape(e),r.push(goog.html.SafeHtml.unwrap(e)),e=e.getDirection(),n==goog.i18n.bidi.Dir.NEUTRAL?n=e:e!=goog.i18n.bidi.Dir.NEUTRAL&&n!=e&&(n=null))})),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(t)),n)},goog.html.SafeHtml.concat=function(t){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(t,e){var n=goog.html.SafeHtml.concat(module$contents$goog$array_slice(arguments,1));return n.dir_=t,n},goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(t,e){var n=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return t=n?n.createHTML(t):t,new goog.html.SafeHtml(t,e,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(t,e,n){var r=null,i="<"+t+goog.html.SafeHtml.stringifyAttributes(t,e);return null==n?n=[]:Array.isArray(n)||(n=[n]),goog.dom.tags.isVoidTag(t.toLowerCase())?(goog.asserts.assert(!n.length,"Void tag <"+t+"> does not allow content."),i+=">"):(r=goog.html.SafeHtml.concat(n),i+=">"+goog.html.SafeHtml.unwrap(r)+"</"+t+">",r=r.getDirection()),(t=e&&e.dir)&&(r=/^(ltr|rtl|auto)$/i.test(t)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(i,r)},goog.html.SafeHtml.stringifyAttributes=function(t,e){var n="";if(e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+r+'".':"");var i=e[r];null!=i&&(n+=" "+goog.html.SafeHtml.getAttrNameAndValue_(t,r,i))}return n},goog.html.SafeHtml.combineAttributes=function(t,e,n){var r,i={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),i[r]=t[r]);for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),i[r]=e[r]);if(n)for(r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=r.toLowerCase();if(o in t)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+o+'" attribute, got "'+r+'" with value "'+n[r]+'"':"");o in e&&delete i[o],i[r]=n[r]}return i},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=new goog.html.SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||"",goog.i18n.bidi.Dir.NEUTRAL,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(t,e,n){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,n||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(t,e,n){t.insertAdjacentHTML(e,goog.html.SafeHtml.unwrapTrustedHTML(n))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue((function(){if(goog.DEBUG&&"undefined"===typeof document)return!1;var t=document.createElement("div"),e=document.createElement("div");return e.appendChild(document.createElement("div")),t.appendChild(e),!(goog.DEBUG&&!t.firstChild)&&(e=t.firstChild.firstChild,t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!e.parentElement)})),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(t,e){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;t.lastChild;)t.removeChild(t.lastChild);t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setInnerHtml=function(t,e){if(goog.asserts.ENABLE_ASSERTS&&t.tagName){var n=t.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[n])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+t.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(t,e)},goog.dom.safe.setInnerHtmlFromConstant=function(t,e){goog.dom.safe.setInnerHtml(t,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Constant HTML to be immediatelly used."),goog.string.Const.unwrap(e)))},goog.dom.safe.setOuterHtml=function(t,e){t.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setFormElementAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLFormElement(t).action=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setButtonFormAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLButtonElement(t).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setInputFormAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLInputElement(t).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setStyle=function(t,e){t.style.cssText=goog.html.SafeStyle.unwrap(e)},goog.dom.safe.documentWrite=function(t,e){t.write(goog.html.SafeHtml.unwrapTrustedHTML(e))},goog.dom.safe.setAnchorHref=function(t,e){goog.dom.asserts.assertIsHTMLAnchorElement(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setImageSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLImageElement(t),!(e instanceof goog.html.SafeUrl)){var n=/^data:image\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,n)}t.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setAudioSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLAudioElement(t),!(e instanceof goog.html.SafeUrl)){var n=/^data:audio\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,n)}t.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setVideoSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLVideoElement(t),!(e instanceof goog.html.SafeUrl)){var n=/^data:video\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,n)}t.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setEmbedSrc=function(t,e){goog.dom.asserts.assertIsHTMLEmbedElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setFrameSrc=function(t,e){goog.dom.asserts.assertIsHTMLFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrc=function(t,e){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrcdoc=function(t,e){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setLinkHrefAndRel=function(t,e,n){goog.dom.asserts.assertIsHTMLLinkElement(t),t.rel=n,goog.string.internal.caseInsensitiveContains(n,"stylesheet")?(goog.asserts.assert(e instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),t.href=goog.html.TrustedResourceUrl.unwrap(e)):t.href=e instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(e):e instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(e):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(e))},goog.dom.safe.setObjectData=function(t,e){goog.dom.asserts.assertIsHTMLObjectElement(t),t.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setScriptSrc=function(t,e){goog.dom.asserts.assertIsHTMLScriptElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e),goog.dom.safe.setNonceForScriptElement_(t)},goog.dom.safe.setScriptContent=function(t,e){goog.dom.asserts.assertIsHTMLScriptElement(t),t.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(e),goog.dom.safe.setNonceForScriptElement_(t)},goog.dom.safe.setNonceForScriptElement_=function(t){var e=goog.getScriptNonce(t.ownerDocument&&t.ownerDocument.defaultView);e&&t.setAttribute("nonce",e)},goog.dom.safe.setLocationHref=function(t,e){goog.dom.asserts.assertIsLocation(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.assignLocation=function(t,e){goog.dom.asserts.assertIsLocation(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.assign(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.replaceLocation=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.replace(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.openInWindow=function(t,e,n,r,i){return t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e=e||goog.global,n=n instanceof goog.string.Const?goog.string.Const.unwrap(n):n||"",e.open(goog.html.SafeUrl.unwrap(t),n,r,i)},goog.dom.safe.parseFromStringHtml=function(t,e){return goog.dom.safe.parseFromString(t,e,"text/html")},goog.dom.safe.parseFromString=function(t,e,n){return t.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(e),n)},goog.dom.safe.createImageFromBlob=function(t){if(!/^image\/.*/g.test(t.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var e=goog.global.URL.createObjectURL(t);return(t=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(e)},goog.dom.safe.setImageSrc(t,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),e)),t},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xa0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(t,e){for(var n=t.split("%s"),r="",i=Array.prototype.slice.call(arguments,1);i.length&&1<n.length;)r+=n.shift()+i.shift();return r+n.join("%s")},goog.string.collapseWhitespace=function(t){return t.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(t){return 0==t.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(t){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(t))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(t){return!/[^\t\n\r ]/.test(t)},goog.string.isAlpha=function(t){return!/[^a-zA-Z]/.test(t)},goog.string.isNumeric=function(t){return!/[^0-9]/.test(t)},goog.string.isAlphaNumeric=function(t){return!/[^a-zA-Z0-9]/.test(t)},goog.string.isSpace=function(t){return" "==t},goog.string.isUnicodeChar=function(t){return 1==t.length&&" "<=t&&"~">=t||"\x80"<=t&&"\ufffd">=t},goog.string.stripNewlines=function(t){return t.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(t){return t.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(t){return t.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(t){return t.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(t){return t.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(t){return t.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(t){return t.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(t,e,n){if(t==e)return 0;if(!t)return-1;if(!e)return 1;for(var r=t.toLowerCase().match(n),i=e.toLowerCase().match(n),o=Math.min(r.length,i.length),a=0;a<o;a++){n=r[a];var u=i[a];if(n!=u)return t=parseInt(n,10),!isNaN(t)&&(e=parseInt(u,10),!isNaN(e)&&t-e)?t-e:n<u?-1:1}return r.length!=i.length?r.length-i.length:t<e?-1:1},goog.string.intAwareCompare=function(t,e){return goog.string.numberAwareCompare_(t,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(t,e){return goog.string.numberAwareCompare_(t,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(t){return encodeURIComponent(String(t))},goog.string.urlDecode=function(t){return decodeURIComponent(t.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(t,e){return t=goog.string.internal.htmlEscape(t,e),goog.string.DETECT_DOUBLE_ESCAPING&&(t=t.replace(goog.string.E_RE_,"e")),t},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(t){return goog.string.contains(t,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(t):goog.string.unescapePureXmlEntities_(t):t},goog.string.unescapeEntitiesWithDocument=function(t,e){return goog.string.contains(t,"&")?goog.string.unescapeEntitiesUsingDom_(t,e):t},goog.string.unescapeEntitiesUsingDom_=function(t,e){var n={"&":"&","<":"<",">":">",""":'"'},r=e?e.createElement("div"):goog.global.document.createElement("div");return t.replace(goog.string.HTML_ENTITY_PATTERN_,(function(t,e){var i=n[t];return i||("#"==e.charAt(0)&&(e=Number("0"+e.substr(1)),isNaN(e)||(i=String.fromCharCode(e))),i||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),t+" ")),i=r.firstChild.nodeValue.slice(0,-1)),n[t]=i)}))},goog.string.unescapePureXmlEntities_=function(t){return t.replace(/&([^;]+);/g,(function(t,e){switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=e.charAt(0)||(e=Number("0"+e.substr(1)),isNaN(e))?t:String.fromCharCode(e)}}))},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(t,e){return goog.string.newLineToBr(t.replace(/ /g,"  "),e)},goog.string.preserveSpaces=function(t){return t.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(t,e){for(var n=e.length,r=0;r<n;r++){var i=1==n?e:e.charAt(r);if(t.charAt(0)==i&&t.charAt(t.length-1)==i)return t.substring(1,t.length-1)}return t},goog.string.truncate=function(t,e,n){return n&&(t=goog.string.unescapeEntities(t)),t.length>e&&(t=t.substring(0,e-3)+"..."),n&&(t=goog.string.htmlEscape(t)),t},goog.string.truncateMiddle=function(t,e,n,r){if(n&&(t=goog.string.unescapeEntities(t)),r&&t.length>e){r>e&&(r=e);var i=t.length-r;t=t.substring(0,e-r)+"..."+t.substring(i)}else t.length>e&&(r=Math.floor(e/2),i=t.length-r,t=t.substring(0,r+e%2)+"..."+t.substring(i));return n&&(t=goog.string.htmlEscape(t)),t},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(t){t=String(t);for(var e=['"'],n=0;n<t.length;n++){var r=t.charAt(n),i=r.charCodeAt(0);e[n+1]=goog.string.specialEscapeChars_[r]||(31<i&&127>i?r:goog.string.escapeChar(r))}return e.push('"'),e.join("")},goog.string.escapeString=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=goog.string.escapeChar(t.charAt(n));return e.join("")},goog.string.escapeChar=function(t){if(t in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[t];if(t in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[t]=goog.string.specialEscapeChars_[t];var e=t.charCodeAt(0);if(31<e&&127>e)var n=t;else 256>e?(n="\\x",(16>e||256<e)&&(n+="0")):(n="\\u",4096>e&&(n+="0")),n+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[t]=n},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(t,e){return t&&e?t.split(e).length-1:0},goog.string.removeAt=function(t,e,n){var r=t;return 0<=e&&e<t.length&&0<n&&(r=t.substr(0,e)+t.substr(e+n,t.length-e-n)),r},goog.string.remove=function(t,e){return t.replace(e,"")},goog.string.removeAll=function(t,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),t.replace(e,"")},goog.string.replaceAll=function(t,e,n){return e=new RegExp(goog.string.regExpEscape(e),"g"),t.replace(e,n.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(t){return String(t).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(t,e){return t.repeat(e)}:function(t,e){return Array(e+1).join(t)},goog.string.padNumber=function(t,e,n){return-1==(n=(t=void 0!==n?t.toFixed(n):String(t)).indexOf("."))&&(n=t.length),goog.string.repeat("0",Math.max(0,e-n))+t},goog.string.makeSafe=function(t){return null==t?"":String(t)},goog.string.buildString=function(t){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(t){for(var e=0,n=0;n<t.length;++n)e=31*e+t.charCodeAt(n)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(t){var e=Number(t);return 0==e&&goog.string.isEmptyOrWhitespace(t)?NaN:e},goog.string.isLowerCamelCase=function(t){return/^[a-z]+([A-Z][a-z]*)*$/.test(t)},goog.string.isUpperCamelCase=function(t){return/^([A-Z][a-z]*)+$/.test(t)},goog.string.toCamelCase=function(t){return String(t).replace(/\-([a-z])/g,(function(t,e){return e.toUpperCase()}))},goog.string.toSelectorCase=function(t){return String(t).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(t,e){return e="string"===typeof e?goog.string.regExpEscape(e):"\\s",t.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),(function(t,e,n){return e+n.toUpperCase()}))},goog.string.capitalize=function(t){return String(t.charAt(0)).toUpperCase()+String(t.substr(1)).toLowerCase()},goog.string.parseInt=function(t){return isFinite(t)&&(t=String(t)),"string"===typeof t?/^\s*-?0x/i.test(t)?parseInt(t,16):parseInt(t,10):NaN},goog.string.splitLimit=function(t,e,n){t=t.split(e);for(var r=[];0<n&&t.length;)r.push(t.shift()),n--;return t.length&&r.push(t.join(e)),r},goog.string.lastComponent=function(t,e){if(!e)return t;"string"==typeof e&&(e=[e]);for(var n=-1,r=0;r<e.length;r++)if(""!=e[r]){var i=t.lastIndexOf(e[r]);i>n&&(n=i)}return-1==n?t:t.slice(n+1)},goog.string.editDistance=function(t,e){var n=[],r=[];if(t==e)return 0;if(!t.length||!e.length)return Math.max(t.length,e.length);for(var i=0;i<e.length+1;i++)n[i]=i;for(i=0;i<t.length;i++){r[0]=i+1;for(var o=0;o<e.length;o++)r[o+1]=Math.min(r[o]+1,n[o+1]+1,n[o]+Number(t[i]!=e[o]));for(o=0;o<n.length;o++)n[o]=r[o]}return r[e.length]},goog.proto2={},goog.proto2.Descriptor=function(t,e,n){for(this.messageType_=t,this.name_=e.name||null,this.fullName_=e.fullName||null,this.containingType_=e.containingType,this.fields_={},t=0;t<n.length;t++)e=n[t],this.fields_[e.getTag()]=e},goog.proto2.Descriptor.prototype.getName=function(){return this.name_},goog.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_},goog.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null},goog.proto2.Descriptor.prototype.getFields=function(){var t=goog.object.getValues(this.fields_);return module$contents$goog$array_sort(t,(function(t,e){return t.getTag()-e.getTag()})),t},goog.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_},goog.proto2.Descriptor.prototype.findFieldByName=function(t){return goog.object.findValue(this.fields_,(function(e,n,r){return e.getName()==t}))||null},goog.proto2.Descriptor.prototype.findFieldByTag=function(t){return goog.asserts.assert(goog.string.isNumeric(t)),this.fields_[parseInt(t,10)]||null},goog.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_},goog.proto2.FieldDescriptor=function(t,e,n){switch(this.parent_=t,goog.asserts.assert(goog.string.isNumeric(e)),this.tag_=e,this.name_=n.name,this.isPacked_=!!n.packed,this.isRepeated_=!!n.repeated,this.isRequired_=!!n.required,this.fieldType_=n.fieldType,this.nativeType_=n.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case goog.proto2.FieldDescriptor.FieldType.INT64:case goog.proto2.FieldDescriptor.FieldType.UINT64:case goog.proto2.FieldDescriptor.FieldType.FIXED64:case goog.proto2.FieldDescriptor.FieldType.SFIXED64:case goog.proto2.FieldDescriptor.FieldType.SINT64:case goog.proto2.FieldDescriptor.FieldType.FLOAT:case goog.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=n.defaultValue},goog.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_},goog.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.getName=function(){return this.name_},goog.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(void 0===this.defaultValue_){var t=this.nativeType_;if(t===Boolean)this.defaultValue_=!1;else if(t===Number)this.defaultValue_=0;else{if(t!==String)return new t;this.defaultValue_=this.deserializationConversionPermitted_?"0":""}}return this.defaultValue_},goog.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_},goog.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_},goog.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_},goog.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==goog.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==goog.proto2.FieldDescriptor.FieldType.GROUP},goog.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_},goog.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_},goog.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_},goog.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_},goog.proto2.Message=function(){this.values_={},this.fields_=this.getDescriptor().getFieldsMap(),this.deserializedFields_=this.lazyDeserializer_=null},goog.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.Message.prototype.initializeForLazyDeserializer=function(t,e){this.lazyDeserializer_=t,this.values_=e,this.deserializedFields_={}},goog.proto2.Message.prototype.setUnknown=function(t,e){goog.asserts.assert(!this.fields_[t],"Field is not unknown in this message"),goog.asserts.assert(1<=t,"Tag "+t+' has value "'+e+'" in descriptor '+this.getDescriptor().getName()),goog.asserts.assert(null!==e,"Value cannot be null"),this.values_[t]=e,this.deserializedFields_&&delete this.deserializedFields_[t]},goog.proto2.Message.prototype.forEachUnknown=function(t,e){for(var n in e=e||this,this.values_){var r=Number(n);this.fields_[r]||t.call(e,r,this.values_[n])}},goog.proto2.Message.prototype.getDescriptor=goog.abstractMethod,goog.proto2.Message.prototype.has=function(t){return goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.has$Value(t.getTag())},goog.proto2.Message.prototype.arrayOf=function(t){return goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.array$Values(t.getTag())},goog.proto2.Message.prototype.countOf=function(t){return goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.count$Values(t.getTag())},goog.proto2.Message.prototype.get=function(t,e){return goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$Value(t.getTag(),e)},goog.proto2.Message.prototype.getOrDefault=function(t,e){return goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$ValueOrDefault(t.getTag(),e)},goog.proto2.Message.prototype.set=function(t,e){goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.set$Value(t.getTag(),e)},goog.proto2.Message.prototype.add=function(t,e){goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.add$Value(t.getTag(),e)},goog.proto2.Message.prototype.clear=function(t){goog.asserts.assert(t.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.clear$Field(t.getTag())},goog.proto2.Message.prototype.equals=function(t){if(!t||this.constructor!=t.constructor)return!1;for(var e=this.getDescriptor().getFields(),n=0;n<e.length;n++){var r=e[n],i=r.getTag();if(this.has$Value(i)!=t.has$Value(i))return!1;if(this.has$Value(i)){var o=r.isCompositeType(),a=this.getValueForTag_(i);if(i=t.getValueForTag_(i),r.isRepeated()){if(a.length!=i.length)return!1;for(r=0;r<a.length;r++){var u=a[r],s=i[r];if(o?!u.equals(s):u!=s)return!1}}else if(o?!a.equals(i):a!=i)return!1}}return!0},goog.proto2.Message.prototype.copyFrom=function(t){goog.asserts.assert(this.constructor==t.constructor,"The source message must have the same type."),this!=t&&(this.values_={},this.deserializedFields_&&(this.deserializedFields_={}),this.mergeFrom(t))},goog.proto2.Message.prototype.mergeFrom=function(t){goog.asserts.assert(this.constructor==t.constructor,"The source message must have the same type.");for(var e=this.getDescriptor().getFields(),n=0;n<e.length;n++){var r=e[n],i=r.getTag();if(t.has$Value(i)){this.deserializedFields_&&delete this.deserializedFields_[r.getTag()];var o=r.isCompositeType();if(r.isRepeated()){r=t.array$Values(i);for(var a=0;a<r.length;a++)this.add$Value(i,o?r[a].clone():r[a])}else r=t.getValueForTag_(i),o?(o=this.getValueForTag_(i))?o.mergeFrom(r):this.set$Value(i,r.clone()):this.set$Value(i,r)}}},goog.proto2.Message.prototype.clone=function(){var t=new this.constructor;return t.copyFrom(this),t},goog.proto2.Message.prototype.initDefaults=function(t){for(var e=this.getDescriptor().getFields(),n=0;n<e.length;n++){var r=e[n],i=r.getTag(),o=r.isCompositeType();if(this.has$Value(i)||r.isRepeated()||(o?this.values_[i]=new(r.getNativeType()):t&&(this.values_[i]=r.getDefaultValue())),o)if(r.isRepeated())for(r=this.array$Values(i),i=0;i<r.length;i++)r[i].initDefaults(t);else this.get$Value(i).initDefaults(t)}},goog.proto2.Message.prototype.has$Value=function(t){return null!=this.values_[t]},goog.proto2.Message.prototype.getValueForTag_=function(t){var e=this.values_[t];return null==e?null:this.lazyDeserializer_?t in this.deserializedFields_?this.deserializedFields_[t]:(e=this.lazyDeserializer_.deserializeField(this,this.fields_[t],e),this.deserializedFields_[t]=e):e},goog.proto2.Message.prototype.get$Value=function(t,e){var n=this.getValueForTag_(t);return this.fields_[t].isRepeated()?(t=e||0,goog.asserts.assert(0<=t&&t<n.length,"Given index %s is out of bounds. Repeated field length: %s",t,n.length),n[t]):n},goog.proto2.Message.prototype.get$ValueOrDefault=function(t,e){return this.has$Value(t)?this.get$Value(t,e):this.fields_[t].getDefaultValue()},goog.proto2.Message.prototype.array$Values=function(t){return this.getValueForTag_(t)||[]},goog.proto2.Message.prototype.count$Values=function(t){return this.fields_[t].isRepeated()?this.has$Value(t)?this.values_[t].length:0:this.has$Value(t)?1:0},goog.proto2.Message.prototype.set$Value=function(t,e){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[t],e),this.values_[t]=e,this.deserializedFields_&&(this.deserializedFields_[t]=e)},goog.proto2.Message.prototype.add$Value=function(t,e){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[t],e),this.values_[t]||(this.values_[t]=[]),this.values_[t].push(e),this.deserializedFields_&&delete this.deserializedFields_[t]},goog.proto2.Message.prototype.checkFieldType_=function(t,e){t.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM?goog.asserts.assertNumber(e):goog.asserts.assert(Object(e).constructor==t.getNativeType())},goog.proto2.Message.prototype.clear$Field=function(t){delete this.values_[t],this.deserializedFields_&&delete this.deserializedFields_[t]},goog.proto2.Message.createDescriptor=function(t,e){var n,r=[],i=e[0];for(n in e)0!=n&&r.push(new goog.proto2.FieldDescriptor(t,n,e[n]));return new goog.proto2.Descriptor(t,i,r)},goog.proto2.Serializer=function(){},goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1,goog.proto2.Serializer.prototype.serialize=goog.abstractMethod,goog.proto2.Serializer.prototype.getSerializedValue=function(t,e){return t.isCompositeType()?this.serialize(e):"number"!==typeof e||isFinite(e)?e:e.toString()},goog.proto2.Serializer.prototype.deserialize=function(t,e){return t=t.createMessageInstance(),this.deserializeTo(t,e),goog.asserts.assert(t instanceof goog.proto2.Message),t},goog.proto2.Serializer.prototype.deserializeTo=goog.abstractMethod,goog.proto2.Serializer.prototype.getDeserializedValue=function(t,e){if(t.isCompositeType())return e instanceof goog.proto2.Message?e:this.deserialize(t.getFieldMessageType(),e);if(t.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM)return goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&"string"===typeof e&&(t=t.getNativeType()).hasOwnProperty(e)?t[e]:"string"===typeof e&&goog.proto2.Serializer.INTEGER_REGEX.test(e)&&0<(t=Number(e))?t:e;if(!t.deserializationConversionPermitted())return e;if((t=t.getNativeType())===String){if("number"===typeof e)return String(e)}else if(t===Number&&"string"===typeof e&&("Infinity"===e||"-Infinity"===e||"NaN"===e||goog.proto2.Serializer.INTEGER_REGEX.test(e)))return Number(e);return e},goog.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/,goog.proto2.LazyDeserializer=function(){},goog.inherits(goog.proto2.LazyDeserializer,goog.proto2.Serializer),goog.proto2.LazyDeserializer.prototype.deserialize=function(t,e){return(t=t.createMessageInstance()).initializeForLazyDeserializer(this,e),goog.asserts.assert(t instanceof goog.proto2.Message),t},goog.proto2.LazyDeserializer.prototype.deserializeTo=function(t,e){throw Error("Unimplemented")},goog.proto2.LazyDeserializer.prototype.deserializeField=goog.abstractMethod,goog.proto2.PbLiteSerializer=function(){},goog.inherits(goog.proto2.PbLiteSerializer,goog.proto2.LazyDeserializer),goog.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1,goog.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(t){this.zeroIndexing_=t},goog.proto2.PbLiteSerializer.prototype.serialize=function(t){for(var e=t.getDescriptor().getFields(),n=[],r=this.zeroIndexing_,i=0;i<e.length;i++){var o=e[i];if(t.has(o)){var a=o.getTag();if(a=r?a-1:a,o.isRepeated()){n[a]=[];for(var u=0;u<t.countOf(o);u++)n[a][u]=this.getSerializedValue(o,t.get(o,u))}else n[a]=this.getSerializedValue(o,t.get(o))}}return t.forEachUnknown((function(t,e){n[r?t-1:t]=e})),n},goog.proto2.PbLiteSerializer.prototype.deserializeField=function(t,e,n){if(null==n)return n;if(e.isRepeated()){t=[],goog.asserts.assert(Array.isArray(n),"Value must be array: %s",n);for(var r=0;r<n.length;r++)t[r]=this.getDeserializedValue(e,n[r]);return t}return this.getDeserializedValue(e,n)},goog.proto2.PbLiteSerializer.prototype.getSerializedValue=function(t,e){return t.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?e?1:0:goog.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(t,e){return t.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?(goog.asserts.assert("number"===typeof e||"boolean"===typeof e,"Value is expected to be a number or boolean"),!!e):goog.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.deserialize=function(t,e){var n=e;if(this.zeroIndexing_)for(var r in n=[],e)n[parseInt(r,10)+1]=e[r];return goog.proto2.PbLiteSerializer.superClass_.deserialize.call(this,t,n)},goog.string.StringBuffer=function(t,e){null!=t&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.buffer_="",goog.string.StringBuffer.prototype.set=function(t){this.buffer_=""+t},goog.string.StringBuffer.prototype.append=function(t,e,n){if(this.buffer_+=String(t),null!=e)for(var r=1;r<arguments.length;r++)this.buffer_+=arguments[r];return this},goog.string.StringBuffer.prototype.clear=function(){this.buffer_=""},goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length},goog.string.StringBuffer.prototype.toString=function(){return this.buffer_};var i18n={phonenumbers:{}};i18n.phonenumbers.NumberFormat=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.NumberFormat,goog.proto2.Message),i18n.phonenumbers.NumberFormat.descriptor_=null,i18n.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)},i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.NumberFormat.prototype.setPattern=function(t){this.set$Value(1,t)},i18n.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)},i18n.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)},i18n.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)},i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.NumberFormat.prototype.setFormat=function(t){this.set$Value(2,t)},i18n.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)},i18n.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)},i18n.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(t){return this.get$Value(3,t)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(t){return this.get$ValueOrDefault(3,t)},i18n.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(t){this.add$Value(3,t)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)},i18n.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)},i18n.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(t){this.set$Value(4,t)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(t){this.set$Value(6,t)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(t){this.set$Value(5,t)},i18n.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)},i18n.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)},i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumberDesc=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumberDesc,goog.proto2.Message),i18n.phonenumbers.PhoneNumberDesc.descriptor_=null,i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(t){this.set$Value(2,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength=function(t){return this.get$Value(9,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthOrDefault=function(t){return this.get$ValueOrDefault(9,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLength=function(t){this.add$Value(9,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthArray=function(){return this.array$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLength=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLength=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnly=function(t){return this.get$Value(10,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnlyOrDefault=function(t){return this.get$ValueOrDefault(10,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLengthLocalOnly=function(t){this.add$Value(10,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyArray=function(){return this.array$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLengthLocalOnly=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLengthLocalOnly=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(t){this.set$Value(6,t)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadata,goog.proto2.Message),i18n.phonenumbers.PhoneMetadata.descriptor_=null,i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(t){this.set$Value(1,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(t){this.set$Value(2,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneMetadata.prototype.setMobile=function(t){this.set$Value(3,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneMetadata.prototype.setTollFree=function(t){this.set$Value(4,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(t){this.set$Value(5,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(t){this.set$Value(6,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(t){this.set$Value(7,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneMetadata.prototype.setVoip=function(t){this.set$Value(8,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)},i18n.phonenumbers.PhoneMetadata.prototype.setPager=function(t){this.set$Value(21,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)},i18n.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)},i18n.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)},i18n.phonenumbers.PhoneMetadata.prototype.setUan=function(t){this.set$Value(25,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)},i18n.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)},i18n.phonenumbers.PhoneMetadata.prototype.setEmergency=function(t){this.set$Value(27,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)},i18n.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)},i18n.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(t){this.set$Value(28,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCode=function(){return this.get$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCodeOrDefault=function(){return this.get$ValueOrDefault(29)},i18n.phonenumbers.PhoneMetadata.prototype.setShortCode=function(t){this.set$Value(29,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasShortCode=function(){return this.has$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.shortCodeCount=function(){return this.count$Values(29)},i18n.phonenumbers.PhoneMetadata.prototype.clearShortCode=function(){this.clear$Field(29)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRate=function(){return this.get$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRateOrDefault=function(){return this.get$ValueOrDefault(30)},i18n.phonenumbers.PhoneMetadata.prototype.setStandardRate=function(t){this.set$Value(30,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasStandardRate=function(){return this.has$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.standardRateCount=function(){return this.count$Values(30)},i18n.phonenumbers.PhoneMetadata.prototype.clearStandardRate=function(){this.clear$Field(30)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecific=function(){return this.get$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecificOrDefault=function(){return this.get$ValueOrDefault(31)},i18n.phonenumbers.PhoneMetadata.prototype.setCarrierSpecific=function(t){this.set$Value(31,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasCarrierSpecific=function(){return this.has$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.carrierSpecificCount=function(){return this.count$Values(31)},i18n.phonenumbers.PhoneMetadata.prototype.clearCarrierSpecific=function(){this.clear$Field(31)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServices=function(){return this.get$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServicesOrDefault=function(){return this.get$ValueOrDefault(33)},i18n.phonenumbers.PhoneMetadata.prototype.setSmsServices=function(t){this.set$Value(33,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasSmsServices=function(){return this.has$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.smsServicesCount=function(){return this.count$Values(33)},i18n.phonenumbers.PhoneMetadata.prototype.clearSmsServices=function(){this.clear$Field(33)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)},i18n.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(t){this.set$Value(24,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)},i18n.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)},i18n.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)},i18n.phonenumbers.PhoneMetadata.prototype.setId=function(t){this.set$Value(9,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)},i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(t){this.set$Value(10,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)},i18n.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(t){this.set$Value(11,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)},i18n.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(t){this.set$Value(17,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(t){this.set$Value(12,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(t){this.set$Value(13,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(t){this.set$Value(15,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(t){this.set$Value(16,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)},i18n.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(t){this.set$Value(18,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)},i18n.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(t){return this.get$Value(19,t)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(t){return this.get$ValueOrDefault(19,t)},i18n.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(t){this.add$Value(19,t)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(t){return this.get$Value(20,t)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(t){return this.get$ValueOrDefault(20,t)},i18n.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(t){this.add$Value(20,t)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)},i18n.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(t){this.set$Value(22,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)},i18n.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(t){this.set$Value(23,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossible=function(){return this.get$Value(26)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingZeroPossibleOrDefault=function(){return this.get$ValueOrDefault(26)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingZeroPossible=function(t){this.set$Value(26,t)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingZeroPossible=function(){return this.has$Value(26)},i18n.phonenumbers.PhoneMetadata.prototype.leadingZeroPossibleCount=function(){return this.count$Values(26)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingZeroPossible=function(){this.clear$Field(26)},i18n.phonenumbers.PhoneMetadataCollection=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadataCollection,goog.proto2.Message),i18n.phonenumbers.PhoneMetadataCollection.descriptor_=null,i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(t){return this.get$Value(1,t)},i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(t){return this.get$ValueOrDefault(1,t)},i18n.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(t){this.add$Value(1,t)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getDescriptor=function(){var t=i18n.phonenumbers.NumberFormat.descriptor_;return t||(i18n.phonenumbers.NumberFormat.descriptor_=t=goog.proto2.Message.createDescriptor(i18n.phonenumbers.NumberFormat,{0:{name:"NumberFormat",fullName:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},2:{name:"format",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},3:{name:"leading_digits_pattern",repeated:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"national_prefix_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"national_prefix_optional_when_formatting",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t},i18n.phonenumbers.NumberFormat.getDescriptor=i18n.phonenumbers.NumberFormat.prototype.getDescriptor,i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){var t=i18n.phonenumbers.PhoneNumberDesc.descriptor_;return t||(i18n.phonenumbers.PhoneNumberDesc.descriptor_=t=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumberDesc,{0:{name:"PhoneNumberDesc",fullName:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",fieldType:goog.proto2.Message.FieldType.STRING,type:String},9:{name:"possible_length",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},10:{name:"possible_length_local_only",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},6:{name:"example_number",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t},i18n.phonenumbers.PhoneNumberDesc.getDescriptor=i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){var t=i18n.phonenumbers.PhoneMetadata.descriptor_;return t||(i18n.phonenumbers.PhoneMetadata.descriptor_=t=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadata,{0:{name:"PhoneMetadata",fullName:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},2:{name:"fixed_line",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},3:{name:"mobile",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},4:{name:"toll_free",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},5:{name:"premium_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},6:{name:"shared_cost",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},7:{name:"personal_number",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},8:{name:"voip",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},21:{name:"pager",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},25:{name:"uan",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},27:{name:"emergency",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},28:{name:"voicemail",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},29:{name:"short_code",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},30:{name:"standard_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},31:{name:"carrier_specific",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},33:{name:"sms_services",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},24:{name:"no_international_dialling",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},9:{name:"id",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},10:{name:"country_code",fieldType:goog.proto2.Message.FieldType.INT32,type:Number},11:{name:"international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},17:{name:"preferred_international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},12:{name:"national_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},13:{name:"preferred_extn_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},15:{name:"national_prefix_for_parsing",fieldType:goog.proto2.Message.FieldType.STRING,type:String},16:{name:"national_prefix_transform_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},18:{name:"same_mobile_and_fixed_line_pattern",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:"number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},20:{name:"intl_number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},22:{name:"main_country_for_code",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:"leading_digits",fieldType:goog.proto2.Message.FieldType.STRING,type:String},26:{name:"leading_zero_possible",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean}})),t},i18n.phonenumbers.PhoneMetadata.getDescriptor=i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){var t=i18n.phonenumbers.PhoneMetadataCollection.descriptor_;return t||(i18n.phonenumbers.PhoneMetadataCollection.descriptor_=t=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadataCollection,{0:{name:"PhoneMetadataCollection",fullName:"i18n.phonenumbers.PhoneMetadataCollection"},1:{name:"metadata",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneMetadata}})),t},i18n.phonenumbers.PhoneMetadataCollection.getDescriptor=i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor,i18n.phonenumbers.PhoneNumber=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumber,goog.proto2.Message),i18n.phonenumbers.PhoneNumber.descriptor_=null,i18n.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCode=function(t){this.set$Value(1,t)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(t){this.set$Value(2,t)},i18n.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneNumber.prototype.setExtension=function(t){this.set$Value(3,t)},i18n.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(t){this.set$Value(4,t)},i18n.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(t){this.set$Value(8,t)},i18n.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneNumber.prototype.setRawInput=function(t){this.set$Value(5,t)},i18n.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(t){this.set$Value(6,t)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(t){this.set$Value(7,t)},i18n.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneNumber.CountryCodeSource={UNSPECIFIED:0,FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20},i18n.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){var t=i18n.phonenumbers.PhoneNumber.descriptor_;return t||(i18n.phonenumbers.PhoneNumber.descriptor_=t=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumber,{0:{name:"PhoneNumber",fullName:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},2:{name:"national_number",required:!0,fieldType:goog.proto2.Message.FieldType.UINT64,type:Number},3:{name:"extension",fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"italian_leading_zero",fieldType:goog.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:"number_of_leading_zeros",fieldType:goog.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:"raw_input",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"country_code_source",fieldType:goog.proto2.Message.FieldType.ENUM,defaultValue:i18n.phonenumbers.PhoneNumber.CountryCodeSource.UNSPECIFIED,type:i18n.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:"preferred_domestic_carrier_code",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),t},i18n.phonenumbers.PhoneNumber.ctor=i18n.phonenumbers.PhoneNumber,i18n.phonenumbers.PhoneNumber.ctor.getDescriptor=i18n.phonenumbers.PhoneNumber.prototype.getDescriptor,i18n.phonenumbers.metadata={},i18n.phonenumbers.metadata.countryCodeToRegionCodeMap={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},i18n.phonenumbers.metadata.countryToMetadata={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1|([457]\\d{6})$","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1|([2457]\\d{6})$","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|90)\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-7]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93888[013-9]\\d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]\\d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-7]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1|([267]\\d{6})$","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"9(?:0[01]|3[019])\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7,8}|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|(183[12])",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1[38]00\\d{6}|1(?:345[0-4]|802)\\d{3}|13\\d{4}",,,,,,,[6,7,8,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:222[0-79]\\d|365(?:[0-46-9]\\d|5[0-35-9]))\\d{4}|(?:(?:1[28]|46)\\d|2(?:[045]2|1[24]|2[34]|33|6[23]))\\d{6}",,,,"123123456",,,,[7]],[,,"(?:36554|99[2-9]\\d\\d)\\d{4}|(?:[16]0|4[04]|5[015]|7[07])\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[3568]\\d|4[0-57-9])|45\\d|69[5-7]|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1|([2-9]\\d{6})$","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|7(?:36|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"1\\d{9}|2\\d{7,8}|88\\d{4,6}|(?:8[0-79]|9\\d)\\d{4,8}|(?:[346]\\d|[57])\\d{5,8}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2[45]\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[0457]|44|69|7[0579])|90(?:0[0-35-8]|1[36]|2[0-3568]|3[0135689]|4[2-68]|5[1-68]|6[0-378]|7[23568]|9[34679]))\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[0458]|2[25]|3[15-8]|48|[56]0|7[078])\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1267]|5[1-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"43[07-9]\\d{5}|(?:48|8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\d\\d))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-79]\\d|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|31|6[1289]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[25689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:5[1-35-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1|([2-8]\\d{6})$","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"300\\d{7}|[34]00\\d{5}|4(?:02|37)0\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"4020\\d{4}|[34]00\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"1|([3-8]\\d{6})$","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[01]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|20)|2[0-2]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678"],[,,"600[2-9]\\d{6}",,,,"6002012345"],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d\\d|11[0-4])\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|[23][45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0(?:[15]\\d\\d|7(?:[04-8][7-9]|9[78]))\\d{6}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[034]\\d|1[0-35-9]|2[1-9]|5[0-2])|600))|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[5-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"0|(1(?:[12]\\d|79)\\d\\d)",,"00",,[[,"(\\d{5,6})","$1",["96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","26|3(?:[0268]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9])|(?:34|85[23])[0-8]|(?:1|58)[1-9]|(?:63|95)[06-9]|(?:33|85[23]9)[0-46-9]|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","26|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:1|58|85[23]10)[1-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:1\\d|3)\\d{9}|[124-8]\\d{7}",,,,,,,[8,10,11],[7]],[,,"[124-8][2-9]\\d{6}",,,,"12345678",,,[8],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|3(?:24[2-6]|3(?:00|3[0-24-9]))\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[14][2-9]|[25-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["[14][2-9]|[25-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:[34][36]|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|([59]\\d{7})$","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:[12]\\d|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[3-6]\\d{10}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1|([2-7]\\d{6})$","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"5(?:[0-35-9]\\d{6}|4(?:[0-57-9]\\d{5}|6(?:[0-24-9]\\d{4}|3(?:[0-35-9]\\d{3}|4000))))|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:23|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[24-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9]|8[2-4])\\d|7(?:[679]\\d|8[13-9]))\\d)|[349]\\d{4})\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0\\d|1[0-2]|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-59]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[78]|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9\\d{8}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|91)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:[1-35]\\d|4[1-9])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7(?:00|[3-9]\\d))\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:0[2-7]|6[256]|7[47])\\d{6}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|6[256]\\d{6}|7[47]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[023])|4(?:[0-5]\\d\\d|69[7-9]|70[059])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[259]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[278])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1|([2-9]\\d{6})$","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:0555[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:0070|[25]222|3333)[0-4]\\d{3}|5(?:00(?:0\\d|50)|111\\d|(?:52|75)00|8(?:58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94|80\\d|976)\\d{6}",,,,,,,[9]],[,,"594(?:[023]\\d|1[01]|4[03-9]|5[6-9]|6[0-3]|80|9[014])\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-48])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976\\d{6}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0|([25-9]\\d{5})$","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-8]\\d|5[67])|5(?:[0457]\\d|6[01]|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]],[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}",,,,"20012345"],[,,"(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-389])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,10}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1|([3-9]\\d{6})$","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-6]|5[0-5]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:46(?:0[0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])\\d{4}|(?:46[23]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|849|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-39]|1[1-367]|[23]\\d|4[03-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[78]|2[3-59]|3[13-9]|4[0-68]|5[1-35])|5(?:0[7-9]|16|4[03-5]|5\\d|6[014-6]|74|80)|6(?:[056]\\d|17|2[07]|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:751\\d{5}|8\\d{6,7})|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|6802)\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|6802)\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[01]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[58]|7\\d|82|9[235-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0|([25-8]\\d{5})$","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:(?:[0-2]\\d|3[01]|4[0145])\\d|5[15]0|8(?:1\\d|88)|9(?:0[013]|[19]\\d|21|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"993[2-9]\\d{6}",,,,"9932123456",,,[10]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[28]))\\d{4}",,,,"6111234"],[,,"80[08]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?:5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1[4679]|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1[4679]|[38]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0|([0-24-8]\\d{5})$","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[6-9]|[14-9]\\d|2[013-9]|3[7-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014])|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|(?:[235-8]\\d|99)\\d{7}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|880|99[05-9])\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:63\\d{3}|73(?:0[0-5]\\d|140))\\d{3}|[67]200[01]\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1|([2-7]\\d{6})$","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"(?:18|[2569]\\d\\d)\\d{5}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:5(?:2(?:22|5[25])|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))\\d{4}|(?:5(?:[05]\\d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6\\d|7[67]|9[069])|9(?:0[09]|22|[4679]\\d|55|8[057-9]))\\d{5}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[25]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1|([2-9]\\d{6})$","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"33622\\d{5}|(?:7\\d|80)\\d{8}",,,,,,,[10],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,,[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998"],[,,"800\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,"751\\d{7}",,,,"7511234567"],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[239]\\d|5[24-9]|7[6-8])|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1|([2-8]\\d{6})$","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"90\\d{5}|(?:[2378]|6\\d\\d)\\d{6}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:4(?:69|[7-9]\\d)|5[0-4]\\d|6(?:[024]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"80(?:02[28]|9\\d\\d)\\d\\d",,,,"8002222",,,[7]],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|(1001)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[01])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:(?:330|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0\\d|1[0-2]|6[1267]|7[0-57]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-489]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0|([24-9]\\d{6})$","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[56])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[0-24578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|4(?:60\\d|747)|94(?:[01]\\d|2[0-4]))\\d{3}|7(?:[0-25-8]\\d|3[2-4]|42|9[23])\\d{5}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[239])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:[01][1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|920)\\d{5}|(?:5[05]|8[05689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-8]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"(?:28|[68]\\d)\\d{6}",,,,,,,[8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345"],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1|([2-9]\\d{6})$","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"(?:69|80)\\d{7}|(?:59|97)6\\d{6}",,,,,,,[9]],[,,"596(?:0[0-8]|10|2[7-9]|3[04-9]|[4-7]\\d|8[09]|9[4-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976(?:6\\d|7[0-367])\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1|([34]\\d{6})$","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2(?:0(?:[19]\\d|3[1-4]|6[059])|[1-357]\\d\\d)\\d{4}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[2-468]|5\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123"],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|5(?:2[5-9]|4[3-589]|[57]\\d|8[0-689]|9[0-8])\\d{5}",,,,"52512345",,,[8]],[,,"80[0-2]\\d{4}",,,,"8001234",,,[7]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["5"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024-68]|8[024689]))\\d{4}",,,,"6701234",,,[7]],[,,"46[46]\\d{4}|(?:7\\d|9[13-9])\\d{5}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[19]\\d|[23]1|77|88)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|88|9[89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"(?:1(?:[01467]\\d|[2359][1-9]|8[1-79])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[69]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0134]\\d|2[1-9]|5[0-6]))|(?:(?:[269]|59)\\d|[37][1-9]|4[235-9])\\d|8(?:1[23]|[236]\\d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[04]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|8(?:01|19)[01])\\d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[235]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[245]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2[0-27-9]\\d{7,8}|21\\d{6}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,"8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"(?:1505|90[1-9]\\d)\\d{4}|(?:7[1289]|9[1-9])\\d{6}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"8\\d{9}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[139])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[026-9])|3(?:[089]\\d|1[014-7]|2[0-5]|33|4[0-79]|55|6[068]|7[03-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[6-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6(?:[02-9]\\d|1[0-8])\\d|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4}(?:\\d(?:\\d{2})?)?",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[18])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]\\d|4[2-9]|6[0-35-9]|8[189]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"211(?:1\\d|3[1-5])\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"(?:[45]|80\\d\\d)\\d{5}",,,,,,,[6,9]],[,,"(?:4[1-3]|50)\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[05])\\d{4}",,,,"551234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6[0356]92(?:30|9\\d)\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70(?:7\\d|8[17])\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-7]\\d{7}|(?:2\\d\\d|800)\\d{4}",,,,,,,[7,8]],[,,"4141\\d{4}|(?:23|4[04])\\d{6}",,,,"44123456",,,[8]],[,,"(?:28|[35-7]\\d)\\d{6}",,,,"33123456",,,[8]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"9769\\d{5}|(?:26|[68]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|30[0-5])\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769\\d)\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,"26[23]|69|[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[237]\\d|[89]0)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7[01]20\\d{5}|7(?:0[013-9]|1[01]|[2-7]\\d|8[03-8]|9[019])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"[347-9]\\d{9}",,,,,,,[10],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,,[7]],[,,"9\\d{9}",,,,"9123456789"],[,,"80[04]\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"],"8 ($1)",,1]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"],"8 ($1)",,1]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[2389]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"8000\\d{3}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[1-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"(?:8(?:0(?:[13]\\d|2[013-9]|4[01])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-2]))|9[0-8]\\d\\d)\\d{4}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-4]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:1\\d|55|[67]0)\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-489])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d{4}|93330)\\d{4}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:[06-8]\\d|21|5[4-7]|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"93330\\d{4}|3(?:392|9[01]\\d)\\d{5}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"28\\d{5}|(?:6[1-9]|79)\\d{6,7}|(?:15|24|(?:3[59]|4[89]|8[08])\\d|60|7[1-8]|9(?:0\\d|[2-9]))\\d{6}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[1-35-9]|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}",,,,"21234567",,,[8]],[,,"66(?:[02-9]\\d\\d|1(?:[02-9]\\d|16))\\d{3}|(?:6[0-57-9]|7\\d)\\d{6}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1|(5\\d{6})$","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-589]\\d|6[02-9])\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1|([2-479]\\d{6})$","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[09]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{9}|[1689]\\d{8}|[1-57]\\d{7}",,,,,,,[8,9,10]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-3]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:00|11|[2-57-9]\\d)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"41[18]\\d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810","8",,,"8",,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"],,,1],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],,,1],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"],,,1],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02-57-9]|11"],,,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[56]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,"55[04]\\d{4}",,,,"5501234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[1-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:0[13]|1[89]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1|([2-46-8]\\d{6})$","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[26-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[1-9]|7[1-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:(?:24|81)0|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[0147]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"7260\\d{5}|7(?:[0157-9]\\d|[26]0|36|4[0-4])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"4\\d{9}|[249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2\\d|4[2-7])\\d{6}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"(?:4\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234",,,[7,10]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[24]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:33|55|[679]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:33|88|9[0-57-9])\\d{3}|55(?:50[13]|90\\d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?:5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1|([2-7]\\d{6})$","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284496[0-5]\\d{3}|284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284496[6-9]\\d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1|([2-578]\\d{6})$","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[12]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[12]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1|([2-9]\\d{6})$","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|8[2-79]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[689]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"80\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[67]|5[0-3]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[267]\\d|3[09]|[45]0|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"(?:63|80)0\\d{6}|(?:21|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[679]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"630\\d{6}",,,,"630012345"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["4"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"210\\d{7}|51\\d{7}(?:\\d{3})?",,,,,,,[9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210|51[013]0\\d)\\d{7}|5100\\d{5}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["5"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]},i18n.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil),i18n.phonenumbers.Error={INVALID_COUNTRY_CODE:"Invalid country calling code",NOT_A_NUMBER:"The string supplied did not seem to be a phone number",TOO_SHORT_AFTER_IDD:"Phone number too short after IDD",TOO_SHORT_NSN:"The string supplied is too short to be a phone number",TOO_LONG:"The string supplied is too long to be a phone number"},i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3,i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_="ZZ",i18n.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_="3",i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={54:"9"},i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55],i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN="+",i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_="*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=";ext=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_="tel:",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=";phone-context=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=";isub=",i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"},i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":"*","#":"#"},i18n.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",a:"A",b:"B",c:"C",d:"D",e:"E",f:"F",g:"G",h:"H",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z","-":"-","\uff0d":"-","\u2010":"-","\u2011":"-","\u2012":"-","\u2013":"-","\u2014":"-","\u2015":"-","\u2212":"-","/":"/","\uff0f":"/"," ":" ","\u3000":" ","\u2060":" ",".":".","\uff0e":"."},i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION="-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \xa0\xad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e",i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_="A-Za-z",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_="+\uff0b",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]+",i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=new RegExp("(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"])"),i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=new RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"),i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/,i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=new RegExp("[^"+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"#]+$"),i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+"}",i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_="["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]*(?:["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+"]*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]){3,}["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]*",i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=" ext. ",i18n.phonenumbers.PhoneNumberUtil.extnDigits_=function(t){return"(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,"+t+"})"},i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_=function(){return i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"|[ \xa0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"#?|[ \xa0\\t,]*(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?|[- ]+"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("6")+"#|[ \xa0\\t]*(?:,{2}|;)[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("15")+"#?|[ \xa0\\t]*(?:,)+[:\\.\uff0e]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?"},i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=new RegExp("(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")$","i"),i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+"$|^"+i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+"(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")?$","i"),i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/,i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/,i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/,i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/,i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY="001",i18n.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3},i18n.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1},i18n.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4},i18n.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,INVALID_LENGTH:5,TOO_LONG:3},i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(t){var e=t.search(i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return 0<=e?0<=(e=(t=(t=t.substring(e)).replace(i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,"")).search(i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_))&&(t=t.substring(0,e)):t="",t},i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(t){return!(t.length<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,t)},i18n.phonenumbers.PhoneNumberUtil.normalize=function(t){return i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,t)?i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(t)},i18n.phonenumbers.PhoneNumberUtil.normalizeSB_=function(t){var e=i18n.phonenumbers.PhoneNumberUtil.normalize(t.toString());t.clear(),t.append(e)},i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(t){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)},i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly=function(t){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t,i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)},i18n.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(t){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(t,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(t){var e=this.getMetadataForRegion(this.getRegionCodeForNumber(t));return null!=e&&(e.hasNationalPrefix()||t.hasItalianLeadingZero())&&this.isNumberGeographical(t)?this.getLengthOfNationalDestinationCode(t):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(t){if(t.hasExtension()){var e=t.clone();e.clearExtension()}else e=t;return 0==(e=this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_))[0].length&&e.shift(),2>=e.length?0:this.getNumberType(t)==i18n.phonenumbers.PhoneNumberType.MOBILE&&""!=(t=i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken(t.getCountryCodeOrDefault()))?e[2].length+t.length:e[1].length},i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(t){return i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[t]||""},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return module$contents$goog$array_filter(Object.keys(i18n.phonenumbers.metadata.countryToMetadata),(function(t){return isNaN(t)}))},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){var t=module$contents$goog$array_filter(Object.keys(i18n.phonenumbers.metadata.countryToMetadata),(function(t){return!isNaN(t)}));return module$contents$goog$array_map(t,(function(t){return parseInt(t,10)}))},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedCallingCodes=function(){var t=Object.keys(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap);return module$contents$goog$array_join(this.getSupportedGlobalNetworkCallingCodes(),module$contents$goog$array_map(t,(function(t){return parseInt(t,10)})))},i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_=function(t){return null!=t&&(1!=t.possibleLengthCount()||-1!=t.possibleLengthArray()[0])},i18n.phonenumbers.PhoneNumberUtil.descHasData_=function(t){return null!=t&&(t.hasExampleNumber()||i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(t)||t.hasNationalNumberPattern())},i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_=function(t){var e=[];return goog.object.forEach(i18n.phonenumbers.PhoneNumberType,(function(n){if(n!=i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE&&n!=i18n.phonenumbers.PhoneNumberType.UNKNOWN){var r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,n);i18n.phonenumbers.PhoneNumberUtil.descHasData_(r)&&e.push(n)}})),e},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForRegion=function(t){return this.isValidRegionCode_(t)?i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(this.getMetadataForRegion(t)):[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForNonGeoEntity=function(t){return null==(t=this.getMetadataForNonGeographicalRegion(t))?[]:i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(t)},i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(t,e,n){for(var r,i,o=new goog.string.StringBuffer,a=t.length,u=0;u<a;++u)null!=(i=e[(r=t.charAt(u)).toUpperCase()])?o.append(i):n||o.append(r);return o.toString()},i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(t){return 0==t.length||i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(t){var e=this.getNumberType(t);return e==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||e==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||module$contents$goog$array_contains(i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_,t.getCountryCodeOrDefault())&&e==i18n.phonenumbers.PhoneNumberType.MOBILE},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(t){return null!=t&&isNaN(t)&&t.toUpperCase()in i18n.phonenumbers.metadata.countryToMetadata},i18n.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(t){return t in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap},i18n.phonenumbers.PhoneNumberUtil.prototype.format=function(t,e){if(0==t.getNationalNumber()&&t.hasRawInput()){var n=t.getRawInputOrDefault();if(0<n.length)return n}n=t.getCountryCodeOrDefault();var r=this.getNationalSignificantNumber(t);if(e==i18n.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.E164,r,"");if(!this.hasValidCountryCallingCode_(n))return r;var i=this.getRegionCodeForCountryCode(n);return i=this.getMetadataForRegionOrCallingCode_(n,i),t=this.maybeGetFormattedExtension_(t,i,e),r=this.formatNsn_(r,i,e),this.prefixNumberWithCountryCallingCode_(n,e,r,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(t,e,n){var r=t.getCountryCodeOrDefault(),i=this.getNationalSignificantNumber(t);if(!this.hasValidCountryCallingCode_(r))return i;var o=this.getRegionCodeForCountryCode(r);o=this.getMetadataForRegionOrCallingCode_(r,o);var a=this.chooseFormattingPatternForNumber_(n,i);if(null!=a){if(n=a.clone(),0<(a=a.getNationalPrefixFormattingRuleOrDefault()).length){var u=o.getNationalPrefixOrDefault();0<u.length?(a=a.replace(i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_,u).replace(i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_,"$1"),n.setNationalPrefixFormattingRule(a)):n.clearNationalPrefixFormattingRule()}i=this.formatNsnUsingPattern_(i,n,e)}return t=this.maybeGetFormattedExtension_(t,o,e),this.prefixNumberWithCountryCallingCode_(r,e,i,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(t,e){var n=t.getCountryCodeOrDefault(),r=this.getNationalSignificantNumber(t);if(!this.hasValidCountryCallingCode_(n))return r;var i=this.getRegionCodeForCountryCode(n);return i=this.getMetadataForRegionOrCallingCode_(n,i),t=this.maybeGetFormattedExtension_(t,i,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),e=this.formatNsn_(r,i,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,e),this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(t,e){return i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==e?this.getMetadataForNonGeographicalRegion(t):this.getMetadataForRegion(e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(t,e){return this.formatNationalNumberWithCarrierCode(t,0<t.getPreferredDomesticCarrierCodeOrDefault().length?t.getPreferredDomesticCarrierCodeOrDefault():e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(t,e,n){var r=t.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(r))return t.hasRawInput()?t.getRawInputOrDefault():"";var i="";(t=t.clone()).clearExtension();var o=this.getRegionCodeForCountryCode(r),a=this.getNumberType(t),u=a!=i18n.phonenumbers.PhoneNumberType.UNKNOWN;if(e==o)i=a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||a==i18n.phonenumbers.PhoneNumberType.MOBILE||a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,"CO"==o&&a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE?i=this.formatNationalNumberWithCarrierCode(t,i18n.phonenumbers.PhoneNumberUtil.COLOMBIA_MOBILE_TO_FIXED_LINE_PREFIX_):"BR"==o&&i?i=0<t.getPreferredDomesticCarrierCodeOrDefault().length?this.formatNationalNumberWithPreferredCarrierCode(t,""):"":r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(e=this.getMetadataForRegion(e),i=this.canBeInternationallyDialled(t)&&this.testNumberLength_(this.getNationalSignificantNumber(t),e)!=i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT?this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)):i=(o==i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||("MX"==o||"CL"==o||"UZ"==o)&&i)&&this.canBeInternationallyDialled(t)?this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);else if(u&&this.canBeInternationallyDialled(t))return n?this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(t,i18n.phonenumbers.PhoneNumberFormat.E164);return n?i:i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(i)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(t,e){if(!this.isValidRegionCode_(e))return this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);var n=t.getCountryCodeOrDefault(),r=this.getNationalSignificantNumber(t);if(!this.hasValidCountryCallingCode_(n))return r;if(n==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(e))return n+" "+this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(n==this.getCountryCodeForValidRegion_(e))return this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);var i=this.getMetadataForRegion(e),o=i.getInternationalPrefixOrDefault();return e="",i.hasPreferredInternationalPrefix()?e=i.getPreferredInternationalPrefixOrDefault():i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,o)&&(e=o),i=this.getRegionCodeForCountryCode(n),i=this.getMetadataForRegionOrCallingCode_(n,i),r=this.formatNsn_(r,i,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),t=this.maybeGetFormattedExtension_(t,i,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<e.length?e+" "+n+" "+r+t:this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,r,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(t,e){if(t.hasRawInput()&&!this.hasFormattingPatternForNumber_(t))return t.getRawInputOrDefault();if(!t.hasCountryCodeSource())return this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);switch(t.getCountryCodeSource()){case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:e=this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:e=this.formatOutOfCountryCallingNumber(t,e);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:e=this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:var n=this.getRegionCodeForCountryCode(t.getCountryCodeOrDefault()),r=this.getNddPrefixForRegion(n,!0);if(e=this.format(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),null!=r&&0!=r.length&&!this.rawInputContainsNationalPrefix_(t.getRawInputOrDefault(),r,n)&&(n=this.getMetadataForRegion(n),r=this.getNationalSignificantNumber(t),null!=(n=this.chooseFormattingPatternForNumber_(n.numberFormatArray(),r)))){var i=(r=n.getNationalPrefixFormattingRuleOrDefault()).indexOf("$1");0>=i||(r=r.substring(0,i),0!=(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r)).length&&((e=n.clone()).clearNationalPrefixFormattingRule(),e=this.formatByPattern(t,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,[e])))}}return t=t.getRawInputOrDefault(),null!=e&&0<t.length&&(n=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(e))!=(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(t))&&(e=t),e},i18n.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(t,e,n){if(t=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(t),goog.string.startsWith(t,e))try{return this.isValidNumber(this.parse(t.substring(e.length),n))}catch(r){}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(t){var e=t.getCountryCodeOrDefault(),n=this.getRegionCodeForCountryCode(e);return null!=(e=this.getMetadataForRegionOrCallingCode_(e,n))&&(t=this.getNationalSignificantNumber(t),null!=this.chooseFormattingPatternForNumber_(e.numberFormatArray(),t))},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(t,e){var n=t.getRawInputOrDefault();if(0==n.length)return this.formatOutOfCountryCallingNumber(t,e);var r=t.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(r))return n;n=i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(n,i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0);var i=this.getNationalSignificantNumber(t);if(3<i.length){var o=n.indexOf(i.substring(0,3));-1!=o&&(n=n.substring(o))}if(o=this.getMetadataForRegion(e),r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(e))return r+" "+n}else if(null!=o&&r==this.getCountryCodeForValidRegion_(e))return null==(r=this.chooseFormattingPatternForNumber_(o.numberFormatArray(),i))?n:((r=r.clone()).setPattern("(\\d+)(.*)"),r.setFormat("$1$2"),this.formatNsnUsingPattern_(n,r,i18n.phonenumbers.PhoneNumberFormat.NATIONAL));return e="",null!=o&&(e=o.getInternationalPrefixOrDefault(),e=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,e)?e:o.getPreferredInternationalPrefixOrDefault()),o=this.getRegionCodeForCountryCode(r),o=this.getMetadataForRegionOrCallingCode_(r,o),t=this.maybeGetFormattedExtension_(t,o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<e.length?e+" "+r+" "+n+t:this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,n,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(t){if(!t.hasNationalNumber())return"";var e=""+t.getNationalNumber();return t.hasItalianLeadingZero()&&t.getItalianLeadingZero()&&0<t.getNumberOfLeadingZerosOrDefault()?Array(t.getNumberOfLeadingZerosOrDefault()+1).join("0")+e:e},i18n.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(t,e,n,r){switch(e){case i18n.phonenumbers.PhoneNumberFormat.E164:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t+n+r;case i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t+" "+n+r;case i18n.phonenumbers.PhoneNumberFormat.RFC3966:return i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+t+"-"+n+r;default:return n+r}},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(t,e,n,r){return e=0==e.intlNumberFormatArray().length||n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL?e.numberFormatArray():e.intlNumberFormatArray(),null==(e=this.chooseFormattingPatternForNumber_(e,t))?t:this.formatNsnUsingPattern_(t,e,n,r)},i18n.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(t,e){for(var n,r=t.length,i=0;i<r;++i){var o=(n=t[i]).leadingDigitsPatternCount();if((0==o||0==e.search(n.getLeadingDigitsPattern(o-1)))&&(o=new RegExp(n.getPattern()),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o,e)))return n}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(t,e,n,r){var i=e.getFormatOrDefault(),o=new RegExp(e.getPattern()),a=e.getDomesticCarrierCodeFormattingRuleOrDefault();return n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=r&&0<r.length&&0<a.length?(e=a.replace(i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_,r),i=i.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,e),t=t.replace(o,i)):(e=e.getNationalPrefixFormattingRuleOrDefault(),t=n==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=e&&0<e.length?t.replace(o,i.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,e)):t.replace(o,i)),n==i18n.phonenumbers.PhoneNumberFormat.RFC3966&&(t=(t=t.replace(new RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),"")).replace(new RegExp(i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,"g"),"-")),t},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(t){return this.getExampleNumberForType(t,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(t,e){if(!this.isValidRegionCode_(t))return null;e=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(this.getMetadataForRegion(t),e);try{if(e.hasExampleNumber())return this.parse(e.getExampleNumber(),t)}catch(n){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(t){var e=this.getMetadataForNonGeographicalRegion(t);if(null!=e&&null!=(e=module$contents$goog$array_find([e.getMobile(),e.getTollFree(),e.getSharedCost(),e.getVoip(),e.getVoicemail(),e.getUan(),e.getPremiumRate()],(function(t,e){return t.hasExampleNumber()}))))try{return this.parse("+"+t+e.getExampleNumber(),"ZZ")}catch(n){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(t,e,n){return t.hasExtension()&&0!=t.getExtension().length?n==i18n.phonenumbers.PhoneNumberFormat.RFC3966?i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+t.getExtension():e.hasPreferredExtnPrefix()?e.getPreferredExtnPrefix()+t.getExtensionOrDefault():i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+t.getExtensionOrDefault():""},i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_=function(t,e){switch(e){case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:return t.getPremiumRate();case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:return t.getTollFree();case i18n.phonenumbers.PhoneNumberType.MOBILE:return t.getMobile();case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return t.getFixedLine();case i18n.phonenumbers.PhoneNumberType.SHARED_COST:return t.getSharedCost();case i18n.phonenumbers.PhoneNumberType.VOIP:return t.getVoip();case i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return t.getPersonalNumber();case i18n.phonenumbers.PhoneNumberType.PAGER:return t.getPager();case i18n.phonenumbers.PhoneNumberType.UAN:return t.getUan();case i18n.phonenumbers.PhoneNumberType.VOICEMAIL:return t.getVoicemail();default:return t.getGeneralDesc()}},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(t){var e=this.getRegionCodeForNumber(t);return null==(e=this.getMetadataForRegionOrCallingCode_(t.getCountryCodeOrDefault(),e))?i18n.phonenumbers.PhoneNumberType.UNKNOWN:(t=this.getNationalSignificantNumber(t),this.getNumberTypeHelper_(t,e))},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(t,e){return this.isNumberMatchingDesc_(t,e.getGeneralDesc())?this.isNumberMatchingDesc_(t,e.getPremiumRate())?i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(t,e.getTollFree())?i18n.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(t,e.getSharedCost())?i18n.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(t,e.getVoip())?i18n.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(t,e.getPersonalNumber())?i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(t,e.getPager())?i18n.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(t,e.getUan())?i18n.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(t,e.getVoicemail())?i18n.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(t,e.getFixedLine())?e.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(t,e.getMobile())?i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:i18n.phonenumbers.PhoneNumberType.FIXED_LINE:!e.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(t,e.getMobile())?i18n.phonenumbers.PhoneNumberType.MOBILE:i18n.phonenumbers.PhoneNumberType.UNKNOWN:i18n.phonenumbers.PhoneNumberType.UNKNOWN},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(t){if(null==t)return null;t=t.toUpperCase();var e=this.regionToMetadataMap[t];if(null==e){e=new goog.proto2.PbLiteSerializer;var n=i18n.phonenumbers.metadata.countryToMetadata[t];if(null==n)return null;e=e.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),n),this.regionToMetadataMap[t]=e}return e},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(t){return this.getMetadataForRegion(""+t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(t,e){var n=t.length;return!(0<e.possibleLengthCount()&&-1==module$contents$goog$array_indexOf(e.possibleLengthArray(),n))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(e.getNationalNumberPatternOrDefault(),t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(t){var e=this.getRegionCodeForNumber(t);return this.isValidNumberForRegion(t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(t,e){var n=t.getCountryCodeOrDefault(),r=this.getMetadataForRegionOrCallingCode_(n,e);return null!=r&&(i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==e||n==this.getCountryCodeForValidRegion_(e))&&(t=this.getNationalSignificantNumber(t),this.getNumberTypeHelper_(t,r)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(t){if(null==t)return null;var e=t.getCountryCodeOrDefault();return null==(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?null:1==e.length?e[0]:this.getRegionCodeForNumberFromRegionList_(t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(t,e){t=this.getNationalSignificantNumber(t);for(var n,r=e.length,i=0;i<r;i++){n=e[i];var o=this.getMetadataForRegion(n);if(o.hasLeadingDigits()){if(0==t.search(o.getLeadingDigits()))return n}else if(this.getNumberTypeHelper_(t,o)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)return n}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(t){return null==(t=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t])?i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:t[0]},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(t){return null==(t=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t])?[]:t},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(t){return this.isValidRegionCode_(t)?this.getCountryCodeForValidRegion_(t):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(t){var e=this.getMetadataForRegion(t);if(null==e)throw Error("Invalid region code: "+t);return e.getCountryCodeOrDefault()},i18n.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(t,e){return null==(t=this.getMetadataForRegion(t))||0==(t=t.getNationalPrefixOrDefault()).length?null:(e&&(t=t.replace("~","")),t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(t){return null!=t&&module$contents$goog$array_contains(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_],t.toUpperCase())},i18n.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(t){return!!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(t)&&(t=new goog.string.StringBuffer(t),this.maybeStripExtension(t),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,t.toString()))},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(t){return(t=this.isPossibleNumberWithReason(t))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||t==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForType=function(t,e){return(t=this.isPossibleNumberForTypeWithReason(t,e))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||t==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLength_=function(t,e){return this.testNumberLengthForType_(t,e,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthForType_=function(t,e,n){var r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(e,n),i=0==r.possibleLengthCount()?e.getGeneralDesc().possibleLengthArray():r.possibleLengthArray();if(r=r.possibleLengthLocalOnlyArray(),n==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE){if(!i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(e,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)))return this.testNumberLengthForType_(t,e,i18n.phonenumbers.PhoneNumberType.MOBILE);n=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(e,i18n.phonenumbers.PhoneNumberType.MOBILE),i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(n)&&(module$contents$goog$array_sort(i=i.concat(0==n.possibleLengthCount()?e.getGeneralDesc().possibleLengthArray():n.possibleLengthArray())),0==r.length?r=n.possibleLengthLocalOnlyArray():module$contents$goog$array_sort(r=r.concat(n.possibleLengthLocalOnlyArray())))}return-1==i[0]?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH:(t=t.length,-1<module$contents$goog$array_indexOf(r,t)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY:(e=i[0])==t?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:e>t?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT:i[i.length-1]<t?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:-1<module$contents$goog$array_indexOf(i,t,1)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(t){return this.isPossibleNumberForTypeWithReason(t,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForTypeWithReason=function(t,e){var n=this.getNationalSignificantNumber(t);if(t=t.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(t))return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE;var r=this.getRegionCodeForCountryCode(t);return t=this.getMetadataForRegionOrCallingCode_(t,r),this.testNumberLengthForType_(n,t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(t,e){try{return this.isPossibleNumber(this.parse(t,e))}catch(n){return!1}},i18n.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(t){if(this.isValidNumber(t))return!0;var e=t.clone(),n=t.getNationalNumberOrDefault();do{if(n=Math.floor(n/10),e.setNationalNumber(n),0==n||this.isPossibleNumberWithReason(e)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1}while(!this.isValidNumber(e));return t.setNationalNumber(n),!0},i18n.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(t,e){if(0==(t=t.toString()).length||"0"==t.charAt(0))return 0;for(var n,r=t.length,i=1;i<=i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&i<=r;++i)if((n=parseInt(t.substring(0,i),10))in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap)return e.append(t.substring(i)),n;return 0},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(t,e,n,r,i){if(0==t.length)return 0;var o;if(t=new goog.string.StringBuffer(t),null!=e&&(o=e.getInternationalPrefix()),null==o&&(o="NonMatch"),o=this.maybeStripInternationalPrefixAndNormalize(t,o),r&&i.setCountryCodeSource(o),o!=i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(t.getLength()<=i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(0!=(e=this.extractCountryCode(t,n)))return i.setCountryCode(e),e;throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)}if(null!=e){var a=""+(o=e.getCountryCodeOrDefault()),u=t.toString();if(goog.string.startsWith(u,a)&&(a=new goog.string.StringBuffer(u.substring(a.length)),u=e.getGeneralDesc(),u=new RegExp(u.getNationalNumberPatternOrDefault()),this.maybeStripNationalPrefixAndCarrierCode(a,e,null),a=a.toString(),!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(u,t.toString())&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(u,a)||this.testNumberLength_(t.toString(),e)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG))return n.append(a),r&&i.setCountryCodeSource(i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),i.setCountryCode(o),o}return i.setCountryCode(0),0},i18n.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(t,e){var n=e.toString();if(0==n.search(t)){t=n.match(t)[0].length;var r=n.substring(t).match(i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN);return!(r&&null!=r[1]&&0<r[1].length&&"0"==i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r[1]))&&(e.clear(),e.append(n.substring(t)),!0)}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(t,e){var n=t.toString();return 0==n.length?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(n)?(n=n.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),t.clear(),t.append(i18n.phonenumbers.PhoneNumberUtil.normalize(n)),i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(e=new RegExp(e),i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(t),this.parsePrefixAsIdd_(e,t)?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(t,e,n){var r=t.toString(),i=r.length,o=e.getNationalPrefixForParsing();if(0==i||null==o||0==o.length)return!1;var a=new RegExp("^(?:"+o+")");if(i=a.exec(r)){o=new RegExp(e.getGeneralDesc().getNationalNumberPatternOrDefault());var u=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o,r),s=i.length-1;if(null==(e=e.getNationalPrefixTransformRule())||0==e.length||null==i[s]||0==i[s].length){if(u&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o,r.substring(i[0].length)))return!1;null!=n&&0<s&&null!=i[s]&&n.append(i[1]),t.set(r.substring(i[0].length))}else{if(r=r.replace(a,e),u&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(o,r))return!1;null!=n&&0<s&&n.append(i[1]),t.set(r)}return!0}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(t){var e=t.toString(),n=e.search(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(0<=n&&i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(e.substring(0,n)))for(var r=e.match(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),i=r.length,o=1;o<i;++o)if(null!=r[o]&&0<r[o].length)return t.clear(),t.append(e.substring(0,n)),r[o];return""},i18n.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(t,e){return this.isValidRegionCode_(e)||null!=t&&0<t.length&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(t)},i18n.phonenumbers.PhoneNumberUtil.prototype.parse=function(t,e){return this.parseHelper_(t,e,!1,!0)},i18n.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(t,e){if(!this.isValidRegionCode_(e)&&0<t.length&&t.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(t,e,!0,!0)},i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_=function(t,e){if(1<t.length&&"0"==t.charAt(0)){e.setItalianLeadingZero(!0);for(var n=1;n<t.length-1&&"0"==t.charAt(n);)n++;1!=n&&e.setNumberOfLeadingZeros(n)}},i18n.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(t,e,n,r){if(null==t)throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(t.length>i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(i18n.phonenumbers.Error.TOO_LONG);var i=new goog.string.StringBuffer;if(this.buildNationalNumberForParsing_(t,i),!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(i.toString()))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(r&&!this.checkRegionForParsing_(i.toString(),e))throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);r=new i18n.phonenumbers.PhoneNumber,n&&r.setRawInput(t),0<(t=this.maybeStripExtension(i)).length&&r.setExtension(t);var o=this.getMetadataForRegion(e);t=new goog.string.StringBuffer;var a=0,u=i.toString();try{a=this.maybeExtractCountryCode(u,o,t,n,r)}catch(s){if(s.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE||!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(u))throw s;if(u=u.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),0==(a=this.maybeExtractCountryCode(u,o,t,n,r)))throw s}if(0!=a?(i=this.getRegionCodeForCountryCode(a))!=e&&(o=this.getMetadataForRegionOrCallingCode_(a,i)):(i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(i),t.append(i.toString()),null!=e?(a=o.getCountryCodeOrDefault(),r.setCountryCode(a)):n&&r.clearCountryCodeSource()),t.getLength()<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(null!=o&&(e=new goog.string.StringBuffer,i=new goog.string.StringBuffer(t.toString()),this.maybeStripNationalPrefixAndCarrierCode(i,o,e),(o=this.testNumberLength_(i.toString(),o))!=(a=i18n.phonenumbers.PhoneNumberUtil.ValidationResult).TOO_SHORT&&o!=a.IS_POSSIBLE_LOCAL_ONLY&&o!=a.INVALID_LENGTH&&(t=i,n&&0<e.toString().length&&r.setPreferredDomesticCarrierCode(e.toString()))),n=t.toString(),(t=n.length)<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(t>i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_LONG);return i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_(n,r),r.setNationalNumber(parseInt(n,10)),r},i18n.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(t,e){var n=t.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);if(0<=n){var r=n+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length;if(t.charAt(r)==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var i=t.indexOf(";",r);0<i?e.append(t.substring(r,i)):e.append(t.substring(r))}r=t.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_),e.append(t.substring(0<=r?r+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0,n))}else e.append(i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(t));0<(n=(t=e.toString()).indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_))&&(e.clear(),e.append(t.substring(0,n)))},i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_=function(t){var e=new i18n.phonenumbers.PhoneNumber;return e.setCountryCode(t.getCountryCodeOrDefault()),e.setNationalNumber(t.getNationalNumberOrDefault()),0<t.getExtensionOrDefault().length&&e.setExtension(t.getExtensionOrDefault()),t.getItalianLeadingZero()&&(e.setItalianLeadingZero(!0),e.setNumberOfLeadingZeros(t.getNumberOfLeadingZerosOrDefault())),e},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(t,e){if("string"==typeof t)try{var n=this.parse(t,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(f){if(f.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if("string"!=typeof e){var r=this.getRegionCodeForCountryCode(e.getCountryCodeOrDefault());if(r!=i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_){try{n=this.parse(t,r)}catch(o){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}var i=this.isNumberMatch(n,e);return i==i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:i}}try{n=this.parseHelper_(t,null,!1,!1)}catch(o){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else n=t.clone();if("string"==typeof e)try{return i=this.parse(e,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(t,i)}catch(f){return f.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE?i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER:this.isNumberMatch(e,n)}else i=e.clone();return t=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(n),i=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(i),t.hasExtension()&&i.hasExtension()&&t.getExtension()!=i.getExtension()?i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(e=t.getCountryCodeOrDefault(),n=i.getCountryCodeOrDefault(),0!=e&&0!=n?t.equals(i)?i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:e==n&&this.isNationalNumberSuffixOfTheOther_(t,i)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(t.setCountryCode(0),i.setCountryCode(0),t.equals(i)?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(t,i)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH))},i18n.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(t,e){return t=""+t.getNationalNumber(),e=""+e.getNationalNumber(),goog.string.endsWith(t,e)||goog.string.endsWith(e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(t){var e=this.getMetadataForRegion(this.getRegionCodeForNumber(t));return null==e||(t=this.getNationalSignificantNumber(t),!this.isNumberMatchingDesc_(t,e.getNoInternationalDialling()))},i18n.phonenumbers.PhoneNumberUtil.matchesEntirely=function(t,e){return!(!(t="string"==typeof t?e.match("^(?:"+t+")$"):e.match(t))||t[0].length!=e.length)},i18n.phonenumbers.PhoneNumberUtil.matchesPrefix=function(t,e){return!(!(t="string"==typeof t?e.match("^(?:"+t+")"):e.match(t))||!goog.string.startsWith(e,t[0]))},i18n.phonenumbers.shortnumbermetadata={},i18n.phonenumbers.shortnumbermetadata.countryCodeToRegionCodeMap={0:"AC AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TG TH TJ TL TM TN TO TR TT TV TW TZ UA UG US UY UZ VA VC VE VG VI VN VU WF WS XK YE YT ZA ZM ZW".split(" ")},i18n.phonenumbers.shortnumbermetadata.countryToMetadata={AC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AD:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],,,,"AD",,,,,,,,,,,,,,,,,,[,,"11[0268]",,,,"110"],,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AE:[,[,,"[149]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|99[7-9]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AE",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"112|445[16]|99[7-9]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"445\\d",,,,"4450",,,[4]]],AF:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"AF",,,,,,,,,,,,,,,,,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],,[,,"1(?:0[02]|19)|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AG:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"176|9(?:11|99)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AI:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"AI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AL:[,[,,"[15]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6[01]\\d\\d)|2[7-9]|3[15]|41)",,,,"112",,,[3,6]],[,,"5\\d{4}",,,,"50000",,,[5]],,,,"AL",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[7-9])",,,,"112",,,[3]],,[,,"1(?:1(?:6(?:000|1(?:06|11|23))|8\\d\\d)|65\\d|89[12])|5\\d{4}|1(?:[1349]\\d|2[2-9])",,,,"110"],[,,,,,,,,,[-1]],[,,"123",,,,"123",,,[3]],,[,,"131|5\\d{4}",,,,"131",,,[3,5]]],AM:[,[,,"[148]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AM",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"(?:1|8[1-7])\\d\\d|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AO:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],,,,"AO",,,,,,,,,,,,,,,,,,[,,"11[235]",,,,"112"],,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AR:[,[,,"[01389]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"000|1(?:0[0-35-7]|1[0245]|2[015]|3[47]|4[478]|9)|911",,,,"19",,,[2,3]],[,,,,,,,,,[-1]],,,,"AR",,,,,,,,,,,,,,,,,,[,,"10[017]|911",,,,"100",,,[3]],,[,,"000|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478]|9)|3372|89338|911",,,,"19"],[,,,,,,,,,[-1]],[,,"893\\d\\d",,,,"89300",,,[5]],,[,,"(?:337|893\\d)\\d",,,,"3370",,,[4,5]]],AS:[,[,,"[49]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"911",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"AS",,,,,,,,,,,,,,,,,,[,,"911",,,,"911",,,[3]],,[,,"40404|911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"116\\d{3}|1(?:[12]2|33|44)",,,,"112"],[,,,,,,,,,[-1]],,,,"AT",,,,,,,,,,,,,,,,,,[,,"1(?:[12]2|33|44)",,,,"112",,,[3]],,[,,"116(?:00[06]|1(?:17|23))|1(?:[12]2|33|44)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AU:[,[,,"[0-27]\\d{2,7}",,,,,,,[3,4,5,6,7,8]],,,[,,"000|1(?:06|12|258885|55\\d)|733",,,,"000",,,[3,4,7]],[,,"1(?:2(?:34|456)|9\\d{4,6})",,,,"1234",,,[4,5,6,7,8]],,,,"AU",,,,,,,,,,,,,,,,,,[,,"000|1(?:06|12)",,,,"000",,,[3]],,[,,"000|1(?:06|1(?:00|2|9[46])|2(?:014[1-3]|[23]\\d|(?:4|5\\d)\\d{2,3}|68[689]|72(?:20|3\\d\\d)|8(?:[013-9]\\d|2))|555|9\\d{4,6})|225|7(?:33|67)",,,,"000"],[,,"1(?:1[09]\\d|24733)|225|767",,,,"225",,,[3,4,6]],[,,"1(?:258885|55\\d)",,,,"1550",,,[4,7]],,[,,"19\\d{4,6}",,,,"190000",,,[6,7,8]]],AW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"100|911",,,,"100"],[,,,,,,,,,[-1]],,,,"AW",,,,,,,,,,,,,,,,,,[,,"100|911",,,,"100"],,[,,"1(?:00|18|76)|91[13]",,,,"100"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AX:[,[,,"[17]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AX",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"112|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AZ:[,[,,"[148]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-3]|12)|(?:404|880)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:404|880)\\d",,,,"4040",,,[4]],,[,,"(?:404|880)\\d",,,,"4040",,,[4]]],BA:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:16\\d{3}|2[2-4])",,,,"122",,,[3,6]],[,,,,,,,,,[-1]],,,,"BA",,,,,,,,,,,,,,,,,,[,,"12[2-4]",,,,"122",,,[3]],,[,,"1(?:16(?:00[06]|1(?:1[17]|23))|2(?:0[0-7]|[2-5]|6[0-26])|(?:[3-5]|7\\d)\\d\\d)|1(?:18|2[78])\\d\\d?",,,,"122"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BB:[,[,,"[2-689]\\d\\d",,,,,,,[3]],,,[,,"[2359]11",,,,"211"],[,,,,,,,,,[-1]],,,,"BB",,,,,,,,,,,,,,,,,,[,,"[2359]11",,,,"211"],,[,,"[2-689]11",,,,"211"],[,,,,,,,,,[-1]],[,,"[468]11",,,,"411"],,[,,,,,,,,,[-1]]],BD:[,[,,"[1579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[0-26]|[19]99",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"BD",,,,,,,,,,,,,,,,,,[,,"10[0-2]|[19]99",,,,"100",,,[3]],,[,,"1(?:0(?:[0-369]|5[1-4]|7[0-4]|8[0-29])|1[16-9]|2(?:[134]|2[0-5])|3(?:1\\d?|6[3-6])|5[2-9])|5012|786|9594|[19]99|1(?:0(?:50|6\\d)|33|4(?:0|1\\d))\\d",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:11|2[13])|(?:501|959)\\d|786",,,,"111",,,[3,4]],,[,,"959\\d",,,,"9590",,,[4]]],BE:[,[,,"[1-9]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:0[0-25-8]|1[02]|7(?:12|77)|813)|(?:116|8)\\d{3}",,,,"100"],[,,"1(?:2[03]|40)4|(?:1(?:[24]1|3[01])|[2-79]\\d\\d)\\d",,,,"1204",,,[4]],,,,"BE",,,,,,,,,,,,,,,,,,[,,"1(?:0[01]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-8]|1(?:[027]|6117)|2(?:12|3[0-24])|313|414|5(?:1[05]|5[15]|66|95)|6(?:1[167]|36|6[16])|7(?:[07][017]|1[27-9]|22|33|65)|81[39])|[2-9]\\d{3}|1(?:1600|45)0|1(?:[2-4]9|78)9|1[2-4]0[47]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"[2-9]\\d{3}",,,,"2000",,,[4]]],BF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"BF",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BG:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],,,,"BG",,,,,,,,,,,,,,,,,,[,,"1(?:12|50|6[06])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BH:[,[,,"[0189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:0[167]|81)\\d{3}|[19]99",,,,"199"],[,,"9[148]\\d{3}",,,,"91000",,,[5]],,,,"BH",,,,,,,,,,,,,,,,,,[,,"[19]99",,,,"199",,,[3]],,[,,"1(?:[02]\\d|12|4[01]|51|8[18]|9[169])|99[02489]|(?:0[167]|8[158]|9[148])\\d{3}",,,,"100"],[,,,,,,,,,[-1]],[,,"0[67]\\d{3}|88000|98555",,,,"06000",,,[5]],,[,,"88000|98555",,,,"88000",,,[5]]],BI:[,[,,"[16-9]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[237]|611",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"BI",,,,,,,,,,,,,,,,,,[,,"11[237]",,,,"112",,,[3]],,[,,"1(?:1\\d|5[2-9]|6[0-256])|611|7(?:10|77|979)|8[28]8|900",,,,"110"],[,,,,,,,,,[-1]],[,,"611|7(?:10|77)|888|900",,,,"611",,,[3]],,[,,"(?:71|90)0",,,,"710",,,[3]]],BJ:[,[,,"[17]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[78]|7[3-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],,,,"BJ",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117",,,[3]],,[,,"1(?:1[78]|2[02-5]|60)|7[0-5]\\d\\d",,,,"117"],[,,,,,,,,,[-1]],[,,"12[02-5]",,,,"120",,,[3]],,[,,,,,,,,,[-1]]],BL:[,[,,"1\\d",,,,,,,[2]],,,[,,"18",,,,"18"],[,,,,,,,,,[-1]],,,,"BL",,,,,,,,,,,,,,,,,,[,,"18",,,,"18"],,[,,"18",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"BM",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BN:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],,,,"BN",,,,,,,,,,,,,,,,,,[,,"99[135]",,,,"991"],,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BO:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BO",,,,,,,,,,,,,,,,,,[,,"11[089]",,,,"110",,,[3]],,[,,"11[089]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BQ:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"BQ",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BR:[,[,,"[1-69]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|12|28|8[015]|9[0-47-9])|4(?:57|82\\d)|911",,,,"100",,,[3,4]],[,,,,,,,,,[-1]],,,,"BR",,,,,,,,,,,,,,,,,,[,,"1(?:12|28|9[023])|911",,,,"112",,,[3]],,[,,"1(?:0(?:[02]|3(?:1[2-579]|2[13-9]|3[124-9]|4[1-3578]|5[1-468]|6[139]|8[149]|9[168])|5[0-35-9]|6(?:0|1[0-35-8]?|2[0145]|3[0137]?|4[37-9]?|5[0-35]|6[016]?|7[137]?|8[5-8]|9[1359]))|1[25-8]|2[357-9]|3[024-68]|4[12568]|5\\d|6[0-8]|8[015]|9[0-47-9])|2(?:7(?:330|878)|85959?)|(?:32|91)1|4(?:0404?|57|828)|55555|6(?:0\\d{4}|10000)|(?:133|411)[12]",,,,"100"],[,,"102|273\\d\\d|321",,,,"102",,,[3,5]],[,,"151|(?:278|555)\\d\\d|4(?:04\\d\\d?|11\\d|57)",,,,"151",,,[3,4,5]],,[,,"285\\d{2,3}|321|40404|(?:27[38]\\d|482)\\d|6(?:0\\d|10)\\d{3}",,,,"321"]],BS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"91[19]",,,,"911"],[,,,,,,,,,[-1]],,,,"BS",,,,,,,,,,,,,,,,,,[,,"91[19]",,,,"911"],,[,,"91[19]",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[023]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BT",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"11[0-6]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BW:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"BW",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],,[,,"1(?:1[26]|3123)|9(?:1[14]|9[1-57-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"131\\d\\d",,,,"13100",,,[5]],,[,,"131\\d\\d",,,,"13100",,,[5]]],BY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"BY",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-79]|1[246]|35|5[1-35]|6[89]|7[5-7]|8[58]|9[1-7])",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BZ:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:0|11)",,,,"90"],[,,,,,,,,,[-1]],,,,"BZ",,,,,,,,,,,,,,,,,,[,,"9(?:0|11)",,,,"90"],,[,,"9(?:0|11)",,,,"90"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CA:[,[,,"[1-9]\\d\\d(?:\\d\\d(?:\\d(?:\\d{2})?)?)?",,,,,,,[3,5,6,8]],,,[,,"112|[29]11",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CA",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"112|30000\\d{3}|[1-35-9]\\d{4,5}|[2-9]11",,,,"112"],[,,,,,,,,,[-1]],[,,"[235-7]11",,,,"211",,,[3]],,[,,"300\\d{5}|[1-35-9]\\d{4,5}",,,,"10000",,,[5,6,8]]],CC:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CC",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CD:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],[,,,,,,,,,[-1]],,,,"CD",,,,,,,,,,,,,,,,,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],,[,,"1(?:1[348]|23|77|88)|40404",,,,"113"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],CF:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|22\\d)",,,,"117"],[,,,,,,,,,[-1]],,,,"CF",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|220)",,,,"117"],,[,,"1(?:1[478]|220)",,,,"114"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CG:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[178]",,,,"111"],[,,,,,,,,,[-1]],,,,"CG",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117"],,[,,"11[126-8]",,,,"111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CH:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[278]|6\\d{3})|4[47])|5200",,,,"112",,,[3,4,6]],[,,"1(?:14|8[01589])\\d|543|83111",,,,"543",,,[3,4,5]],,,,"CH",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:0[78]\\d\\d|1(?:[278]|45|6(?:000|111))|4(?:[03-57]|1[45])|6(?:00|[1-46])|8(?:02|1[189]|50|7|8[08]|99))|[2-9]\\d{2,4}",,,,"112"],[,,"1(?:4[035]|6[1-46])|1(?:41|60)\\d",,,,"140",,,[3,4]],[,,"5(?:200|35)",,,,"535",,,[3,4]],,[,,"[2-9]\\d{2,4}",,,,"200",,,[3,4,5]]],CI:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CI",,,,,,,,,,,,,,,,,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],,[,,"1(?:1[01]|[78]0)|4443",,,,"110"],[,,,,,,,,,[-1]],[,,"444\\d",,,,"4440",,,[4]],,[,,"444\\d",,,,"4440",,,[4]]],CK:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],,,,"CK",,,,,,,,,,,,,,,,,,[,,"99[689]",,,,"996"],,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CL:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:213|3[1-3])|434\\d|911",,,,"131",,,[3,4]],[,,"1(?:211|3(?:13|[348]0|5[01]))|(?:1(?:[05]6|[48]1|9[18])|2(?:01\\d|[23]2|77|88)|3(?:0[59]|13|3[279]|66)|4(?:[12]4|36\\d|4[017]|55)|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d",,,,"1060",,,[4,5]],,,,"CL",,,,,,,,,,,,,,,,,,[,,"13[1-3]|911",,,,"131",,,[3]],,[,,"1(?:00|21[13]|3(?:13|[348]0|5[01])|4(?:0[02-6]|17|[379])|818|919)|2(?:0(?:01|122)|22[47]|323|777|882)|3(?:0(?:51|99)|132|3(?:29|[37]7)|665)|43656|5(?:(?:00|415)4|5(?:66|77)|995)|6(?:131|222|366|699)|7878|8(?:011|11[28]|482|889)|9(?:01|1)1|13\\d|4(?:[13]42|243|4(?:02|15|77)|554)|(?:1(?:[05]6|98)|339|6(?:07|[35])0|9(?:[12]0|33))0",,,,"100"],[,,"(?:200|333)\\d",,,,"2000",,,[4]],[,,,,,,,,,[-1]],,[,,"13(?:13|[348]0|5[01])|(?:1(?:[05]6|[28]1|4[01]|9[18])|2(?:0(?:0|1\\d)|[23]2|77|88)|3(?:0[59]|13|3[2379]|66)|436\\d|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d|4(?:[1-3]4|4[017]|55)\\d",,,,"1060",,,[4,5]]],CM:[,[,,"[18]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],[,,,,,,,,,[-1]],,,,"CM",,,,,,,,,,,,,,,,,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],,[,,"1(?:1[37]|[37])|8711",,,,"13"],[,,,,,,,,,[-1]],[,,"871\\d",,,,"8710",,,[4]],,[,,"871\\d",,,,"8710",,,[4]]],CN:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CN",,,,,,,,,,,,,,,,,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],,[,,"1(?:00\\d\\d|1[029]|20)|95\\d{3,4}",,,,"110"],[,,"1(?:00\\d\\d|12)|95\\d{3,4}",,,,"112"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CO:[,[,,"[148]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CO",,,,,,,,,,,,,,,,,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],,[,,"1(?:06|1[2-9]|2[35-7]|3[27]|4[467]|5[36]|6[4-7]|95)|40404|85432",,,,"106"],[,,,,,,,,,[-1]],[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]],,[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]]],CR:[,[,,"[1359]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CR",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|2|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|3(?:21|33)|4(?:0[06]|1[4-6])|5(?:15|5[15])|693|7(?:00|1[7-9]|2[02]|[67]7)|975)|3855|5(?:0(?:30|49)|510)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:385|5(?:0[34]|51))\\d",,,,"3850",,,[4]]],CU:[,[,,"[12]\\d\\d(?:\\d{3,4})?",,,,,,,[3,6,7]],,,[,,"10[4-7]|(?:116|204\\d)\\d{3}",,,,"104"],[,,,,,,,,,[-1]],,,,"CU",,,,,,,,,,,,,,,,,,[,,"10[4-6]",,,,"104",,,[3]],,[,,"1(?:0[4-7]|1(?:6111|8)|40)|2045252",,,,"104"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CV:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],,,,"CV",,,,,,,,,,,,,,,,,,[,,"13[0-2]",,,,"130"],,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"CW",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],CX:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CX",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CY:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|99)",,,,"112"],[,,,,,,,,,[-1]],,,,"CY",,,,,,,,,,,,,,,,,,[,,"1(?:12|99)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|99)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CZ:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5[0568])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"CZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[0568])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5[0568]|99)|1(?:16|4)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DE:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:[02]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"DE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"11(?:[025]|6(?:00[06]|1(?:1[167]|23))|800\\d)|118\\d\\d",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DJ:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"DJ",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:[24]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"DK",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1(?:[2-48]|6(?:00[06]|111))|8(?:[08]1|1[0238]|28|30|5[13]))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DM:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"DM",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DO:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"DO",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DZ:[,[,,"[17]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:12|[47]|54\\d)",,,,"14"],[,,,,,,,,,[-1]],,,,"DZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[47])",,,,"14",,,[2,3]],,[,,"1(?:055|12|[47]|548)|730",,,,"14"],[,,,,,,,,,[-1]],[,,"730",,,,"730",,,[3]],,[,,"730",,,,"730",,,[3]]],EC:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],,,,"EC",,,,,,,,,,,,,,,,,,[,,"1(?:0[12]|12)|911",,,,"101"],,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],EE:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[02]|6\\d{3})|2(?:05|28)|3(?:014|3(?:21|5\\d?)|660)|492|5(?:1[03]|410|501)|6(?:112|333|644)|7(?:012|127|89)|8(?:10|8[57])|9(?:0[134]|14))",,,,"110"],[,,"1(?:18(?:00|[12458]\\d?)|2(?:0(?:[02-46-8]\\d?|1[0-36])|1(?:[0-4]\\d?|6[06])|2(?:[0-4]\\d?|5[25])|[367]|4(?:0[04]|[12]\\d?|4[24]|54)|55[12457])|3(?:0(?:[02]\\d?|1[13578]|3[356])|1[1347]|2[02-5]|3(?:[01347]\\d?|2[023]|88)|4(?:[35]\\d?|4[34])|5(?:3[134]|5[035])|666)|4(?:2(?:00|4\\d?)|4(?:0[01358]|1[024]|50|7\\d?)|900)|5(?:0[0-35]|1(?:[1267]\\d?|5[0-7]|82)|2(?:[014-6]\\d?|22)|330|4(?:[35]\\d?|44)|5(?:00|[1-69]\\d?)|9(?:[159]\\d?|[38]0|77))|6(?:1(?:00|1[19]|[35-9]\\d?)|2(?:2[26]|[68]\\d?)|3(?:22|36|6[36])|5|6(?:[0-359]\\d?|6[0-26])|7(?:00|55|7\\d?|8[89])|9(?:00|1\\d?|69))|7(?:0(?:[023]\\d?|1[0578])|1(?:00|2[034]|[4-9]\\d?)|2(?:[07]\\d?|20|44)|7(?:[0-57]\\d?|9[79])|8(?:0[08]|2\\d?|8[0178])|9(?:00|97))|8(?:1[127]|8[1268]|9[269])|9(?:0(?:[02]\\d?|69|9[0269])|1[1-3689]|21))",,,,"123",,,[3,4,5]],,,,"EE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"1(?:1(?:[02-579]|6(?:000|111)|8(?:[09]\\d|[1-8]))|2[36-9]|3[7-9]|4[05-7]|5[6-8]|6[05]|7[3-6]|8[02-7]|9[3-9])|1(?:2[0-245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[0-2])\\d\\d?",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"1(?:18[1258]|2(?:0(?:1[036]|[46]\\d?)|166|21|4(?:0[04]|1\\d?|5[47])|[67])|3(?:0(?:1[13-578]|2\\d?|3[56])|1[15]|2[045]|3(?:[13]\\d?|2[13])|43|5(?:00|3[34]|53))|44(?:0[0135]|14|50|7\\d?)|5(?:05|1(?:[12]\\d?|5[1246]|8[12])|2(?:[01]\\d?|22)|3(?:00|3[03])|4(?:15|5\\d?)|500|9(?:5\\d?|77|80))|6(?:1[35-8]|226|3(?:22|3[36]|66)|644|7(?:00|7\\d?|89)|9(?:00|69))|7(?:01[258]|1(?:00|[15]\\d?)|2(?:44|7\\d?)|8(?:00|87|9\\d?))|8(?:1[128]|8[56]|9(?:[26]\\d?|77))|90(?:2\\d?|69|92))",,,,"126",,,[3,4,5]]],EG:[,[,,"[13]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],[,,,,,,,,,[-1]],,,,"EG",,,,,,,,,,,,,,,,,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],,[,,"1(?:2[23]|[69]\\d{3}|80)|34400",,,,"122"],[,,,,,,,,,[-1]],[,,"344\\d\\d",,,,"34400",,,[5]],,[,,"344\\d\\d",,,,"34400",,,[5]]],EH:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"EH",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ER:[,[,,"[12]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11[2-46]|(?:12[47]|20[12])\\d{3}",,,,"112"],[,,,,,,,,,[-1]],,,,"ER",,,,,,,,,,,,,,,,,,[,,"1(?:1[2-46]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],,[,,"1(?:1[2-6]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ES:[,[,,"[0-379]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"0(?:16|6[57]|8[58])|1(?:006|12|[3-7]\\d\\d)|(?:116|20\\d)\\d{3}",,,,"016",,,[3,4,6]],[,,"[12]2\\d{1,4}|90(?:5\\d|7)|(?:118|2(?:[357]\\d|80)|3[357]\\d)\\d\\d|[79]9[57]\\d{3}",,,,"120"],,,,"ES",,,,,,,,,,,,,,,,,,[,,"08[58]|112",,,,"085",,,[3]],,[,,"0(?:1[0-26]|6[0-257]|8[058]|9[12])|1(?:0[03-57]\\d{1,3}|1(?:2|6(?:000|111)|8\\d\\d)|2\\d{1,4}|[3-9]\\d\\d)|2(?:2\\d{1,4}|80\\d\\d)|90(?:5[124578]|7)|1(?:3[34]|77)|(?:2[01]\\d|[79]9[57])\\d{3}|[23][357]\\d{3}",,,,"010"],[,,"0(?:[16][0-2]|80|9[12])|21\\d{4}",,,,"010",,,[3,6]],[,,"1(?:3[34]|77)|[12]2\\d{1,4}",,,,"120"],,[,,"(?:2[0-2]\\d|3[357]|[79]9[57])\\d{3}|2(?:[2357]\\d|80)\\d\\d",,,,"22000",,,[5,6]]],ET:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:07|11?|2|39?|9[17])",,,,"91"],[,,,,,,,,,[-1]],,,,"ET",,,,,,,,,,,,,,,,,,[,,"9(?:11?|2|39?|9[17])",,,,"91"],,[,,"9(?:07|11?|2|39?|45|9[17])",,,,"91"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FI:[,[,,"[17]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"FI",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|11[17]))|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FJ:[,[,,"[0-579]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"91[17]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"FJ",,,,,,,,,,,,,,,,,,[,,"91[17]",,,,"911",,,[3]],,[,,"0(?:1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|40404|91[137]|[45]4|75",,,,"22"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],FK:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"FK",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1\\d\\d|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"320\\d{3}|911",,,,"911"],[,,,,,,,,,[-1]],,,,"FM",,,,,,,,,,,,,,,,,,[,,"(?:32022|91)1",,,,"911"],,[,,"(?:32022|91)1",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FO:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[24]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"FO",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"11[248]|1(?:4[124]|71|8[7-9])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FR:[,[,,"[1-8]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:0(?:07|[13]3)|1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d",,,,"15"],[,,"(?:118|[4-8]\\d)\\d{3}|36665",,,,"36665",,,[5,6]],,,,"FR",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15",,,[2,3]],,[,,"1(?:0\\d\\d|1(?:[02459]|6(?:000|111)|8\\d{3})|[578]|9[167])|2(?:0(?:00|2)0|24)|[3-8]\\d{4}|3\\d{3}|6(?:1[14]|34)|7(?:0[06]|22|40)",,,,"15"],[,,"10(?:[134]4|2[23]|5\\d|99)|202\\d|3(?:646|9[07]0)|634|70[06]|(?:106|61)[14]",,,,"611",,,[3,4]],[,,"118777|224|6(?:1[14]|34)|7(?:0[06]|22|40)|20(?:0\\d|2)\\d",,,,"224",,,[3,4,5,6]],,[,,"114|[3-8]\\d{4}",,,,"114",,,[3,5]]],GA:[,[,,"1\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"18|1(?:3\\d|73)\\d",,,,"18"],[,,,,,,,,,[-1]],,,,"GA",,,,,,,,,,,,,,,,,,[,,"1(?:3\\d\\d|730|8)",,,,"18"],,[,,"1(?:3\\d\\d|730|8)",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GB:[,[,,"[1-46-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:05|1(?:[29]|6\\d{3})|7[56]\\d|8000)|2(?:20\\d|48)|4444|999",,,,"105"],[,,,,,,,,,[-1]],,,,"GB",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[015]|1(?:[129]|6(?:000|1(?:11|23))|8\\d{3})|2(?:[1-3]|50)|33|4(?:1|7\\d)|571|7(?:0\\d|[56]0)|800\\d|9[15])|2(?:0202|1300|2(?:02|11)|3(?:02|336|45)|4(?:25|8))|3[13]3|4(?:0[02]|35[01]|44[45]|5\\d)|(?:[68]\\d|7[089])\\d{3}|15\\d|2[02]2|650|789|9(?:01|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:25|7[56])\\d|571)|2(?:02(?:\\d{2})?|[13]3\\d\\d|48)|4444|901",,,,"202",,,[3,4,5]],,[,,"(?:125|2(?:020|13\\d)|(?:7[089]|8[01])\\d\\d)\\d",,,,"1250",,,[4,5]]],GD:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"GD",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|911",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],GE:[,[,,"[014]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],[,,,,,,,,,[-1]],,,,"GE",,,,,,,,,,,,,,,,,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],,[,,"0(?:11|33)|11[1-3]|40404|[01]22",,,,"011"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GG:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"GG",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01]|1[12]|23|41|55|9[05])|999|1(?:1[68]\\d\\d|47|800)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GH:[,[,,"[14589]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"19[1-3]|999",,,,"191",,,[3]],[,,,,,,,,,[-1]],,,,"GH",,,,,,,,,,,,,,,,,,[,,"19[1-3]|999",,,,"191",,,[3]],,[,,"19[1-3]|40404|(?:54|83)00|999",,,,"191"],[,,,,,,,,,[-1]],[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]],,[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]]],GI:[,[,,"[158]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|1[25]|23|4(?:1|7\\d)|5[15]|9[02-49])|555|(?:116\\d|80)\\d\\d",,,,"100",,,[3,4,6]],[,,"8[1-69]\\d\\d",,,,"8100",,,[4]],,,,"GI",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[09])",,,,"112",,,[3]],,[,,"1(?:00|1(?:[25]|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|23|4(?:1|7[014])|5[015]|9[02-49])|555|8[0-79]\\d\\d|8(?:00|4[0-2]|8[0-589])",,,,"100"],[,,"150|87\\d\\d",,,,"150",,,[3,4]],[,,"1(?:00|1(?:5|8\\d\\d)|23|51|9[2-4])|555|8(?:00|4[0-2]|8[0-589])",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],GL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"GL",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GM:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],,,,"GM",,,,,,,,,,,,,,,,,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,,"GN",,,,,,,,,,,,,,,,,,[,,,,,,,,,[-1]],,[,,"12\\d|40404",,,,"120"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GP:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GP",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GR:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:0[089]|1(?:2|6\\d{3})|66|99)",,,,"100",,,[3,6]],[,,,,,,,,,[-1]],,,,"GR",,,,,,,,,,,,,,,,,,[,,"1(?:00|12|66|99)",,,,"100",,,[3]],,[,,"1(?:0[089]|1(?:2|320|6(?:000|1(?:1[17]|23)))|(?:389|9)9|66)",,,,"100"],[,,"113\\d\\d",,,,"11300",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GT:[,[,,"[14]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:10|2[03])",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"GT",,,,,,,,,,,,,,,,,,[,,"1(?:10|2[03])",,,,"110",,,[3]],,[,,"110|40404|1(?:2|[57]\\d)\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GU:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"GU",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GW:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],,,,"GW",,,,,,,,,,,,,,,,,,[,,"11[378]",,,,"113"],,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GY:[,[,,"[019]\\d{2,3}",,,,,,,[3,4]],,,[,,"91[1-3]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"GY",,,,,,,,,,,,,,,,,,[,,"91[1-3]",,,,"911",,,[3]],,[,,"0(?:02|(?:17|80)1|444|7(?:[67]7|9)|9(?:0[78]|[2-47]))|1(?:443|5[568])|91[1-3]",,,,"002"],[,,,,,,,,,[-1]],[,,"144\\d",,,,"1440",,,[4]],,[,,"144\\d",,,,"1440",,,[4]]],HK:[,[,,"[19]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"112|99[29]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"HK",,,,,,,,,,,,,,,,,,[,,"112|99[29]",,,,"112",,,[3]],,[,,"1(?:0(?:(?:[0136]\\d|2[14])\\d{0,3}|8[138])|12|2(?:[0-3]\\d{0,4}|(?:58|8[13])\\d{0,3})|7(?:[135-9]\\d{0,4}|219\\d{0,2})|8(?:0(?:(?:[13]|60\\d)\\d|8)|1(?:0\\d|[2-8])|2(?:0[5-9]|(?:18|2)2|3|8[128])|(?:(?:3[0-689]\\d|7(?:2[1-389]|8[0235-9]|93))\\d|8)\\d|50[138]|6(?:1(?:11|86)|8)))|99[29]|10[0139]",,,,"100"],[,,,,,,,,,[-1]],[,,"109|1(?:08|85\\d)\\d",,,,"109",,,[3,4,5]],,[,,"992",,,,"992",,,[3]]],HN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"HN",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40404",,,,"199"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HR:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:12|9[2-4])|9[34]|1(?:16\\d|39)\\d\\d",,,,"93",,,[2,3,5,6]],[,,"118\\d\\d",,,,"11800",,,[5]],,,,"HR",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])|9[34]",,,,"93",,,[2,3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|3977|9(?:[2-5]|87))|9[34]",,,,"93"],[,,,,,,,,,[-1]],[,,"139\\d\\d",,,,"13900",,,[5]],,[,,"139\\d\\d",,,,"13900",,,[5]]],HT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[48]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"HT",,,,,,,,,,,,,,,,,,[,,"11[48]",,,,"114",,,[3]],,[,,"11[48]|40404",,,,"114"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[457]|1(?:2|6\\d{3}))",,,,"104",,,[3,6]],[,,,,,,,,,[-1]],,,,"HU",,,,,,,,,,,,,,,,,,[,,"1(?:0[457]|12)",,,,"104",,,[3]],,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23)))|2(?:20|7[02])|37(?:00|37|7[07])|414|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"],[,,,,,,,,,[-1]],[,,"1(?:2[27]|41|77)\\d",,,,"1220",,,[4]],,[,,"184\\d",,,,"1840",,,[4]]],ID:[,[,,"[178]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11[02389]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"ID",,,,,,,,,,,,,,,,,,[,,"11[02389]",,,,"110",,,[3]],,[,,"1(?:1[02389]|40\\d\\d|50264)|71400|89887",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:714|898)\\d\\d",,,,"71400",,,[5]],,[,,"714\\d\\d",,,,"71400",,,[5]]],IE:[,[,,"[159]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|999",,,,"112",,,[3,6]],[,,"5[37]\\d{3}",,,,"53000",,,[5]],,,,"IE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|999|(?:1(?:18|9)|5[0137]\\d)\\d\\d",,,,"112"],[,,"51\\d{3}",,,,"51000",,,[5]],[,,"51210",,,,"51210",,,[5]],,[,,"51210|(?:118|5[037]\\d)\\d\\d",,,,"11800",,,[5]]],IL:[,[,,"[12]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IL",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-2]|1(?:[013-9]\\d|2)|[2-9]\\d\\d)|2407|(?:104|27)00",,,,"100"],[,,,,,,,,,[-1]],[,,"104\\d\\d",,,,"10400",,,[5]],,[,,"104\\d\\d",,,,"10400",,,[5]]],IM:[,[,,"[189]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"IM",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1\\d\\d(?:\\d{3})?|8(?:6444|9887)|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"8(?:64|98)\\d\\d",,,,"86400",,,[5]]],IN:[,[,,"[12578]\\d{2,8}",,,,,,,[3,4,5,6,7,8,9]],,,[,,"1(?:0[0-248]|1[289]|21|[39][89]|4[01]|6(?:1|6\\d?)|8[12])|777|800|1[05]5\\d|1(?:07|51|94)\\d\\d?|(?:1(?:[05]5\\d|70)\\d|261)\\d|1(?:0[369]|10|29|3[126]|9[0-256])\\d",,,,"100",,,[3,4,5,6]],[,,"11[67]\\d{4}|56161561",,,,"1160000",,,[7,8]],,,,"IN",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-28]|12|298)|2611",,,,"100",,,[3,4]],,[,,"1(?:0(?:[0-248]|3[39]|5(?:010|6)|6[3468]|7(?:[01357]|[28]0?|4[01])|9[0135-9])|1(?:00|[289])|2(?:1|98)|3(?:11|2[0-2]|63|[89])|4[01]|5(?:1(?:0[0-36]|[127])|54)|6(?:1|6[01]?)|7000|8[12]|9(?:0[013-59]|12|25|4[4-9]\\d?|50|6[1347]|[89]))|2611|5(?:0(?:0(?:0\\d|1|20?)|325|5[2-79]\\d{3,5})|1(?:234|555|717|818|96[49])|2(?:0(?:0[01]|[14]0)|151|555|666|888|9(?:06|99\\d?))|3(?:0[01]0|131|553|(?:66|77)6)|(?:464|55[05])\\d{1,3}|6(?:070|3[68]|43)|717\\d)|777|800|5(?:05(?:0|1\\d)|221|3(?:03|3[23]))\\d{1,4}|5(?:(?:04|88)0|2(?:2[0267]|3[16])|4(?:1[04]|20|3[02])|5(?:3[16]|67)|6(?:06|[67]\\d)|787|9(?:64|90))\\d\\d?|(?:1(?:05[79]|(?:1[67][0-2]|802)\\d|55[23])\\d|5(?:(?:00(?:0\\d|1)|(?:304|616)\\d\\d)\\d|1(?:0[12]|4[2-4])|2(?:2[3589]|3(?:1\\d{3}|2)|4[04]|7[78])|4(?:[02]4|32\\d{4}|4[04]|99)|5(?:1[25]|[36]5|4[45]|93)|7(?:(?:17\\d|57)\\d\\d|[27]7|88)|8(?:3[4-69]|4[01]|5[58]|88(?:8\\d\\d|9)|99)|9(?:0(?:0|2\\d{3})|55|6[67]|77|88)))\\d",,,,"100"],[,,"5(?:14(?:2[5-9]|[34]\\d)|757555)",,,,"51425",,,[5,7]],[,,"1(?:(?:1[67]\\d\\d|70)\\d\\d|55330|909)|5(?:300\\d|6161(?:17[89]|561))|1(?:[19][89]|21|4[01])",,,,"118",,,[3,4,5,6,7,8]],,[,,"1(?:39|90[019])|5(?:14(?:2[5-9]|[34]\\d)|6161(?:17[89]|561)|757555)",,,,"139",,,[3,4,5,7,8]]],IQ:[,[,,"[1479]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IQ",,,,,,,,,,,,,,,,,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],,[,,"1(?:0[04]|15|22)|4432|71117|9988",,,,"100"],[,,,,,,,,,[-1]],[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]],,[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]]],IR:[,[,,"[129]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[0-68]|2[0-59]|9[0-579])|911",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"IR",,,,,,,,,,,,,,,,,,[,,"1(?:1[025]|25)|911",,,,"110",,,[3]],,[,,"1(?:1[0-68]|2[0-59]|3[346-8]|4(?:[0147]|[289]0)|5(?:0[14]|1[02479]|2[0-3]|39|[49]0|65)|6(?:[16]6|[27]|90)|8(?:03|1[18]|22|3[37]|4[28]|88|99)|9[0-579])|20(?:[09]0|1(?:[038]|1[079]|26|9[69])|2[01])|9(?:11|9(?:0009|90))",,,,"110"],[,,"1(?:5[0-469]|8[0-489])\\d",,,,"1500",,,[4]],[,,"(?:1(?:5[0-469]|8[0-489])|99(?:0\\d\\d|9))\\d",,,,"1500",,,[4,6]],,[,,"990\\d{3}",,,,"990000",,,[6]]],IS:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:12|71\\d)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"IS",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:[28]|61(?:16|23))|4(?:00|1[145]|4[0146])|55|7(?:00|17|7[07-9])|8(?:[02]0|1[16-9]|88)|900)",,,,"112"],[,,,,,,,,,[-1]],[,,"14(?:0\\d|41)",,,,"1400",,,[4]],,[,,"1(?:415|90\\d)",,,,"1415",,,[4]]],IT:[,[,,"[14]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"1(?:1(?:[2358]|6\\d{3})|87)",,,,"112",,,[3,6]],[,,"(?:12|4(?:[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"1200",,,[4,5,7]],,,,"IT",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112",,,[3]],,[,,"1(?:0\\d{2,3}|1(?:[2-57-9]|6(?:000|111))|3[39]|4(?:82|9\\d{1,3})|5(?:00|1[58]|2[25]|3[03]|44|[59])|60|8[67]|9(?:[01]|2[2-9]|4\\d|696))|4(?:2323|5045)|(?:1(?:2|92[01])|4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|5[05])\\d\\d",,,,"43000",,,[5,7]]],JE:[,[,,"[129]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:00|1(?:2|8\\d{3})|23|4(?:[14]|28|7\\d)|5\\d|7(?:0[12]|[128]|35?)|808|9[0135])|23[2-4]|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],JM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[029]|911",,,,"110"],[,,,,,,,,,[-1]],,,,"JM",,,,,,,,,,,,,,,,,,[,,"11[029]|911",,,,"110"],,[,,"1(?:1[029]|76)|911",,,,"110"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],JO:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[24]|9[127])|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JO",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[127])|911",,,,"112",,,[3]],,[,,"1(?:09|1[0-248]|9[0-24-79])|9(?:0903|11|8788)",,,,"109"],[,,,,,,,,,[-1]],[,,"9(?:09|87)\\d\\d",,,,"90900",,,[5]],,[,,"9(?:09|87)\\d\\d",,,,"90900",,,[5]]],JP:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[089]",,,,"110"],[,,,,,,,,,[-1]],,,,"JP",,,,,,,,,,,,,,,,,,[,,"11[09]",,,,"110"],,[,,"1(?:0[24]|1[089]|44|89)",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KE:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1(?:[246]|9\\d)|5(?:01|2[127]|6[26]\\d))|999",,,,"112"],[,,"909\\d\\d",,,,"90900",,,[5]],,,,"KE",,,,,,,,,,,,,,,,,,[,,"11[24]|999",,,,"112",,,[3]],,[,,"1(?:0(?:[07-9]|1[0-25]|400)|1(?:[024-6]|9[0-579])|2[1-3]|3[01]|4[14]|5(?:[01][01]|2[0-24-79]|33|4[05]|5[59]|6(?:00|29|6[67]))|(?:6[035]\\d|[78])\\d|9(?:[02-9]\\d\\d|19))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99))\\d\\d|9(?:09\\d\\d|99)|8988",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:04|6[35])\\d\\d|3[01]|4[14]|5(?:1\\d|2[25]))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99)|909)\\d\\d|898\\d",,,,"130"],,[,,"1(?:(?:04|6[035])\\d\\d|4[14]|5(?:01|55|6[26]\\d))|40404|8988|909\\d\\d",,,,"141"]],KG:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KG",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"10[1-3]|4040",,,,"101"],[,,,,,,,,,[-1]],[,,"404\\d",,,,"4040",,,[4]],,[,,"404\\d",,,,"4040",,,[4]]],KH:[,[,,"[146]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[7-9]|666",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"KH",,,,,,,,,,,,,,,,,,[,,"11[7-9]|666",,,,"117",,,[3]],,[,,"11[7-9]|40404|666",,,,"117"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],KI:[,[,,"[179]\\d{2,3}",,,,,,,[3,4]],,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],[,,,,,,,,,[-1]],,,,"KI",,,,,,,,,,,,,,,,,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],,[,,"1(?:05[0-259]|88|9[2-5])|777|99[2-4]|10[0-8]",,,,"100"],[,,"103",,,,"103",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KM:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"KM",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KN:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"KN",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KP:[,[,,"[18]\\d\\d",,,,,,,[3]],,,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],,,,"KP",,,,,,,,,,,,,,,,,,[,,"11[29]|819",,,,"112"],,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KR:[,[,,"1\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[27-9]|28|330|82)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"KR",,,,,,,,,,,,,,,,,,[,,"11[29]",,,,"112",,,[3]],,[,,"1(?:[016-9]114|3(?:0[01]|2|3[0-35-9]|45?|5[057]|6[569]|7[79]|8[2589]|9[0189]))|1(?:0[015]|1\\d|2[01357-9]|41|8[28])",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[4-6]|41)|1(?:[06-9]1\\d|111)\\d",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],KW:[,[,,"[18]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"KW",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1[0-7]\\d|89887",,,,"100"],[,,,,,,,,,[-1]],[,,"898\\d\\d",,,,"89800",,,[5]],,[,,,,,,,,,[-1]]],KY:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"KY",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KZ:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-4]|12)|(?:3040|404)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]],,[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]]],LA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],,,,"LA",,,,,,,,,,,,,,,,,,[,,"19[015]",,,,"190"],,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LB:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],,,,"LB",,,,,,,,,,,,,,,,,,[,,"1(?:12|40|75)|999",,,,"112"],,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"LC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LI:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"LI",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:1(?:[278]|45)|4[3-57]|50|75|81[18])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LK:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[02689]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"LK",,,,,,,,,,,,,,,,,,[,,"11[02689]",,,,"110",,,[3]],,[,,"1(?:1[024-9]|3(?:00|1[2-49]|2[23]|3[1-3]|44|5[07]|[67]9|88|9[039])|9(?:0[0-2589]|1[0-357-9]|2[0-25689]|3[0389]|4[0489]|5[014-69]|6[0-2689]|7[03579]|8[02457-9]|9[0-2569]))",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LR:[,[,,"[3489]\\d{2,3}",,,,,,,[3,4]],,,[,,"355|911",,,,"355",,,[3]],[,,,,,,,,,[-1]],,,,"LR",,,,,,,,,,,,,,,,,,[,,"355|911",,,,"355",,,[3]],,[,,"355|4040|8(?:400|933)|911",,,,"355"],[,,,,,,,,,[-1]],[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]],,[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]]],LS:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],,,,"LS",,,,,,,,,,,,,,,,,,[,,"11[257]",,,,"112"],,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LT:[,[,,"[01]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:2|6111))|116(?:0\\d|12)\\d",,,,"01"],[,,,,,,,,,[-1]],,,,"LT",,,,,,,,,,,,,,,,,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|12)",,,,"01",,,[2,3]],,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:[27-9]|6(?:000|1(?:1[17]|23))))",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[23]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"LU",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"11(?:[23]|6(?:000|111))|1(?:18|[25]\\d|3)\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LV:[,[,,"[018]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"0[1-3]|11(?:[023]|6\\d{3})",,,,"01",,,[2,3,6]],[,,"1180|821\\d\\d",,,,"1180",,,[4,5]],,,,"LV",,,,,,,,,,,,,,,,,,[,,"0[1-3]|11[023]",,,,"01",,,[2,3]],,[,,"0[1-4]|1(?:1(?:[02-4]|6(?:000|111)|8[0189])|(?:5|65)5|77)|821[57]4",,,,"01"],[,,"1181",,,,"1181",,,[4]],[,,"165\\d",,,,"1650",,,[4]],,[,,,,,,,,,[-1]]],LY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],,,,"LY",,,,,,,,,,,,,,,,,,[,,"19[013]",,,,"190"],,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MA:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"MA",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MC:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MC",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|41|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MD:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6(?:000|1(?:11|2\\d)))|90[1-3]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MD",,,,,,,,,,,,,,,,,,[,,"112|90[1-3]",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d?|99)|90[04-9])|90[1-3]|1(?:4\\d\\d|6[0-389]|9[1-4])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ME:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"ME",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:(?:[013-57-9]|6\\d\\d)\\d|2)|[249]\\d{3}|5999|8(?:0[089]|1[0-8]|888))|1(?:[02-5]\\d\\d|60[06]|700)|12\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"MF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MG:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],,,,"MG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|[78])",,,,"17"],,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MH:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MH",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:1(?:2|6\\d{3})|9[2-4])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|3\\d|9[2-4])|1(?:16|2\\d)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ML:[,[,,"[136-8]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"1[578]|(?:352|67)00|7402|(?:677|744|8000)\\d",,,,"15",,,[2,4,5]],[,,"(?:12|800)2\\d|3(?:52(?:11|2[02]|3[04-6]|99)|7574)",,,,"1220",,,[4,5]],,,,"ML",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1(?:1(?:[013-9]\\d|2)|2(?:1[02-469]|2[13])|[578])|350(?:35|57)|67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)|800[0-2][12]|3(?:52|[67]\\d)\\d\\d",,,,"15"],[,,"37(?:433|575)|7400|8001\\d",,,,"7400",,,[4,5]],[,,"3503\\d|(?:3[67]\\d|800)\\d\\d",,,,"35030",,,[5]],,[,,"374(?:0[24-9]|[1-9]\\d)|7400|3(?:6\\d|75)\\d\\d",,,,"7400",,,[4,5]]],MM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"199",,,,"199"],[,,,,,,,,,[-1]],,,,"MM",,,,,,,,,,,,,,,,,,[,,"199",,,,"199"],,[,,"199",,,,"199"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],,,,"MN",,,,,,,,,,,,,,,,,,[,,"10[0-35]",,,,"100"],,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"MO",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MP:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MP",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MQ:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MQ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MR:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"MR",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"MS",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11(?:2|6\\d{3})",,,,"112"],[,,,,,,,,,[-1]],,,,"MT",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:000|1(?:11|23)))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MU:[,[,,"[189]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"11[45]|99[59]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"MU",,,,,,,,,,,,,,,,,,[,,"11[45]|99[59]",,,,"114",,,[3]],,[,,"1\\d{2,4}|(?:8\\d\\d|99)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MV:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:02|1[89])",,,,"102",,,[3]],[,,,,,,,,,[-1]],,,,"MV",,,,,,,,,,,,,,,,,,[,,"1(?:02|1[89])",,,,"102",,,[3]],,[,,"1(?:[0-37-9]|[4-6]\\d)\\d|4040|1[45]1",,,,"100"],[,,,,,,,,,[-1]],[,,"1[45]1",,,,"141",,,[3]],,[,,,,,,,,,[-1]]],MW:[,[,,"[189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199|99[7-9]",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"MW",,,,,,,,,,,,,,,,,,[,,"199|99[7-9]",,,,"199",,,[3]],,[,,"199|80400|99[7-9]",,,,"199"],[,,,,,,,,,[-1]],[,,"804\\d\\d",,,,"80400",,,[5]],,[,,"804\\d\\d",,,,"80400",,,[5]]],MX:[,[,,"[0579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],[,,"(?:530\\d|776)\\d",,,,"7760",,,[4,5]],,,,"MX",,,,,,,,,,,,,,,,,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],,[,,"0[1-9]\\d|53053|7766|911",,,,"010"],[,,,,,,,,,[-1]],[,,"0(?:[249]0|[35][01])",,,,"020",,,[3]],,[,,,,,,,,,[-1]]],MY:[,[,,"[1369]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"MY",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d",,,,"100"],[,,"666\\d\\d",,,,"66600",,,[5]],[,,,,,,,,,[-1]],,[,,"(?:3[23679]\\d|666)\\d\\d",,,,"32000",,,[5]]],MZ:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"MZ",,,,,,,,,,,,,,,,,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],,[,,"1(?:[02-5]\\d\\d|1[79]|9[78])",,,,"117"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NA:[,[,,"[19]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10111",,,,"10111",,,[5]],[,,,,,,,,,[-1]],,,,"NA",,,,,,,,,,,,,,,,,,[,,"10111",,,,"10111",,,[5]],,[,,"(?:10|93)111|(?:1\\d|9)\\d\\d",,,,"900"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NC:[,[,,"[135]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:0(?:00|1[23]|3[0-2]|8\\d)|[5-8])|363\\d|577",,,,"15"],[,,,,,,,,,[-1]],,,,"NC",,,,,,,,,,,,,,,,,,[,,"1[5-8]",,,,"15",,,[2]],,[,,"1(?:0(?:0[06]|1[02-46]|20|3[0-25]|42|5[058]|77|88)|[5-8])|3631|5[6-8]\\d",,,,"15"],[,,"5(?:67|88)",,,,"567",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NE:[,[,,"[1-3578]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"1(?:18|[578])|723\\d{3}",,,,"15"],[,,,,,,,,,[-1]],,,,"NE",,,,,,,,,,,,,,,,,,[,,"1(?:18|[578])|723141",,,,"15"],,[,,"1(?:0[01]|1[128]|2[034]|3[013]|[46]0|55?|[78])|222|333|555|723141|888",,,,"15"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[12]|2[034]|3[013]|[46]0|55)|222|333|555|888",,,,"100",,,[3]],,[,,,,,,,,,[-1]]],NF:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],,,,"NF",,,,,,,,,,,,,,,,,,[,,"9(?:11|55|77)",,,,"911"],,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NG:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"NG",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40700",,,,"199"],[,,,,,,,,,[-1]],[,,"407\\d\\d",,,,"40700",,,[5]],,[,,"407\\d\\d",,,,"40700",,,[5]]],NI:[,[,,"[12467]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[58]|2[08])|737\\d",,,,"115"],[,,,,,,,,,[-1]],,,,"NI",,,,,,,,,,,,,,,,,,[,,"1(?:1[58]|2[08])",,,,"115",,,[3]],,[,,"1(?:1[58]|200)|4878|7(?:010|373)|12[0158]|(?:19|[267]1)00",,,,"115"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NL:[,[,,"[1349]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:2|6\\d{3})|911",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"NL",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|2(?:0[0-4]|3[34]|44)|3[03-9]\\d|400|8(?:[02-9]\\d|1[0-79]))|[34]000|911",,,,"112"],[,,,,,,,,,[-1]],[,,"120\\d",,,,"1200",,,[4]],,[,,"[34]00\\d",,,,"3000",,,[4]]],NO:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:[023]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"NO",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8[5-9]\\d|90)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NP:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-36]|12)|1(?:09|11)\\d",,,,"100"],[,,,,,,,,,[-1]],,,,"NP",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-3]|12)",,,,"100",,,[3]],,[,,"1(?:0(?:[0-36]|98)|1(?:1[1-4]|2))",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NR:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0-2]",,,,"110"],[,,,,,,,,,[-1]],,,,"NR",,,,,,,,,,,,,,,,,,[,,"11[0-2]",,,,"110"],,[,,"1(?:1[0-2]|23|92)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NU:[,[,,"[019]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"NU",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"01[05]|101|999",,,,"010"],[,,,,,,,,,[-1]],[,,"010",,,,"010"],,[,,,,,,,,,[-1]]],NZ:[,[,,"\\d{3,4}",,,,,,,[3,4]],,,[,,"111",,,,"111",,,[3]],[,,"018",,,,"018",,,[3]],,,,"NZ",,,,,,,,,,,,,,,,,,[,,"111",,,,"111",,,[3]],,[,,"018|1(?:(?:1|37)1|(?:23|94)4|7[03]7)|[2-57-9]\\d{2,3}|6(?:161|26[0-3]|742)",,,,"018"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"018|(?:1(?:23|37|7[03]|94)|6(?:[12]6|74))\\d|[2-57-9]\\d{2,3}",,,,"018"]],OM:[,[,,"[19]\\d{3}",,,,,,,[4]],,,[,,"1444|999\\d",,,,"1444"],[,,,,,,,,,[-1]],,,,"OM",,,,,,,,,,,,,,,,,,[,,"1444|9999",,,,"1444"],,[,,"1(?:111|222|4(?:4[0-5]|50|66|7[7-9])|51[0-8])|9999|1(?:2[3-5]|3[0-2]|50)\\d",,,,"1111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PA:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PA",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"10[2-4]|911",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],,,,"PE",,,,,,,,,,,,,,,,,,[,,"1(?:05|1[67])",,,,"105"],,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"PF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PG:[,[,,"[01]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"000|11[01]",,,,"000",,,[3]],[,,,,,,,,,[-1]],,,,"PG",,,,,,,,,,,,,,,,,,[,,"000|11[01]",,,,"000",,,[3]],,[,,"000|1(?:1[01]|5\\d\\d|6\\d{2,5})",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"16\\d{2,5}",,,,"1600",,,[4,5,6,7]]],PH:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],,,,"PH",,,,,,,,,,,,,,,,,,[,,"11[27]|911",,,,"112"],,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1(?:2\\d?|5)|[56])",,,,"15"],[,,,,,,,,,[-1]],,,,"PK",,,,,,,,,,,,,,,,,,[,,"1(?:1(?:22?|5)|[56])",,,,"15"],,[,,"1(?:122|3[014]|[56])|11[2457-9]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PL:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})|99[7-9]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"PL",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"1(?:1(?:2|61(?:11|23)|891[23])|9\\d{3})|9(?:8[4-7]|9[1-9])|11[68]000",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PM:[,[,,"[13]\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"1[578]",,,,"15",,,[2]],[,,,,,,,,,[-1]],,,,"PM",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1[578]|3103",,,,"15"],[,,,,,,,,,[-1]],[,,"310\\d",,,,"3100",,,[4]],,[,,,,,,,,,[-1]]],PR:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PR",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-2]|66)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"PS",,,,,,,,,,,,,,,,,,[,,"10[0-2]",,,,"100",,,[3]],,[,,"1(?:0[0-2]|122|44|66|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"112\\d",,,,"1120",,,[4]],,[,,,,,,,,,[-1]]],PT:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11[25]|1(?:16\\d\\d|5[1589]|8[279])\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"PT",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112",,,[3]],,[,,"1(?:0(?:45|5[01])|1(?:[2578]|600[06])|4(?:1[45]|4)|583|6(?:1[0236]|3[02]|9[169]))|1(?:1611|59)1|1[068]78|1[08]9[16]|1(?:0[1-38]|40|5[15]|6[258]|82)0",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PW:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PW",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PY:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"128|911",,,,"128"],[,,,,,,,,,[-1]],,,,"PY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128"],,[,,"1[1-4]\\d|911",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],QA:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"QA",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"999|(?:1|20|9[27]\\d)\\d\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RE:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"RE",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RO:[,[,,"[18]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,"(?:1(?:18[39]|[24])|8[48])\\d\\d",,,,"1200",,,[4,6]],,,,"RO",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|1(?:11|23))|8(?:(?:01|8[18])1|119|[23]00|932))|[24]\\d\\d|9(?:0(?:00|19)|1[19]|21|3[02]|5[178]))|8[48]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:1[24]|8[48])\\d\\d",,,,"1200",,,[4]]],RS:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"112|9[2-4]",,,,"92",,,[2,3]],[,,,,,,,,,[-1]],,,,"RS",,,,,,,,,,,,,,,,,,[,,"112|9[2-4]",,,,"92",,,[2,3]],,[,,"1[189]\\d{1,4}|9[2-4]",,,,"92"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RU:[,[,,"[01]\\d\\d?",,,,,,,[2,3]],,,[,,"112|(?:0|10)[1-3]",,,,"01"],[,,,,,,,,,[-1]],,,,"RU",,,,,,,,,,,,,,,,,,[,,"112|(?:0|10)[1-3]",,,,"01"],,[,,"112|(?:0|10)[1-4]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RW:[,[,,"[14]\\d\\d",,,,,,,[3]],,,[,,"11[1245]",,,,"111"],[,,,,,,,,,[-1]],,,,"RW",,,,,,,,,,,,,,,,,,[,,"11[12]",,,,"111"],,[,,"1(?:0[0-2]|1[0-24-6]|2[13]|70|99)|456",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SA:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|9(?:11|37|9[7-9])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SA",,,,,,,,,,,,,,,,,,[,,"112|9(?:11|9[79])",,,,"112",,,[3]],,[,,"1(?:1(?:00|2|6111)|410|9(?:00|1[89]|9(?:099|22|9[0-3])))|9(?:0[24-79]|11|3[379]|40|66|8[5-9]|9[02-9])",,,,"112"],[,,"141\\d",,,,"1410",,,[4]],[,,"1(?:10|41)\\d|90[24679]",,,,"902",,,[3,4]],,[,,,,,,,,,[-1]]],SB:[,[,,"[127-9]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SB",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1(?:[02]\\d|1[12]|[35][01]|[49][1-9]|6[2-9]|7[7-9]|8[0-8])|269|777|835|9(?:[01]1|22|33|55|77|88|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SC:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"SC",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1(?:0\\d|1[027]|2[0-8]|3[13]|4[0-2]|[59][15]|6[1-9]|7[124-6]|8[158])|9(?:6\\d\\d|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SD:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SD",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SE:[,[,,"[1-37-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|(?:116\\d|900)\\d\\d",,,,"112",,,[3,5,6]],[,,"11811[89]|72\\d{3}",,,,"72000",,,[5,6]],,,,"SE",,,,,,,,,,,,,,,,,,[,,"112|90000",,,,"112",,,[3,5]],,[,,"11(?:[25]|313|6(?:00[06]|1(?:1[17]|23))|7[0-8])|2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|9(?:0(?:00|51)0|12)|(?:11(?:4|8[02-46-9])|7\\d\\d|90[2-4])\\d\\d|(?:118|90)1(?:[02-9]\\d|1[013-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|912",,,,"220",,,[3]],,[,,"7\\d{4}",,,,"70000",,,[5]]],SG:[,[,,"[179]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99[359]",,,,"993",,,[3]],[,,,,,,,,,[-1]],,,,"SG",,,,,,,,,,,,,,,,,,[,,"99[359]",,,,"993",,,[3]],,[,,"1(?:(?:[01368]\\d|44)\\d|[57]\\d{2,3}|9(?:0[1-9]|[1-9]\\d))|77222|99[02-9]|100",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"772\\d\\d",,,,"77200",,,[5]]],SH:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"9(?:11|99)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"SH",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911",,,[3]],,[,,"1\\d{2,3}|26[01]\\d\\d|9(?:11|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SI:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:(?:0|6\\d)\\d\\d|[23]|8\\d\\d?)",,,,"112"],[,,,,,,,,,[-1]],,,,"SI",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"1(?:1(?:00[146]|[23]|6(?:000|1(?:11|23))|8(?:[08]|99))|9(?:059|1(?:0[12]|16)|5|70|87|9(?:00|[149])))|19(?:08|81)[09]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SJ",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6\\d{3})|5[058])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SK",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[058])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111)|8[0-8])|[248]\\d{3}|5[0589])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SL:[,[,,"[069]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:01|99)9",,,,"019",,,[3]],[,,,,,,,,,[-1]],,,,"SL",,,,,,,,,,,,,,,,,,[,,"(?:01|99)9",,,,"019",,,[3]],,[,,"(?:01|99)9|60400",,,,"019"],[,,,,,,,,,[-1]],[,,"604\\d\\d",,,,"60400",,,[5]],,[,,"604\\d\\d",,,,"60400",,,[5]]],SM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],,,,"SM",,,,,,,,,,,,,,,,,,[,,"11[358]",,,,"113"],,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SN:[,[,,"[12]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:515|[78])|2(?:00|1)\\d{3}",,,,"17",,,[2,4,5,6]],[,,"2(?:0[246]|[468])\\d{3}",,,,"24000",,,[5,6]],,,,"SN",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17",,,[2]],,[,,"1(?:1[69]|(?:[246]\\d|51)\\d)|2(?:0[0-246]|[12468])\\d{3}|1[278]",,,,"12"],[,,"2(?:01|2)\\d{3}",,,,"22000",,,[5,6]],[,,"1[46]\\d\\d",,,,"1400",,,[4]],,[,,"2[468]\\d{3}",,,,"24000",,,[5]]],SO:[,[,,"[57-9]\\d\\d",,,,,,,[3]],,,[,,"555|888|999",,,,"555"],[,,,,,,,,,[-1]],,,,"SO",,,,,,,,,,,,,,,,,,[,,"555|888|999",,,,"555"],,[,,"555|777|888|999",,,,"555"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SR:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"115",,,,"115",,,[3]],[,,,,,,,,,[-1]],,,,"SR",,,,,,,,,,,,,,,,,,[,,"115",,,,"115",,,[3]],,[,,"1\\d{2,3}",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SS",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ST:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"ST",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SV:[,[,,"[149]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"116\\d{3}|911",,,,"911",,,[3,6]],[,,,,,,,,,[-1]],,,,"SV",,,,,,,,,,,,,,,,,,[,,"91[13]",,,,"911",,,[3]],,[,,"1(?:1(?:2|6111)|2[136-8]|3[0-6]|9[05])|40404|9(?:1\\d|29)",,,,"112"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],SX:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"919",,,,"919"],[,,,,,,,,,[-1]],,,,"SX",,,,,,,,,,,,,,,,,,[,,"919",,,,"919"],,[,,"919",,,,"919"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SY",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SZ:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SZ",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TD:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"TD",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TG:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"TG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],,[,,"1(?:011|1[078]|7[127])",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1(?:00|2[03]|3[3479]|7[67]|9[0246])|578|6(?:44|6[79]|88|9[16])|88\\d|9[19])|1[15]55",,,,"191"],[,,"1(?:113|2[23]\\d|5(?:09|56))",,,,"1113",,,[4]],,,,"TH",,,,,,,,,,,,,,,,,,[,,"1(?:669|9[19])",,,,"191"],,[,,"1(?:0[0-2]|1(?:0[03]|1[1-35]|2[0358]|3[03-79]|4[02-489]|5[04-9]|6[04-79]|7[03-9]|8[027-9]|9[02-9])|2(?:22|3[89]|66)|3(?:18|2[23]|3[013]|5[56]|6[45]|73)|477|5(?:0\\d|4[0-37-9]|5[1-8]|6[01679]|7[12568]|8[0-24589]|9[013589])|6(?:0[0-29]|2[03]|4[3-6]|6[1-9]|7[0257-9]|8[0158]|9[014-9])|7(?:[14]9|7[27]|90)|888|9[19])",,,,"100"],[,,"1(?:1(?:03|1[15]|2[58]|3[056]|4[02-49]|5[046-9]|7[03-589]|9[57-9])|5(?:0[0-8]|4[0-378]|5[1-478]|7[156])|6(?:20|4[356]|6[1-68]|7[057-9]|8[015]|9[0457-9]))|1(?:1[68]|26|3[1-35]|5[689]|60|7[17])\\d",,,,"1103",,,[4]],[,,"114[89]",,,,"1148",,,[4]],,[,,,,,,,,,[-1]]],TJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"TJ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[25]",,,,"112"],[,,,,,,,,,[-1]],,,,"TL",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112"],,[,,"1(?:0[02]|1[25]|2[0138]|72|9[07])",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TM:[,[,,"0\\d",,,,,,,[2]],,,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],,,,"TM",,,,,,,,,,,,,,,,,,[,,"0[1-3]",,,,"01"],,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],,,,"TN",,,,,,,,,,,,,,,,,,[,,"19[078]",,,,"190"],,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TO",,,,,,,,,,,,,,,,,,[,,"9(?:11|22|33|99)",,,,"911"],,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TR:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[02]|22|3[126]|4[04]|5[15-9]|6[18]|77|83)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TR",,,,,,,,,,,,,,,,,,[,,"1(?:1[02]|55)",,,,"110",,,[3]],,[,,"1(?:1(?:[02-79]|8(?:1[018]|2[0245]|3[2-4]|42|5[058]|6[06]|7[07]|8[01389]|9[089]))|3(?:37|[58]6|65)|471|5(?:07|78)|6(?:[02]6|99)|8(?:63|95))|2(?:077|268|4(?:17|23)|5(?:7[26]|82)|6[14]4|8\\d\\d|9(?:30|89))|3(?:0(?:05|72)|353|4(?:06|30|64)|502|674|747|851|9(?:1[29]|60))|4(?:0(?:25|3[12]|[47]2)|3(?:3[13]|[89]1)|439|5(?:43|55)|717|832)|5(?:145|290|[4-6]\\d\\d|772|833|9(?:[06]1|92))|6(?:236|6(?:12|39|8[59])|769)|7890|8(?:688|7(?:28|65)|85[06])|9(?:159|290)|1[2-9]\\d",,,,"110"],[,,"(?:285|542)0",,,,"2850",,,[4]],[,,,,,,,,,[-1]],,[,,"1(?:3(?:37|[58]6|65)|4(?:4|71)|5(?:07|78)|6(?:[02]6|99)|8(?:3|63|95))|(?:2(?:07|26|4[12]|5[78]|6[14]|8\\d|9[38])|3(?:0[07]|[38]5|4[036]|50|67|74|9[16])|4(?:0[2-47]|3[389]|[48]3|5[45]|71)|5(?:14|29|[4-6]\\d|77|83|9[069])|6(?:23|6[138]|76)|789|8(?:68|7[26]|85)|9(?:15|29))\\d",,,,"144",,,[3,4]]],TT:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[09]",,,,"990"],[,,,,,,,,,[-1]],,,,"TT",,,,,,,,,,,,,,,,,,[,,"99[09]",,,,"990"],,[,,"99[09]",,,,"990"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TV:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"TV",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"1\\d\\d|911",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TW:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[0289]|1(?:81|92)\\d",,,,"110"],[,,"10[56]",,,,"105",,,[3]],,,,"TW",,,,,,,,,,,,,,,,,,[,,"11[029]",,,,"110",,,[3]],,[,,"1(?:0[04-6]|1[0237-9]|3[389]|6[05-8]|7[07]|8(?:0|11)|9(?:19|22|5[057]|68|8[05]|9[15689]))",,,,"100"],[,,"1(?:65|9(?:1\\d|50|85|98))",,,,"165"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TZ:[,[,,"[149]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[12]|999",,,,"111",,,[3]],[,,,,,,,,,[-1]],,,,"TZ",,,,,,,,,,,,,,,,,,[,,"11[12]|999",,,,"111",,,[3]],,[,,"11[128]|46400|999",,,,"111"],[,,,,,,,,,[-1]],[,,"464\\d\\d",,,,"46400",,,[5]],,[,,"464\\d\\d",,,,"46400",,,[5]]],UA:[,[,,"[189]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[1-3]|1(?:2|6\\d{3}))",,,,"101",,,[3,6]],[,,,,,,,,,[-1]],,,,"UA",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-49]|1(?:2|6(?:000|1(?:11|23))|8\\d\\d?)|(?:[278]|5\\d)\\d)|[89]00\\d\\d?|151|1(?:06|4\\d|6)\\d\\d",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:118|[89]00)\\d\\d?",,,,"1180",,,[4,5]],,[,,,,,,,,,[-1]]],UG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"UG",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],US:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|[69]11",,,,"112",,,[3]],[,,"24280|(?:381|968)35|4(?:3355|7553|8221)|5(?:(?:489|934)2|5928)|72078|(?:323|960)40|(?:276|414)63|(?:2(?:520|744)|7390|9968)9|(?:693|732|976)88|(?:3(?:556|825)|5294|8623|9729)4|(?:3378|4136|7642|8961|9979)6|(?:4(?:6(?:15|32)|827)|(?:591|720)8|9529)7",,,,"24280",,,[5]],,,,"US",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"11(?:2|5[1-47]|[68]\\d|7[0-57]|98)|[2-9]\\d{3,5}|[2-9]11",,,,"112"],[,,"2(?:3333|(?:4224|7562|900)2|56447|6688)|3(?:1010|2665|7404)|40404|560560|6(?:0060|22639|5246|7622)|7(?:0701|3822|4666)|8(?:(?:3825|7226)5|4816)|99099",,,,"23333",,,[5,6]],[,,"336\\d\\d|[2-9]\\d{3}|[2356]11",,,,"211",,,[3,4,5]],,[,,"[2-9]\\d{4,5}",,,,"20000",,,[5,6]]],UY:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"128|911",,,,"128",,,[3]],[,,,,,,,,,[-1]],,,,"UY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128",,,[3]],,[,,"1(?:0[4-9]|1[2368]|2[0-3568]|787)|911",,,,"104"],[,,"178\\d",,,,"1780",,,[4]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],UZ:[,[,,"[04]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],[,,,,,,,,,[-1]],,,,"UZ",,,,,,,,,,,,,,,,,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],,[,,"0(?:0[1-3]|[1-3]|50)|45400",,,,"01"],[,,,,,,,,,[-1]],[,,"454\\d\\d",,,,"45400",,,[5]],,[,,"454\\d\\d",,,,"45400",,,[5]]],VA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],,,,"VA",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112"],,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VE:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],,,,"VE",,,,,,,,,,,,,,,,,,[,,"1(?:12|71)|911",,,,"112"],,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VI:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"VI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],,,,"VN",,,,,,,,,,,,,,,,,,[,,"11[3-5]",,,,"113"],,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VU:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"VU",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"WF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WS:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|9[4-69])",,,,"911"],[,,,,,,,,,[-1]],,,,"WS",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[4-69])",,,,"911"],,[,,"1(?:1[12]|2[0-6]|[39]0)|9(?:11|9[4-79])",,,,"111"],[,,,,,,,,,[-1]],[,,"12[0-6]",,,,"120"],,[,,,,,,,,,[-1]]],XK:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],,,,"XK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112"],,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],,,,"YE",,,,,,,,,,,,,,,,,,[,,"19[1459]",,,,"191"],,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YT:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],,,,"YT",,,,,,,,,,,,,,,,,,[,,"1(?:12|5)",,,,"15"],,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZA:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:01\\d\\d|12)",,,,"112",,,[3,5]],[,,"41(?:348|851)",,,,"41348",,,[5]],,,,"ZA",,,,,,,,,,,,,,,,,,[,,"1(?:01(?:11|77)|12)",,,,"112",,,[3,5]],,[,,"1(?:0(?:1(?:11|77)|20|7)|1[12]|77(?:3[237]|[45]7|6[279]|9[26]))|[34]\\d{4}",,,,"107"],[,,"3(?:078[23]|7(?:064|567)|8126)|4(?:394[16]|7751|8837)|4[23]699",,,,"30782",,,[5]],[,,"111",,,,"111",,,[3]],,[,,"[34]\\d{4}",,,,"30000",,,[5]]],ZM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],,,,"ZM",,,,,,,,,,,,,,,,,,[,,"112|99[139]",,,,"112"],,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZW:[,[,,"[139]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112|9(?:5[023]|61|9[3-59])",,,,"112",,,[3]],[,,"3[013-57-9]\\d{3}",,,,"30000",,,[5]],,,,"ZW",,,,,,,,,,,,,,,,,,[,,"112|99[3-59]",,,,"112",,,[3]],,[,,"11[2469]|3[013-57-9]\\d{3}|9(?:5[023]|6[0-25]|9[3-59])",,,,"112"],[,,,,,,,,,[-1]],[,,"114|9(?:5[023]|6[0-25])",,,,"114",,,[3]],,[,,,,,,,,,[-1]]]},i18n.phonenumbers.ShortNumberInfo=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo),i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_=["BR","CL","NI"],i18n.phonenumbers.ShortNumberInfo.ShortNumberCost={TOLL_FREE:0,STANDARD_RATE:1,PREMIUM_RATE:2,UNKNOWN_COST:3},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_=function(t){return(t=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t])?t:[]},i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_=function(t,e){return module$contents$goog$array_contains(t=this.getRegionCodesForCountryCode_(t.getCountryCodeOrDefault()),e)},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion=function(t,e){return!!this.regionDialingFromMatchesNumber_(t,e)&&!!(e=this.getMetadataForRegion_(e))&&(t=this.getNationalSignificantNumber_(t).length,module$contents$goog$array_contains(e.getGeneralDesc().possibleLengthArray(),t))},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber=function(t){var e=this.getRegionCodesForCountryCode_(t.getCountryCodeOrDefault());t=this.getNationalSignificantNumber_(t).length;for(var n=0;n<e.length;n++){var r=this.getMetadataForRegion_(e[n]);if(r&&module$contents$goog$array_contains(r=r.getGeneralDesc().possibleLengthArray(),t))return!0}return!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion=function(t,e){if(!this.regionDialingFromMatchesNumber_(t,e))return!1;if(!(e=this.getMetadataForRegion_(e)))return!1;t=this.getNationalSignificantNumber_(t);var n=e.getGeneralDesc();return!!this.matchesPossibleNumberAndNationalNumber_(t,n)&&(e=e.getShortCode(),this.matchesPossibleNumberAndNationalNumber_(t,e))},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumber=function(t){var e=this.getRegionCodesForCountryCode_(t.getCountryCodeOrDefault()),n=this.getRegionCodeForShortNumberFromRegionList_(t,e);return 1<e.length&&null!=n||this.isValidShortNumberForRegion(t,n)},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion=function(t,e){var n=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;if(!this.regionDialingFromMatchesNumber_(t,e))return n.UNKNOWN_COST;var r=this.getMetadataForRegion_(e);return r?(t=this.getNationalSignificantNumber_(t),module$contents$goog$array_contains(r.getGeneralDesc().possibleLengthArray(),t.length)?this.matchesPossibleNumberAndNationalNumber_(t,r.getPremiumRate())?n.PREMIUM_RATE:this.matchesPossibleNumberAndNationalNumber_(t,r.getStandardRate())?n.STANDARD_RATE:this.matchesPossibleNumberAndNationalNumber_(t,r.getTollFree())||this.isEmergencyNumber(t,e)?n.TOLL_FREE:n.UNKNOWN_COST:n.UNKNOWN_COST):n.UNKNOWN_COST},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCost=function(t){var e=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,n=this.getRegionCodesForCountryCode_(t.getCountryCodeOrDefault());if(0===n.length)return e.UNKNOWN_COST;if(1===n.length)return this.getExpectedCostForRegion(t,n[0]);for(var r=e.TOLL_FREE,i=0;i<n.length;i++){var o=this.getExpectedCostForRegion(t,n[i]);switch(o){case e.PREMIUM_RATE:return e.PREMIUM_RATE;case e.UNKNOWN_COST:r=e.UNKNOWN_COST;break;case e.STANDARD_RATE:r!==e.UNKNOWN_COST&&(r=e.STANDARD_RATE);break;case e.TOLL_FREE:break;default:throw Error("Unrecognized cost for region: "+o)}}return r},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodeForShortNumberFromRegionList_=function(t,e){if(0===e.length)return null;if(1===e.length)return e[0];t=this.getNationalSignificantNumber_(t);for(var n=0;n<e.length;n++){var r=e[n],i=this.getMetadataForRegion_(r);if(i&&this.matchesPossibleNumberAndNationalNumber_(t,i.getShortCode()))return r}return null},i18n.phonenumbers.ShortNumberInfo.prototype.getSupportedRegions=function(){return module$contents$goog$array_filter(Object.keys(i18n.phonenumbers.shortnumbermetadata.countryToMetadata),(function(t){return isNaN(t)}))},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumber=function(t){return(t=this.getMetadataForRegion_(t))&&(t=t.getShortCode()).hasExampleNumber()&&t.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumberForCost=function(t,e){if(!(t=this.getMetadataForRegion_(t)))return"";var n=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,r=null;switch(e){case n.TOLL_FREE:r=t.getTollFree();break;case n.STANDARD_RATE:r=t.getStandardRate();break;case n.PREMIUM_RATE:r=t.getPremiumRate()}return r&&r.hasExampleNumber()&&r.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.connectsToEmergencyNumber=function(t,e){return this.matchesEmergencyNumberHelper_(t,e,!0)},i18n.phonenumbers.ShortNumberInfo.prototype.isEmergencyNumber=function(t,e){return this.matchesEmergencyNumberHelper_(t,e,!1)},i18n.phonenumbers.ShortNumberInfo.prototype.getMetadataForRegion_=function(t){if(!t)return null;t=t.toUpperCase();var e=this.regionToMetadataMap[t];if(null==e){e=new goog.proto2.PbLiteSerializer;var n=i18n.phonenumbers.shortnumbermetadata.countryToMetadata[t];if(null==n)return null;e=e.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),n),this.regionToMetadataMap[t]=e}return e},i18n.phonenumbers.ShortNumberInfo.prototype.matchesEmergencyNumberHelper_=function(t,e,n){var r=i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(t);return!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(r)&&!(null==(t=this.getMetadataForRegion_(e))||!t.hasEmergency())&&(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(r),e=n&&!module$contents$goog$array_contains(i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_,e),n=t.getEmergency().getNationalNumberPatternOrDefault(),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(n,r)||e&&i18n.phonenumbers.PhoneNumberUtil.matchesPrefix(n,r))},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecific=function(t){var e=this.getRegionCodesForCountryCode_(t.getCountryCodeOrDefault());return e=this.getRegionCodeForShortNumberFromRegionList_(t,e),t=this.getNationalSignificantNumber_(t),!!(e=this.getMetadataForRegion_(e))&&this.matchesPossibleNumberAndNationalNumber_(t,e.getCarrierSpecific())},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecificForRegion=function(t,e){return!!this.regionDialingFromMatchesNumber_(t,e)&&(t=this.getNationalSignificantNumber_(t),!!(e=this.getMetadataForRegion_(e))&&this.matchesPossibleNumberAndNationalNumber_(t,e.getCarrierSpecific()))},i18n.phonenumbers.ShortNumberInfo.prototype.isSmsServiceForRegion=function(t,e){return!!this.regionDialingFromMatchesNumber_(t,e)&&(e=this.getMetadataForRegion_(e),t=this.getNationalSignificantNumber_(t),!!e&&this.matchesPossibleNumberAndNationalNumber_(t,e.getSmsServices()))},i18n.phonenumbers.ShortNumberInfo.prototype.getNationalSignificantNumber_=function(t){if(!t.hasNationalNumber())return"";var e=""+t.getNationalNumber();return t.hasItalianLeadingZero()&&t.getItalianLeadingZero()&&0<t.getNumberOfLeadingZerosOrDefault()?Array(t.getNumberOfLeadingZerosOrDefault()+1).join("0")+e:e},i18n.phonenumbers.ShortNumberInfo.prototype.matchesPossibleNumberAndNationalNumber_=function(t,e){return!(0<e.possibleLengthArray().length&&!module$contents$goog$array_contains(e.possibleLengthArray(),t.length))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(e.getNationalNumberPatternOrDefault(),t.toString())},i18n.phonenumbers.AsYouTypeFormatter=function(t){this.DIGIT_PLACEHOLDER_="\u2008",this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_),this.currentOutput_="",this.formattingTemplate_=new goog.string.StringBuffer,this.currentFormattingPattern_="",this.accruedInput_=new goog.string.StringBuffer,this.accruedInputWithoutFormatting_=new goog.string.StringBuffer,this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1,this.phoneUtil_=i18n.phonenumbers.PhoneNumberUtil.getInstance(),this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0,this.prefixBeforeNationalNumber_=new goog.string.StringBuffer,this.shouldAddSpaceAfterNationalPrefix_=!1,this.extractedNationalPrefix_="",this.nationalNumber_=new goog.string.StringBuffer,this.possibleFormats_=[],this.defaultCountry_=t,this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)},i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=" ",i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new i18n.phonenumbers.PhoneMetadata,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix("NA"),i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=new RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*(\\$\\d["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*)+$"),i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/,i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3,i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(t){return t=this.phoneUtil_.getCountryCodeForRegion(t),t=this.phoneUtil_.getRegionCodeForCountryCode(t),null!=(t=this.phoneUtil_.getMetadataForRegion(t))?t:i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_},i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var t=this.possibleFormats_.length,e=0;e<t;++e){var n=this.possibleFormats_[e],r=n.getPatternOrDefault();if(this.currentFormattingPattern_==r)return!1;if(this.createFormattingTemplate_(n))return this.currentFormattingPattern_=r,this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(n.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(t){for(var e=this.isCompleteNumber_&&0==this.extractedNationalPrefix_.length&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),n=e.length,r=0;r<n;++r){var i=e[r];0<this.extractedNationalPrefix_.length&&this.phoneUtil_.formattingRuleHasFirstGroupOnly(i.getNationalPrefixFormattingRuleOrDefault())&&!i.getNationalPrefixOptionalWhenFormatting()&&!i.hasDomesticCarrierCodeFormattingRule()||(0!=this.extractedNationalPrefix_.length||this.isCompleteNumber_||this.phoneUtil_.formattingRuleHasFirstGroupOnly(i.getNationalPrefixFormattingRuleOrDefault())||i.getNationalPrefixOptionalWhenFormatting())&&i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(i.getFormatOrDefault())&&this.possibleFormats_.push(i)}this.narrowDownPossibleFormats_(t)},i18n.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(t){for(var e=[],n=t.length-i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,r=this.possibleFormats_.length,i=0;i<r;++i){var o=this.possibleFormats_[i];if(0==o.leadingDigitsPatternCount())e.push(this.possibleFormats_[i]);else{var a=Math.min(n,o.leadingDigitsPatternCount()-1);o=o.getLeadingDigitsPattern(a),0==t.search(o)&&e.push(this.possibleFormats_[i])}}this.possibleFormats_=e},i18n.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(t){var e=t.getPatternOrDefault();return this.formattingTemplate_.clear(),0<(t=this.getFormattingTemplate_(e,t.getFormatOrDefault())).length&&(this.formattingTemplate_.append(t),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(t,e){var n="999999999999999".match(t)[0];return n.length<this.nationalNumber_.getLength()?"":(t=n.replace(new RegExp(t,"g"),e)).replace(/9/g,this.DIGIT_PLACEHOLDER_)},i18n.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_="",this.accruedInput_.clear(),this.accruedInputWithoutFormatting_.clear(),this.formattingTemplate_.clear(),this.lastMatchPosition_=0,this.currentFormattingPattern_="",this.prefixBeforeNationalNumber_.clear(),this.extractedNationalPrefix_="",this.nationalNumber_.clear(),this.ableToFormat_=!0,this.inputHasFormatting_=!1,this.originalPosition_=this.positionToRemember_=0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1,this.possibleFormats_=[],this.shouldAddSpaceAfterNationalPrefix_=!1,this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(t){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(t,!1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(t){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(t,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(t,e){if(this.accruedInput_.append(t),e&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(t)?t=this.normalizeAndAccrueDigitsAndPlusSign_(t,e):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_)if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_();return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(!this.attemptToExtractIdd_())return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();this.isExpectingCountryCallingCode_=!0;default:return this.isExpectingCountryCallingCode_?(this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString()):0<this.possibleFormats_.length?(t=this.inputDigitHelper_(t),0<(e=this.attemptToFormatAccruedDigits_()).length?e:(this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(t):this.accruedInput_.toString())):this.attemptToChooseFormattingPattern_()}},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_="",this.attemptToChooseFormattingPattern_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_},i18n.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){if(0<this.extractedNationalPrefix_.length){var t=this.nationalNumber_.toString();this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(t);var e=(t=this.prefixBeforeNationalNumber_.toString()).lastIndexOf(this.extractedNationalPrefix_);this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(t.substring(0,e))}return this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(t){return i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(t)||1==this.accruedInput_.getLength()&&i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(t)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var t=this.nationalNumber_.toString(),e=this.possibleFormats_.length,n=0;n<e;++n){var r=this.possibleFormats_[n],i=r.getPatternOrDefault();if(new RegExp("^(?:"+i+")$").test(t)&&(this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(r.getNationalPrefixFormattingRule()),r=t.replace(new RegExp(i,"g"),r.getFormat()),r=this.appendNationalNumber_(r),i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(r)==this.accruedInputWithoutFormatting_))return r}return""},i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(t){var e=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&0<e&&this.prefixBeforeNationalNumber_.toString().charAt(e-1)!=i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+t:this.prefixBeforeNationalNumber_+t},i18n.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var t=0,e=0,n=this.accruedInputWithoutFormatting_.toString(),r=this.currentOutput_.toString();t<this.positionToRemember_&&e<r.length;)n.charAt(t)==r.charAt(e)&&t++,e++;return e},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var t=this.nationalNumber_.toString();return t.length>=i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(t),0<(t=this.attemptToFormatAccruedDigits_()).length?t:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(t)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var t=this.nationalNumber_.toString(),e=t.length;if(0<e){for(var n="",r=0;r<e;r++)n=this.inputDigitHelper_(t.charAt(r));return this.ableToFormat_?this.appendNationalNumber_(n):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(1!=this.currentMetadata_.getCountryCode())return!1;var t=this.nationalNumber_.toString();return"1"==t.charAt(0)&&"0"!=t.charAt(1)&&"1"!=t.charAt(1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var t=this.nationalNumber_.toString(),e=0;if(this.isNanpaNumberWithNationalPrefix_())e=1,this.prefixBeforeNationalNumber_.append("1").append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0;else if(this.currentMetadata_.hasNationalPrefixForParsing()){var n=new RegExp("^(?:"+this.currentMetadata_.getNationalPrefixForParsing()+")");null!=(n=t.match(n))&&null!=n[0]&&0<n[0].length&&(this.isCompleteNumber_=!0,e=n[0].length,this.prefixBeforeNationalNumber_.append(t.substring(0,e)))}return this.nationalNumber_.clear(),this.nationalNumber_.append(t.substring(e)),t.substring(0,e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var t=this.accruedInputWithoutFormatting_.toString(),e=new RegExp("^(?:\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+"|"+this.currentMetadata_.getInternationalPrefix()+")");return null!=(e=t.match(e))&&null!=e[0]&&0<e[0].length&&(this.isCompleteNumber_=!0,e=e[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(t.substring(e)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(t.substring(0,e)),t.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(0==this.nationalNumber_.getLength())return!1;var t=new goog.string.StringBuffer,e=this.phoneUtil_.extractCountryCode(this.nationalNumber_,t);return 0!=e&&(this.nationalNumber_.clear(),this.nationalNumber_.append(t.toString()),t=this.phoneUtil_.getRegionCodeForCountryCode(e),i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(e):t!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(t)),this.prefixBeforeNationalNumber_.append(""+e).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_="",!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(t,e){if(t==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var n=t;this.accruedInputWithoutFormatting_.append(t)}else n=i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[t],this.accruedInputWithoutFormatting_.append(n),this.nationalNumber_.append(n);return e&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),n},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(t){var e=this.formattingTemplate_.toString();if(0<=e.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)){var n=e.search(this.DIGIT_PATTERN_);return t=e.replace(this.DIGIT_PATTERN_,t),this.formattingTemplate_.clear(),this.formattingTemplate_.append(t),this.lastMatchPosition_=n,t.substring(0,this.lastMatchPosition_+1)}return 1==this.possibleFormats_.length&&(this.ableToFormat_=!1),this.currentFormattingPattern_="",this.accruedInput_.toString()},Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i18n.phonenumbers,module.exports=exports.default}).call(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}]},{},[1])(1)},module.exports=f()}).call(this,__webpack_require__(59))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),i=n.n(r),o=n(281);function a(){return i.a.useContext(o.a)}},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(24),s=o.forwardRef((function(t,e){var n=t.classes,u=t.className,s=t.component,c=void 0===s?"div":s,f=t.square,l=void 0!==f&&f,d=t.elevation,h=void 0===d?1:d,p=t.variant,g=void 0===p?"elevation":p,m=Object(r.a)(t,["classes","className","component","square","elevation","variant"]);return o.createElement(c,Object(i.a)({className:Object(a.a)(n.root,u,"outlined"===g?n.outlined:n["elevation".concat(h)],!l&&n.rounded),ref:e},m))}));e.a=Object(u.a)((function(t){var e={};return t.shadows.forEach((function(t,n){e["elevation".concat(n)]={boxShadow:t}})),Object(i.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(s)},,,,,function(t,e,n){"use strict";var r=n(4),i=n(975),o=n(136);e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(t,Object(r.a)({defaultTheme:o.a},e))}},function(t,e){t.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},function(t,e){t.exports={L:1,M:0,Q:3,H:2}},function(t,e,n){var r=n(411);function i(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}i.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<t.getLength();o++)e[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(t.get(o)));return new i(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=r.glog(this.get(0))-r.glog(t.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<t.getLength();o++)n[o]^=r.gexp(r.glog(t.get(o))+e);return new i(n,0).mod(t)}},t.exports=i},function(t,e){for(var n={glog:function(t){if(t<1)throw new Error("glog("+t+")");return n.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return n.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)n.EXP_TABLE[r]=1<<r;for(r=8;r<256;r++)n.EXP_TABLE[r]=n.EXP_TABLE[r-4]^n.EXP_TABLE[r-5]^n.EXP_TABLE[r-6]^n.EXP_TABLE[r-8];for(r=0;r<255;r++)n.LOG_TABLE[n.EXP_TABLE[r]]=r;t.exports=n},function(t,e,n){var r=n(413),i=n(418),o=n(155),a=n(419),u=n(350),s=n(259);t.exports=function(t,e,n){for(var c=-1,f=(e=r(e,t)).length,l=!1;++c<f;){var d=s(e[c]);if(!(l=null!=t&&n(t,d)))break;t=t[d]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&u(f)&&a(d,f)&&(o(t)||i(t))}},function(t,e,n){var r=n(155),i=n(345),o=n(623),a=n(232);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(59))},function(t,e,n){var r=n(230),i=n(348);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,n){var r=n(649),i=n(231),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(650);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(651),i=n(351);t.exports=function(t,e){return t&&r(t,e,i)}},function(t,e,n){(function(t){var r=n(147),i=n(655),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===o?r.Buffer:void 0,s=(u?u.isBuffer:void 0)||i;t.exports=s}).call(this,n(94)(t))},function(t,e,n){var r=n(656),i=n(657),o=n(658),a=o&&o.isTypedArray,u=a?i(a):r;t.exports=u},function(t,e,n){var r=n(664),i=n(694),o=n(698),a=n(155),u=n(699);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):u(t)}},function(t,e,n){var r=n(256),i=n(666),o=n(667),a=n(668),u=n(669),s=n(670);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(671),i=n(231);t.exports=function t(e,n,o,a,u){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!==e&&n!==n:r(e,n,o,a,t,u))}},function(t,e,n){var r=n(672),i=n(675),o=n(676);t.exports=function(t,e,n,a,u,s){var c=1&n,f=t.length,l=e.length;if(f!=l&&!(c&&l>f))return!1;var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var p=-1,g=!0,m=2&n?new r:void 0;for(s.set(t,e),s.set(e,t);++p<f;){var b=t[p],v=e[p];if(a)var y=c?a(v,b,p,e,t,s):a(b,v,p,t,e,s);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!i(e,(function(t,e){if(!o(m,e)&&(b===t||u(b,t,n,a,s)))return m.push(e)}))){g=!1;break}}else if(b!==v&&!u(b,v,n,a,s)){g=!1;break}}return s.delete(t),s.delete(e),g}},function(t,e,n){var r=n(348);t.exports=function(t){return t===t&&!r(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},function(t,e,n){var r=n(413),i=n(259);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},function(t,e,n){var r=n(702),i=n(703),o=n(706),a=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return r(o(i(e).replace(a,"")),t,"")}}},function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},function(t,e,n){"use strict";n.r(e);var r=n(295);n.d(e,"default",(function(){return r.a}))},function(t,e,n){(function(r){var i,o;!function(r){"use strict";var a={inspect:{}};"object"===typeof t.exports?t.exports=r(n(234),n(260),n(129),n(130),n(198)):null!=n(148)?(i=[n(260),n(129),n(130),n(198)],void 0===(o=function(t,e,n,i){return r(a,t,e,n,i)}.apply(e,i))||(t.exports=o)):self.sanctuaryDef=r(a,self.sanctuaryEither,self.sanctuaryShow,self.sanctuaryTypeClasses,self.sanctuaryTypeIdentifiers)}((function(t,e,n,i,o){"use strict";var a=Math.pow(2,53)-1,u=-a,s=Array.prototype.slice,c=Object.prototype.hasOwnProperty,f=Object.prototype.toString,l="symbol"===typeof t.inspect.custom?t.inspect.custom:"inspect",d=e.Left,h=e.Right;function p(t){return function(e){return function(n){return t(e(n))}}}function g(t){return t}function m(t){return function(e){return t}}function b(t){return function(e,n){return t}}function v(t){return function(e){return!t(e)}}function y(t){return t.slice(0,-1)}function _(t){return 0===i.size(t)}function w(t){return function(e){if(t.length>e.length)return!1;for(var n=0;n<t.length;n+=1)if(t[n]!==e[n])return!1;return!0}}function S(t,e){return e.join(t)}function O(t){return t[t.length-1]}function x(t){return function(e){return t.some((function(t){return i.equals(t,e)}))}}function E(t,e){return _(t)?e:t}function M(t){return function(e){return e[t]}}function T(t){return function(e){return i.size(e)===t}}function $(t,e){return S(t,Array(e+1))}function A(t){return function(e){return $(t,e.length)}}var k=A(" ");function C(t){return Object.keys(t).sort()}function I(t){return Array.isArray(t)?t:i.reduce((function(t,e){return t.push(e),t}),[],t)}function P(t,e,n,r){return _(r)?t:i.reduce((function(t,e){return t+" - "+n(e)+"\n"}),e,r)}function N(t){return t.replace(/[ ]+$/gm,"")}function R(t){return function(e){return function(n){return t?e(n):n}}}function j(t){return function(e){return function(n){return t+n+e}}}function D(t){return j(t("("))(t(")"))}var L=j("\u2018")("\u2019");function F(t){return t.name.slice(t.name.indexOf("/")+1)}function B(t){return function(e){return function n(r){return r.supertypes.every(n)&&r._test(t)(e)}}}var U={constructor:{"@@type":"sanctuary-def/Type@1"},validate:function(t){var e=B(t),n=this;return function(r){if(!e(r)(n))return d({value:r,propPath:[]});for(var o=0;o<n.keys.length;o+=1)for(var a=n.keys[o],u=n.types[a],s=n.extractors[a](r),c=0;c<s.length;c+=1){var f=u.validate(t)(s[c]);if(f.isLeft)return d({value:f.value.value,propPath:i.concat([a],f.value.propPath)})}return h(r)}},"fantasy-land/equals":function(t){return i.equals(this.type,t.type)&&i.equals(this.name,t.name)&&i.equals(this.url,t.url)&&i.equals(this.supertypes,t.supertypes)&&i.equals(this.keys,t.keys)&&i.equals(this.types,t.types)},"@@show":function(){return this.format(g,m(g))}};function z(t,e,r,o,a,u,s,c){var f=Object.create(U);return f._test=s,f._extractors=c.reduce((function(t,e){return t[e[0]]=e[1],t}),{}),f.arity=o,f.extractors=i.map(p(I),f._extractors),f.format=a||function(t,r){return i.reduce((function(e,i){return e+t(" ")+R(i[2].arity>0)(D(t))(r(i[0])(n(i[2])))}),t(e),c)},f.keys=c.map((function(t){return t[0]})),f.name=e,f.supertypes=u,f.type=t,f.types=c.reduce((function(t,e){return t[e[0]]=e[2],t}),{}),f.url=r,f}var H="BINARY",V="FUNCTION",q="INCONSISTENT",W="NO_ARGUMENTS",G="RECORD",K="UNARY",Y="UNKNOWN",Z="VARIABLE",Q=z(q,"","",0,b("???"),[],m(m(!1)),[]),X=z(W,"","",0,b("()"),[],m(m(!0)),[]);function J(t){return function(e){return e.arity>=t}}function tt(t){return function(e){return o(e)===t}}function et(t){return function(e){return typeof e===t}}function nt(t){return"https://github.com/sanctuary-js/sanctuary-def/tree/v0.20.1#"+t}var rt=i.ap(ge,nt),it=i.ap(me,nt),ot=i.ap(ve,nt),at=z(Y,"","",0,b("Unknown"),[],m(m(!0)),[]),ut=rt("Any")([])(m(!0)),st=rt("Function")([])(et("function")),ct=rt("Arguments")([])(tt("Arguments")),ft=it("Array")([])(tt("Array"))(g),lt=rt("Array0")([ft(at)])(T(0)),dt=it("Array1")([ft(at)])(T(1))(g),ht=ot("Array2")([ft(at)])(T(2))((function(t){return[t[0]]}))((function(t){return[t[1]]})),pt=rt("Boolean")([])(et("boolean")),gt=rt("Date")([])(tt("Date")),mt=rt("ValidDate")([gt])(p(v(isNaN))(Number)),bt=it("Descending")([])(tt("sanctuary-descending/Descending@1"))(g),vt=ot("Either")([])(tt("sanctuary-either/Either@1"))((function(t){return t.isLeft?[t.value]:[]}))((function(t){return t.isLeft?[]:[t.value]})),yt=rt("Error")([])(tt("Error"));function _t(t){return function(e){return wt([t,e])}}function wt(t){var e=i.reduce((function(t,e){return t.push(["$"+n(t.length+1),m([]),e]),t}),[],t);return z(V,"","",t.length,(function(t,r){return R(2!==e.length)(D(t))(S(t(", "),i.map((function(e){return R(e[2].type===V)(D(t))(r(e[0])(n(e[2])))}),y(e))))+t(" -> ")+r(O(e)[0])(n(O(e)[2]))}),[st],m(m(!0)),e)}var St=rt("HtmlElement")([])((function(t){return/^\[object HTML.+Element\]$/.test(f.call(t))})),Ot=it("Identity")([])(tt("sanctuary-identity/Identity@1"))(g),xt=it("Maybe")([])(tt("sanctuary-maybe/Maybe@1"))(g),Et=it("NonEmpty")([])((function(t){return i.Monoid.test(t)&&i.Setoid.test(t)&&!i.equals(t,i.empty(t.constructor))}))((function(t){return[t]})),Mt=rt("Null")([])(tt("Null")),Tt=it("Nullable")([])(m(!0))((function(t){return null===t?[]:[t]})),$t=rt("Number")([])(et("number"));function At(t){return 0!==t}function kt(t){return t>0}function Ct(t){return t<0}var It=rt("PositiveNumber")([$t])(kt),Pt=rt("NegativeNumber")([$t])(Ct),Nt=rt("ValidNumber")([$t])(v(isNaN)),Rt=rt("NonZeroValidNumber")([Nt])(At),jt=rt("FiniteNumber")([Nt])(isFinite),Dt=rt("NonZeroFiniteNumber")([jt])(At),Lt=rt("PositiveFiniteNumber")([jt])(kt),Ft=rt("NegativeFiniteNumber")([jt])(Ct),Bt=rt("Integer")([Nt])((function(t){return Math.floor(t)===t&&t>=u&&t<=a})),Ut=rt("NonZeroInteger")([Bt])(At),zt=rt("NonNegativeInteger")([Bt])((function(t){return t>=0})),Ht=rt("PositiveInteger")([Bt])(kt),Vt=rt("NegativeInteger")([Bt])(Ct),qt=rt("Object")([])(tt("Object")),Wt=ot("Pair")([])(tt("sanctuary-pair/Pair@1"))((function(t){return[t.fst]}))((function(t){return[t.snd]})),Gt=rt("RegExp")([])(tt("RegExp")),Kt=rt("GlobalRegExp")([Gt])(M("global")),Yt=rt("NonGlobalRegExp")([Gt])(v(M("global"))),Zt=it("StrMap")([qt])(m(!0))(g),Qt=rt("String")([])(et("string")),Xt=rt("RegexFlags")([Qt])((function(t){return/^g?i?m?$/.test(t)})),Jt=rt("Symbol")([])(et("symbol")),te=rt("Type")([])(tt("sanctuary-def/Type@1")),ee=rt("TypeClass")([])(tt("sanctuary-type-classes/TypeClass@1")),ne=rt("Undefined")([])(tt("Undefined")),re=[st,ct,ft(at),ht(at)(at),pt,gt,bt(at),vt(at)(at),yt,_t(at)(at),St,Ot(at),xt(at),Mt,$t,qt,Wt(at)(at),Gt,Zt(at),Qt,Jt,te,ee,ne];function ie(t){return ge(t)("")([])(m(!0))}var oe="undefined"!==typeof r&&null!=r&&null!=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_TYPE_CHECK_SANCTUARY:"false",REACT_APP_BUILD_TARGET:"LAMASSU"})&&!0,ae=["zero","one","two","three","four","five","six","seven","eight","nine"];function ue(t){return(t<ae.length?ae[t]:n(t))+" "+(1===t?"argument":"arguments")}function se(t){return function(e){return function(n){return function(r){return function(i){return i.type===Y?ce(t,e,r(n)):[i]}}}}}function ce(t,e,n){var r=se(t);return _(n)?[at]:E(i.reduce((function(n,o){var a;if("object"===typeof o&&null!=o||"function"===typeof o){if(e.indexOf(o)>=0)return[];a=i.concat(e,[o])}else a=e;var u=r(a)(o);return i.chain((function(e){return e.validate(t)(o).isLeft?[]:e.type===K?i.map(be(e),u(e.extractors.$1)(e.types.$1)):e.type===H?i.lift2(ye(e),u(e.extractors.$1)(e.types.$1),u(e.extractors.$2)(e.types.$2)):[e]}),n)}),t,n),[Q])}function fe(t){return t.type===K?fe(t.types.$1):t.type===H?fe(t.types.$1)&&fe(t.types.$2):t.type!==q}function le(t,e){return i.reject((function(t){return t.type===q}),ce(t,[],e))}function de(t,e,n,r,o,a){var u={};for(var s in e){var f=e[s],l={types:f.types.slice(),valuesByPath:{}};for(var d in f.valuesByPath)l.valuesByPath[d]=f.valuesByPath[d].slice();u[s]=l}c.call(u,n.name)||(u[n.name]={types:i.filter(J(n.arity),t),valuesByPath:{}});var h=JSON.stringify(i.concat([r],o));c.call(u[n.name].valuesByPath,h)||(u[n.name].valuesByPath[h]=[]);var g,m=pe(t),b=p(p(p((g=fe,function(t){return i.filter(g,t)}))))(se(t)([]));return a.forEach((function(t){var e=b(t);u[n.name].valuesByPath[h].push(t),u[n.name].types=i.chain((function(r){return m(r)(t)?0===n.arity&&r.type===K?i.map(be(r),e(r.extractors.$1)(r.types.$1)):0===n.arity&&r.type===H?i.lift2(ye(r),e(r.extractors.$1)(r.types.$1),e(r.extractors.$2)(r.types.$2)):[r]:[]}),u[n.name].types)})),u}function he(t,e,n,r,o,a,u){for(var s=he,f=0;f<u.length;f+=1){var l=r.validate(t)(u[f]);if(l.isLeft)return d((function(){return Re(t,e,o,i.concat(a,l.value.propPath),l.value.value)}))}switch(r.type){case Z:var p=r.name,g=e.constraints;if(c.call(g,p)){var m=g[p];for(f=0;f<u.length;f+=1)for(var b=0;b<m.length;b+=1)if(!m[b].test(u[f]))return d((function(){return Pe(t,e,m[b],o,a,u[f],n)}))}var v=de(t,n,r,o,a,u),y=v[p].types;return _(y)?d((function(){return Ne(t,e,o,a,v[p].valuesByPath)})):i.reduce((function(n,c){return i.chain((function(n){var f=c.arity-r.arity;return r.keys.reduce((function(n,l,d){var h=c.extractors[c.keys[f+d]];return i.reduce((function(n,u){return i.chain((function(n){return s(t,e,n.typeVarMap,r.types[l],o,i.concat(a,[l]),[u])}),n)}),n,i.chain(h,u))}),h(n))}),n)}),h({typeVarMap:v,types:y}),y);case K:return i.map((function(t){return{typeVarMap:t.typeVarMap,types:i.map(be(r),E(t.types,[r.types.$1]))}}),s(t,e,n,r.types.$1,o,i.concat(a,["$1"]),i.chain(r.extractors.$1,u)));case H:return i.chain((function(n){var c=n.types;return i.map((function(t){var e=t.types;return{typeVarMap:t.typeVarMap,types:i.lift2(ye(r),E(c,[r.types.$1]),E(e,[r.types.$2]))}}),s(t,e,n.typeVarMap,r.types.$2,o,i.concat(a,["$2"]),i.chain(r.extractors.$2,u)))}),s(t,e,n,r.types.$1,o,i.concat(a,["$1"]),i.chain(r.extractors.$1,u)));case G:return i.reduce((function(n,c){return i.chain((function(n){return s(t,e,n.typeVarMap,r.types[c],o,i.concat(a,[c]),i.chain(r.extractors[c],u))}),n)}),h({typeVarMap:n,types:[r]}),r.keys);default:return h({typeVarMap:n,types:[r]})}}function pe(t){return function(e){return function(n){return he(t,{name:"name",constraints:{},types:[e]},{},e,0,[],[n]).isRight}}}function ge(t){return function(e){return function(n){return function(r){return z("NULLARY",t,e,0,null,n,m(r),[])}}}}function me(t){return function(e){return function(n){return function(r){return function(i){return function(o){return z(K,t,e,1,null,n,m(r),[["$1",i,o]])}}}}}}function be(t){return me(t.name)(t.url)(t.supertypes)(t._test([]))(t._extractors.$1)}function ve(t){return function(e){return function(n){return function(r){return function(i){return function(o){return function(a){return function(u){return z(H,t,e,2,null,n,m(r),[["$1",i,a],["$2",o,u]])}}}}}}}}function ye(t){return ve(t.name)(t.url)(t.supertypes)(t._test([]))(t._extractors.$1)(t._extractors.$2)}function _e(t){var e=C(t);var r=e.map((function(e){return[e,function(t){return[t[e]]},t[e]]}));return z(G,"","",0,(function(r,o){if(_(e))return r("{}");var a=i.map((function(e){var i=t[e];return r(" ")+r(/^(?!\d)[$\w]+$/.test(e)?e:n(e))+r(" :: ")+o(e)(n(i))}),e);return j(r("{"))(r(" }"))(S(r(","),a))}),[],(function(t){return function(t){if(null==t)return!1;var n={};for(var r in e.forEach((function(t){n[t]=t})),t)delete n[r];return _(n)}}),r)}function we(t){var e=J(t);return function(t){var n=B(t);return function(r){var i=n(r);return t.some((function(t){return e(t)&&i(t)}))}}}function Se(t,e,r,i){return new TypeError(N(L(t.name)+" applied to the wrong number of arguments\n\n"+Ae(t,m(m(k)),(function(t){return function(n){return m(m(t===e?n:k))}}))+"\nExpected "+ue(r)+" but received "+ue(i.length)+P(".\n",":\n\n",n,i)))}function Oe(t,e,n){var r=[];return C(t).forEach((function(e){var i=n(e);t[e].forEach((function(t){r.push(i(t)(F(t)+" "+e))}))})),R(r.length>0)(j("")(e(" => ")))(R(r.length>1)(D(e))(S(e(", "),r)))}function xe(t){return i.concat(t.type===Z?[t.name]:[],i.chain((function(e){return xe(t.types[e])}),t.keys))}function Ee(t){var e=i.chain(xe,t);return function(t){var r="a".charCodeAt(0);return R(t.type===V)(D(g))(n(t).replace(/\bUnknown\b/g,(function(){do{var t=String.fromCharCode(r++)}while(e.indexOf(t)>=0);return t})))}}function Me(t,e,r,o){var a=Ee(e.types);return n(o)+") "+S("\n ",i.map((function(e){return n(e)+" :: "+S(", ",E(i.map(a,le(t,[e])),["(no types)"]))}),r))}function Te(t){return t.name+" :: "+Oe(t.constraints,g,m(m(g)))+S(" -> ",i.map(Ee(t.types),t.types))}function $e(t,e,n){return n(t)(e)(t.format(k,(function(r){return m($e(t.types[r],i.concat(e,[r]),n))})))}function Ae(t,e,r){var i=t.types.reduce((function(t,e,i){var o=p(R(e.type===V)(D(k)))(p((function(t){return $e(e,[],t)}))(r(i)));return t.carets.push(o(A("^"))),t.numbers.push(o((function(e){return function(t){return function(e){var n=e.length-t.length;return $(" ",Math.floor(n/2))+t+$(" ",Math.ceil(n/2))}}(n(t.counter+=1))(e)}))),t}),{carets:[],numbers:[],counter:0});return Te(t)+"\n"+k(t.name+" :: ")+Oe(t.constraints,k,e)+S(k(" -> "),i.carets)+"\n"+k(t.name+" :: ")+Oe(t.constraints,k,m(m(k)))+S(k(" -> "),i.numbers)+"\n"}function ke(t,e){return i.reduce((function(t,e){return t.types[e]}),t,e)}function Ce(t){return function(e){return function(n){return function(r){return function(r){var o=i.concat([e],r),a=w(o)(t),u=w(t)(o);return a&&u?n:a?g:k}}}}}function Ie(t,e){return null==e.url||""===e.url?"":"\nSee "+e.url+" for information about the "+e.name+" "+t+".\n"}function Pe(t,e,n,r,o,a,u){var s=ke(e.types[r],o);return new TypeError(N("Type-class constraint violation\n\n"+Ae(e,(function(t){return function(e){return t===s.name&&e.name===n.name?A("^"):k}}),Ce(i.concat([r],o)))+"\n"+Me(t,e,[a],1)+"\n\n"+L(e.name)+" requires "+L(s.name)+" to satisfy the "+F(n)+" type-class constraint; the value at position 1 does not.\n"+Ie("type class",n)))}function Ne(t,e,n,r,o){var a=JSON.stringify(i.concat([n],r)),u=o[a],s=i.filter((function(e){var n=o[e];return e===a||_(function(t,e){return i.filter(fe,ce(t,[],e))}(t,i.concat(u,n)))}),C(o)),f=function(t,e){var n=i.map(JSON.parse,C(e));return Ae(t,m(m(k)),(function(t){return function(r){return function(o){return function(o){var a=i.concat([t],o);return function(t){if(n.some(w(a))){var i=JSON.stringify(a);if(!c.call(e,i))return t;if(!_(e[i]))return r(t)}return k(t)}}}}}))}(e,i.reduce((function(t,e){return t[e]=o[e],t}),{},s));return new TypeError(N("Type-variable constraint violation\n\n"+f+"\n"+i.reduce((function(n,r){var i=o[r];return _(i)?n:{idx:n.idx+1,s:n.s+Me(t,e,i,n.idx+1)+"\n\n"}}),{idx:0,s:""},s).s+"Since there is no type of which all the above values are members, the type-variable constraint has been violated.\n"))}function Re(t,e,r,o,a){var u=ke(e.types[r],o),s=Ae(e,m(m(k)),Ce(i.concat([r],o)));return new TypeError(N(u.type===Z&&_(le(t,[a]))?"Unrecognized value\n\n"+s+"\n"+Me(t,e,[a],1)+"\n\n"+P("The environment is empty! Polymorphic functions require a non-empty environment.\n","The value at position 1 is not a member of any type in the environment.\n\nThe environment contains the following types:\n\n",Ee(e.types),t):"Invalid value\n\n"+s+"\n"+Me(t,e,[a],1)+"\n\nThe value at position 1 is not a member of "+L(n(u))+".\n"+Ie(J(1)(u)?"type constructor":"type",u)))}function je(t,e,r,i){return new TypeError(N(L(t.name)+" applied "+L(n(t.types[e]))+" to the wrong number of arguments\n\n"+Ae(t,m(m(k)),(function(t){return function(n){return function(r){return function(i){return function(i){return t===e?r.format(k,(function(t){return"$1"===t?n:k})):k(i)}}}}}))+"\nExpected "+ue(r)+" but received "+ue(i.length)+P(".\n",":\n\n",n,i)))}function De(t){if(t.isLeft)throw t.value();return t.value}var Le=[Qt,Zt(ft(ee)),Et(ft(te)),st,st];function Fe(t){function e(e){return function(n){return function(r){return function(o){return t.checkTypes?function(t,e,n){var r=e.types.length-1;function o(n,r,o){var a=e.types[r];if(a.type!==V)return o;function u(n,r,o,u){var s=[o],c=a.types[o];return c.type===Z?i.chain((function(n){return _(n[c.name].types)?d((function(){return Ne(t,e,r,s,n[c.name].valuesByPath)})):h(n)}),h(de(t,n,c,r,s,[u]))):i.map((function(t){return t.typeVarMap}),he(t,e,n,c,r,s,[u]))}var c=n;return function(t){if(arguments.length!==a.arity-1)throw je(e,r,a.arity-1,s.call(arguments));var n=arguments;c=De(y(a.keys).reduce((function(t,e,o){var a=n[o];return i.chain((function(t){return u(t,r,e,a)}),t)}),h(c)));var f=o.apply(this,arguments),l=O(a.keys);return c=De(u(c,r,l,f)),f}}var a,u=e.types[0].type===W?function(){if(0!==arguments.length)throw Se(e,0,0,s.call(arguments));var i=n();return o(De(he(t,e,{},e.types[r],r,[],[i])).typeVarMap,r,i)}:function a(u,c,f){return function(l){var d=s.call(arguments);if(1!==d.length)throw Se(e,f,1,d);var h=De(he(t,e,u,e.types[f],f,[],d)).typeVarMap,p=i.concat(c,d);if(f+1===r){var g=p.reduce((function(t,e,n){return t(o(h,n,e))}),n);return o(h=De(he(t,e,h,e.types[r],r,[],[g])).typeVarMap,r,g)}return a(h,p,f+1)}}({},[],0);return u[l]=u.toString=(a=Te(e),function(){return a}),u}(t.env,{name:e,constraints:n,types:1===r.length?i.concat([X],r):r},o):o}}}}return e(e.name)({})(Le)(e)}var Be=Fe({checkTypes:!oe,env:re});function Ue(t){var e=t(at);return Be(e.name)({})([te,te])(be(e))}function ze(t){var e=t(at)(at);return Be(e.name)({})([te,te,te])(ye(e))}return{Any:ut,AnyFunction:st,Arguments:ct,Array:Ue(ft),Array0:lt,Array1:Ue(dt),Array2:ze(ht),Boolean:pt,Date:gt,ValidDate:mt,Descending:Ue(bt),Either:ze(vt),Error:yt,Fn:Be("Fn")({})([te,te,te])(_t),Function:Be("Function")({})([Et(ft(te)),te])(wt),HtmlElement:St,Identity:Ue(Ot),Maybe:Ue(xt),NonEmpty:Et,Null:Mt,Nullable:Ue(Tt),Number:$t,PositiveNumber:It,NegativeNumber:Pt,ValidNumber:Nt,NonZeroValidNumber:Rt,FiniteNumber:jt,NonZeroFiniteNumber:Dt,PositiveFiniteNumber:Lt,NegativeFiniteNumber:Ft,Integer:Bt,NonZeroInteger:Ut,NonNegativeInteger:zt,PositiveInteger:Ht,NegativeInteger:Vt,Object:qt,Pair:ze(Wt),RegExp:Gt,GlobalRegExp:Kt,NonGlobalRegExp:Yt,RegexFlags:Xt,StrMap:Ue(Zt),String:Qt,Symbol:Jt,Type:te,TypeClass:ee,Undefined:ne,Unknown:at,env:re,create:Be("create")({})([_e({checkTypes:pt,env:ft(te)}),ie(S(" -> ",i.map(n,Le)))])(Fe),test:Be("test")({})([ft(te),te,ut,pt])(pe),NullaryType:Be("NullaryType")({})([Qt,Qt,ft(te),ie("(Any -> Boolean)"),te])(ge),UnaryType:Be("UnaryType")({f:[i.Foldable]})([Qt,Qt,ft(te),ie("(Any -> Boolean)"),ie("(t a -> f a)"),ie("Type -> Type")])((function(t){return p(p(p(p(Be(t)({})([te,te])))))(me(t))})),BinaryType:Be("BinaryType")({f:[i.Foldable]})([Qt,Qt,ft(te),ie("(Any -> Boolean)"),ie("(t a b -> f a)"),ie("(t a b -> f b)"),ie("Type -> Type -> Type")])((function(t){return p(p(p(p(p(Be(t)({})([te,te,te]))))))(ve(t))})),EnumType:Be("EnumType")({})([Qt,Qt,ft(ut),te])((function(t){return function(e){return p(ge(t)(e)([]))(x)}})),RecordType:Be("RecordType")({})([Zt(te),te])(_e),NamedRecordType:Be("NamedRecordType")({})([Et(Qt),Qt,ft(te),Zt(te),te])((function(t){return function(e){return function(n){return function(r){var i=C(r);var o=i.map((function(t){return[t,function(e){return[e[t]]},r[t]]}));return z(G,t,e,0,(function(e,n){return e(t)}),n,(function(t){var e=B(t);return function(t){if(null==t)return!1;var n={};for(var o in i.forEach((function(t){n[t]=t})),t)delete n[o];return _(n)&&i.every((function(n){return e(t[n])(r[n])}))}}),o)}}}})),TypeVariable:Be("TypeVariable")({})([Qt,te])((function(t){var e=[],n=we(e.length);return z(Z,t,"",0,b(t),[],n,e)})),UnaryTypeVariable:Be("UnaryTypeVariable")({})([Qt,ie("Type -> Type")])((function(t){return Be(t)({})([te,te])(function(t){return function(e){var n=[["$1",m([]),e]],r=we(n.length);return z(Z,t,"",1,null,[],r,n)}}(t))})),BinaryTypeVariable:Be("BinaryTypeVariable")({})([Qt,ie("Type -> Type -> Type")])((function(t){return Be(t)({})([te,te,te])(function(t){return function(e){return function(n){var r=[["$1",m([]),e],["$2",m([]),n]],i=we(r.length);return z(Z,t,"",2,null,[],i,r)}}}(t))})),Thunk:Be("Thunk")({})([te,te])((function(t){return wt([t])})),Predicate:Be("Predicate")({})([te,te])((function(t){return _t(t)(pt)}))}}))}).call(this,n(70))},function(t,e,n){var r,i;!function(o){"use strict";var a={inspect:{}};"object"===typeof t.exports?t.exports=o(n(234),n(129),n(130)):null!=n(148)?(r=[n(129),n(130)],void 0===(i=function(t,e){return o(a,t,e)}.apply(e,r))||(t.exports=i)):self.sanctuaryMaybe=o(a,self.sanctuaryShow,self.sanctuaryTypeClasses)}((function(t,e,n){"use strict";if("undefined"!==typeof __doctest){var r=__doctest.require("sanctuary-def"),i=__doctest.require("sanctuary-type-identifiers");(function(){var t=__doctest.require("sanctuary"),e=r.UnaryType("sanctuary-maybe/Maybe")("")((function(t){return i(t)===o["@@type"]}))((function(t){return t.isJust?[t.value]:[]})),a=n.concat(t.env,[r.TypeClass,e(r.Unknown)]);t.create({checkTypes:!0,env:a})})()}var o={},a={constructor:o,isNothing:!0,isJust:!1,"@@show":h,"fantasy-land/equals":function(t){return t.isNothing},"fantasy-land/lte":function(t){return!0},"fantasy-land/concat":function(t){return t},"fantasy-land/filter":function(t){return this},"fantasy-land/map":function(t){return this},"fantasy-land/ap":function(t){return this},"fantasy-land/chain":function(t){return this},"fantasy-land/alt":function(t){return t},"fantasy-land/reduce":function(t,e){return e},"fantasy-land/traverse":function(t,e){return n.of(t,this)},"fantasy-land/extend":function(t){return this}},u={constructor:o,isNothing:!1,isJust:!0,"@@show":p,"fantasy-land/filter":function(t){return t(this.value)?this:c},"fantasy-land/map":function(t){return f(t(this.value))},"fantasy-land/ap":function(t){return t.isJust?f(t.value(this.value)):t},"fantasy-land/chain":function(t){return t(this.value)},"fantasy-land/alt":function(t){return this},"fantasy-land/reduce":function(t,e){return t(e,this.value)},"fantasy-land/traverse":function(t,e){return n.map(f,e(this.value))},"fantasy-land/extend":function(t){return f(t(this))}},s=t.inspect.custom;"symbol"===typeof s?(a[s]=h,u[s]=p):(a.inspect=h,u.inspect=p);var c=o.Nothing=Object.create(a),f=o.Just=function(t){var e=Object.create(u);return n.Setoid.test(t)&&(e["fantasy-land/equals"]=g,n.Ord.test(t)&&(e["fantasy-land/lte"]=m)),n.Semigroup.test(t)&&(e["fantasy-land/concat"]=b),e.value=t,e};function l(t){return{tag:l,value:t}}function d(t){return{tag:d,value:t}}function h(){return"Nothing"}function p(){return"Just ("+e(this.value)+")"}function g(t){return t.isJust&&n.equals(this.value,t.value)}function m(t){return t.isJust&&n.lte(this.value,t.value)}function b(t){return t.isJust?f(n.concat(this.value,t.value)):this}return o["@@type"]="sanctuary-maybe/Maybe@1",o["fantasy-land/empty"]=function(){return c},o["fantasy-land/of"]=f,o["fantasy-land/chainRec"]=function(t,e){for(var n=l(e);n.tag===l;){var r=t(l,d,n.value);if(r.isNothing)return r;n=r.value}return f(n.value)},o["fantasy-land/zero"]=function(){return c},o}))},function(t,e,n){var r,i;!function(o){"use strict";var a={inspect:{}};"object"===typeof t.exports?t.exports=o(n(234),n(129),n(130)):null!=n(148)?(r=[n(129),n(130)],void 0===(i=function(t,e){return o(a,t,e)}.apply(e,r))||(t.exports=i)):self.sanctuaryPair=o(a,self.sanctuaryShow,self.sanctuaryTypeClasses)}((function(t,e,n){"use strict";if("undefined"!==typeof __doctest){var r=__doctest.require("sanctuary-def"),i=__doctest.require("sanctuary-type-identifiers");(function(){var t=__doctest.require("sanctuary"),e=r.BinaryType("sanctuary-pair/Pair")("")((function(t){return i(t)===u["@@type"]}))((function(t){return[t.fst]}))((function(t){return[t.snd]})),o=n.concat(t.env,[r.TypeClass,e(r.Unknown)(r.Unknown)]);t.create({checkTypes:!0,env:o})})()}var o={constructor:u,"@@show":s,"fantasy-land/compose":function(t){return u(this.fst)(t.snd)},"fantasy-land/map":function(t){return u(this.fst)(t(this.snd))},"fantasy-land/bimap":function(t,e){return u(t(this.fst))(e(this.snd))},"fantasy-land/reduce":function(t,e){return t(e,this.snd)},"fantasy-land/traverse":function(t,e){return n.map(u(this.fst),e(this.snd))},"fantasy-land/extend":function(t){return u(this.fst)(t(this))},"fantasy-land/extract":function(){return this.snd}},a=t.inspect.custom;function u(t){return function(e){var r=Object.create(o);return n.Setoid.test(t)&&n.Setoid.test(e)&&(r["fantasy-land/equals"]=c,n.Ord.test(t)&&n.Ord.test(e)&&(r["fantasy-land/lte"]=f)),n.Semigroup.test(t)&&(n.Semigroup.test(e)&&(r["fantasy-land/concat"]=l),r["fantasy-land/ap"]=d,r["fantasy-land/chain"]=h),r.fst=t,r.snd=e,r}}function s(){return"Pair ("+e(this.fst)+") ("+e(this.snd)+")"}function c(t){return n.equals(this.fst,t.fst)&&n.equals(this.snd,t.snd)}function f(t){return n.equals(this.fst,t.fst)?n.lte(this.snd,t.snd):n.lte(this.fst,t.fst)}function l(t){return u(n.concat(this.fst,t.fst))(n.concat(this.snd,t.snd))}function d(t){return u(n.concat(t.fst,this.fst))(t.snd(this.snd))}function h(t){var e=t(this.snd);return u(n.concat(this.fst,e.fst))(e.snd)}return"symbol"===typeof a?o[a]=s:o.inspect=s,"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator&&(o[Symbol.iterator]=function(){return[this.fst,this.snd][Symbol.iterator]()}),u.fst=function(t){return t.fst},u.snd=function(t){return t.snd},u.swap=function(t){return u(t.snd)(t.fst)},u["@@type"]="sanctuary-pair/Pair@1",u}))},function(t,e,n){var r=n(102),i={BTC:"BTC",BCH:"BCH",DASH:"DASH",ETH:"ETH",LTC:"LTC",ZEC:"ZEC",USDT:"USDT",XMR:"XMR"},o=[{cryptoCode:i.BTC,display:"Bitcoin",code:"bitcoin",configFile:"bitcoin.conf",daemon:"bitcoind",defaultPort:8332,unitScale:8,zeroConf:!0,type:"coin",units:{full:{displayScale:8,displayCode:"BTC"},mili:{displayScale:5,displayCode:"mBTC"}}},{cryptoCode:i.BCH,display:"Bitcoin Cash",code:"bitcoincash",configFile:"bitcoincash.conf",daemon:"bitcoincashd",defaultPort:8336,unitScale:8,zeroConf:!0,type:"coin",units:{full:{displayScale:8,displayCode:"BCH"},mili:{displayScale:5,displayCode:"mBCH"}}},{cryptoCode:i.DASH,display:"Dash",code:"dash",configFile:"dash.conf",daemon:"dashd",defaultPort:9998,unitScale:8,zeroConf:!0,type:"coin",units:{full:{displayScale:8,displayCode:"DASH"},mili:{displayScale:5,displayCode:"mDASH"}}},{cryptoCode:i.ETH,display:"Ethereum",code:"ethereum",configFile:"geth.conf",daemon:"geth",defaultPort:8545,unitScale:18,zeroConf:!1,type:"coin",units:{full:{displayScale:18,displayCode:"ETH"},mili:{displayScale:15,displayCode:"mETH"}}},{cryptoCode:i.LTC,display:"Litecoin",code:"litecoin",configFile:"litecoin.conf",daemon:"litecoind",defaultPort:9332,unitScale:8,zeroConf:!0,type:"coin",units:{full:{displayScale:8,displayCode:"LTC"},mili:{displayScale:5,displayCode:"mLTC"}}},{cryptoCode:i.USDT,display:"USDT",code:"tether",unitScale:6,contractAddress:"0xdac17f958d2ee523a2206206994597c13d831ec7",type:"erc-20",units:{full:{displayScale:6,displayCode:"USDT"}},isCashinOnly:!0},{cryptoCode:i.XMR,display:"Monero",code:"monero",configFile:"monero.conf",daemon:"monerod",wallet:"monero-wallet-rpc",defaultPort:18081,walletPort:18082,unitScale:12,zeroConf:!0,type:"coin",units:{full:{displayScale:12,displayCode:"XMR"},mili:{displayScale:9,displayCode:"mXMR"}}},{cryptoCode:i.ZEC,display:"Zcash",code:"zcash",configFile:"zcash.conf",daemon:"zcashd",defaultPort:8232,unitScale:8,zeroConf:!0,type:"coin",units:{full:{displayScale:8,displayCode:"ZEC"},mili:{displayScale:5,displayCode:"mZEC"}}}],a=r.orderBy(["code","cryptoCode"],["asc","asc"],o),u=r.keys(i);t.exports={CRYPTO_CURRENCIES:a,COINS:i,ALL_CRYPTOS:u}},function(t,e,n){var r=n(60);t.exports={Block:n(783),ECPair:n(463),Transaction:n(363),TransactionBuilder:n(787),address:n(466),bip32:n(812),crypto:n(157),networks:n(123),opcodes:n(67),payments:n(366),script:r}},function(t,e,n){var r=n(36).Buffer;t.exports={check:function(t){if(t.length<8)return!1;if(t.length>72)return!1;if(48!==t[0])return!1;if(t[1]!==t.length-2)return!1;if(2!==t[2])return!1;var e=t[3];if(0===e)return!1;if(5+e>=t.length)return!1;if(2!==t[4+e])return!1;var n=t[5+e];return 0!==n&&(6+e+n===t.length&&(!(128&t[4])&&(!(e>1&&0===t[4]&&!(128&t[5]))&&(!(128&t[e+6])&&!(n>1&&0===t[e+6]&&!(128&t[e+7]))))))},decode:function(t){if(t.length<8)throw new Error("DER sequence length is too short");if(t.length>72)throw new Error("DER sequence length is too long");if(48!==t[0])throw new Error("Expected DER sequence");if(t[1]!==t.length-2)throw new Error("DER sequence length is invalid");if(2!==t[2])throw new Error("Expected DER integer");var e=t[3];if(0===e)throw new Error("R length is zero");if(5+e>=t.length)throw new Error("R length is too long");if(2!==t[4+e])throw new Error("Expected DER integer (2)");var n=t[5+e];if(0===n)throw new Error("S length is zero");if(6+e+n!==t.length)throw new Error("S length is invalid");if(128&t[4])throw new Error("R value is negative");if(e>1&&0===t[4]&&!(128&t[5]))throw new Error("R value excessively padded");if(128&t[e+6])throw new Error("S value is negative");if(n>1&&0===t[e+6]&&!(128&t[e+7]))throw new Error("S value excessively padded");return{r:t.slice(4,4+e),s:t.slice(6+e)}},encode:function(t,e){var n=t.length,i=e.length;if(0===n)throw new Error("R length is zero");if(0===i)throw new Error("S length is zero");if(n>33)throw new Error("R length is too long");if(i>33)throw new Error("S length is too long");if(128&t[0])throw new Error("R value is negative");if(128&e[0])throw new Error("S value is negative");if(n>1&&0===t[0]&&!(128&t[1]))throw new Error("R value excessively padded");if(i>1&&0===e[0]&&!(128&e[1]))throw new Error("S value excessively padded");var o=r.allocUnsafe(6+n+i);return o[0]=48,o[1]=o.length-2,o[2]=2,o[3]=t.length,t.copy(o,4),o[4+n]=2,o[5+n]=e.length,e.copy(o,6+n),o}}},function(t,e,n){"use strict";var r=e;r.base=n(262),r.short=n(739),r.mont=n(740),r.edwards=n(741)},function(t,e,n){"use strict";var r=n(131).rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function a(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?a(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},function(t,e,n){"use strict";var r=n(131),i=n(235),o=n(441),a=n(95),u=r.sum32,s=r.sum32_4,c=r.sum32_5,f=o.ch32,l=o.maj32,d=o.s0_256,h=o.s1_256,p=o.g0_256,g=o.g1_256,m=i.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}r.inherits(v,m),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=s(g(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],m=this.h[2],b=this.h[3],v=this.h[4],y=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var S=c(w,h(v),f(v,y,_),this.k[r],n[r]),O=u(d(i),l(i,o,m));w=_,_=y,y=v,v=u(b,S),b=m,m=o,o=i,i=u(S,O)}this.h[0]=u(this.h[0],i),this.h[1]=u(this.h[1],o),this.h[2]=u(this.h[2],m),this.h[3]=u(this.h[3],b),this.h[4]=u(this.h[4],v),this.h[5]=u(this.h[5],y),this.h[6]=u(this.h[6],_),this.h[7]=u(this.h[7],w)},v.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(t,e,n){"use strict";var r=n(131),i=n(235),o=n(95),a=r.rotr64_hi,u=r.rotr64_lo,s=r.shr64_hi,c=r.shr64_lo,f=r.sum64,l=r.sum64_hi,d=r.sum64_lo,h=r.sum64_4_hi,p=r.sum64_4_lo,g=r.sum64_5_hi,m=r.sum64_5_lo,b=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function _(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,n,r,i,o){var a=e&r^~e&o;return a<0&&(a+=4294967296),a}function S(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function O(t,e,n,r,i,o){var a=e&r^e&o^r&o;return a<0&&(a+=4294967296),a}function x(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function E(t,e){var n=u(t,e,28)^u(e,t,2)^u(e,t,7);return n<0&&(n+=4294967296),n}function M(t,e){var n=a(t,e,14)^a(t,e,18)^a(e,t,9);return n<0&&(n+=4294967296),n}function T(t,e){var n=u(t,e,14)^u(t,e,18)^u(e,t,9);return n<0&&(n+=4294967296),n}function $(t,e){var n=a(t,e,1)^a(t,e,8)^s(t,e,7);return n<0&&(n+=4294967296),n}function A(t,e){var n=u(t,e,1)^u(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function k(t,e){var n=a(t,e,19)^a(e,t,29)^s(t,e,6);return n<0&&(n+=4294967296),n}function C(t,e){var n=u(t,e,19)^u(e,t,29)^c(t,e,6);return n<0&&(n+=4294967296),n}r.inherits(y,b),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;r<n.length;r+=2){var i=k(n[r-4],n[r-3]),o=C(n[r-4],n[r-3]),a=n[r-14],u=n[r-13],s=$(n[r-30],n[r-29]),c=A(n[r-30],n[r-29]),f=n[r-32],l=n[r-31];n[r]=h(i,o,a,u,s,c,f,l),n[r+1]=p(i,o,a,u,s,c,f,l)}},y.prototype._update=function(t,e){this._prepareBlock(t,e);var n=this.W,r=this.h[0],i=this.h[1],a=this.h[2],u=this.h[3],s=this.h[4],c=this.h[5],h=this.h[6],p=this.h[7],b=this.h[8],v=this.h[9],y=this.h[10],$=this.h[11],A=this.h[12],k=this.h[13],C=this.h[14],I=this.h[15];o(this.k.length===n.length);for(var P=0;P<n.length;P+=2){var N=C,R=I,j=M(b,v),D=T(b,v),L=_(b,v,y,$,A),F=w(b,v,y,$,A,k),B=this.k[P],U=this.k[P+1],z=n[P],H=n[P+1],V=g(N,R,j,D,L,F,B,U,z,H),q=m(N,R,j,D,L,F,B,U,z,H);N=x(r,i),R=E(r,i),j=S(r,i,a,u,s),D=O(r,i,a,u,s,c);var W=l(N,R,j,D),G=d(N,R,j,D);C=A,I=k,A=y,k=$,y=b,$=v,b=l(h,p,V,q),v=d(p,p,V,q),h=s,p=c,s=a,c=u,a=r,u=i,r=l(V,q,W,G),i=d(V,q,W,G)}f(this.h,0,r,i),f(this.h,2,a,u),f(this.h,4,s,c),f(this.h,6,h,p),f(this.h,8,b,v),f(this.h,10,y,$),f(this.h,12,A,k),f(this.h,14,C,I)},y.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(t,e,n){"use strict";(function(e,r){var i=n(264);t.exports=y;var o,a=n(758);y.ReadableState=v;n(236).EventEmitter;var u=function(t,e){return t.listeners(e).length},s=n(445),c=n(356).Buffer,f=e.Uint8Array||function(){};var l=Object.create(n(237));l.inherits=n(37);var d=n(759),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,g=n(760),m=n(446);l.inherits(y,s);var b=["error","close","destroy","pause","resume"];function v(t,e){t=t||{};var r=e instanceof(o=o||n(182));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:u,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=n(238).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function y(t){if(o=o||n(182),!(this instanceof y))return new y(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function _(t,e,n,r,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,x(t)}(t,a)):(i||(o=function(t,e){var n;r=e,c.isBuffer(r)||r instanceof f||"string"===typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),r?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):M(t,a)):w(t,a,e,!1))):r||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function w(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&x(t)),M(t,e)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=c.from(t,e),e=""),n=!0),_(this,t,e,!1,n)},y.prototype.unshift=function(t){return _(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return p||(p=n(238).StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};var S=8388608;function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function x(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(h("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(E,t):E(t))}function E(t){h("emit readable"),t.emit("readable"),k(t)}function M(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(T,t,e))}function T(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(h("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function $(t){h("readable nexttick read 0"),t.read(0)}function A(t,e){e.reading||(h("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),k(t),e.flowing&&!e.reading&&t.read(0)}function k(t){var e=t._readableState;for(h("flow",e.flowing);e.flowing&&null!==t.read(););}function C(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,r=1,i=n.data;t-=i.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=c.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,a),0===(t-=a)){a===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function I(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function N(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}y.prototype.read=function(t){h("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return h("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?I(this):x(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&I(this),null;var r,i=e.needReadable;return h("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&h("length less than watermark",i=!0),e.ended||e.reading?h("reading or ended",i=!1):i&&(h("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(n,e))),null===(r=t>0?C(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&I(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,e);var s=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?f:y;function c(e,r){h("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),t.removeListener("close",b),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",c),n.removeListener("end",f),n.removeListener("end",y),n.removeListener("data",g),d=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function f(){h("onend"),t.end()}o.endEmitted?i.nextTick(s):n.once("end",s),t.on("unpipe",c);var l=function(t){return function(){var e=t._readableState;h("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(t,"data")&&(e.flowing=!0,k(t))}}(n);t.on("drain",l);var d=!1;var p=!1;function g(e){h("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==N(o.pipes,t))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(e){h("onerror",e),y(),t.removeListener("error",m),0===u(t,"error")&&t.emit("error",e)}function b(){t.removeListener("finish",v),y()}function v(){h("onfinish"),t.removeListener("close",b),y()}function y(){h("unpipe"),n.unpipe(t)}return n.on("data",g),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",m),t.once("close",b),t.once("finish",v),t.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=N(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},y.prototype.on=function(t,e){var n=s.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&x(this):i.nextTick($,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(h("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(A,t,e))}(this,t)),this},y.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<b.length;o++)t.on(b[o],this.emit.bind(this,b[o]));return this._read=function(e){h("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=C}).call(this,n(59),n(70))},function(t,e,n){t.exports=n(236).EventEmitter},function(t,e,n){"use strict";var r=n(264);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(r.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,n){(function(t){var r="undefined"!==typeof t&&t||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(762),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(59))},function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n(59))},function(t,e,n){"use strict";t.exports=a;var r=n(182),i=Object.create(n(237));function o(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);r.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",u)}function u(){var t=this;"function"===typeof this._flush?this._flush((function(e,n){s(t,e,n)})):s(this,null,null)}function s(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=n(37),i.inherits(a,r),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,r.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var n=this;r.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},function(t,e,n){var r=n(358);t.exports=function(t){return(new r).update(t).digest()}},function(t,e,n){"use strict";var r=n(36).Buffer,i=n(265).Transform;function o(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(37)(o,i),o.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(i){r=i}n(r)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)n[this._blockOffset++]=t[i++];for(var a=0,u=8*t.length;u>0;++a)this._length[a]+=u,(u=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*u);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,n){"use strict";(function(e,r){var i;t.exports=E,E.ReadableState=x;n(236).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=n(453),u=n(29).Buffer,s=e.Uint8Array||function(){};var c,f=n(768);c=f&&f.debuglog?f.debuglog("stream"):function(){};var l,d,h,p=n(769),g=n(454),m=n(455).getHighWaterMark,b=n(199).codes,v=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(37)(E,a);var S=g.errorOrDestroy,O=["error","close","destroy","pause","resume"];function x(t,e,r){i=i||n(200),t=t||{},"boolean"!==typeof r&&(r=e instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(l||(l=n(238).StringDecoder),this.decoder=new l(t.encoding),this.encoding=t.encoding)}function E(t){if(i=i||n(200),!(this instanceof E))return new E(t);var e=this instanceof i;this._readableState=new x(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function M(t,e,n,r,i){c("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?k(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,C(t)))}(t,a);else if(i||(o=function(t,e){var n;r=e,u.isBuffer(r)||r instanceof s||"string"===typeof e||void 0===e||t.objectMode||(n=new v("chunk",["string","Buffer","Uint8Array"],e));var r;return n}(a,e)),o)S(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),r)a.endEmitted?S(t,new w):T(t,a,e,!0);else if(a.ended)S(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?T(t,a,e,!1):I(t,a)):T(t,a,e,!1)}else r||(a.reading=!1,I(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function T(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&k(t)),I(t,e)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),E.prototype.destroy=g.destroy,E.prototype._undestroy=g.undestroy,E.prototype._destroy=function(t,e){e(t)},E.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=u.from(t,e),e=""),n=!0),M(this,t,e,!1,n)},E.prototype.unshift=function(t){return M(this,t,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){l||(l=n(238).StringDecoder);var e=new l(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var $=1073741824;function A(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=$?t=$:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function k(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(C,t))}function C(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,D(t)}function I(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(c("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){c("readable nexttick read 0"),t.read(0)}function j(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),D(t),e.flowing&&!e.reading&&t.read(0)}function D(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function L(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function F(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(B,e,t))}function B(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function U(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}E.prototype.read=function(t){c("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):k(this),null;if(0===(t=A(t,e))&&e.ended)return 0===e.length&&F(this),null;var r,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&c("length less than watermark",i=!0),e.ended||e.reading?c("reading or ended",i=!1):i&&(c("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=A(n,e))),null===(r=t>0?L(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&F(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(t){S(this,new _("_read()"))},E.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?s:m;function u(e,r){c("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),t.removeListener("drain",f),t.removeListener("error",h),t.removeListener("unpipe",u),n.removeListener("end",s),n.removeListener("end",m),n.removeListener("data",d),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function s(){c("onend"),t.end()}i.endEmitted?r.nextTick(a):n.once("end",a),t.on("unpipe",u);var f=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,D(t))}}(n);t.on("drain",f);var l=!1;function d(e){c("ondata");var r=t.write(e);c("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==U(i.pipes,t))&&!l&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(e){c("onerror",e),m(),t.removeListener("error",h),0===o(t,"error")&&S(t,e)}function p(){t.removeListener("finish",g),m()}function g(){c("onfinish"),t.removeListener("close",p),m()}function m(){c("unpipe"),n.unpipe(t)}return n.on("data",d),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",p),t.once("finish",g),t.emit("pipe",n),i.flowing||(c("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},E.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?k(this):i.reading||r.nextTick(R,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(N,this),n},E.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(N,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(j,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<O.length;o++)t.on(O[o],this.emit.bind(this,O[o]));return this._read=function(e){c("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"===typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(771)),d(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),E._fromList=L,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(E.from=function(t,e){return void 0===h&&(h=n(772)),h(E,t,e)})}).call(this,n(59),n(70))},function(t,e,n){t.exports=n(236).EventEmitter},function(t,e,n){"use strict";(function(e){function n(t,e){i(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,u=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return u||s?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(r,a):(a._writableState.errorEmitted=!0,e.nextTick(n,a,t)):e.nextTick(n,a,t):o?(e.nextTick(r,a),o(t)):e.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,n(70))},function(t,e,n){"use strict";var r=n(199).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,n){"use strict";(function(e,r){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=E,E.WritableState=x;var a={deprecate:n(448)},u=n(453),s=n(29).Buffer,c=e.Uint8Array||function(){};var f,l=n(454),d=n(455).getHighWaterMark,h=n(199).codes,p=h.ERR_INVALID_ARG_TYPE,g=h.ERR_METHOD_NOT_IMPLEMENTED,m=h.ERR_MULTIPLE_CALLBACK,b=h.ERR_STREAM_CANNOT_PIPE,v=h.ERR_STREAM_DESTROYED,y=h.ERR_STREAM_NULL_VALUES,_=h.ERR_STREAM_WRITE_AFTER_END,w=h.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;function O(){}function x(t,e,a){o=o||n(200),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===t.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,o=n.writecb;if("function"!==typeof o)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,o){--e.pendingcb,n?(r.nextTick(o,i),r.nextTick(C,t,e),t._writableState.errorEmitted=!0,S(t,i)):(o(i),t._writableState.errorEmitted=!0,S(t,i),C(t,e))}(t,n,i,e,o);else{var a=A(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||$(t,n),i?r.nextTick(T,t,n,a,o):T(t,n,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function E(t){var e=this instanceof(o=o||n(200));if(!e&&!f.call(E,this))return new E(t);this._writableState=new x(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),u.call(this)}function M(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new v("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function T(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),C(t,e)}function $(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,o=new Array(r),a=e.corkedRequestsFree;a.entry=n;for(var u=0,s=!0;n;)o[u]=n,n.isBuf||(s=!1),n=n.next,u+=1;o.allBuffers=s,M(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,f=n.encoding,l=n.callback;if(M(t,e,!1,e.objectMode?1:c.length,c,f,l),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function A(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final((function(n){e.pendingcb--,n&&S(t,n),e.prefinished=!0,t.emit("prefinish"),C(t,e)}))}function C(t,e){var n=A(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,r.nextTick(k,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}n(37)(E,u),x.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(x.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(t){return!!f.call(this,t)||this===E&&(t&&t._writableState instanceof x)}})):f=function(t){return t instanceof this},E.prototype.pipe=function(){S(this,new b)},E.prototype.write=function(t,e,n){var i,o=this._writableState,a=!1,u=!o.objectMode&&(i=t,s.isBuffer(i)||i instanceof c);return u&&!s.isBuffer(t)&&(t=function(t){return s.from(t)}(t)),"function"===typeof e&&(n=e,e=null),u?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof n&&(n=O),o.ending?function(t,e){var n=new _;S(t,n),r.nextTick(e,n)}(this,n):(u||function(t,e,n,i){var o;return null===n?o=new y:"string"===typeof n||e.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(S(t,o),r.nextTick(i,o),!1)}(this,o,t,n))&&(o.pendingcb++,a=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=s.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var u=e.objectMode?1:r.length;e.length+=u;var c=e.length<e.highWaterMark;c||(e.needDrain=!0);if(e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else M(t,e,!1,u,r,i,o);return c}(this,o,u,t,e,n)),a},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||$(this,t))},E.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new w(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(t,e,n){n(new g("_write()"))},E.prototype._writev=null,E.prototype.end=function(t,e,n){var i=this._writableState;return"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,C(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),E.prototype.destroy=l.destroy,E.prototype._undestroy=l.undestroy,E.prototype._destroy=function(t,e){e(t)}}).call(this,n(59),n(70))},function(t,e,n){"use strict";t.exports=f;var r=n(199).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,u=r.ERR_TRANSFORM_WITH_LENGTH_0,s=n(200);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function f(t){if(!(this instanceof f))return new f(t);s.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",l)}function l(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(e,n){d(t,e,n)}))}function d(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new u;if(t._transformState.transforming)throw new a;return t.push(null)}n(37)(f,s),f.prototype.push=function(t,e){return this._transformState.needTransform=!1,s.prototype.push.call(this,t,e)},f.prototype._transform=function(t,e,n){n(new i("_transform()"))},f.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},f.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},f.prototype._destroy=function(t,e){s.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,n){var r=n(37),i=n(201),o=n(36).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],u=new Array(64);function s(){this.init(),this._w=u,i.call(this,64,56)}function c(t,e,n){return n^t&(e^n)}function f(t,e,n){return t&e|n&(t|e)}function l(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function h(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(s,i),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,u=0|this._d,s=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,b=0;b<16;++b)n[b]=t.readInt32BE(4*b);for(;b<64;++b)n[b]=0|(((e=n[b-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[b-7]+h(n[b-15])+n[b-16];for(var v=0;v<64;++v){var y=m+d(s)+c(s,p,g)+a[v]+n[v]|0,_=l(r)+f(r,i,o)|0;m=g,g=p,p=s,s=u+y|0,u=o,o=i,i=r,r=y+_|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=u+this._d|0,this._e=s+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},s.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=s},function(t,e,n){var r=n(37),i=n(201),o=n(36).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],u=new Array(160);function s(){this.init(),this._w=u,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function f(t,e,n){return t&e|n&(t|e)}function l(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function h(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function b(t,e){return t>>>0<e>>>0?1:0}r(s,i),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,u=0|this._eh,s=0|this._fh,v=0|this._gh,y=0|this._hh,_=0|this._al,w=0|this._bl,S=0|this._cl,O=0|this._dl,x=0|this._el,E=0|this._fl,M=0|this._gl,T=0|this._hl,$=0;$<32;$+=2)e[$]=t.readInt32BE(4*$),e[$+1]=t.readInt32BE(4*$+4);for(;$<160;$+=2){var A=e[$-30],k=e[$-30+1],C=h(A,k),I=p(k,A),P=g(A=e[$-4],k=e[$-4+1]),N=m(k,A),R=e[$-14],j=e[$-14+1],D=e[$-32],L=e[$-32+1],F=I+j|0,B=C+R+b(F,I)|0;B=(B=B+P+b(F=F+N|0,N)|0)+D+b(F=F+L|0,L)|0,e[$]=B,e[$+1]=F}for(var U=0;U<160;U+=2){B=e[U],F=e[U+1];var z=f(n,r,i),H=f(_,w,S),V=l(n,_),q=l(_,n),W=d(u,x),G=d(x,u),K=a[U],Y=a[U+1],Z=c(u,s,v),Q=c(x,E,M),X=T+G|0,J=y+W+b(X,T)|0;J=(J=(J=J+Z+b(X=X+Q|0,Q)|0)+K+b(X=X+Y|0,Y)|0)+B+b(X=X+F|0,F)|0;var tt=q+H|0,et=V+z+b(tt,q)|0;y=v,T=M,v=s,M=E,s=u,E=x,u=o+J+b(x=O+X|0,O)|0,o=i,O=S,i=r,S=w,r=n,w=_,n=J+et+b(_=X+tt|0,X)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+S|0,this._dl=this._dl+O|0,this._el=this._el+x|0,this._fl=this._fl+E|0,this._gl=this._gl+M|0,this._hl=this._hl+T|0,this._ah=this._ah+n+b(this._al,_)|0,this._bh=this._bh+r+b(this._bl,w)|0,this._ch=this._ch+i+b(this._cl,S)|0,this._dh=this._dh+o+b(this._dl,O)|0,this._eh=this._eh+u+b(this._el,x)|0,this._fh=this._fh+s+b(this._fl,E)|0,this._gh=this._gh+v+b(this._gl,M)|0,this._hh=this._hh+y+b(this._hl,T)|0},s.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=s},function(t,e,n){var r=n(362);function i(t){return t.name||t.toString().match(/function (.*?)\s*\(/)[1]}function o(t){return r.Nil(t)?"":i(t.constructor)}function a(t,e){Error.captureStackTrace&&Error.captureStackTrace(t,e)}function u(t){return r.Function(t)?t.toJSON?t.toJSON():i(t):r.Array(t)?"Array":t&&r.Object(t)?"Object":void 0!==t?t:""}function s(t,e,n){var i=function(t){return r.Function(t)?"":r.String(t)?JSON.stringify(t):t&&r.Object(t)?"":t}(e);return"Expected "+u(t)+", got"+(""!==n?" "+n:"")+(""!==i?" "+i:"")}function c(t,e,n){n=n||o(e),this.message=s(t,e,n),a(this,c),this.__type=t,this.__value=e,this.__valueTypeName=n}function f(t,e,n,r,i){t?(i=i||o(r),this.message=function(t,e,n,r,i){var o='" of type ';return"key"===e&&(o='" with key type '),s('property "'+u(n)+o+u(t),r,i)}(t,n,e,r,i)):this.message='Unexpected property "'+e+'"',a(this,c),this.__label=n,this.__property=e,this.__type=t,this.__value=r,this.__valueTypeName=i}c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,f.prototype=Object.create(Error.prototype),f.prototype.constructor=c,t.exports={TfTypeError:c,TfPropertyTypeError:f,tfCustomError:function(t,e){return new c(t,{},e)},tfSubError:function(t,e,n){return t instanceof f?(e=e+"."+t.__property,t=new f(t.__type,e,t.__label,t.__value,t.__valueTypeName)):t instanceof c&&(t=new f(t.__type,e,n,t.__value,t.__valueTypeName)),a(t),t},tfJSON:u,getValueTypeName:o}},function(t,e,n){var r=n(36).Buffer;t.exports={decode:function(t,e,n){e=e||4,n=void 0===n||n;var r=t.length;if(0===r)return 0;if(r>e)throw new TypeError("Script number overflow");if(n&&0===(127&t[r-1])&&(r<=1||0===(128&t[r-2])))throw new Error("Non-minimally encoded script number");if(5===r){var i=t.readUInt32LE(0),o=t.readUInt8(4);return 128&o?-(4294967296*(-129&o)+i):4294967296*o+i}for(var a=0,u=0;u<r;++u)a|=t[u]<<8*u;return 128&t[r-1]?-(a&~(128<<8*(r-1))):a},encode:function(t){for(var e=Math.abs(t),n=function(t){return t>2147483647?5:t>8388607?4:t>32767?3:t>127?2:t>0?1:0}(e),i=r.allocUnsafe(n),o=t<0,a=0;a<n;++a)i.writeUInt8(255&e,a),e>>=8;return 128&i[n-1]?i.writeUInt8(o?128:0,n-1):o&&(i[n-1]|=128),i}}},function(t,e,n){"use strict";var r=n(36).Buffer;function i(t){if(t<0||t>9007199254740991||t%1!==0)throw new RangeError("value out of range")}function o(t){return i(t),t<253?1:t<=65535?3:t<=4294967295?5:9}t.exports={encode:function t(e,n,a){if(i(e),n||(n=r.allocUnsafe(o(e))),!r.isBuffer(n))throw new TypeError("buffer must be a Buffer instance");return a||(a=0),e<253?(n.writeUInt8(e,a),t.bytes=1):e<=65535?(n.writeUInt8(253,a),n.writeUInt16LE(e,a+1),t.bytes=3):e<=4294967295?(n.writeUInt8(254,a),n.writeUInt32LE(e,a+1),t.bytes=5):(n.writeUInt8(255,a),n.writeUInt32LE(e>>>0,a+1),n.writeUInt32LE(e/4294967296|0,a+5),t.bytes=9),n},decode:function t(e,n){if(!r.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");n||(n=0);var o=e.readUInt8(n);if(o<253)return t.bytes=1,o;if(253===o)return t.bytes=3,e.readUInt16LE(n+1);if(254===o)return t.bytes=5,e.readUInt32LE(n+1);t.bytes=9;var a=e.readUInt32LE(n+1),u=4294967296*e.readUInt32LE(n+5)+a;return i(u),u},encodingLength:o}},function(t,e,n){var r=n(179),i=n(183),o=n(78),a=n(132),u=n(464),s=n(123),c=o.maybe(o.compile({compressed:a.maybe(a.Boolean),network:a.maybe(a.Network)}));function f(t,e,n){n=n||{},this.compressed=void 0===n.compressed||n.compressed,this.network=n.network||s.bitcoin,this.__d=t||null,this.__Q=null,e&&(this.__Q=r.pointCompress(e,this.compressed))}function l(t,e){if(o(a.Buffer256bit,t),!r.isPrivate(t))throw new TypeError("Private key not in range [1, n)");return o(c,e),new f(t,null,e)}Object.defineProperty(f.prototype,"privateKey",{enumerable:!1,get:function(){return this.__d}}),Object.defineProperty(f.prototype,"publicKey",{get:function(){return this.__Q||(this.__Q=r.pointFromScalar(this.__d,this.compressed)),this.__Q}}),f.prototype.toWIF=function(){if(!this.__d)throw new Error("Missing private key");return u.encode(this.network.wif,this.__d,this.compressed)},f.prototype.sign=function(t){if(!this.__d)throw new Error("Missing private key");return r.sign(t,this.__d)},f.prototype.verify=function(t,e){return r.verify(t,this.publicKey,e)},t.exports={makeRandom:function(t){o(c,t);var e,n=(t=t||{}).rng||i;do{e=n(32),o(a.Buffer256bit,e)}while(!r.isPrivate(e));return l(e,t)},fromPrivateKey:l,fromPublicKey:function(t,e){return o(r.isPoint,t),o(c,e),new f(null,t,e)},fromWIF:function(t,e){var n=u.decode(t),r=n.version;if(a.Array(e)){if(!(e=e.filter((function(t){return r===t.wif})).pop()))throw new Error("Unknown network version")}else if(e=e||s.bitcoin,r!==e.wif)throw new Error("Invalid network version");return l(n.privateKey,{compressed:n.compressed,network:e})}}},function(t,e,n){(function(e){var r=n(202);function i(t,e){if(void 0!==e&&t[0]!==e)throw new Error("Invalid network version");if(33===t.length)return{version:t[0],privateKey:t.slice(1,33),compressed:!1};if(34!==t.length)throw new Error("Invalid WIF length");if(1!==t[33])throw new Error("Invalid compression flag");return{version:t[0],privateKey:t.slice(1,33),compressed:!0}}function o(t,n,r){var i=new e(r?34:33);return i.writeUInt8(t,0),n.copy(i,1),r&&(i[33]=1),i}t.exports={decode:function(t,e){return i(r.decode(t),e)},decodeRaw:i,encode:function(t,e,n){return"number"===typeof t?r.encode(o(t,e,n)):r.encode(o(t.version,t.privateKey,t.compressed))},encodeRaw:o}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(36).Buffer;t.exports=function(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n<e.length;n++)e[n]=255;for(var i=0;i<t.length;i++){var o=t.charAt(i),a=o.charCodeAt(0);if(255!==e[a])throw new TypeError(o+" is ambiguous");e[a]=i}var u=t.length,s=t.charAt(0),c=Math.log(u)/Math.log(256),f=Math.log(256)/Math.log(u);function l(t){if("string"!==typeof t)throw new TypeError("Expected String");if(0===t.length)return r.alloc(0);for(var n=0,i=0,o=0;t[n]===s;)i++,n++;for(var a=(t.length-n)*c+1>>>0,f=new Uint8Array(a);t[n];){var l=e[t.charCodeAt(n)];if(255===l)return;for(var d=0,h=a-1;(0!==l||d<o)&&-1!==h;h--,d++)l+=u*f[h]>>>0,f[h]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");o=d,n++}for(var p=a-o;p!==a&&0===f[p];)p++;var g=r.allocUnsafe(i+(a-p));g.fill(0,0,i);for(var m=i;p!==a;)g[m++]=f[p++];return g}return{encode:function(e){if((Array.isArray(e)||e instanceof Uint8Array)&&(e=r.from(e)),!r.isBuffer(e))throw new TypeError("Expected Buffer");if(0===e.length)return"";for(var n=0,i=0,o=0,a=e.length;o!==a&&0===e[o];)o++,n++;for(var c=(a-o)*f+1>>>0,l=new Uint8Array(c);o!==a;){for(var d=e[o],h=0,p=c-1;(0!==d||h<i)&&-1!==p;p--,h++)d+=256*l[p]>>>0,l[p]=d%u>>>0,d=d/u>>>0;if(0!==d)throw new Error("Non-zero carry");i=h,o++}for(var g=c-i;g!==c&&0===l[g];)g++;for(var m=s.repeat(n);g<c;++g)m+=t.charAt(l[g]);return m},decodeUnsafe:l,decode:function(t){var e=l(t);if(e)return e;throw new Error("Non-base"+u+" character")}}}},function(t,e,n){var r=n(36).Buffer,i=n(365),o=n(202),a=n(60),u=n(123),s=n(78),c=n(132),f=n(366);function l(t){var e=o.decode(t);if(e.length<21)throw new TypeError(t+" is too short");if(e.length>21)throw new TypeError(t+" is too long");return{version:e.readUInt8(0),hash:e.slice(1)}}function d(t){var e=i.decode(t),n=i.fromWords(e.words.slice(1));return{version:e.words[0],prefix:e.prefix,data:r.from(n)}}t.exports={fromBase58Check:l,fromBech32:d,fromOutputScript:function(t,e){e=e||u.bitcoin;try{return f.p2pkh({output:t,network:e}).address}catch(n){}try{return f.p2sh({output:t,network:e}).address}catch(n){}try{return f.p2wpkh({output:t,network:e}).address}catch(n){}try{return f.p2wsh({output:t,network:e}).address}catch(n){}throw new Error(a.toASM(t)+" has no matching Address")},toBase58Check:function(t,e){s(c.tuple(c.Hash160bit,c.UInt8),arguments);var n=r.allocUnsafe(21);return n.writeUInt8(e,0),t.copy(n,1),o.encode(n)},toBech32:function(t,e,n){var r=i.toWords(t);return r.unshift(e),i.encode(n,r)},toOutputScript:function(t,e){var n;e=e||u.bitcoin;try{n=l(t)}catch(r){}if(n){if(n.version===e.pubKeyHash)return f.p2pkh({hash:n.hash}).output;if(n.version===e.scriptHash)return f.p2sh({hash:n.hash}).output}else{try{n=d(t)}catch(r){}if(n){if(n.prefix!==e.bech32)throw new Error(t+" has an invalid prefix");if(0===n.version){if(20===n.data.length)return f.p2wpkh({hash:n.data}).output;if(32===n.data.length)return f.p2wsh({hash:n.data}).output}}}throw new Error(t+" has no matching Script")}}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.compile(t);return 22===e.length&&e[0]===i.OP_0&&20===e[1]}o.toJSON=function(){return"Witness pubKeyHash output"},t.exports={check:o}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.compile(t);return 34===e.length&&e[0]===i.OP_0&&32===e[1]}o.toJSON=function(){return"Witness scriptHash output"},t.exports={check:o}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){var r=n(472);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}}),e&&r(t,e)}},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e,n){var r=n(821),i=n(474),o=n(822);t.exports=function(t){var e=i();return function(){var n,i=r(t);if(e){var a=r(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o(this,n)}}},function(t,e){t.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}},function(t,e,n){(function(t){var r,i=function(t){"use strict";var e=1e7,n=9007199254740992,r=d(n),o="0123456789abcdefghijklmnopqrstuvwxyz",a="function"===typeof BigInt;function u(t,e,n,r){return"undefined"===typeof t?u[0]:"undefined"!==typeof e&&(10!==+e||n)?V(t,e,n,r):Y(t)}function s(t,e){this.value=t,this.sign=e,this.isSmall=!1}function c(t){this.value=t,this.sign=t<0,this.isSmall=!0}function f(t){this.value=t}function l(t){return-n<t&&t<n}function d(t){return t<1e7?[t]:t<1e14?[t%1e7,Math.floor(t/1e7)]:[t%1e7,Math.floor(t/1e7)%1e7,Math.floor(t/1e14)]}function h(t){p(t);var n=t.length;if(n<4&&k(t,r)<0)switch(n){case 0:return 0;case 1:return t[0];case 2:return t[0]+t[1]*e;default:return t[0]+(t[1]+t[2]*e)*e}return t}function p(t){for(var e=t.length;0===t[--e];);t.length=e+1}function g(t){for(var e=new Array(t),n=-1;++n<t;)e[n]=0;return e}function m(t){return t>0?Math.floor(t):Math.ceil(t)}function b(t,n){var r,i,o=t.length,a=n.length,u=new Array(o),s=0,c=e;for(i=0;i<a;i++)s=(r=t[i]+n[i]+s)>=c?1:0,u[i]=r-s*c;for(;i<o;)s=(r=t[i]+s)===c?1:0,u[i++]=r-s*c;return s>0&&u.push(s),u}function v(t,e){return t.length>=e.length?b(t,e):b(e,t)}function y(t,n){var r,i,o=t.length,a=new Array(o),u=e;for(i=0;i<o;i++)r=t[i]-u+n,n=Math.floor(r/u),a[i]=r-n*u,n+=1;for(;n>0;)a[i++]=n%u,n=Math.floor(n/u);return a}function _(t,n){var r,i,o=t.length,a=n.length,u=new Array(o),s=0,c=e;for(r=0;r<a;r++)(i=t[r]-s-n[r])<0?(i+=c,s=1):s=0,u[r]=i;for(r=a;r<o;r++){if(!((i=t[r]-s)<0)){u[r++]=i;break}i+=c,u[r]=i}for(;r<o;r++)u[r]=t[r];return p(u),u}function w(t,n,r){var i,o,a=t.length,u=new Array(a),f=-n,l=e;for(i=0;i<a;i++)o=t[i]+f,f=Math.floor(o/l),o%=l,u[i]=o<0?o+l:o;return"number"===typeof(u=h(u))?(r&&(u=-u),new c(u)):new s(u,r)}function S(t,n){var r,i,o,a,u=t.length,s=n.length,c=g(u+s),f=e;for(o=0;o<u;++o){a=t[o];for(var l=0;l<s;++l)r=a*n[l]+c[o+l],i=Math.floor(r/f),c[o+l]=r-i*f,c[o+l+1]+=i}return p(c),c}function O(t,n){var r,i,o=t.length,a=new Array(o),u=e,s=0;for(i=0;i<o;i++)r=t[i]*n+s,s=Math.floor(r/u),a[i]=r-s*u;for(;s>0;)a[i++]=s%u,s=Math.floor(s/u);return a}function x(t,e){for(var n=[];e-- >0;)n.push(0);return n.concat(t)}function E(t,e){var n=Math.max(t.length,e.length);if(n<=30)return S(t,e);n=Math.ceil(n/2);var r=t.slice(n),i=t.slice(0,n),o=e.slice(n),a=e.slice(0,n),u=E(i,a),s=E(r,o),c=E(v(i,r),v(a,o)),f=v(v(u,x(_(_(c,u),s),n)),x(s,2*n));return p(f),f}function M(t,n,r){return new s(t<e?O(n,t):S(n,d(t)),r)}function T(t){var n,r,i,o,a=t.length,u=g(a+a),s=e;for(i=0;i<a;i++){r=0-(o=t[i])*o;for(var c=i;c<a;c++)n=o*t[c]*2+u[i+c]+r,r=Math.floor(n/s),u[i+c]=n-r*s;u[i+a]=r}return p(u),u}function $(t,e){var n,r,i,o,a=t.length,u=g(a);for(i=0,n=a-1;n>=0;--n)i=(o=1e7*i+t[n])-(r=m(o/e))*e,u[n]=0|r;return[u,0|i]}function A(t,n){var r,i=Y(n);if(a)return[new f(t.value/i.value),new f(t.value%i.value)];var o,l=t.value,b=i.value;if(0===b)throw new Error("Cannot divide by zero");if(t.isSmall)return i.isSmall?[new c(m(l/b)),new c(l%b)]:[u[0],t];if(i.isSmall){if(1===b)return[t,u[0]];if(-1==b)return[t.negate(),u[0]];var v=Math.abs(b);if(v<e){o=h((r=$(l,v))[0]);var y=r[1];return t.sign&&(y=-y),"number"===typeof o?(t.sign!==i.sign&&(o=-o),[new c(o),new c(y)]):[new s(o,t.sign!==i.sign),new c(y)]}b=d(v)}var w=k(l,b);if(-1===w)return[u[0],t];if(0===w)return[u[t.sign===i.sign?1:-1],u[0]];o=(r=l.length+b.length<=200?function(t,n){var r,i,o,a,u,s,c,f=t.length,l=n.length,d=e,p=g(n.length),m=n[l-1],b=Math.ceil(d/(2*m)),v=O(t,b),y=O(n,b);for(v.length<=f&&v.push(0),y.push(0),m=y[l-1],i=f-l;i>=0;i--){for(r=d-1,v[i+l]!==m&&(r=Math.floor((v[i+l]*d+v[i+l-1])/m)),o=0,a=0,s=y.length,u=0;u<s;u++)o+=r*y[u],c=Math.floor(o/d),a+=v[i+u]-(o-c*d),o=c,a<0?(v[i+u]=a+d,a=-1):(v[i+u]=a,a=0);for(;0!==a;){for(r-=1,o=0,u=0;u<s;u++)(o+=v[i+u]-d+y[u])<0?(v[i+u]=o+d,o=0):(v[i+u]=o,o=1);a+=o}p[i]=r}return v=$(v,b)[0],[h(p),h(v)]}(l,b):function(t,n){for(var r,i,o,a,u,s=t.length,c=n.length,f=[],l=[],d=e;s;)if(l.unshift(t[--s]),p(l),k(l,n)<0)f.push(0);else{o=l[(i=l.length)-1]*d+l[i-2],a=n[c-1]*d+n[c-2],i>c&&(o=(o+1)*d),r=Math.ceil(o/a);do{if(k(u=O(n,r),l)<=0)break;r--}while(r);f.push(r),l=_(l,u)}return f.reverse(),[h(f),h(l)]}(l,b))[0];var S=t.sign!==i.sign,x=r[1],E=t.sign;return"number"===typeof o?(S&&(o=-o),o=new c(o)):o=new s(o,S),"number"===typeof x?(E&&(x=-x),x=new c(x)):x=new s(x,E),[o,x]}function k(t,e){if(t.length!==e.length)return t.length>e.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function C(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(49)||void 0))}function I(t,e){for(var n,r,o,a=t.prev(),u=a,s=0;u.isEven();)u=u.divide(2),s++;t:for(r=0;r<e.length;r++)if(!t.lesser(e[r])&&!(o=i(e[r]).modPow(u,t)).isUnit()&&!o.equals(a)){for(n=s-1;0!=n;n--){if((o=o.square().mod(t)).isUnit())return!1;if(o.equals(a))continue t}return!1}return!0}s.prototype=Object.create(u.prototype),c.prototype=Object.create(u.prototype),f.prototype=Object.create(u.prototype),s.prototype.add=function(t){var e=Y(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,r=e.value;return e.isSmall?new s(y(n,Math.abs(r)),this.sign):new s(v(n,r),this.sign)},s.prototype.plus=s.prototype.add,c.prototype.add=function(t){var e=Y(t),n=this.value;if(n<0!==e.sign)return this.subtract(e.negate());var r=e.value;if(e.isSmall){if(l(n+r))return new c(n+r);r=d(Math.abs(r))}return new s(y(r,Math.abs(n)),n<0)},c.prototype.plus=c.prototype.add,f.prototype.add=function(t){return new f(this.value+Y(t).value)},f.prototype.plus=f.prototype.add,s.prototype.subtract=function(t){var e=Y(t);if(this.sign!==e.sign)return this.add(e.negate());var n=this.value,r=e.value;return e.isSmall?w(n,Math.abs(r),this.sign):function(t,e,n){var r;return k(t,e)>=0?r=_(t,e):(r=_(e,t),n=!n),"number"===typeof(r=h(r))?(n&&(r=-r),new c(r)):new s(r,n)}(n,r,this.sign)},s.prototype.minus=s.prototype.subtract,c.prototype.subtract=function(t){var e=Y(t),n=this.value;if(n<0!==e.sign)return this.add(e.negate());var r=e.value;return e.isSmall?new c(n-r):w(r,Math.abs(n),n>=0)},c.prototype.minus=c.prototype.subtract,f.prototype.subtract=function(t){return new f(this.value-Y(t).value)},f.prototype.minus=f.prototype.subtract,s.prototype.negate=function(){return new s(this.value,!this.sign)},c.prototype.negate=function(){var t=this.sign,e=new c(-this.value);return e.sign=!t,e},f.prototype.negate=function(){return new f(-this.value)},s.prototype.abs=function(){return new s(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},f.prototype.abs=function(){return new f(this.value>=0?this.value:-this.value)},s.prototype.multiply=function(t){var n,r,i,o=Y(t),a=this.value,c=o.value,f=this.sign!==o.sign;if(o.isSmall){if(0===c)return u[0];if(1===c)return this;if(-1===c)return this.negate();if((n=Math.abs(c))<e)return new s(O(a,n),f);c=d(n)}return r=a.length,i=c.length,new s(-.012*r-.012*i+15e-6*r*i>0?E(a,c):S(a,c),f)},s.prototype.times=s.prototype.multiply,c.prototype._multiplyBySmall=function(t){return l(t.value*this.value)?new c(t.value*this.value):M(Math.abs(t.value),d(Math.abs(this.value)),this.sign!==t.sign)},s.prototype._multiplyBySmall=function(t){return 0===t.value?u[0]:1===t.value?this:-1===t.value?this.negate():M(Math.abs(t.value),this.value,this.sign!==t.sign)},c.prototype.multiply=function(t){return Y(t)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,f.prototype.multiply=function(t){return new f(this.value*Y(t).value)},f.prototype.times=f.prototype.multiply,s.prototype.square=function(){return new s(T(this.value),!1)},c.prototype.square=function(){var t=this.value*this.value;return l(t)?new c(t):new s(T(d(Math.abs(this.value))),!1)},f.prototype.square=function(t){return new f(this.value*this.value)},s.prototype.divmod=function(t){var e=A(this,t);return{quotient:e[0],remainder:e[1]}},f.prototype.divmod=c.prototype.divmod=s.prototype.divmod,s.prototype.divide=function(t){return A(this,t)[0]},f.prototype.over=f.prototype.divide=function(t){return new f(this.value/Y(t).value)},c.prototype.over=c.prototype.divide=s.prototype.over=s.prototype.divide,s.prototype.mod=function(t){return A(this,t)[1]},f.prototype.mod=f.prototype.remainder=function(t){return new f(this.value%Y(t).value)},c.prototype.remainder=c.prototype.mod=s.prototype.remainder=s.prototype.mod,s.prototype.pow=function(t){var e,n,r,i=Y(t),o=this.value,a=i.value;if(0===a)return u[1];if(0===o)return u[0];if(1===o)return u[1];if(-1===o)return i.isEven()?u[1]:u[-1];if(i.sign)return u[0];if(!i.isSmall)throw new Error("The exponent "+i.toString()+" is too large.");if(this.isSmall&&l(e=Math.pow(o,a)))return new c(m(e));for(n=this,r=u[1];!0&a&&(r=r.times(n),--a),0!==a;)a/=2,n=n.square();return r},c.prototype.pow=s.prototype.pow,f.prototype.pow=function(t){var e=Y(t),n=this.value,r=e.value,i=BigInt(0),o=BigInt(1),a=BigInt(2);if(r===i)return u[1];if(n===i)return u[0];if(n===o)return u[1];if(n===BigInt(-1))return e.isEven()?u[1]:u[-1];if(e.isNegative())return new f(i);for(var s=this,c=u[1];(r&o)===o&&(c=c.times(s),--r),r!==i;)r/=a,s=s.square();return c},s.prototype.modPow=function(t,e){if(t=Y(t),(e=Y(e)).isZero())throw new Error("Cannot take modPow with modulus 0");var n=u[1],r=this.mod(e);for(t.isNegative()&&(t=t.multiply(u[-1]),r=r.modInv(e));t.isPositive();){if(r.isZero())return u[0];t.isOdd()&&(n=n.multiply(r).mod(e)),t=t.divide(2),r=r.square().mod(e)}return n},f.prototype.modPow=c.prototype.modPow=s.prototype.modPow,s.prototype.compareAbs=function(t){var e=Y(t),n=this.value,r=e.value;return e.isSmall?1:k(n,r)},c.prototype.compareAbs=function(t){var e=Y(t),n=Math.abs(this.value),r=e.value;return e.isSmall?n===(r=Math.abs(r))?0:n>r?1:-1:-1},f.prototype.compareAbs=function(t){var e=this.value,n=Y(t).value;return(e=e>=0?e:-e)===(n=n>=0?n:-n)?0:e>n?1:-1},s.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=Y(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:k(n,r)*(this.sign?-1:1)},s.prototype.compareTo=s.prototype.compare,c.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=Y(t),n=this.value,r=e.value;return e.isSmall?n==r?0:n>r?1:-1:n<0!==e.sign?n<0?-1:1:n<0?1:-1},c.prototype.compareTo=c.prototype.compare,f.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=this.value,n=Y(t).value;return e===n?0:e>n?1:-1},f.prototype.compareTo=f.prototype.compare,s.prototype.equals=function(t){return 0===this.compare(t)},f.prototype.eq=f.prototype.equals=c.prototype.eq=c.prototype.equals=s.prototype.eq=s.prototype.equals,s.prototype.notEquals=function(t){return 0!==this.compare(t)},f.prototype.neq=f.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=s.prototype.neq=s.prototype.notEquals,s.prototype.greater=function(t){return this.compare(t)>0},f.prototype.gt=f.prototype.greater=c.prototype.gt=c.prototype.greater=s.prototype.gt=s.prototype.greater,s.prototype.lesser=function(t){return this.compare(t)<0},f.prototype.lt=f.prototype.lesser=c.prototype.lt=c.prototype.lesser=s.prototype.lt=s.prototype.lesser,s.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},f.prototype.geq=f.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals,s.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},f.prototype.leq=f.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals,s.prototype.isEven=function(){return 0===(1&this.value[0])},c.prototype.isEven=function(){return 0===(1&this.value)},f.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},s.prototype.isOdd=function(){return 1===(1&this.value[0])},c.prototype.isOdd=function(){return 1===(1&this.value)},f.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},s.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},f.prototype.isPositive=c.prototype.isPositive,s.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},f.prototype.isNegative=c.prototype.isNegative,s.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},f.prototype.isUnit=function(){return this.abs().value===BigInt(1)},s.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},f.prototype.isZero=function(){return this.value===BigInt(0)},s.prototype.isDivisibleBy=function(t){var e=Y(t);return!e.isZero()&&(!!e.isUnit()||(0===e.compareAbs(2)?this.isEven():this.mod(e).isZero()))},f.prototype.isDivisibleBy=c.prototype.isDivisibleBy=s.prototype.isDivisibleBy,s.prototype.isPrime=function(e){var n=C(this);if(n!==t)return n;var r=this.abs(),o=r.bitLength();if(o<=64)return I(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var a=Math.log(2)*o.toJSNumber(),u=Math.ceil(!0===e?2*Math.pow(a,2):a),s=[],c=0;c<u;c++)s.push(i(c+2));return I(r,s)},f.prototype.isPrime=c.prototype.isPrime=s.prototype.isPrime,s.prototype.isProbablePrime=function(e,n){var r=C(this);if(r!==t)return r;for(var o=this.abs(),a=e===t?5:e,u=[],s=0;s<a;s++)u.push(i.randBetween(2,o.minus(2),n));return I(o,u)},f.prototype.isProbablePrime=c.prototype.isProbablePrime=s.prototype.isProbablePrime,s.prototype.modInv=function(t){for(var e,n,r,o=i.zero,a=i.one,u=Y(t),s=this.abs();!s.isZero();)e=u.divide(s),n=o,r=u,o=a,u=s,a=n.subtract(e.multiply(a)),s=r.subtract(e.multiply(s));if(!u.isUnit())throw new Error(this.toString()+" and "+t.toString()+" are not co-prime");return-1===o.compare(0)&&(o=o.add(t)),this.isNegative()?o.negate():o},f.prototype.modInv=c.prototype.modInv=s.prototype.modInv,s.prototype.next=function(){var t=this.value;return this.sign?w(t,1,this.sign):new s(y(t,1),this.sign)},c.prototype.next=function(){var t=this.value;return t+1<n?new c(t+1):new s(r,!1)},f.prototype.next=function(){return new f(this.value+BigInt(1))},s.prototype.prev=function(){var t=this.value;return this.sign?new s(y(t,1),!0):w(t,1,this.sign)},c.prototype.prev=function(){var t=this.value;return t-1>-n?new c(t-1):new s(r,!0)},f.prototype.prev=function(){return new f(this.value-BigInt(1))};for(var P=[1];2*P[P.length-1]<=e;)P.push(2*P[P.length-1]);var N=P.length,R=P[N-1];function j(t){return Math.abs(t)<=e}function D(t,e,n){e=Y(e);for(var r=t.isNegative(),o=e.isNegative(),a=r?t.not():t,u=o?e.not():e,s=0,c=0,f=null,l=null,d=[];!a.isZero()||!u.isZero();)s=(f=A(a,R))[1].toJSNumber(),r&&(s=R-1-s),c=(l=A(u,R))[1].toJSNumber(),o&&(c=R-1-c),a=f[0],u=l[0],d.push(n(s,c));for(var h=0!==n(r?1:0,o?1:0)?i(-1):i(0),p=d.length-1;p>=0;p-=1)h=h.multiply(R).add(i(d[p]));return h}s.prototype.shiftLeft=function(t){var e=Y(t).toJSNumber();if(!j(e))throw new Error(String(e)+" is too large for shifting.");if(e<0)return this.shiftRight(-e);var n=this;if(n.isZero())return n;for(;e>=N;)n=n.multiply(R),e-=N-1;return n.multiply(P[e])},f.prototype.shiftLeft=c.prototype.shiftLeft=s.prototype.shiftLeft,s.prototype.shiftRight=function(t){var e,n=Y(t).toJSNumber();if(!j(n))throw new Error(String(n)+" is too large for shifting.");if(n<0)return this.shiftLeft(-n);for(var r=this;n>=N;){if(r.isZero()||r.isNegative()&&r.isUnit())return r;r=(e=A(r,R))[1].isNegative()?e[0].prev():e[0],n-=N-1}return(e=A(r,P[n]))[1].isNegative()?e[0].prev():e[0]},f.prototype.shiftRight=c.prototype.shiftRight=s.prototype.shiftRight,s.prototype.not=function(){return this.negate().prev()},f.prototype.not=c.prototype.not=s.prototype.not,s.prototype.and=function(t){return D(this,t,(function(t,e){return t&e}))},f.prototype.and=c.prototype.and=s.prototype.and,s.prototype.or=function(t){return D(this,t,(function(t,e){return t|e}))},f.prototype.or=c.prototype.or=s.prototype.or,s.prototype.xor=function(t){return D(this,t,(function(t,e){return t^e}))},f.prototype.xor=c.prototype.xor=s.prototype.xor;var L=1<<30;function F(t){var n=t.value,r="number"===typeof n?n|L:"bigint"===typeof n?n|BigInt(L):n[0]+n[1]*e|1073758208;return r&-r}function B(t,e){if(e.compareTo(t)<=0){var n=B(t,e.square(e)),r=n.p,o=n.e,a=r.multiply(e);return a.compareTo(t)<=0?{p:a,e:2*o+1}:{p:r,e:2*o}}return{p:i(1),e:0}}function U(t,e){return t=Y(t),e=Y(e),t.greater(e)?t:e}function z(t,e){return t=Y(t),e=Y(e),t.lesser(e)?t:e}function H(t,e){if(t=Y(t).abs(),e=Y(e).abs(),t.equals(e))return t;if(t.isZero())return e;if(e.isZero())return t;for(var n,r,i=u[1];t.isEven()&&e.isEven();)n=z(F(t),F(e)),t=t.divide(n),e=e.divide(n),i=i.multiply(n);for(;t.isEven();)t=t.divide(F(t));do{for(;e.isEven();)e=e.divide(F(e));t.greater(e)&&(r=e,e=t,t=r),e=e.subtract(t)}while(!e.isZero());return i.isUnit()?t:t.multiply(i)}s.prototype.bitLength=function(){var t=this;return t.compareTo(i(0))<0&&(t=t.negate().subtract(i(1))),0===t.compareTo(i(0))?i(0):i(B(t,i(2)).e).add(i(1))},f.prototype.bitLength=c.prototype.bitLength=s.prototype.bitLength;var V=function(t,e,n,r){n=n||o,t=String(t),r||(t=t.toLowerCase(),n=n.toLowerCase());var i,a=t.length,u=Math.abs(e),s={};for(i=0;i<n.length;i++)s[n[i]]=i;for(i=0;i<a;i++){if("-"!==(l=t[i])&&(l in s&&s[l]>=u)){if("1"===l&&1===u)continue;throw new Error(l+" is not a valid digit in base "+e+".")}}e=Y(e);var c=[],f="-"===t[0];for(i=f?1:0;i<t.length;i++){var l;if((l=t[i])in s)c.push(Y(s[l]));else{if("<"!==l)throw new Error(l+" is not a valid character");var d=i;do{i++}while(">"!==t[i]&&i<t.length);c.push(Y(t.slice(d+1,i)))}}return q(c,e,f)};function q(t,e,n){var r,i=u[0],o=u[1];for(r=t.length-1;r>=0;r--)i=i.add(t[r].times(o)),o=o.times(e);return n?i.negate():i}function W(t,e){if((e=i(e)).isZero()){if(t.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(e.equals(-1)){if(t.isZero())return{value:[0],isNegative:!1};if(t.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-t.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(t.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var r=!1;if(t.isNegative()&&e.isPositive()&&(r=!0,t=t.abs()),e.isUnit())return t.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(t.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r};for(var o,a=[],u=t;u.isNegative()||u.compareAbs(e)>=0;){o=u.divmod(e),u=o.quotient;var s=o.remainder;s.isNegative()&&(s=e.minus(s).abs(),u=u.next()),a.push(s.toJSNumber())}return a.push(u.toJSNumber()),{value:a.reverse(),isNegative:r}}function G(t,e,n){var r=W(t,e);return(r.isNegative?"-":"")+r.value.map((function(t){return function(t,e){return t<(e=e||o).length?e[t]:"<"+t+">"}(t,n)})).join("")}function K(t){if(l(+t)){var e=+t;if(e===m(e))return a?new f(BigInt(e)):new c(e);throw new Error("Invalid integer: "+t)}var n="-"===t[0];n&&(t=t.slice(1));var r=t.split(/e/i);if(r.length>2)throw new Error("Invalid integer: "+r.join("e"));if(2===r.length){var i=r[1];if("+"===i[0]&&(i=i.slice(1)),(i=+i)!==m(i)||!l(i))throw new Error("Invalid integer: "+i+" is not a valid exponent.");var o=r[0],u=o.indexOf(".");if(u>=0&&(i-=o.length-u-1,o=o.slice(0,u)+o.slice(u+1)),i<0)throw new Error("Cannot include negative exponent part for integers");t=o+=new Array(i+1).join("0")}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);if(a)return new f(BigInt(n?"-"+t:t));for(var d=[],h=t.length,g=h-7;h>0;)d.push(+t.slice(g,h)),(g-=7)<0&&(g=0),h-=7;return p(d),new s(d,n)}function Y(t){return"number"===typeof t?function(t){if(a)return new f(BigInt(t));if(l(t)){if(t!==m(t))throw new Error(t+" is not an integer.");return new c(t)}return K(t.toString())}(t):"string"===typeof t?K(t):"bigint"===typeof t?new f(t):t}s.prototype.toArray=function(t){return W(this,t)},c.prototype.toArray=function(t){return W(this,t)},f.prototype.toArray=function(t){return W(this,t)},s.prototype.toString=function(e,n){if(e===t&&(e=10),10!==e)return G(this,e,n);for(var r,i=this.value,o=i.length,a=String(i[--o]);--o>=0;)r=String(i[o]),a+="0000000".slice(r.length)+r;return(this.sign?"-":"")+a},c.prototype.toString=function(e,n){return e===t&&(e=10),10!=e?G(this,e,n):String(this.value)},f.prototype.toString=c.prototype.toString,f.prototype.toJSON=s.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},s.prototype.valueOf=function(){return parseInt(this.toString(),10)},s.prototype.toJSNumber=s.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,f.prototype.valueOf=f.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var Z=0;Z<1e3;Z++)u[Z]=Y(Z),Z>0&&(u[-Z]=Y(-Z));return u.one=u[1],u.zero=u[0],u.minusOne=u[-1],u.max=U,u.min=z,u.gcd=H,u.lcm=function(t,e){return t=Y(t).abs(),e=Y(e).abs(),t.divide(H(t,e)).multiply(e)},u.isInstance=function(t){return t instanceof s||t instanceof c||t instanceof f},u.randBetween=function(t,n,r){t=Y(t),n=Y(n);var i=r||Math.random,o=z(t,n),a=U(t,n).subtract(o).add(1);if(a.isSmall)return o.add(Math.floor(i()*a));for(var s=W(a,e).value,c=[],f=!0,l=0;l<s.length;l++){var d=f?s[l]+(l+1<s.length?s[l+1]/e:0):e,h=m(i()*d);c.push(h),h<s[l]&&(f=!1)}return o.add(u.fromArray(c,e,!1))},u.fromArray=function(t,e,n){return q(t.map(Y),Y(e||10),n)},u}();t.hasOwnProperty("exports")&&(t.exports=i),void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}).call(this,n(94)(t))},function(t,e,n){"use strict";var r=n(830),i=n(831);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=y,e.resolve=function(t,e){return y(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?y(t,!1,!0).resolveObject(e):e},e.format=function(t){i.isString(t)&&(t=y(t));return t instanceof o?t.format():o.prototype.format.call(t)},e.Url=o;var a=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),f=["'"].concat(c),l=["%","/","?",";","#"].concat(f),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(832);function y(t,e,n){if(t&&i.isObject(t)&&t instanceof o)return t;var r=new o;return r.parse(t,e,n),r}o.prototype.parse=function(t,e,n){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),u=-1!==o&&o<t.indexOf("#")?"?":"#",c=t.split(u);c[0]=c[0].replace(/\\/g,"/");var y=t=c.join(u);if(y=y.trim(),!n&&1===t.split("#").length){var _=s.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=e?v.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var S=(w=w[0]).toLowerCase();this.protocol=S,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||w&&m[w]||(y=y.substr(2),this.slashes=!0)}if(!m[w]&&(O||w&&!b[w])){for(var x,E,M=-1,T=0;T<d.length;T++){-1!==($=y.indexOf(d[T]))&&(-1===M||$<M)&&(M=$)}-1!==(E=-1===M?y.lastIndexOf("@"):y.lastIndexOf("@",M))&&(x=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(x)),M=-1;for(T=0;T<l.length;T++){var $;-1!==($=y.indexOf(l[T]))&&(-1===M||$<M)&&(M=$)}-1===M&&(M=y.length),this.host=y.slice(0,M),y=y.slice(M),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var k=this.hostname.split(/\./),C=(T=0,k.length);T<C;T++){var I=k[T];if(I&&!I.match(h)){for(var P="",N=0,R=I.length;N<R;N++)I.charCodeAt(N)>127?P+="x":P+=I[N];if(!P.match(h)){var j=k.slice(0,T),D=k.slice(T+1),L=I.match(p);L&&(j.push(L[1]),D.unshift(L[2])),D.length&&(y="/"+D.join(".")+y),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+F,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!g[S])for(T=0,C=f.length;T<C;T++){var U=f[T];if(-1!==y.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),y=y.split(U).join(z)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var V=y.indexOf("?");if(-1!==V?(this.search=y.substr(V),this.query=y.substr(V+1),e&&(this.query=v.parse(this.query)),y=y.slice(0,V)):e&&(this.search="",this.query={}),y&&(this.pathname=y),b[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var q=this.search||"";this.path=F+q}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var u=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||b[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),u&&"?"!==u.charAt(0)&&(u="?"+u),e+o+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(u=u.replace("#","%23"))+r},o.prototype.resolve=function(t){return this.resolveObject(y(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(i.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var u=r[a];n[u]=this[u]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),c=0;c<s.length;c++){var f=s[c];"protocol"!==f&&(n[f]=t[f])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!b[t.protocol]){for(var l=Object.keys(t),d=0;d<l.length;d++){var h=l[d];n[h]=t[h]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=_||y||n.host&&t.pathname,S=w,O=n.pathname&&n.pathname.split("/")||[],x=(p=t.pathname&&t.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===O[0])),_)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),n.search=t.search,n.query=t.query;else if(!i.isNullOrUndefined(t.search)){if(x)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=t.search,n.query=t.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],M=(n.host||t.host||O.length>1)&&("."===E||".."===E)||""===E,T=0,$=O.length;$>=0;$--)"."===(E=O[$])?O.splice($,1):".."===E?(O.splice($,1),T++):T&&(O.splice($,1),T--);if(!w&&!S)for(;T--;T)O.unshift("..");!w||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),M&&"/"!==O.join("/").substr(-1)&&O.push("");var A,k=""===O[0]||O[0]&&"/"===O[0].charAt(0);x&&(n.hostname=n.host=k?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(w=w||n.host&&O.length)&&!k&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=u.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(t){var e=i,n=e.lib,r=n.WordArray,o=n.Hasher,a=e.algo,u=[],s=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(u[i]=n(t.pow(r,.5))),s[i]=n(t.pow(r,1/3)),i++),r++}();var c=[],f=a.SHA256=o.extend({_doReset:function(){this._hash=new r.init(u.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],f=n[5],l=n[6],d=n[7],h=0;h<64;h++){if(h<16)c[h]=0|t[e+h];else{var p=c[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=c[h-2],b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[h]=g+c[h-7]+b+c[h-16]}var v=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),_=d+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&f^~u&l)+s[h]+c[h];d=l,l=f,f=u,u=a+_|0,a=o,o=i,i=r,r=_+(y+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0,n[5]=n[5]+f|0,n[6]=n[6]+l|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(f),e.HmacSHA256=o._createHmacHelper(f)}(Math),i.SHA256)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(266),function(){var t=o,e=t.lib.Hasher,n=t.x64,r=n.Word,i=n.WordArray,a=t.algo;function u(){return r.create.apply(r,arguments)}var s=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],c=[];!function(){for(var t=0;t<80;t++)c[t]=u()}();var f=a.SHA512=e.extend({_doReset:function(){this._hash=new i.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],f=n[5],l=n[6],d=n[7],h=r.high,p=r.low,g=i.high,m=i.low,b=o.high,v=o.low,y=a.high,_=a.low,w=u.high,S=u.low,O=f.high,x=f.low,E=l.high,M=l.low,T=d.high,$=d.low,A=h,k=p,C=g,I=m,P=b,N=v,R=y,j=_,D=w,L=S,F=O,B=x,U=E,z=M,H=T,V=$,q=0;q<80;q++){var W=c[q];if(q<16)var G=W.high=0|t[e+2*q],K=W.low=0|t[e+2*q+1];else{var Y=c[q-15],Z=Y.high,Q=Y.low,X=(Z>>>1|Q<<31)^(Z>>>8|Q<<24)^Z>>>7,J=(Q>>>1|Z<<31)^(Q>>>8|Z<<24)^(Q>>>7|Z<<25),tt=c[q-2],et=tt.high,nt=tt.low,rt=(et>>>19|nt<<13)^(et<<3|nt>>>29)^et>>>6,it=(nt>>>19|et<<13)^(nt<<3|et>>>29)^(nt>>>6|et<<26),ot=c[q-7],at=ot.high,ut=ot.low,st=c[q-16],ct=st.high,ft=st.low;G=(G=(G=X+at+((K=J+ut)>>>0<J>>>0?1:0))+rt+((K+=it)>>>0<it>>>0?1:0))+ct+((K+=ft)>>>0<ft>>>0?1:0),W.high=G,W.low=K}var lt,dt=D&F^~D&U,ht=L&B^~L&z,pt=A&C^A&P^C&P,gt=k&I^k&N^I&N,mt=(A>>>28|k<<4)^(A<<30|k>>>2)^(A<<25|k>>>7),bt=(k>>>28|A<<4)^(k<<30|A>>>2)^(k<<25|A>>>7),vt=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),yt=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),_t=s[q],wt=_t.high,St=_t.low,Ot=H+vt+((lt=V+yt)>>>0<V>>>0?1:0),xt=bt+gt;H=U,V=z,U=F,z=B,F=D,B=L,D=R+(Ot=(Ot=(Ot=Ot+dt+((lt+=ht)>>>0<ht>>>0?1:0))+wt+((lt+=St)>>>0<St>>>0?1:0))+G+((lt+=K)>>>0<K>>>0?1:0))+((L=j+lt|0)>>>0<j>>>0?1:0)|0,R=P,j=N,P=C,N=I,C=A,I=k,A=Ot+(mt+pt+(xt>>>0<bt>>>0?1:0))+((k=lt+xt|0)>>>0<lt>>>0?1:0)|0}p=r.low=p+k,r.high=h+A+(p>>>0<k>>>0?1:0),m=i.low=m+I,i.high=g+C+(m>>>0<I>>>0?1:0),v=o.low=v+N,o.high=b+P+(v>>>0<N>>>0?1:0),_=a.low=_+j,a.high=y+R+(_>>>0<j>>>0?1:0),S=u.low=S+L,u.high=w+D+(S>>>0<L>>>0?1:0),x=f.low=x+B,f.high=O+F+(x>>>0<B>>>0?1:0),M=l.low=M+z,l.high=E+U+(M>>>0<z>>>0?1:0),$=d.low=$+V,d.high=T+H+($>>>0<V>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),e[31+(r+128>>>10<<5)]=n,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(f),t.HmacSHA512=e._createHmacHelper(f)}(),o.SHA512)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(266),function(t){var e=o,n=e.lib,r=n.WordArray,i=n.Hasher,a=e.x64.Word,u=e.algo,s=[],c=[],f=[];!function(){for(var t=1,e=0,n=0;n<24;n++){s[t+5*e]=(n+1)*(n+2)/2%64;var r=(2*t+3*e)%5;t=e%5,e=r}for(t=0;t<5;t++)for(e=0;e<5;e++)c[t+5*e]=e+(2*t+3*e)%5*5;for(var i=1,o=0;o<24;o++){for(var u=0,l=0,d=0;d<7;d++){if(1&i){var h=(1<<d)-1;h<32?l^=1<<h:u^=1<<h-32}128&i?i=i<<1^113:i<<=1}f[o]=a.create(u,l)}}();var l=[];!function(){for(var t=0;t<25;t++)l[t]=a.create()}();var d=u.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var n=this._state,r=this.blockSize/2,i=0;i<r;i++){var o=t[e+2*i],a=t[e+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),($=n[i]).high^=a,$.low^=o}for(var u=0;u<24;u++){for(var d=0;d<5;d++){for(var h=0,p=0,g=0;g<5;g++)h^=($=n[d+5*g]).high,p^=$.low;var m=l[d];m.high=h,m.low=p}for(d=0;d<5;d++){var b=l[(d+4)%5],v=l[(d+1)%5],y=v.high,_=v.low;for(h=b.high^(y<<1|_>>>31),p=b.low^(_<<1|y>>>31),g=0;g<5;g++)($=n[d+5*g]).high^=h,$.low^=p}for(var w=1;w<25;w++){var S=($=n[w]).high,O=$.low,x=s[w];x<32?(h=S<<x|O>>>32-x,p=O<<x|S>>>32-x):(h=O<<x-32|S>>>64-x,p=S<<x-32|O>>>64-x);var E=l[c[w]];E.high=h,E.low=p}var M=l[0],T=n[0];for(M.high=T.high,M.low=T.low,d=0;d<5;d++)for(g=0;g<5;g++){var $=n[w=d+5*g],A=l[w],k=l[(d+1)%5+5*g],C=l[(d+2)%5+5*g];$.high=A.high^~k.high&C.high,$.low=A.low^~k.low&C.low}$=n[0];var I=f[u];$.high^=I.high,$.low^=I.low}},_doFinalize:function(){var e=this._data,n=e.words,i=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(t.ceil((i+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var a=this._state,u=this.cfg.outputLength/8,s=u/8,c=[],f=0;f<s;f++){var l=a[f],d=l.high,h=l.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),c.push(h),c.push(d)}return new r.init(c,u)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),n=0;n<25;n++)e[n]=e[n].clone();return t}});e.SHA3=i._createHelper(d),e.HmacSHA3=i._createHmacHelper(d)}(Math),o.SHA3)}()},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n(183),e.createHash=e.Hash=n(158),e.createHmac=e.Hmac=n(263);var r=n(872),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=n(483);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var u=n(874);e.Cipher=u.Cipher,e.createCipher=u.createCipher,e.Cipheriv=u.Cipheriv,e.createCipheriv=u.createCipheriv,e.Decipher=u.Decipher,e.createDecipher=u.createDecipher,e.Decipheriv=u.Decipheriv,e.createDecipheriv=u.createDecipheriv,e.getCiphers=u.getCiphers,e.listCiphers=u.listCiphers;var s=n(889);e.DiffieHellmanGroup=s.DiffieHellmanGroup,e.createDiffieHellmanGroup=s.createDiffieHellmanGroup,e.getDiffieHellman=s.getDiffieHellman,e.createDiffieHellman=s.createDiffieHellman,e.DiffieHellman=s.DiffieHellman;var c=n(892);e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=n(919);var f=n(933);e.publicEncrypt=f.publicEncrypt,e.privateEncrypt=f.privateEncrypt,e.publicDecrypt=f.publicDecrypt,e.privateDecrypt=f.privateDecrypt;var l=n(936);e.randomFill=l.randomFill,e.randomFillSync=l.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(t,e,n){e.pbkdf2=n(873),e.pbkdf2Sync=n(486)},function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!==typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!==typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else if(e.version){n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,n(70))},function(t,e,n){var r=n(450),i=n(360),o=n(361),a=n(36).Buffer,u=n(484),s=n(485),c=n(487),f=a.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(t,e,n){var u=function(t){function e(e){return o(t).update(e).digest()}function n(t){return(new i).update(t).digest()}return"rmd160"===t||"ripemd160"===t?n:"md5"===t?r:e}(t),s="sha512"===t||"sha384"===t?128:64;e.length>s?e=u(e):e.length<s&&(e=a.concat([e,f],s));for(var c=a.allocUnsafe(s+l[t]),d=a.allocUnsafe(s+l[t]),h=0;h<s;h++)c[h]=54^e[h],d[h]=92^e[h];var p=a.allocUnsafe(s+n+4);c.copy(p,0,0,s),this.ipad1=p,this.ipad2=c,this.opad=d,this.alg=t,this.blocksize=s,this.hash=u,this.size=l[t]}d.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,r,i){u(n,r);var o=new d(i=i||"sha1",t=c(t,s,"Password"),(e=c(e,s,"Salt")).length),f=a.allocUnsafe(r),h=a.allocUnsafe(e.length+4);e.copy(h,0,0,e.length);for(var p=0,g=l[i],m=Math.ceil(r/g),b=1;b<=m;b++){h.writeUInt32BE(b,e.length);for(var v=o.run(h,o.ipad1),y=v,_=1;_<n;_++){y=o.run(y,o.ipad2);for(var w=0;w<g;w++)v[w]^=y[w]}v.copy(f,p),p+=g}return f}},function(t,e,n){var r=n(36).Buffer;t.exports=function(t,e,n){if(r.isBuffer(t))return t;if("string"===typeof t)return r.from(t,e);if(ArrayBuffer.isView(t))return r.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,n){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var u=0;u<=24;u+=8)i<<=1,i|=e>>>u+a&1;for(u=0;u<=24;u+=8)i<<=1,i|=t>>>u+a&1}for(a=6;a>=0;a-=2){for(u=1;u<=25;u+=8)o<<=1,o|=e>>>u+a&1;for(u=1;u<=25;u+=8)o<<=1,o|=t>>>u+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var u=24;u>=0;u-=8)i<<=1,i|=e>>>u+a&1,i<<=1,i|=t>>>u+a&1;for(a=4;a<8;a++)for(u=24;u>=0;u-=8)o<<=1,o|=e>>>u+a&1,o<<=1,o|=t>>>u+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var u=0;u<=24;u+=8)i<<=1,i|=e>>u+a&1;for(u=0;u<=24;u+=8)i<<=1,i|=t>>u+a&1}for(u=0;u<=24;u+=8)i<<=1,i|=e>>u+a&1;for(a=1;a<=3;a++){for(u=0;u<=24;u+=8)o<<=1,o|=e>>u+a&1;for(u=0;u<=24;u+=8)o<<=1,o|=t>>u+a&1}for(u=0;u<=24;u+=8)o<<=1,o|=t>>u+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,a=0,u=r.length>>>1,s=0;s<u;s++)o<<=1,o|=t>>>r[s]&1;for(s=u;s<r.length;s++)a<<=1,a|=e>>>r[s]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(t>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(e>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<o.length;n++)e<<=1,e|=t>>>o[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length<e;)r="0"+r;for(var i=[],o=0;o<e;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},function(t,e,n){"use strict";var r=n(95),i=n(37),o=n(488),a=n(376);function u(){this.tmp=new Array(2),this.keys=null}function s(t){a.call(this,t);var e=new u;this._desState=e,this.deriveKeys(e,t.key)}i(s,a),t.exports=s,s.create=function(t){return new s(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];s.prototype.deriveKeys=function(t,e){t.keys=new Array(32),r.equal(e.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(n,i,t.tmp,0),n=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var u=c[a>>>1];n=o.r28shl(n,u),i=o.r28shl(i,u),o.pc2(n,i,t.keys,a)}},s.prototype._update=function(t,e,n,r){var i=this._desState,a=o.readUInt32BE(t,e),u=o.readUInt32BE(t,e+4);o.ip(a,u,i.tmp,0),a=i.tmp[0],u=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,u,i.tmp,0):this._decrypt(i,a,u,i.tmp,0),a=i.tmp[0],u=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,u,r+4)},s.prototype._pad=function(t,e){for(var n=t.length-e,r=e;r<t.length;r++)t[r]=n;return!0},s.prototype._unpad=function(t){for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)r.equal(t[n],e);return t.slice(0,t.length-e)},s.prototype._encrypt=function(t,e,n,r,i){for(var a=e,u=n,s=0;s<t.keys.length;s+=2){var c=t.keys[s],f=t.keys[s+1];o.expand(u,t.tmp,0),c^=t.tmp[0],f^=t.tmp[1];var l=o.substitute(c,f),d=u;u=(a^o.permute(l))>>>0,a=d}o.rip(u,a,r,i)},s.prototype._decrypt=function(t,e,n,r,i){for(var a=n,u=e,s=t.keys.length-2;s>=0;s-=2){var c=t.keys[s],f=t.keys[s+1];o.expand(a,t.tmp,0),c^=t.tmp[0],f^=t.tmp[1];var l=o.substitute(c,f),d=a;a=(u^o.permute(l))>>>0,u=d}o.rip(a,u,r,i)}},function(t,e,n){var r=n(239),i=n(36).Buffer,o=n(491);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var u=0;u<n;u++){var s=a(t),c=o+16*u;t._cache.writeUInt32BE(s[0],c+0),t._cache.writeUInt32BE(s[1],c+4),t._cache.writeUInt32BE(s[2],c+8),t._cache.writeUInt32BE(s[3],c+12)}var f=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),r(e,f)}},function(t,e){t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(t,e,n){var r=n(268),i=n(36).Buffer,o=n(156),a=n(37),u=n(886),s=n(239),c=n(491);function f(t,e,n,a){o.call(this);var s=i.alloc(4,0);this._cipher=new r.AES(e);var f=this._cipher.encryptBlock(s);this._ghash=new u(f),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new u(n),o=e.length,a=o%16;r.update(e),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var s=8*o,f=i.alloc(8);f.writeUIntBE(s,0,8),r.update(f),t._finID=r.state;var l=i.from(t._finID);return c(l),l}(this,n,f),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(f,o),f.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i<r;++i)n+=t[i]^e[i];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},f.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},f.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=f},function(t,e,n){var r=n(268),i=n(36).Buffer,o=n(156);function a(t,e,n,a){o.call(this),this._cipher=new r.AES(e),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}n(37)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},function(t,e,n){var r=n(183);t.exports=v,v.simpleSieve=m,v.fermatTest=b;var i=n(112),o=new i(24),a=new(n(496)),u=new i(1),s=new i(2),c=new i(5),f=(new i(16),new i(8),new i(10)),l=new i(3),d=(new i(7),new i(11)),h=new i(4),p=(new i(12),null);function g(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<e&&t[i]<=r&&n%t[i]!==0;i++);e!==i&&t[i]<=r||(t[e++]=n)}return p=t,t}function m(t){for(var e=g(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function b(t){var e=i.mont(t);return 0===s.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new i(e);;){for(n=new i(r(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(u),n.testn(1)||n.iadd(s),e.cmp(s)){if(!e.cmp(c))for(;n.mod(f).cmp(l);)n.iadd(h)}else for(;n.mod(o).cmp(d);)n.iadd(h);if(m(p=n.shrn(1))&&m(n)&&b(p)&&b(n)&&a.test(p)&&a.test(n))return n}}},function(t,e,n){var r=n(112),i=n(180);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),a=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var u=t.subn(1),s=0;!u.testn(s);s++);for(var c=t.shrn(s),f=u.toRed(o);e>0;e--){var l=this._randrange(new r(2),u);n&&n(l);var d=l.toRed(o).redPow(c);if(0!==d.cmp(a)&&0!==d.cmp(f)){for(var h=1;h<s;h++){if(0===(d=d.redSqr()).cmp(a))return!1;if(0===d.cmp(f))break}if(h===s)return!1}}return!0},o.prototype.getDivisor=function(t,e){var n=t.bitLength(),i=r.mont(t),o=new r(1).toRed(i);e||(e=Math.max(1,n/48|0));for(var a=t.subn(1),u=0;!a.testn(u);u++);for(var s=t.shrn(u),c=a.toRed(i);e>0;e--){var f=this._randrange(new r(2),a),l=t.gcd(f);if(0!==l.cmpn(1))return l;var d=f.toRed(i).redPow(s);if(0!==d.cmp(o)&&0!==d.cmp(c)){for(var h=1;h<u;h++){if(0===(d=d.redSqr()).cmp(o))return d.fromRed().subn(1).gcd(t);if(0===d.cmp(c))break}if(h===u)return(d=d.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,n){"use strict";var r=e;r.version=n(896).version,r.utils=n(115),r.rand=n(180),r.curve=n(498),r.curves=n(380),r.ec=n(902),r.eddsa=n(905)},function(t,e,n){"use strict";var r=e;r.base=n(270),r.short=n(898),r.mont=n(899),r.edwards=n(900)},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=n(908).Buffer}catch(T){}function u(t,e,n){for(var i=0,o=Math.min(t.length,n),a=0,u=e;u<o;u++){var s,c=t.charCodeAt(u)-48;i<<=4,i|=s=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=s}return r(!(240&a),"Invalid character in "+t),i}function s(t,e,n,i){for(var o=0,a=0,u=Math.min(t.length,n),s=e;s<u;s++){var c=t.charCodeAt(s)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=u(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=u(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,c=0,f=n;f<u;f+=r)c=s(t,f,f+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var l=1;for(c=s(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){c(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(T){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l=["","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"],d=[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],h=[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];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?l[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 c=d[t],f=h[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(f).toString(t);n=(p=p.idivn(f)).isZero()?g+n:l[c-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n++]=255&a,n<t.length&&(t[n++]=a>>8&255),n<t.length&&(t[n++]=a>>16&255),6===o?(n<t.length&&(t[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n--]=255&a,n>=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function m(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function b(t,e,n){return m(t,e,n)}function v(t,e){this.x=t,this.y=e}Math.imul||(g=p),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):n<63?p(this,t,e):n<1024?m(this,t,e):b(this,t,e)},v.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},v.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},v.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},v.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},v.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},v.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},v.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},v.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},v.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},v.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),b(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"===typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this._strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new E(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function _(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"===typeof t){var e=o._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 M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}_.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},_.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(t,e){t.iushrn(this.n,0,e)},_.prototype.imulK=function(t){return t.imul(this.k)},i(w,_),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(S,_),i(O,_),i(x,_),x.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new S;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new x}return y[t]=e,e},E.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},E.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")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.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)},E.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},E.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)},E.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},function(t,e,n){"use strict";var r=e;r.bignum=n(112),r.define=n(910).define,r.base=n(913),r.constants=n(914),r.decoders=n(503),r.encoders=n(501)},function(t,e,n){"use strict";var r=e;r.der=n(502),r.pem=n(911)},function(t,e,n){"use strict";var r=n(37),i=n(381).Buffer,o=n(382),a=n(384);function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new s,this.tree._init(t.body)}function s(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=u,u.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(s,o),s.prototype._encodeComposite=function(t,e,n,r){var o=function(t,e,n,r){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!==typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}if(i>=31)return r.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6}(t,e,n,this.reporter);if(r.length<128){var u=i.alloc(2);return u[0]=o,u[1]=r.length,this._createEncoderBuffer([u,r])}for(var s=1,c=r.length;c>=256;c>>=8)s++;var f=i.alloc(2+s);f[0]=o,f[1]=128|s;for(var l=1+s,d=r.length;d>0;l--,d>>=8)f[l]=255&d;return this._createEncoderBuffer([f,r])},s.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var n=i.alloc(2*t.length),r=0;r<t.length;r++)n.writeUInt16BE(t.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},s.prototype._encodeObjid=function(t,e,n){if("string"===typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var r=0;r<t.length;r++)t[r]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,u=0;u<t.length;u++){var s=t[u];for(a++;s>=128;s>>=7)a++}for(var c=i.alloc(a),f=c.length-1,l=t.length-1;l>=0;l--){var d=t[l];for(c[f--]=127&d;(d>>=7)>0;)c[f--]=128|127&d}return this._createEncoderBuffer(c)},s.prototype._encodeTime=function(t,e){var n,r=new Date(t);return"gentime"===e?n=[c(r.getUTCFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[c(r.getUTCFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){var n=t.toArray();!t.sign&&128&n[0]&&n.unshift(0),t=i.from(n)}if(i.isBuffer(t)){var r=t.length;0===t.length&&r++;var o=i.alloc(r);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,u=t;u>=256;u>>=8)a++;for(var s=new Array(a),c=s.length-1;c>=0;c--)s[c]=255&t,t>>=8;return 128&s[0]&&s.unshift(0),this._createEncoderBuffer(i.from(s))},s.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},s.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},s.prototype._skipDefault=function(t,e,n){var r,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r<o.length;r++)if(o[r]!==i.defaultBuffer[r])return!1;return!0}},function(t,e,n){"use strict";var r=e;r.der=n(504),r.pem=n(912)},function(t,e,n){"use strict";var r=n(37),i=n(112),o=n(240).DecoderBuffer,a=n(382),u=n(384);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function f(t,e){var n=t.readUInt8(e);if(t.isError(n))return n;var r=u.tagClass[n>>6],i=0===(32&n);if(31===(31&n)){var o=n;for(n=0;128===(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:u.tag[n]}}function l(t,e,n){var r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0===(128&r))return r;var i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(var o=0;o<i;o++){r<<=8;var a=t.readUInt8(n);if(t.isError(a))return a;r|=a}return r}t.exports=s,s.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},r(c,a),c.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;var r=t.save(),i=f(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(r),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||n)},c.prototype._decodeTag=function(t,e,n){var r=f(t,'Failed to decode tag of "'+e+'"');if(t.isError(r))return r;var i=l(t,r.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!n&&r.tag!==e&&r.tagStr!==e&&r.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(r.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){var n=f(t,e);if(t.isError(n))return n;var r=l(t,n.primitive,e);if(t.isError(r))return r;var i=void 0;if(i=n.primitive||null!==r?t.skip(r):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===n.tagStr)break}},c.prototype._decodeList=function(t,e,n,r){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=n.decode(t,"der",r);if(t.isError(a)&&o)break;i.push(a)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){var n=t.readUInt8();return t.isError(n)?n:{unused:n,data:t.raw()}}if("bmpstr"===e){var r=t.raw();if(r.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<r.length/2;o++)i+=String.fromCharCode(r.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var u=t.raw().toString("ascii");return this._isPrintstr(u)?u:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,n){for(var r,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0===(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var u=i[0]/40|0,s=i[0]%40;if(r=n?i:[u,s].concat(i.slice(1)),e){var c=e[r.join(" ")];void 0===c&&(c=e[r.join(".")]),void 0!==c&&(r=c)}return r},c.prototype._decodeTime=function(t,e){var n,r,i,o,a,u,s=t.raw().toString();if("gentime"===e)n=0|s.slice(0,4),r=0|s.slice(4,6),i=0|s.slice(6,8),o=0|s.slice(8,10),a=0|s.slice(10,12),u=0|s.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");n=0|s.slice(0,2),r=0|s.slice(2,4),i=0|s.slice(4,6),o=0|s.slice(6,8),a=0|s.slice(8,10),u=0|s.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,r-1,i,o,a,u,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){var n=t.raw(),r=new i(n);return e&&(r=e[r.toString(10)]||r),r},c.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(t,e,n){"use strict";var r=e;r.base=n(272),r.short=n(923),r.mont=n(924),r.edwards=n(925)},function(t,e,n){var r=n(158),i=n(36).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,a=i.alloc(0),u=0;a.length<e;)n=o(u++),a=i.concat([a,r("sha1").update(t).update(n).digest()]);return a.slice(0,e)}},function(t,e){t.exports=function(t,e){for(var n=t.length,r=-1;++r<n;)t[r]^=e[r];return t}},function(t,e,n){var r=n(112),i=n(36).Buffer;t.exports=function(t,e){return i.from(t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed().toArray())}},function(t,e,n){"use strict";var r=n(52),i={q:0,p:1,z:2,r:3,y:4,9:5,x:6,8:7,g:8,f:9,2:10,t:11,v:12,d:13,w:14,0:15,s:16,3:17,j:18,n:19,5:20,4:21,k:22,h:23,c:24,e:25,6:26,m:27,u:28,a:29,7:30,l:31};t.exports={encode:function(t){r.checkArgument(t instanceof Array,"Must be Array");for(var e="",n=0;n<t.length;n++){var i=t[n];r.checkArgument(0<=i&&i<32,"value "+i),e+="qpzry9x8gf2tvdw0s3jn54khce6mua7l"[i]}return e},decode:function(t){r.checkArgument("string"===typeof t,"Must be base32-encoded string");for(var e=[],n=0;n<t.length;n++){var o=t[n];r.checkArgument(o in i,"value "+o),e.push(i[o])}return e}}},function(t,e,n){"use strict";var r=n(52);t.exports=function(t,e,n,i){i=i||!1;for(var o=0,a=0,u=[],s=(1<<n)-1,c=0;c<t.length;c++){var f=t[c];for(r.checkArgument(!(f<0||f>>e!==0),"value "+f),o=o<<e|f,a+=e;a>=n;)a-=n,u.push(o>>a&s)}return i?r.checkState(!(a>=e||o<<n-a&s),"Conversion requires padding but strict mode was used"):a>0&&u.push(o<<n-a&s),u}},function(t,e,n){(function(e){var r=n(187),i=n(160),o=n(134),a=n(84),u=n(275),s=n(101),c=n(100),f=n(159),l=n(52),d=n(48),h=n(114),p=(n(29),n(63)),g=n(80),m=n(937),b=function t(e){return this instanceof t?(this.chunks=[],p.isBuffer(e)?t.fromBuffer(e):e instanceof r?t.fromAddress(e):e instanceof t?t.fromBuffer(e.toBuffer()):d.isString(e)?t.fromString(e):void(d.isObject(e)&&d.isArray(e.chunks)&&this.set(e))):new t(e)};b.prototype.set=function(t){return l.checkArgument(d.isObject(t)),l.checkArgument(d.isArray(t.chunks)),this.chunks=t.chunks,this},b.fromBuffer=function(t){var e=new b;e.chunks=[];for(var n=new i(t);!n.finished();)try{var r,o,a=n.readUInt8();a>0&&a<u.OP_PUSHDATA1?(r=a,e.chunks.push({buf:n.read(r),len:r,opcodenum:a})):a===u.OP_PUSHDATA1?(r=n.readUInt8(),o=n.read(r),e.chunks.push({buf:o,len:r,opcodenum:a})):a===u.OP_PUSHDATA2?(r=n.readUInt16LE(),o=n.read(r),e.chunks.push({buf:o,len:r,opcodenum:a})):a===u.OP_PUSHDATA4?(r=n.readUInt32LE(),o=n.read(r),e.chunks.push({buf:o,len:r,opcodenum:a})):e.chunks.push({opcodenum:a})}catch(s){if(s instanceof RangeError)throw new h.Script.InvalidBuffer(t.toString("hex"));throw s}return e},b.prototype.toBuffer=function(){for(var t=new o,e=0;e<this.chunks.length;e++){var n=this.chunks[e],r=n.opcodenum;t.writeUInt8(n.opcodenum),n.buf&&(r<u.OP_PUSHDATA1?t.write(n.buf):r===u.OP_PUSHDATA1?(t.writeUInt8(n.len),t.write(n.buf)):r===u.OP_PUSHDATA2?(t.writeUInt16LE(n.len),t.write(n.buf)):r===u.OP_PUSHDATA4&&(t.writeUInt32LE(n.len),t.write(n.buf)))}return t.concat()},b.fromASM=function(t){var n=new b;n.chunks=[];for(var r=t.split(" "),i=0;i<r.length;){var o=r[i],a=u(o).toNumber();if(d.isUndefined(a)){var s=e.from(r[i],"hex"),c=s.length;c>=0&&c<u.OP_PUSHDATA1?a=c:c<Math.pow(2,8)?a=u.OP_PUSHDATA1:c<Math.pow(2,16)?a=u.OP_PUSHDATA2:c<Math.pow(2,32)&&(a=u.OP_PUSHDATA4),n.chunks.push({buf:s,len:s.length,opcodenum:a}),i+=1}else n.chunks.push({opcodenum:a}),i+=1}return n},b.fromHex=function(t){return new b(e.from(t,"hex"))},b.fromString=function(t){if(g.isHexa(t)||0===t.length)return new b(e.from(t,"hex"));var n=new b;n.chunks=[];for(var r=t.split(" "),i=0;i<r.length;){var o=r[i],a=u(o).toNumber();if(d.isUndefined(a)){if(!((a=parseInt(o))>0&&a<u.OP_PUSHDATA1))throw new Error("Invalid script: "+JSON.stringify(t));n.chunks.push({buf:e.from(r[i+1].slice(2),"hex"),len:a,opcodenum:a}),i+=2}else if(a===u.OP_PUSHDATA1||a===u.OP_PUSHDATA2||a===u.OP_PUSHDATA4){if("0x"!==r[i+2].slice(0,2))throw new Error("Pushdata data must start with 0x");n.chunks.push({buf:e.from(r[i+2].slice(2),"hex"),len:parseInt(r[i+1]),opcodenum:a}),i+=3}else n.chunks.push({opcodenum:a}),i+=1}return n},b.prototype._chunkToString=function(t,e){var n=t.opcodenum,r="asm"===e,i="";if(t.buf)r||n!==u.OP_PUSHDATA1&&n!==u.OP_PUSHDATA2&&n!==u.OP_PUSHDATA4||(i=i+" "+u(n).toString()),t.len>0&&(i=r?i+" "+t.buf.toString("hex"):i+" "+t.len+" 0x"+t.buf.toString("hex"));else if("undefined"!==typeof u.reverseMap[n])r?0===n?i+=" 0":79===n?i+=" -1":i=i+" "+u(n).toString():i=i+" "+u(n).toString();else{var o=n.toString(16);o.length%2!==0&&(o="0"+o),i=r?i+" "+o:i+" 0x"+o}return i},b.prototype.toASM=function(){for(var t="",e=0;e<this.chunks.length;e++){var n=this.chunks[e];t+=this._chunkToString(n,"asm")}return t.substr(1)},b.prototype.toString=function(){for(var t="",e=0;e<this.chunks.length;e++){var n=this.chunks[e];t+=this._chunkToString(n)}return t.substr(1)},b.prototype.toHex=function(){return this.toBuffer().toString("hex")},b.prototype.inspect=function(){return"<Script: "+this.toString()+">"},b.prototype.isPublicKeyHashOut=function(){return!(5!==this.chunks.length||this.chunks[0].opcodenum!==u.OP_DUP||this.chunks[1].opcodenum!==u.OP_HASH160||!this.chunks[2].buf||20!==this.chunks[2].buf.length||this.chunks[3].opcodenum!==u.OP_EQUALVERIFY||this.chunks[4].opcodenum!==u.OP_CHECKSIG)},b.prototype.isPublicKeyHashIn=function(){if(2===this.chunks.length){var t=this.chunks[0].buf,e=this.chunks[1].buf;if(t&&t.length&&e&&e.length){var n=e[0];if((4===n||6===n||7===n)&&65===e.length)return!0;if((3===n||2===n)&&33===e.length)return!0}}return!1},b.prototype.getPublicKey=function(){return l.checkState(this.isPublicKeyOut()||this.isPublicKeyHashIn(),"Can't retrieve PublicKey from a non-PK output or non-PKH input"),this.isPublicKeyOut()?this.chunks[0].buf:this.chunks[1].buf},b.prototype.getPublicKeyHash=function(){return l.checkState(this.isPublicKeyHashOut(),"Can't retrieve PublicKeyHash from a non-PKH output"),this.chunks[2].buf},b.prototype.isPublicKeyOut=function(){if(2===this.chunks.length&&this.chunks[0].buf&&this.chunks[0].buf.length&&this.chunks[1].opcodenum===u.OP_CHECKSIG){var t=this.chunks[0].buf,e=t[0],n=!1;if((4!==e&&6!==e&&7!==e||65!==t.length)&&(3!==e&&2!==e||33!==t.length)||(n=!0),n)return s.isValid(t)}return!1},b.prototype.isPublicKeyIn=function(){if(1===this.chunks.length){var t=this.chunks[0].buf;if(t&&t.length&&48===t[0])return!0}return!1},b.prototype.isScriptHashOut=function(){var t=this.toBuffer();return 23===t.length&&t[0]===u.OP_HASH160&&20===t[1]&&t[t.length-1]===u.OP_EQUAL},b.prototype.isScriptHashIn=function(){if(this.chunks.length<=1)return!1;var t,e=this.chunks[this.chunks.length-1].buf;if(!e)return!1;try{t=b.fromBuffer(e)}catch(n){if(n instanceof h.Script.InvalidBuffer)return!1;throw n}return t.classify()!==b.types.UNKNOWN},b.prototype.isMultisigOut=function(){return this.chunks.length>3&&u.isSmallIntOp(this.chunks[0].opcodenum)&&this.chunks.slice(1,this.chunks.length-2).every((function(t){return t.buf&&p.isBuffer(t.buf)}))&&u.isSmallIntOp(this.chunks[this.chunks.length-2].opcodenum)&&this.chunks[this.chunks.length-1].opcodenum===u.OP_CHECKMULTISIG},b.prototype.isMultisigIn=function(){return this.chunks.length>=2&&0===this.chunks[0].opcodenum&&this.chunks.slice(1,this.chunks.length).every((function(t){return t.buf&&p.isBuffer(t.buf)&&c.isTxDER(t.buf)}))},b.prototype.isDataOut=function(){if(!(this.chunks.length>=1&&this.chunks[0].opcodenum===u.OP_RETURN&&this.toBuffer().length<=223))return!1;var t=this.chunks.slice(1);return new b({chunks:t}).isPushOnly()},b.prototype.getData=function(){if(this.isDataOut()||this.isScriptHashOut())return d.isUndefined(this.chunks[1])?e.alloc(0):e.from(this.chunks[1].buf);if(this.isPublicKeyHashOut())return e.from(this.chunks[2].buf);throw new Error("Unrecognized script type to get data from")},b.prototype.isPushOnly=function(){return d.every(this.chunks,(function(t){return t.opcodenum<=u.OP_16||t.opcodenum===u.OP_PUSHDATA1||t.opcodenum===u.OP_PUSHDATA2||t.opcodenum===u.OP_PUSHDATA4}))},(b.types={}).UNKNOWN="Unknown",b.types.PUBKEY_OUT="Pay to public key",b.types.PUBKEY_IN="Spend from public key",b.types.PUBKEYHASH_OUT="Pay to public key hash",b.types.PUBKEYHASH_IN="Spend from public key hash",b.types.SCRIPTHASH_OUT="Pay to script hash",b.types.SCRIPTHASH_IN="Spend from script hash",b.types.MULTISIG_OUT="Pay to multisig",b.types.MULTISIG_IN="Spend from multisig",b.types.DATA_OUT="Data push",b.OP_RETURN_STANDARD_SIZE=220,b.prototype.classify=function(){if(this._isInput)return this.classifyInput();if(this._isOutput)return this.classifyOutput();var t=this.classifyOutput();return t!=b.types.UNKNOWN?t:this.classifyInput()},(b.outputIdentifiers={}).PUBKEY_OUT=b.prototype.isPublicKeyOut,b.outputIdentifiers.PUBKEYHASH_OUT=b.prototype.isPublicKeyHashOut,b.outputIdentifiers.MULTISIG_OUT=b.prototype.isMultisigOut,b.outputIdentifiers.SCRIPTHASH_OUT=b.prototype.isScriptHashOut,b.outputIdentifiers.DATA_OUT=b.prototype.isDataOut,b.prototype.classifyOutput=function(){for(var t in b.outputIdentifiers)if(b.outputIdentifiers[t].bind(this)())return b.types[t];return b.types.UNKNOWN},(b.inputIdentifiers={}).PUBKEY_IN=b.prototype.isPublicKeyIn,b.inputIdentifiers.PUBKEYHASH_IN=b.prototype.isPublicKeyHashIn,b.inputIdentifiers.MULTISIG_IN=b.prototype.isMultisigIn,b.inputIdentifiers.SCRIPTHASH_IN=b.prototype.isScriptHashIn,b.prototype.classifyInput=function(){for(var t in b.inputIdentifiers)if(b.inputIdentifiers[t].bind(this)())return b.types[t];return b.types.UNKNOWN},b.prototype.isStandard=function(){return this.classify()!==b.types.UNKNOWN},b.prototype.prepend=function(t){return this._addByType(t,!0),this},b.prototype.equals=function(t){if(l.checkState(t instanceof b,"Must provide another script"),this.chunks.length!==t.chunks.length)return!1;var e;for(e=0;e<this.chunks.length;e++){if(p.isBuffer(this.chunks[e].buf)&&!p.isBuffer(t.chunks[e].buf))return!1;if(p.isBuffer(this.chunks[e].buf)&&!p.equals(this.chunks[e].buf,t.chunks[e].buf))return!1;if(this.chunks[e].opcodenum!==t.chunks[e].opcodenum)return!1}return!0},b.prototype.add=function(t){return this._addByType(t,!1),this},b.prototype._addByType=function(t,e){if("string"===typeof t)this._addOpcode(t,e);else if("number"===typeof t)this._addOpcode(t,e);else if(t instanceof u)this._addOpcode(t,e);else if(p.isBuffer(t))this._addBuffer(t,e);else if(t instanceof b)this.chunks=this.chunks.concat(t.chunks);else{if("object"!==typeof t)throw new Error("Invalid script chunk");this._insertAtPosition(t,e)}},b.prototype._insertAtPosition=function(t,e){e?this.chunks.unshift(t):this.chunks.push(t)},b.prototype._addOpcode=function(t,e){var n;return n="number"===typeof t?t:t instanceof u?t.toNumber():u(t).toNumber(),this._insertAtPosition({opcodenum:n},e),this},b.prototype._addBuffer=function(t,e){var n,r=t.length;if(r>=0&&r<u.OP_PUSHDATA1)n=r;else if(r<Math.pow(2,8))n=u.OP_PUSHDATA1;else if(r<Math.pow(2,16))n=u.OP_PUSHDATA2;else{if(!(r<Math.pow(2,32)))throw new Error("You can't push that much data");n=u.OP_PUSHDATA4}return this._insertAtPosition({buf:t,len:r,opcodenum:n},e),this},b.prototype.removeCodeseparators=function(){for(var t=[],e=0;e<this.chunks.length;e++)this.chunks[e].opcodenum!==u.OP_CODESEPARATOR&&t.push(this.chunks[e]);return this.chunks=t,this},b.buildEscrowOut=function(t,e){l.checkArgument(t.length<65536,"Number of input public keys exceeds 65,536"),l.checkArgument(t.length>0,"Must provide at least one input public key"),l.checkArgument(e,"Must provide a reclaim public key");var n=new b;return m.generateRedeemScriptOperations(t,e).forEach((function(t){return n.add(t)})),n},b.buildMultisigOut=function(t,e,n){l.checkArgument(e<=t.length,"Number of required signatures must be less than or equal to the number of public keys"),n=n||{};var r=new b;r.add(u.smallInt(e));var i=t=d.map(t,s);n.noSorting||(i=d.sortBy(t,(function(t){return t.toString("hex")})));for(var o=0;o<i.length;o++){var a=i[o];r.add(a.toBuffer())}return r.add(u.smallInt(t.length)),r.add(u.OP_CHECKMULTISIG),r},b.buildMultisigIn=function(t,n,r,i){l.checkArgument(d.isArray(t)),l.checkArgument(d.isNumber(n)),l.checkArgument(d.isArray(r)),i=i||{};var o=new b;if("schnorr"===i.signingMethod&&i.checkBits){var a=e.from(i.checkBits).reverse().join(""),s=parseInt(a,2),c=parseInt(s.toString(16),16),f=t.length;f>=1&&f<=4?o.add(u(c)):f>=5&&f<=8?129===c?o.add(u("OP_1NEGATE")):c>16?(o.add(1),o.add(c)):o.add(u(c)):f>=9&&f<=16?(o.add(2),o.add(c)):f>=17&&f<=20&&(o.add(3),o.add(c))}else o.add(u.OP_0);return d.each(r,(function(t){l.checkArgument(p.isBuffer(t),"Signatures must be an array of Buffers"),o.add(t)})),o},b.buildP2SHMultisigIn=function(t,n,r,i){l.checkArgument(d.isArray(t)),l.checkArgument(d.isNumber(n)),l.checkArgument(d.isArray(r)),i=i||{};var o=new b;if("schnorr"===i.signingMethod&&i.checkBits){var a=e.from(i.checkBits).reverse().join(""),s=parseInt(a,2),c=parseInt(s.toString(16),16),f=t.length;f>=1&&f<=4?o.add(u.smallInt(s)):f>=5&&f<=8?129===c?o.add(u("OP_1NEGATE")):c>16?(o.add(1),o.add(c)):o.add(u.smallInt(s)):f>=9&&f<=16?(o.add(2),o.add(c)):f>=17&&f<=20&&(o.add(3),o.add(c))}else o.add(u.OP_0);return d.each(r,(function(t){l.checkArgument(p.isBuffer(t),"Signatures must be an array of Buffers"),o.add(t)})),o.add((i.cachedMultisig||b.buildMultisigOut(t,n,i)).toBuffer()),o},b.buildPublicKeyHashOut=function(t){l.checkArgument(!d.isUndefined(t)),l.checkArgument(t instanceof s||t instanceof r||d.isString(t)),t instanceof s?t=t.toAddress():d.isString(t)&&(t=new r(t));var e=new b;return e.add(u.OP_DUP).add(u.OP_HASH160).add(t.hashBuffer).add(u.OP_EQUALVERIFY).add(u.OP_CHECKSIG),e._network=t.network,e},b.buildPublicKeyOut=function(t){l.checkArgument(t instanceof s);var e=new b;return e.add(t.toBuffer()).add(u.OP_CHECKSIG),e},b.buildDataOut=function(t,n){l.checkArgument(d.isUndefined(t)||d.isString(t)||p.isBuffer(t)),d.isString(t)&&(t=e.from(t,n));var r=new b;return r.add(u.OP_RETURN),d.isUndefined(t)||r.add(t),r},b.buildScriptHashOut=function(t){l.checkArgument(t instanceof b||t instanceof r&&t.isPayToScriptHash());var e=new b;return e.add(u.OP_HASH160).add(t instanceof r?t.hashBuffer:a.sha256ripemd160(t.toBuffer())).add(u.OP_EQUAL),e._network=t._network||t.network,e},b.buildPublicKeyIn=function(t,e){l.checkArgument(t instanceof c||p.isBuffer(t)),l.checkArgument(d.isUndefined(e)||d.isNumber(e)),t instanceof c&&(t=t.toBuffer());var n=new b;return n.add(p.concat([t,p.integerAsSingleByteBuffer(e||c.SIGHASH_ALL)])),n},b.buildPublicKeyHashIn=function(t,e,n){return l.checkArgument(e instanceof c||p.isBuffer(e)),l.checkArgument(d.isUndefined(n)||d.isNumber(n)),e instanceof c&&(e=e.toBuffer()),(new b).add(p.concat([e,p.integerAsSingleByteBuffer(n||c.SIGHASH_ALL)])).add(new s(t).toBuffer())},b.buildEscrowIn=function(t,e,n){l.checkArgument(e instanceof c);var r=c.SIGHASH_ALL|c.SIGHASH_FORKID;return(new b).add(p.concat([e.toBuffer("schnorr"),p.integerAsSingleByteBuffer(r)])).add(t.toBuffer()).add(n.toBuffer())},b.empty=function(){return new b},b.prototype.toScriptHashOut=function(){return b.buildScriptHashOut(this)},b.fromAddress=function(t){if((t=r(t)).isPayToScriptHash())return b.buildScriptHashOut(t);if(t.isPayToPublicKeyHash())return b.buildPublicKeyHashOut(t);throw new h.Script.UnrecognizedAddress(t)},b.prototype.getAddressInfo=function(t){if(this._isInput)return this._getInputAddressInfo();if(this._isOutput)return this._getOutputAddressInfo();var e=this._getOutputAddressInfo();return e||this._getInputAddressInfo()},b.prototype._getOutputAddressInfo=function(){var t={};if(this.isScriptHashOut())t.hashBuffer=this.getData(),t.type=r.PayToScriptHash;else{if(!this.isPublicKeyHashOut())return!1;t.hashBuffer=this.getData(),t.type=r.PayToPublicKeyHash}return t},b.prototype._getInputAddressInfo=function(){var t={};if(this.isPublicKeyHashIn())t.hashBuffer=a.sha256ripemd160(this.chunks[1].buf),t.type=r.PayToPublicKeyHash;else{if(!this.isScriptHashIn())return!1;t.hashBuffer=a.sha256ripemd160(this.chunks[this.chunks.length-1].buf),t.type=r.PayToScriptHash}return t},b.prototype.toAddress=function(t){var e=this.getAddressInfo();return!!e&&(e.network=f.get(t)||this._network||f.defaultNetwork,new r(e))},b.prototype.findAndDelete=function(t){for(var e=t.toBuffer().toString("hex"),n=0;n<this.chunks.length;n++){e===b({chunks:[this.chunks[n]]}).toBuffer().toString("hex")&&this.chunks.splice(n,1)}return this},b.prototype.checkMinimalPush=function(t){var e=this.chunks[t],n=e.buf,r=e.opcodenum;return!n||(0===n.length?r===u.OP_0:!(1===n.length&&n[0]>=1&&n[0]<=16)&&((1!==n.length||129!==n[0])&&(n.length<=75?r===n.length:n.length<=255?r===u.OP_PUSHDATA1:!(n.length<=65535)||r===u.OP_PUSHDATA2)))},b.prototype._decodeOP_N=function(t){if(t===u.OP_0)return 0;if(t>=u.OP_1&&t<=u.OP_16)return t-(u.OP_1-1);throw new Error("Invalid opcode: "+JSON.stringify(t))},b.prototype.getSignatureOperationsCount=function(t){t=!!d.isUndefined(t)||t;var e=this,n=0,r=u.OP_INVALIDOPCODE;return d.each(e.chunks,(function(i){var o=i.opcodenum;o==u.OP_CHECKSIG||o==u.OP_CHECKSIGVERIFY?n++:o!=u.OP_CHECKMULTISIG&&o!=u.OP_CHECKMULTISIGVERIFY||(t&&r>=u.OP_1&&r<=u.OP_16?n+=e._decodeOP_N(r):n+=20),r=o})),n},t.exports=b}).call(this,n(29).Buffer)},function(t,e,n){var r=n(938),i=n(939),o=n(373),a=n(940);t.exports=function(t){return r(t)||i(t)||o(t)||a()}},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(512),o=n(275),a=n(79),u=n(84),s=n(100),c=n(101),f=n(375),l=n(386),d=function t(e){if(!(this instanceof t))return new t(e);e?(this.initialize(),this.set(e)):this.initialize()};d.prototype.verify=function(t,e,o,a,u,s){var c,f=n(276);if(r.isUndefined(o)&&(o=new f),r.isUndefined(a)&&(a=0),r.isUndefined(u)&&(u=0),u&d.SCRIPT_ENABLE_SIGHASH_FORKID&&(u|=d.SCRIPT_VERIFY_STRICTENC,!s))throw new Error("internal error - need satoshisBN to verify FORKID transactions");if(this.set({script:t,tx:o,nin:a,flags:u,satoshisBN:s}),0!==(u&d.SCRIPT_VERIFY_SIGPUSHONLY)&&!t.isPushOnly())return this.errstr="SCRIPT_ERR_SIG_PUSHONLY",!1;if(!this.evaluate())return!1;u&d.SCRIPT_VERIFY_P2SH&&(c=this.stack.slice());var l=this.stack;if(this.initialize(),this.set({script:e,stack:l,tx:o,nin:a,flags:u,satoshisBN:s}),!this.evaluate())return!1;if(0===this.stack.length)return this.errstr="SCRIPT_ERR_EVAL_FALSE_NO_RESULT",!1;var h=this.stack[this.stack.length-1];if(!d.castToBool(h))return this.errstr="SCRIPT_ERR_EVAL_FALSE_IN_STACK",!1;if(u&d.SCRIPT_VERIFY_P2SH&&e.isScriptHashOut()){if(!t.isPushOnly())return this.errstr="SCRIPT_ERR_SIG_PUSHONLY",!1;if(0===c.length)throw new Error("internal error - stack copy empty");var p=c[c.length-1],g=i.fromBuffer(p);if(c.pop(),this.initialize(),this.set({script:g,stack:c,tx:o,nin:a,flags:u,satoshisBN:s}),!this.evaluate())return!1;if(0===c.length)return this.errstr="SCRIPT_ERR_EVAL_FALSE_NO_P2SH_STACK",!1;if(!d.castToBool(c[c.length-1]))return this.errstr="SCRIPT_ERR_EVAL_FALSE_IN_P2SH_STACK",!1}if(0!=(u&d.SCRIPT_VERIFY_CLEANSTACK)){if(0==(u&d.SCRIPT_VERIFY_P2SH))throw new Error("internal error - CLEANSTACK without P2SH");if(1!=c.length)return this.errstr="SCRIPT_ERR_CLEANSTACK",!1}return!0},t.exports=d,d.prototype.initialize=function(t){this.stack=[],this.altstack=[],this.pc=0,this.pbegincodehash=0,this.nOpCount=0,this.vfExec=[],this.errstr="",this.flags=0},d.prototype.set=function(t){this.script=t.script||this.script,this.tx=t.tx||this.tx,this.nin="undefined"!==typeof t.nin?t.nin:this.nin,this.satoshisBN=t.satoshisBN||this.satoshisBN,this.stack=t.stack||this.stack,this.altstack=t.altack||this.altstack,this.pc="undefined"!==typeof t.pc?t.pc:this.pc,this.pbegincodehash="undefined"!==typeof t.pbegincodehash?t.pbegincodehash:this.pbegincodehash,this.nOpCount="undefined"!==typeof t.nOpCount?t.nOpCount:this.nOpCount,this.vfExec=t.vfExec||this.vfExec,this.errstr=t.errstr||this.errstr,this.flags="undefined"!==typeof t.flags?t.flags:this.flags},d.true=e.from([1]),d.false=e.from([]),d.MAX_SCRIPT_ELEMENT_SIZE=520,d.MAXIMUM_ELEMENT_SIZE=4,d.LOCKTIME_THRESHOLD_BN=new a(d.LOCKTIME_THRESHOLD=5e8),d.SCRIPT_VERIFY_NONE=0,d.SCRIPT_VERIFY_P2SH=1,d.SCRIPT_VERIFY_STRICTENC=2,d.SCRIPT_VERIFY_DERSIG=4,d.SCRIPT_VERIFY_LOW_S=8,d.SCRIPT_VERIFY_NULLDUMMY=16,d.SCRIPT_VERIFY_SIGPUSHONLY=32,d.SCRIPT_VERIFY_MINIMALDATA=64,d.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS=128,d.SCRIPT_VERIFY_CLEANSTACK=256,d.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY=512,d.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY=1024,d.SCRIPT_VERIFY_MINIMALIF=8192,d.SCRIPT_VERIFY_NULLFAIL=16384,d.SCRIPT_VERIFY_COMPRESSED_PUBKEYTYPE=32768,d.SCRIPT_ENABLE_SIGHASH_FORKID=65536,d.SCRIPT_ENABLE_REPLAY_PROTECTION=1<<17,d.SCRIPT_ENABLE_CHECKDATASIG=1<<18,d.SCRIPT_DISALLOW_SEGWIT_RECOVERY=1<<20,d.SCRIPT_ENABLE_SCHNORR_MULTISIG=1<<21,d.SEQUENCE_LOCKTIME_DISABLE_FLAG=1<<31,d.SEQUENCE_LOCKTIME_TYPE_FLAG=1<<22,d.SEQUENCE_LOCKTIME_MASK=65535,d.castToBool=function(t){for(var e=0;e<t.length;e++)if(0!==t[e])return e!==t.length-1||128!==t[e];return!1},d.isSchnorrSig=function(t){return(64===t.length||65===t.length)&&48!==t[0]},d.prototype.checkRawSignatureEncoding=function(t){return!!d.isSchnorrSig(t)||(0===(this.flags&(d.SCRIPT_VERIFY_DERSIG|d.SCRIPT_VERIFY_LOW_S|d.SCRIPT_VERIFY_STRICTENC))||s.isDER(t)?!(0!==(this.flags&d.SCRIPT_VERIFY_LOW_S)&&!s.fromTxFormat(t).hasLowS())||(this.errstr="SCRIPT_ERR_SIG_DER_HIGH_S",!1):(this.errstr="SCRIPT_ERR_SIG_DER_INVALID_FORMAT",!1))},d.prototype.checkSignatureEncoding=d.prototype.checkTxSignatureEncoding=function(t){if(0==t.length)return!0;if(!this.checkRawSignatureEncoding(t.slice(0,t.length-1)))return!1;if(0!==(this.flags&d.SCRIPT_VERIFY_STRICTENC)){var e=s.fromTxFormat(t);if(!e.hasDefinedHashtype())return this.errstr="SCRIPT_ERR_SIG_HASHTYPE",!1;if(!(this.flags&d.SCRIPT_ENABLE_SIGHASH_FORKID)&&e.nhashtype&s.SIGHASH_FORKID)return this.errstr="SCRIPT_ERR_ILLEGAL_FORKID",!1;if(this.flags&d.SCRIPT_ENABLE_SIGHASH_FORKID&&!(e.nhashtype&s.SIGHASH_FORKID))return this.errstr="SCRIPT_ERR_MUST_USE_FORKID",!1}return!0},d.prototype.checkDataSignatureEncoding=function(t){return 0==t.length||this.checkRawSignatureEncoding(t)},d.prototype.checkPubkeyEncoding=function(t){return!(0!==(this.flags&d.SCRIPT_VERIFY_STRICTENC)&&!c.isValid(t)&&!function(t){switch(t.length){case 33:return 2===t[0]||3===t[0];case 64:return 4===t[0];default:return!1}}(t))||(this.errstr="SCRIPT_ERR_PUBKEYTYPE",!1)},d._isMinimallyEncoded=function(t,e){return e=e||d.MAXIMUM_ELEMENT_SIZE,!(t.length>e)&&!(t.length>0&&0==(127&t[t.length-1])&&(t.length<=1||0==(128&t[t.length-2])))},d._minimallyEncode=function(t){if(0==t.length)return t;var n=t[t.length-1];if(127&n)return t;if(1==t.length)return e.from("");if(128&t[t.length-2])return t;for(var r=t.length-1;r>0;r--)if(0!=t[r-1])return 128&t[r-1]?t[r++]=n:t[r-1]|=n,t.slice(0,r);return e.from("")},d.prototype.evaluate=function(){if(this.script.toBuffer().length>1e4)return this.errstr="SCRIPT_ERR_SCRIPT_SIZE",!1;try{for(;this.pc<this.script.chunks.length;){if(!this.step())return!1}if(this.stack.length+this.altstack.length>1e3)return this.errstr="SCRIPT_ERR_STACK_SIZE",!1}catch(t){return this.errstr="SCRIPT_ERR_UNKNOWN_ERROR: "+t,!1}return!(this.vfExec.length>0)||(this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1)},d.prototype.checkLockTime=function(t){return!!(this.tx.nLockTime<d.LOCKTIME_THRESHOLD&&t.lt(d.LOCKTIME_THRESHOLD_BN)||this.tx.nLockTime>=d.LOCKTIME_THRESHOLD&&t.gte(d.LOCKTIME_THRESHOLD_BN))&&(!t.gt(new a(this.tx.nLockTime))&&!!this.tx.inputs[this.nin].isFinal())},d.prototype.checkSequence=function(t){var e=this.tx.inputs[this.nin].sequenceNumber;if(this.tx.version<2)return!1;if(e&SEQUENCE_LOCKTIME_DISABLE_FLAG)return!1;var n=d.SEQUENCE_LOCKTIME_TYPE_FLAG|d.SEQUENCE_LOCKTIME_MASK,r=new a(e&n),i=t.and(n),o=new a(d.SEQUENCE_LOCKTIME_TYPE_FLAG);return!!(r.lt(o)&&i.lt(o)||r.gte(o)&&i.gte(o))&&!i.gt(r)},d.prototype.step=function(){var t=this;function n(e){return t.stack[t.stack.length+e]}var h,p,g,m,b,v,y,_,w,S,O,x,E,M,T,$,A,k,C=0!==(this.flags&d.SCRIPT_VERIFY_MINIMALDATA),I=-1===this.vfExec.indexOf(!1),P=this.script.chunks[this.pc];this.pc++;var N,R=P.opcodenum;if(r.isUndefined(R))return this.errstr="SCRIPT_ERR_UNDEFINED_OPCODE",!1;if(P.buf&&P.buf.length>d.MAX_SCRIPT_ELEMENT_SIZE)return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;if(R>o.OP_16&&++this.nOpCount>201)return this.errstr="SCRIPT_ERR_OP_COUNT",!1;if(function(t){switch(t){case o.OP_INVERT:case o.OP_2MUL:case o.OP_2DIV:case o.OP_MUL:case o.OP_LSHIFT:case o.OP_RSHIFT:return!0;case o.OP_DIV:case o.OP_MOD:case o.OP_SPLIT:case o.OP_CAT:case o.OP_AND:case o.OP_OR:case o.OP_XOR:case o.OP_BIN2NUM:case o.OP_NUM2BIN:return!1}return!1}(R))return this.errstr="SCRIPT_ERR_DISABLED_OPCODE",!1;if(I&&0<=R&&R<=o.OP_PUSHDATA4){if(C&&!this.script.checkMinimalPush(this.pc-1))return this.errstr="SCRIPT_ERR_MINIMALDATA",!1;if(P.buf){if(P.len!==P.buf.length)throw new Error("Length of push value not equal to length of data");this.stack.push(P.buf)}else this.stack.push(d.false)}else if(I||o.OP_IF<=R&&R<=o.OP_ENDIF)switch(R){case o.OP_1NEGATE:case o.OP_1:case o.OP_2:case o.OP_3:case o.OP_4:case o.OP_5:case o.OP_6:case o.OP_7:case o.OP_8:case o.OP_9:case o.OP_10:case o.OP_11:case o.OP_12:case o.OP_13:case o.OP_14:case o.OP_15:case o.OP_16:b=R-(o.OP_1-1),h=new a(b).toScriptNumBuffer(),this.stack.push(h);break;case o.OP_NOP:break;case o.OP_NOP2:case o.OP_CHECKLOCKTIMEVERIFY:if(!(this.flags&d.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY)){if(this.flags&d.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var j=a.fromScriptNumBuffer(this.stack[this.stack.length-1],C,5);if(j.lt(new a(0)))return this.errstr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(!this.checkLockTime(j))return this.errstr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1;break;case o.OP_NOP3:case o.OP_CHECKSEQUENCEVERIFY:if(!(this.flags&d.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY)){if(this.flags&d.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var D=a.fromScriptNumBuffer(n(-1),C,5);if(D.lt(new a(0)))return this.errstr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(0!=(D&d.SEQUENCE_LOCKTIME_DISABLE_FLAG))break;if(!this.checkSequence(D))return this.errstr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1;break;case o.OP_NOP1:case o.OP_NOP4:case o.OP_NOP5:case o.OP_NOP6:case o.OP_NOP7:case o.OP_NOP8:case o.OP_NOP9:case o.OP_NOP10:if(this.flags&d.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break;case o.OP_IF:case o.OP_NOTIF:if(A=!1,I){if(this.stack.length<1)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;if(h=n(-1),this.flags&d.SCRIPT_VERIFY_MINIMALIF){if(h.length>1)return this.errstr="SCRIPT_ERR_MINIMALIF",!1;if(1==h.length&&1!=h[0])return this.errstr="SCRIPT_ERR_MINIMALIF",!1}A=d.castToBool(h),R===o.OP_NOTIF&&(A=!A),this.stack.pop()}this.vfExec.push(A);break;case o.OP_ELSE:if(0===this.vfExec.length)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec[this.vfExec.length-1]=!this.vfExec[this.vfExec.length-1];break;case o.OP_ENDIF:if(0===this.vfExec.length)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec.pop();break;case o.OP_VERIFY:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(h=n(-1),!(A=d.castToBool(h)))return this.errstr="SCRIPT_ERR_VERIFY",!1;this.stack.pop();break;case o.OP_RETURN:return this.errstr="SCRIPT_ERR_OP_RETURN",!1;case o.OP_TOALTSTACK:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.altstack.push(this.stack.pop());break;case o.OP_FROMALTSTACK:if(this.altstack.length<1)return this.errstr="SCRIPT_ERR_INVALID_ALTSTACK_OPERATION",!1;this.stack.push(this.altstack.pop());break;case o.OP_2DROP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop(),this.stack.pop();break;case o.OP_2DUP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-2),g=n(-1),this.stack.push(p),this.stack.push(g);break;case o.OP_3DUP:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-3),g=n(-2);var L=n(-1);this.stack.push(p),this.stack.push(g),this.stack.push(L);break;case o.OP_2OVER:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-4),g=n(-3),this.stack.push(p),this.stack.push(g);break;case o.OP_2ROT:if(this.stack.length<6)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;m=this.stack.splice(this.stack.length-6,2),this.stack.push(m[0]),this.stack.push(m[1]);break;case o.OP_2SWAP:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;m=this.stack.splice(this.stack.length-4,2),this.stack.push(m[0]),this.stack.push(m[1]);break;case o.OP_IFDUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;h=n(-1),(A=d.castToBool(h))&&this.stack.push(h);break;case o.OP_DEPTH:h=new a(this.stack.length).toScriptNumBuffer(),this.stack.push(h);break;case o.OP_DROP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop();break;case o.OP_DUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(n(-1));break;case o.OP_NIP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,1);break;case o.OP_OVER:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(n(-2));break;case o.OP_PICK:case o.OP_ROLL:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(h=n(-1),b=(_=a.fromScriptNumBuffer(h,C)).toNumber(),this.stack.pop(),b<0||b>=this.stack.length)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;h=n(-b-1),R===o.OP_ROLL&&this.stack.splice(this.stack.length-b-1,1),this.stack.push(h);break;case o.OP_ROT:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;v=n(-3),y=n(-2);var F=n(-1);this.stack[this.stack.length-3]=y,this.stack[this.stack.length-2]=F,this.stack[this.stack.length-1]=v;break;case o.OP_SWAP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;v=n(-2),y=n(-1),this.stack[this.stack.length-2]=y,this.stack[this.stack.length-1]=v;break;case o.OP_TUCK:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,0,n(-1));break;case o.OP_SIZE:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;_=new a(n(-1).length),this.stack.push(_.toScriptNumBuffer());break;case o.OP_AND:case o.OP_OR:case o.OP_XOR:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(p=n(-2),g=n(-1),p.length!==g.length)return this.errstr="SCRIPT_ERR_INVALID_OPERAND_SIZE",!1;switch(R){case o.OP_AND:for(var B=0;B<p.length;B++)p[B]&=g[B];break;case o.OP_OR:for(B=0;B<p.length;B++)p[B]|=g[B];break;case o.OP_XOR:for(B=0;B<p.length;B++)p[B]^=g[B]}this.stack.pop();break;case o.OP_EQUAL:case o.OP_EQUALVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-2),g=n(-1);var U=p.toString("hex")===g.toString("hex");if(this.stack.pop(),this.stack.pop(),this.stack.push(U?d.true:d.false),R===o.OP_EQUALVERIFY){if(!U)return this.errstr="SCRIPT_ERR_EQUALVERIFY",!1;this.stack.pop()}break;case o.OP_1ADD:case o.OP_1SUB:case o.OP_NEGATE:case o.OP_ABS:case o.OP_NOT:case o.OP_0NOTEQUAL:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(h=n(-1),_=a.fromScriptNumBuffer(h,C),R){case o.OP_1ADD:_=_.add(a.One);break;case o.OP_1SUB:_=_.sub(a.One);break;case o.OP_NEGATE:_=_.neg();break;case o.OP_ABS:_.cmp(a.Zero)<0&&(_=_.neg());break;case o.OP_NOT:_=new a((0===_.cmp(a.Zero))+0);break;case o.OP_0NOTEQUAL:_=new a((0!==_.cmp(a.Zero))+0)}this.stack.pop(),this.stack.push(_.toScriptNumBuffer());break;case o.OP_ADD:case o.OP_SUB:case o.OP_MOD:case o.OP_DIV:case o.OP_BOOLAND:case o.OP_BOOLOR:case o.OP_NUMEQUAL:case o.OP_NUMEQUALVERIFY:case o.OP_NUMNOTEQUAL:case o.OP_LESSTHAN:case o.OP_GREATERTHAN:case o.OP_LESSTHANOREQUAL:case o.OP_GREATERTHANOREQUAL:case o.OP_MIN:case o.OP_MAX:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(w=a.fromScriptNumBuffer(n(-2),C),S=a.fromScriptNumBuffer(n(-1),C),_=new a(0),R){case o.OP_ADD:_=w.add(S);break;case o.OP_SUB:_=w.sub(S);break;case o.OP_DIV:if(0==S)return this.errstr="SCRIPT_ERR_DIV_BY_ZERO",!1;_=w.div(S);break;case o.OP_MOD:if(0==S)return this.errstr="SCRIPT_ERR_DIV_BY_ZERO",!1;_=w.mod(S);break;case o.OP_BOOLAND:_=new a((0!==w.cmp(a.Zero)&&0!==S.cmp(a.Zero))+0);break;case o.OP_BOOLOR:_=new a((0!==w.cmp(a.Zero)||0!==S.cmp(a.Zero))+0);break;case o.OP_NUMEQUAL:case o.OP_NUMEQUALVERIFY:_=new a((0===w.cmp(S))+0);break;case o.OP_NUMNOTEQUAL:_=new a((0!==w.cmp(S))+0);break;case o.OP_LESSTHAN:_=new a((w.cmp(S)<0)+0);break;case o.OP_GREATERTHAN:_=new a((w.cmp(S)>0)+0);break;case o.OP_LESSTHANOREQUAL:_=new a((w.cmp(S)<=0)+0);break;case o.OP_GREATERTHANOREQUAL:_=new a((w.cmp(S)>=0)+0);break;case o.OP_MIN:_=w.cmp(S)<0?w:S;break;case o.OP_MAX:_=w.cmp(S)>0?w:S}if(this.stack.pop(),this.stack.pop(),this.stack.push(_.toScriptNumBuffer()),R===o.OP_NUMEQUALVERIFY){if(!d.castToBool(n(-1)))return this.errstr="SCRIPT_ERR_NUMEQUALVERIFY",!1;this.stack.pop()}break;case o.OP_WITHIN:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;w=a.fromScriptNumBuffer(n(-3),C),S=a.fromScriptNumBuffer(n(-2),C);var z=a.fromScriptNumBuffer(n(-1),C);A=S.cmp(w)<=0&&w.cmp(z)<0,this.stack.pop(),this.stack.pop(),this.stack.pop(),this.stack.push(A?d.true:d.false);break;case o.OP_RIPEMD160:case o.OP_SHA1:case o.OP_SHA256:case o.OP_HASH160:case o.OP_HASH256:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var H;h=n(-1),R===o.OP_RIPEMD160?H=u.ripemd160(h):R===o.OP_SHA1?H=u.sha1(h):R===o.OP_SHA256?H=u.sha256(h):R===o.OP_HASH160?H=u.sha256ripemd160(h):R===o.OP_HASH256&&(H=u.sha256sha256(h)),this.stack.pop(),this.stack.push(H);break;case o.OP_CODESEPARATOR:this.pbegincodehash=this.pc;break;case o.OP_CHECKSIG:case o.OP_CHECKSIGVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(O=n(-2),x=n(-1),!this.checkTxSignatureEncoding(O)||!this.checkPubkeyEncoding(x))return!1;M=(new i).set({chunks:this.script.chunks.slice(this.pbegincodehash)});var V=(new i).add(O);M.findAndDelete(V);try{T=s.fromTxFormat(O),$=c.fromBuffer(x,!1),k=T.isSchnorr?this.tx.verifySignature(T,$,this.nin,M,this.satoshisBN,this.flags,"schnorr"):this.tx.verifySignature(T,$,this.nin,M,this.satoshisBN,this.flags)}catch(wt){k=!1}if(!k&&this.flags&d.SCRIPT_VERIFY_NULLFAIL&&O.length)return this.errstr="SCRIPT_ERR_NULLFAIL",!1;if(this.stack.pop(),this.stack.pop(),this.stack.push(k?d.true:d.false),R===o.OP_CHECKSIGVERIFY){if(!k)return this.errstr="SCRIPT_ERR_CHECKSIGVERIFY",!1;this.stack.pop()}break;case o.OP_CHECKDATASIG:case o.OP_CHECKDATASIGVERIFY:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(O=n(-3),E=n(-2),x=n(-1),!this.checkDataSignatureEncoding(O)||!this.checkPubkeyEncoding(x))return!1;k=!1;try{T=s.fromDataFormat(O),$=c.fromBuffer(x,!1),H=u.sha256(E),k=T.isSchnorr?l.verify(H,T,$,"big"):f.verify(H,T,$,"big")}catch(wt){k=!1}if(!k&&this.flags&d.SCRIPT_VERIFY_NULLFAIL&&O.length)return this.errstr="SCRIPT_ERR_NULLFAIL",!1;if(this.stack.pop(),this.stack.pop(),this.stack.pop(),this.stack.push(k?d.true:d.false),R===o.OP_CHECKDATASIGVERIFY){if(!k)return this.errstr="SCRIPT_ERR_CHECKDATASIGVERIFY",!1;this.stack.pop()}break;case o.OP_REVERSEBYTES:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-1);var q=e.from(p).reverse();this.stack.pop(),this.stack.push(q);break;case o.OP_CHECKMULTISIG:case o.OP_CHECKMULTISIGVERIFY:var W=(B=1)+1;if(this.stack.length<B)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var G=a.fromScriptNumBuffer(n(-B),C).toNumber(),K=W+G;if(G<0||G>20)return this.errstr="SCRIPT_ERR_PUBKEY_COUNT",!1;if(this.nOpCount+=G,this.nOpCount>201)return this.errstr="SCRIPT_ERR_OP_COUNT",!1;var Y=++B,Z=K+1;B+=G;var Q=G+2;if(this.stack.length<B)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var X=a.fromScriptNumBuffer(n(-K),C).toNumber(),J=Z+X;if(X<0||X>G)return this.errstr="SCRIPT_ERR_SIG_COUNT",!1;var tt=++B;if(B+=X,this.stack.length<J)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(M=(new i).set({chunks:this.script.chunks.slice(this.pbegincodehash)}),k=!0,this.flags&d.SCRIPT_ENABLE_SCHNORR_MULTISIG&&0!==n(-J).length){var et=function(t,e){if(e>32)return this.errstr="INVALID_BITFIELD_SIZE",{result:!1};var n=Math.floor((e+7)/8);if(t.length!==n)return this.errstr="INVALID_BITFIELD_SIZE",{result:!1};for(var r=0,i=Uint32Array.from(t),o=0;o<n;o++)r|=i[o]<<8*o;return(r&(1<<e)-1)!=r?(this.errstr="INVALID_BIT_RANGE",{result:!1}):{result:!0,bitfield:r}}(n(-J),G);et.result||(k=!1);var nt=new Uint8Array([X]),rt=Uint32Array.from(nt);N=et.bitfield,16843009*((N=(858993459&(N-=N>>1&1431655765))+(N>>2&858993459))+(N>>4)&252645135)>>24!==rt[0]&&(this.errstr="INVALID_BIT_COUNT",k=!1);for(var it=W+G-1,ot=Z+X-1,at=0,ut=0;ut<X;ut++,at++){for(et.bitfield>>at===0&&(this.errstr="INVALID_BIT_RANGE",k=!1);0==(et.bitfield>>at&1);){if(at>=G){this.errstr="wrong",k=!1;break}at++}at>=G&&(this.errstr="PUBKEY_COUNT",k=!1);var st=n(-ot+ut),ct=n(-it+at);this.checkRawSignatureEncoding(st)&&this.checkPubkeyEncoding(ct)||(k=!1);var ft=s.fromTxFormat(st),lt=c.fromBuffer(ct,!1);this.tx.verifySignature(ft,lt,this.nin,M,this.satoshisBN,this.flags,"schnorr")||(this.errstr="SIG_NULLFAIL",k=!1)}et.bitfield>>at!=0&&(this.errstr="INVALID_BIT_COUNT",k=!1)}else{for(var dt=0;dt<X;dt++)O=n(-tt-dt),M.findAndDelete((new i).add(O));for(;k&&X>0;){if(O=n(-tt),x=n(-Y),!this.checkTxSignatureEncoding(O)||!this.checkPubkeyEncoding(x))return!1;var ht;try{T=s.fromTxFormat(O),$=c.fromBuffer(x,!1),ht=this.tx.verifySignature(T,$,this.nin,M,this.satoshisBN,this.flags)}catch(wt){ht=!1}ht&&(tt++,X--),Y++,X>--G&&(k=!1)}}for(;B-- >1;){if(!k&&this.flags&d.SCRIPT_VERIFY_NULLFAIL&&!Q&&n(-1).length)return this.errstr="SCRIPT_ERR_NULLFAIL",!1;Q>0&&Q--,this.stack.pop()}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(this.flags&d.SCRIPT_VERIFY_NULLDUMMY&&n(-1).length)return this.errstr="SCRIPT_ERR_SIG_NULLDUMMY",!1;if(this.stack.pop(),this.stack.push(k?d.true:d.false),R===o.OP_CHECKMULTISIGVERIFY){if(!k)return this.errstr="SCRIPT_ERR_CHECKMULTISIGVERIFY",!1;this.stack.pop()}break;case o.OP_CAT:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(p=n(-2),g=n(-1),p.length+g.length>d.MAX_SCRIPT_ELEMENT_SIZE)return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;this.stack[this.stack.length-2]=e.concat([p,g]),this.stack.pop();break;case o.OP_SPLIT:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=n(-2);var pt=a.fromScriptNumBuffer(n(-1),C).toNumber();if(pt<0||pt>p.length)return this.errstr="SCRIPT_ERR_INVALID_SPLIT_RANGE",!1;var gt=e.from(p);this.stack[this.stack.length-2]=gt.slice(0,pt),this.stack[this.stack.length-1]=gt.slice(pt);break;case o.OP_NUM2BIN:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var mt=a.fromScriptNumBuffer(n(-1),C).toNumber();if(mt>d.MAX_SCRIPT_ELEMENT_SIZE)return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;this.stack.pop();var bt=n(-1);if((bt=d._minimallyEncode(bt)).length>mt)return this.errstr="SCRIPT_ERR_IMPOSSIBLE_ENCODING",!1;if(bt.length==mt){this.stack[this.stack.length-1]=bt;break}var vt=0;bt.length>0&&(vt=128&bt[bt.length-1],bt[bt.length-1]&=127);var yt=e.alloc(mt);bt.copy(yt,0);for(var _t=bt.length-1;_t++<mt-2;)yt[_t]=0;yt[_t]=vt,this.stack[this.stack.length-1]=yt;break;case o.OP_BIN2NUM:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(p=n(-1),g=d._minimallyEncode(p),this.stack[this.stack.length-1]=g,!d._isMinimallyEncoded(g))return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;break;default:return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1}return!0}}).call(this,n(29).Buffer)},function(t,e,n){var r=n(373);t.exports=function(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){s=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}},function(t,e,n){"use strict";var r=n(48),i=n(52),o=n(80),a=n(117),u=n(187),s=n(389);function c(t){if(!(this instanceof c))return new c(t);i.checkArgument(r.isObject(t),"Must provide an object from where to extract data");var e=t.address?new u(t.address):void 0,n=t.txid?t.txid:t.txId;if(!n||!o.isHexaString(n)||n.length>64)throw new Error("Invalid TXID in object",t);var f=r.isUndefined(t.vout)?t.outputIndex:t.vout;if(!r.isNumber(f))throw new Error("Invalid outputIndex, received "+f);i.checkArgument(!r.isUndefined(t.scriptPubKey)||!r.isUndefined(t.script)||!r.isUndefined(e),"Must provide the scriptPubKey, script, or address for that output!");var l=new a(t.scriptPubKey||t.script||a.fromAddress(e));i.checkArgument(!r.isUndefined(t.amount)||!r.isUndefined(t.satoshis),"Must provide an amount for the output");var d=r.isUndefined(t.amount)?t.satoshis:new s.fromBTC(t.amount).toSatoshis();i.checkArgument(r.isNumber(d),"Amount must be a number"),o.defineImmutable(this,{address:e,txId:n,outputIndex:f,script:l,satoshis:d})}c.prototype.inspect=function(){return"<UnspentOutput: "+this.txId+":"+this.outputIndex+", satoshis: "+this.satoshis+", address: "+this.address+">"},c.prototype.toString=function(){return this.txId+":"+this.outputIndex},c.fromObject=function(t){return new c(t)},c.prototype.toObject=c.prototype.toJSON=function(){return{address:this.address?this.address.toString():void 0,txid:this.txId,vout:this.outputIndex,scriptPubKey:this.script.toBuffer().toString("hex"),amount:s.fromSatoshis(this.satoshis).toBTC()}},t.exports=c},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(277),o=n(63),a=n(160),u=n(134),s=n(84),c=(n(80),n(276)),f=n(114),l=n(52);function d(t){if(!(this instanceof d))return new d(t);var e={};if(o.isBuffer(t))e=d._fromBufferReader(a(t));else{if(!r.isObject(t))throw new TypeError("Unrecognized argument for MerkleBlock");e={header:t.header instanceof i?t.header:i.fromObject(t.header),numTransactions:t.numTransactions,hashes:t.hashes,flags:t.flags}}return r.extend(this,e),this._flagBitsUsed=0,this._hashesUsed=0,this}d.fromBuffer=function(t){return d.fromBufferReader(a(t))},d.fromBufferReader=function(t){return new d(d._fromBufferReader(t))},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toBufferWriter=function(t){t||(t=new u),t.write(this.header.toBuffer()),t.writeUInt32LE(this.numTransactions),t.writeVarintNum(this.hashes.length);for(var n=0;n<this.hashes.length;n++)t.write(e.from(this.hashes[n],"hex"));for(t.writeVarintNum(this.flags.length),n=0;n<this.flags.length;n++)t.writeUInt8(this.flags[n]);return t},d.prototype.toObject=d.prototype.toJSON=function(){return{header:this.header.toObject(),numTransactions:this.numTransactions,hashes:this.hashes,flags:this.flags}},d.prototype.validMerkleTree=function(){if(l.checkState(r.isArray(this.flags),"MerkleBlock flags is not an array"),l.checkState(r.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions)return!1;if(8*this.flags.length<this.hashes.length)return!1;var t=this._calcTreeHeight(),e={hashesUsed:0,flagBitsUsed:0},n=this._traverseMerkleTree(t,0,e);return e.hashesUsed===this.hashes.length&&o.equals(n,this.header.merkleRoot)},d.prototype.filterdTxsHash=function(){if(l.checkState(r.isArray(this.flags),"MerkleBlock flags is not an array"),l.checkState(r.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions)throw new f.MerkleBlock.InvalidMerkleTree;if(8*this.flags.length<this.hashes.length)throw new f.MerkleBlock.InvalidMerkleTree;if(1===this.hashes.length)return[];var t=this._calcTreeHeight(),e={hashesUsed:0,flagBitsUsed:0},n=this._traverseMerkleTree(t,0,e,!0);if(e.hashesUsed!==this.hashes.length)throw new f.MerkleBlock.InvalidMerkleTree;return n},d.prototype._traverseMerkleTree=function(t,n,r,i){(r=r||{}).txs=r.txs||[],r.flagBitsUsed=r.flagBitsUsed||0,r.hashesUsed=r.hashesUsed||0;i=i||!1;if(r.flagBitsUsed>8*this.flags.length)return null;var o=this.flags[r.flagBitsUsed>>3]>>>(7&r.flagBitsUsed++)&1;if(0!==t&&o){var a=this._traverseMerkleTree(t-1,2*n,r),u=a;return 2*n+1<this._calcTreeWidth(t-1)&&(u=this._traverseMerkleTree(t-1,2*n+1,r)),i?r.txs:s.sha256sha256(new e.concat([a,u]))}if(r.hashesUsed>=this.hashes.length)return null;var c=this.hashes[r.hashesUsed++];return 0===t&&o&&r.txs.push(c),e.from(c,"hex")},d.prototype._calcTreeWidth=function(t){return this.numTransactions+(1<<t)-1>>t},d.prototype._calcTreeHeight=function(){for(var t=0;this._calcTreeWidth(t)>1;)t++;return t},d.prototype.hasTransaction=function(t){l.checkArgument(!r.isUndefined(t),"tx cannot be undefined"),l.checkArgument(t instanceof c||"string"===typeof t,'Invalid tx given, tx must be a "string" or "Transaction"');var n=t;t instanceof c&&(n=o.reverse(e.from(t.id,"hex")).toString("hex"));var i=[],a=this._calcTreeHeight();return this._traverseMerkleTree(a,0,{txs:i}),-1!==i.indexOf(n)},d._fromBufferReader=function(t){l.checkState(!t.finished(),"No merkleblock data received");var e={};e.header=i.fromBufferReader(t),e.numTransactions=t.readUInt32LE();var n=t.readVarintNum();e.hashes=[];for(var r=0;r<n;r++)e.hashes.push(t.read(32).toString("hex"));var o=t.readVarintNum();for(e.flags=[],r=0;r<o;r++)e.flags.push(t.readUInt8());return e},d.fromObject=function(t){return new d(t)},t.exports=d}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(267),i=n(29),o=n(48),a=n(52),u=n(79),s=n(274),c=n(241),f=n(84),l=n(159),d=n(186),h=n(273),p=n(242),g=n(114),m=g.HDPrivateKey,b=n(63),v=n(80);function y(t){if(t instanceof y)return t;if(!(this instanceof y))return new y(t);if(!t)return this._generateRandomly();if(l.get(t))return this._generateRandomly(t);if(o.isString(t)||b.isBuffer(t))if(y.isValidSerialized(t))this._buildFromSerialized(t);else if(v.isValidJSON(t))this._buildFromJSON(t);else{if(!b.isBuffer(t)||!y.isValidSerialized(t.toString()))throw y.getSerializedError(t);this._buildFromSerialized(t.toString())}else{if(!o.isObject(t))throw new m.UnrecognizedArgument(t);this._buildFromObject(t)}}y.isValidPath=function(t,e){if(o.isString(t)){var n=y._getDerivationIndexes(t);return null!==n&&o.every(n,y.isValidPath)}return!!o.isNumber(t)&&(t<y.Hardened&&!0===e&&(t+=y.Hardened),t>=0&&t<y.MaxIndex)},y._getDerivationIndexes=function(t){var e=t.split("/");if(o.includes(y.RootElementAlias,t))return[];if(!o.includes(y.RootElementAlias,e[0]))return null;var n=e.slice(1).map((function(t){var e="'"===t.slice(-1);if(e&&(t=t.slice(0,-1)),!t||"-"===t[0])return NaN;var n=+t;return e&&(n+=y.Hardened),n}));return o.some(n,isNaN)?null:n},y.prototype.derive=function(t,e){return this.deriveNonCompliantChild(t,e)},y.prototype.deriveChild=function(t,e){if(o.isNumber(t))return this._deriveWithNumber(t,e);if(o.isString(t))return this._deriveFromString(t);throw new m.InvalidDerivationArgument(t)},y.prototype.deriveNonCompliantChild=function(t,e){if(o.isNumber(t))return this._deriveWithNumber(t,e,!0);if(o.isString(t))return this._deriveFromString(t,!0);throw new m.InvalidDerivationArgument(t)},y.prototype._deriveWithNumber=function(t,n,i){if(!y.isValidPath(t,n))throw new m.InvalidPath(t);n=t>=y.Hardened||n,t<y.Hardened&&!0===n&&(t+=y.Hardened);var o,a=b.integerAsBuffer(t);if(n&&i){var s=this.privateKey.bn.toBuffer();o=b.concat([e.from([0]),s,a])}else if(n){var c=this.privateKey.bn.toBuffer({size:32});r(32===c.length,"length of private key buffer is expected to be 32 bytes"),o=b.concat([e.from([0]),c,a])}else o=b.concat([this.publicKey.toBuffer(),a]);var l=f.sha512hmac(o,this._buffers.chainCode),p=u.fromBuffer(l.slice(0,32),{size:32}),g=l.slice(32,64),v=p.add(this.privateKey.toBigNumber()).umod(d.getN()).toBuffer({size:32});return h.isValid(v)?new y({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:t,chainCode:g,privateKey:v}):this._deriveWithNumber(t+1,null,i)},y.prototype._deriveFromString=function(t,e){if(!y.isValidPath(t))throw new m.InvalidPath(t);return y._getDerivationIndexes(t).reduce((function(t,n){return t._deriveWithNumber(n,null,e)}),this)},y.isValidSerialized=function(t,e){return!y.getSerializedError(t,e)},y.getSerializedError=function(t,e){if(!o.isString(t)&&!b.isBuffer(t))return new m.UnrecognizedArgument("Expected string or buffer");if(!s.validCharacters(t))return new g.InvalidB58Char("(unknown)",t);try{t=c.decode(t)}catch(r){return new g.InvalidB58Checksum(t)}if(t.length!==y.DataLength)return new m.InvalidLength(t);if(!o.isUndefined(e)){var n=y._validateNetwork(t,e);if(n)return n}return null},y._validateNetwork=function(t,e){var n=l.get(e);if(!n)return new g.InvalidNetworkArgument(e);var r=t.slice(0,4);return b.integerFromBuffer(r)!==n.xprivkey?new g.InvalidNetwork(r):null},y.fromString=function(t){return a.checkArgument(o.isString(t),"No valid string was provided"),new y(t)},y.fromObject=function(t){return a.checkArgument(o.isObject(t),"No valid argument was provided"),new y(t)},y.prototype._buildFromJSON=function(t){return this._buildFromObject(JSON.parse(t))},y.prototype._buildFromObject=function(t){var n={version:t.network?b.integerAsBuffer(l.get(t.network).xprivkey):t.version,depth:o.isNumber(t.depth)?b.integerAsSingleByteBuffer(t.depth):t.depth,parentFingerPrint:o.isNumber(t.parentFingerPrint)?b.integerAsBuffer(t.parentFingerPrint):t.parentFingerPrint,childIndex:o.isNumber(t.childIndex)?b.integerAsBuffer(t.childIndex):t.childIndex,chainCode:o.isString(t.chainCode)?e.from(t.chainCode,"hex"):t.chainCode,privateKey:o.isString(t.privateKey)&&v.isHexa(t.privateKey)?e.from(t.privateKey,"hex"):t.privateKey,checksum:t.checksum?t.checksum.length?t.checksum:b.integerAsBuffer(t.checksum):void 0};return this._buildFromBuffers(n)},y.prototype._buildFromSerialized=function(t){var e=c.decode(t),n={version:e.slice(y.VersionStart,y.VersionEnd),depth:e.slice(y.DepthStart,y.DepthEnd),parentFingerPrint:e.slice(y.ParentFingerPrintStart,y.ParentFingerPrintEnd),childIndex:e.slice(y.ChildIndexStart,y.ChildIndexEnd),chainCode:e.slice(y.ChainCodeStart,y.ChainCodeEnd),privateKey:e.slice(y.PrivateKeyStart,y.PrivateKeyEnd),checksum:e.slice(y.ChecksumStart,y.ChecksumEnd),xprivkey:t};return this._buildFromBuffers(n)},y.prototype._generateRandomly=function(t){return y.fromSeed(p.getRandomBuffer(64),t)},y.fromSeed=function(t,n){if(v.isHexaString(t)&&(t=e.from(t,"hex")),!e.isBuffer(t))throw new m.InvalidEntropyArgument(t);if(t.length<16)throw new m.InvalidEntropyArgument.NotEnoughEntropy(t);if(t.length>64)throw new m.InvalidEntropyArgument.TooMuchEntropy(t);var r=f.sha512hmac(t,e.from("Bitcoin seed"));return new y({network:l.get(n)||l.defaultNetwork,depth:0,parentFingerPrint:0,childIndex:0,privateKey:r.slice(0,32),chainCode:r.slice(32,64)})},y.prototype._calcHDPublicKey=function(){if(!this._hdPublicKey){var t=n(519);this._hdPublicKey=new t(this)}},y.prototype._buildFromBuffers=function(t){y._validateBufferArguments(t),v.defineImmutable(this,{_buffers:t});var n=[t.version,t.depth,t.parentFingerPrint,t.childIndex,t.chainCode,b.emptyBuffer(1),t.privateKey],r=i.Buffer.concat(n);if(t.checksum&&t.checksum.length){if(t.checksum.toString()!==c.checksum(r).toString())throw new g.InvalidB58Checksum(r)}else t.checksum=c.checksum(r);var o,a=l.get(b.integerFromBuffer(t.version));o=c.encode(i.Buffer.concat(n)),t.xprivkey=e.from(o);var s=new h(u.fromBuffer(t.privateKey),a),d=s.toPublicKey(),p=y.ParentFingerPrintSize,m=f.sha256ripemd160(d.toBuffer()).slice(0,p);return v.defineImmutable(this,{xprivkey:o,network:a,depth:b.integerFromSingleByteBuffer(t.depth),privateKey:s,publicKey:d,fingerPrint:m}),this._hdPublicKey=null,Object.defineProperty(this,"hdPublicKey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey}}),Object.defineProperty(this,"xpubkey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey.xpubkey}}),this},y._validateBufferArguments=function(t){var e=function(e,n){var i=t[e];r(b.isBuffer(i),e+" argument is not a buffer"),r(i.length===n,e+" has not the expected size: found "+i.length+", expected "+n)};e("version",y.VersionSize),e("depth",y.DepthSize),e("parentFingerPrint",y.ParentFingerPrintSize),e("childIndex",y.ChildIndexSize),e("chainCode",y.ChainCodeSize),e("privateKey",y.PrivateKeySize),t.checksum&&t.checksum.length&&e("checksum",y.CheckSumSize)},y.prototype.toString=function(){return this.xprivkey},y.prototype.inspect=function(){return"<HDPrivateKey: "+this.xprivkey+">"},y.prototype.toObject=y.prototype.toJSON=function(){return{network:l.get(b.integerFromBuffer(this._buffers.version),"xprivkey").name,depth:b.integerFromSingleByteBuffer(this._buffers.depth),fingerPrint:b.integerFromBuffer(this.fingerPrint),parentFingerPrint:b.integerFromBuffer(this._buffers.parentFingerPrint),childIndex:b.integerFromBuffer(this._buffers.childIndex),chainCode:this._buffers.chainCode.toString("hex"),privateKey:this.privateKey.toBuffer().toString("hex"),checksum:b.integerFromBuffer(this._buffers.checksum),xprivkey:this.xprivkey}},y.fromBuffer=function(t){return new y(t.toString())},y.prototype.toBuffer=function(){return b.copy(this._buffers.xprivkey)},y.DefaultDepth=0,y.DefaultFingerprint=0,y.DefaultChildIndex=0,y.Hardened=2147483648,y.MaxIndex=2*y.Hardened,y.RootElementAlias=["m","M","m'","M'"],y.VersionSize=4,y.DepthSize=1,y.ParentFingerPrintSize=4,y.ChildIndexSize=4,y.ChainCodeSize=32,y.PrivateKeySize=32,y.CheckSumSize=4,y.DataLength=78,y.SerializedByteSize=82,y.VersionStart=0,y.VersionEnd=y.VersionStart+y.VersionSize,y.DepthStart=y.VersionEnd,y.DepthEnd=y.DepthStart+y.DepthSize,y.ParentFingerPrintStart=y.DepthEnd,y.ParentFingerPrintEnd=y.ParentFingerPrintStart+y.ParentFingerPrintSize,y.ChildIndexStart=y.ParentFingerPrintEnd,y.ChildIndexEnd=y.ChildIndexStart+y.ChildIndexSize,y.ChainCodeStart=y.ChildIndexEnd,y.ChainCodeEnd=y.ChainCodeStart+y.ChainCodeSize,y.PrivateKeyStart=y.ChainCodeEnd+1,y.PrivateKeyEnd=y.PrivateKeyStart+y.PrivateKeySize,y.ChecksumStart=y.PrivateKeyEnd,y.ChecksumEnd=y.ChecksumStart+y.CheckSumSize,r(y.ChecksumEnd===y.SerializedByteSize),t.exports=y}).call(this,n(29).Buffer)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(52),o=n(79),a=n(274),u=n(241),s=n(84),c=n(518),f=n(159),l=n(186),d=n(101),h=n(114),p=h,g=h.HDPublicKey,m=n(267),b=n(80),v=n(63);function y(t){if(t instanceof y)return t;if(!(this instanceof y))return new y(t);if(t){if(r.isString(t)||v.isBuffer(t)){var e=y.getSerializedError(t);if(e){if(v.isBuffer(t)&&!y.getSerializedError(t.toString()))return this._buildFromSerialized(t.toString());if(e instanceof g.ArgumentIsPrivateExtended)return new c(t).hdPublicKey;throw e}return this._buildFromSerialized(t)}if(r.isObject(t))return t instanceof c?this._buildFromPrivate(t):this._buildFromObject(t);throw new g.UnrecognizedArgument(t)}throw new g.MustSupplyArgument}y.isValidPath=function(t){if(r.isString(t)){var e=c._getDerivationIndexes(t);return null!==e&&r.every(e,y.isValidPath)}return!!r.isNumber(t)&&(t>=0&&t<y.Hardened)},y.prototype.derive=function(t,e){return this.deriveChild(t,e)},y.prototype.deriveChild=function(t,e){if(r.isNumber(t))return this._deriveWithNumber(t,e);if(r.isString(t))return this._deriveFromString(t);throw new g.InvalidDerivationArgument(t)},y.prototype._deriveWithNumber=function(t,e){if(t>=y.Hardened||e)throw new g.InvalidIndexCantDeriveHardened;if(t<0)throw new g.InvalidPath(t);var n,r=v.integerAsBuffer(t),i=v.concat([this.publicKey.toBuffer(),r]),a=s.sha512hmac(i,this._buffers.chainCode),u=o.fromBuffer(a.slice(0,32),{size:32}),c=a.slice(32,64);try{n=d.fromPoint(l.getG().mul(u).add(this.publicKey.point))}catch(f){return this._deriveWithNumber(t+1)}return new y({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:t,chainCode:c,publicKey:n})},y.prototype._deriveFromString=function(t){if(r.includes(t,"'"))throw new g.InvalidIndexCantDeriveHardened;if(!y.isValidPath(t))throw new g.InvalidPath(t);return c._getDerivationIndexes(t).reduce((function(t,e){return t._deriveWithNumber(e)}),this)},y.isValidSerialized=function(t,e){return r.isNull(y.getSerializedError(t,e))},y.getSerializedError=function(t,e){if(!r.isString(t)&&!v.isBuffer(t))return new g.UnrecognizedArgument("expected buffer or string");if(!a.validCharacters(t))return new p.InvalidB58Char("(unknown)",t);try{t=u.decode(t)}catch(o){return new p.InvalidB58Checksum(t)}if(t.length!==y.DataSize)return new g.InvalidLength(t);if(!r.isUndefined(e)){var n=y._validateNetwork(t,e);if(n)return n}var i=v.integerFromBuffer(t.slice(0,4));return i===f.livenet.xprivkey||i===f.testnet.xprivkey?new g.ArgumentIsPrivateExtended:null},y._validateNetwork=function(t,e){var n=f.get(e);if(!n)return new p.InvalidNetworkArgument(e);var r=t.slice(y.VersionStart,y.VersionEnd);return v.integerFromBuffer(r)!==n.xpubkey?new p.InvalidNetwork(r):null},y.prototype._buildFromPrivate=function(t){var e=r.clone(t._buffers),n=l.getG().mul(o.fromBuffer(e.privateKey));return e.publicKey=l.pointToCompressed(n),e.version=v.integerAsBuffer(f.get(v.integerFromBuffer(e.version)).xpubkey),e.privateKey=void 0,e.checksum=void 0,e.xprivkey=void 0,this._buildFromBuffers(e)},y.prototype._buildFromObject=function(t){var n={version:t.network?v.integerAsBuffer(f.get(t.network).xpubkey):t.version,depth:r.isNumber(t.depth)?v.integerAsSingleByteBuffer(t.depth):t.depth,parentFingerPrint:r.isNumber(t.parentFingerPrint)?v.integerAsBuffer(t.parentFingerPrint):t.parentFingerPrint,childIndex:r.isNumber(t.childIndex)?v.integerAsBuffer(t.childIndex):t.childIndex,chainCode:r.isString(t.chainCode)?e.from(t.chainCode,"hex"):t.chainCode,publicKey:r.isString(t.publicKey)?e.from(t.publicKey,"hex"):v.isBuffer(t.publicKey)?t.publicKey:t.publicKey.toBuffer(),checksum:r.isNumber(t.checksum)?v.integerAsBuffer(t.checksum):t.checksum};return this._buildFromBuffers(n)},y.prototype._buildFromSerialized=function(t){var e=u.decode(t),n={version:e.slice(y.VersionStart,y.VersionEnd),depth:e.slice(y.DepthStart,y.DepthEnd),parentFingerPrint:e.slice(y.ParentFingerPrintStart,y.ParentFingerPrintEnd),childIndex:e.slice(y.ChildIndexStart,y.ChildIndexEnd),chainCode:e.slice(y.ChainCodeStart,y.ChainCodeEnd),publicKey:e.slice(y.PublicKeyStart,y.PublicKeyEnd),checksum:e.slice(y.ChecksumStart,y.ChecksumEnd),xpubkey:t};return this._buildFromBuffers(n)},y.prototype._buildFromBuffers=function(t){y._validateBufferArguments(t),b.defineImmutable(this,{_buffers:t});var n=[t.version,t.depth,t.parentFingerPrint,t.childIndex,t.chainCode,t.publicKey],r=v.concat(n),i=u.checksum(r);if(t.checksum&&t.checksum.length){if(t.checksum.toString("hex")!==i.toString("hex"))throw new p.InvalidB58Checksum(r,i)}else t.checksum=i;var o,a=f.get(v.integerFromBuffer(t.version));o=u.encode(v.concat(n)),t.xpubkey=e.from(o);var c=new d(t.publicKey,{network:a}),l=y.ParentFingerPrintSize,h=s.sha256ripemd160(c.toBuffer()).slice(0,l);return b.defineImmutable(this,{xpubkey:o,network:a,depth:v.integerFromSingleByteBuffer(t.depth),publicKey:c,fingerPrint:h}),this},y._validateBufferArguments=function(t){var e=function(e,n){var r=t[e];m(v.isBuffer(r),e+" argument is not a buffer, it's "+typeof r),m(r.length===n,e+" has not the expected size: found "+r.length+", expected "+n)};e("version",y.VersionSize),e("depth",y.DepthSize),e("parentFingerPrint",y.ParentFingerPrintSize),e("childIndex",y.ChildIndexSize),e("chainCode",y.ChainCodeSize),e("publicKey",y.PublicKeySize),t.checksum&&t.checksum.length&&e("checksum",y.CheckSumSize)},y.fromString=function(t){return i.checkArgument(r.isString(t),"No valid string was provided"),new y(t)},y.fromObject=function(t){return i.checkArgument(r.isObject(t),"No valid argument was provided"),new y(t)},y.prototype.toString=function(){return this.xpubkey},y.prototype.inspect=function(){return"<HDPublicKey: "+this.xpubkey+">"},y.prototype.toObject=y.prototype.toJSON=function(){return{network:f.get(v.integerFromBuffer(this._buffers.version)).name,depth:v.integerFromSingleByteBuffer(this._buffers.depth),fingerPrint:v.integerFromBuffer(this.fingerPrint),parentFingerPrint:v.integerFromBuffer(this._buffers.parentFingerPrint),childIndex:v.integerFromBuffer(this._buffers.childIndex),chainCode:e.from(this._buffers.chainCode,"hex"),publicKey:this.publicKey.toString(),checksum:v.integerFromBuffer(this._buffers.checksum),xpubkey:this.xpubkey}},y.fromBuffer=function(t){return new y(t)},y.prototype.toBuffer=function(){return v.copy(this._buffers.xpubkey)},y.Hardened=2147483648,y.RootElementAlias=["m","M"],y.VersionSize=4,y.DepthSize=1,y.ParentFingerPrintSize=4,y.ChildIndexSize=4,y.ChainCodeSize=32,y.PublicKeySize=33,y.CheckSumSize=4,y.DataSize=78,y.SerializedByteSize=82,y.VersionStart=0,y.VersionEnd=y.VersionStart+y.VersionSize,y.DepthStart=y.VersionEnd,y.DepthEnd=y.DepthStart+y.DepthSize,y.ParentFingerPrintStart=y.DepthEnd,y.ParentFingerPrintEnd=y.ParentFingerPrintStart+y.ParentFingerPrintSize,y.ChildIndexStart=y.ParentFingerPrintEnd,y.ChildIndexEnd=y.ChildIndexStart+y.ChildIndexSize,y.ChainCodeStart=y.ChildIndexEnd,y.ChainCodeEnd=y.ChainCodeStart+y.ChainCodeSize,y.PublicKeyStart=y.ChainCodeEnd,y.PublicKeyEnd=y.PublicKeyStart+y.PublicKeySize,y.ChecksumStart=y.PublicKeyEnd,y.ChecksumEnd=y.ChecksumStart+y.CheckSumSize,m(y.PublicKeyEnd===y.DataSize),m(y.ChecksumEnd===y.SerializedByteSize),t.exports=y}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(391);t.exports=function t(e,n,i){var o;void 0===n&&(n=""),void 0===i&&(i=r);var a=new Map;function u(t,e){var n=a.get(e);n?n.push.apply(n,t):a.set(e,t)}if(i(e))o=null,u([n],e);else{var s=n?n+".":"";if("undefined"!==typeof FileList&&e instanceof FileList)o=Array.prototype.map.call(e,(function(t,e){return u([""+s+e],t),null}));else if(Array.isArray(e))o=e.map((function(e,n){var r=t(e,""+s+n,i);return r.files.forEach(u),r.clone}));else if(e&&e.constructor===Object)for(var c in o={},e){var f=t(e[c],""+s+c,i);f.files.forEach(u),o[c]=f.clone}else o=e}return{clone:o,files:a}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){var r=n(521);t.exports=function(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(4),i=function(t){return t&&"object"===typeof t&&!Array.isArray(t)},o="extendCurrValue"+Date.now();function a(t,e,n,o){return void 0===o&&(o={}),function(t,e,n,o){if("string"!==typeof t.extend)if(Array.isArray(t.extend))for(var u=0;u<t.extend.length;u++){var s=t.extend[u];a("string"===typeof s?Object(r.a)({},t,{extend:s}):t.extend[u],e,n,o)}else for(var c in t.extend)"extend"!==c?i(t.extend[c])?(c in o||(o[c]={}),a(t.extend[c],e,n,o[c])):o[c]=t.extend[c]:a(t.extend.extend,e,n,o);else{if(!n)return;var f=n.getRule(t.extend);if(!f)return;if(f===e)return;var l=f.options.parent;l&&a(l.rules.raw[t.extend],e,n,o)}}(t,e,n,o),function(t,e,n,r){for(var o in t)"extend"!==o&&(i(r[o])&&i(t[o])?a(t[o],e,n,r[o]):i(t[o])?r[o]=a(t[o],e,n):r[o]=t[o])}(t,e,n,o),o}e.a=function(){return{onProcessStyle:function(t,e,n){return"extend"in t?a(t,e,n):t},onChangeValue:function(t,e,n){if("extend"!==e)return t;if(null==t||!1===t){for(var r in n[o])n.prop(r,null);return n[o]=null,null}if("object"===typeof t){for(var i in t)n.prop(i,t[i]);n[o]=t}return null}}}},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(609),i=n(610),o=n(611);t.exports=function(t,e){if(!o(t))throw new TypeError("Expected a finite number");if(e=e||{},t<1e3){var n="number"===typeof e.msDecimalDigits?e.msDecimalDigits:0;return(n?t.toFixed(n):Math.ceil(t))+(e.verbose?" "+i("millisecond",Math.ceil(t)):"ms")}var a=[],u=function(t,n,r,o){if(0!==t){var u=e.verbose?" "+i(n,t):r;a.push((o||t)+u)}},s=r(t);if(u(s.days,"day","d"),u(s.hours,"hour","h"),u(s.minutes,"minute","m"),e.compact)return u(s.seconds,"second","s"),"~"+a[0];var c=t/1e3%60,f="number"===typeof e.secDecimalDigits?e.secDecimalDigits:1,l=c.toFixed(f).replace(/\.0$/,"");return u(c,"second","s",l),a.join(" ")}},function(t,e,n){"use strict";(function(t,r){var i,o=n(530);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:r;var a=Object(o.a)(i);e.a=a}).call(this,n(59),n(253)(t))},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"===typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e,n){t.exports=n(612).Observable},function(t,e,n){"use strict";t.exports=function(t,e){e||(e={}),"function"===typeof e&&(e={cmp:e});var n,r="boolean"===typeof e.cycles&&e.cycles,i=e.cmp&&(n=e.cmp,function(t){return function(e,r){var i={key:e,value:t[e]},o={key:r,value:t[r]};return n(i,o)}}),o=[];return function t(e){if(e&&e.toJSON&&"function"===typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!==typeof e)return JSON.stringify(e);var n,a;if(Array.isArray(e)){for(a="[",n=0;n<e.length;n++)n&&(a+=","),a+=t(e[n])||"null";return a+"]"}if(null===e)return"null";if(-1!==o.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=o.push(e)-1,s=Object.keys(e).sort(i&&i(e));for(a="",n=0;n<s.length;n++){var c=s[n],f=t(e[c]);f&&(a&&(a+=","),a+=JSON.stringify(c)+":"+f)}return o.splice(u,1),"{"+a+"}"}}(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(570),i=n(535);function o(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.a.apply(this,Object(i.a)(arguments))}},function(t,e,n){"use strict";var r=n(164),i=n(32),o=n(104),a=Object(i.a)(Object(r.a)("tail",Object(o.a)(1,1/0)));e.a=a},function(t,e,n){"use strict";var r=n(32),i=n(124),o=Object(r.a)((function(t){return Object(i.a)(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(210),o=Object(r.a)((function(t,e){return Object(i.a)([t],e)}));e.a=o},function(t,e,n){"use strict";e.a=function(){return!1}},function(t,e,n){"use strict";(function(t){var r=n(71),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.a.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var n=t.length,r=u?u(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(253)(t))},function(t,e,n){var r=n(710),i=n(431)((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=i},function(t,e,n){var r=n(420),i=n(421),o=n(424);t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,e(t,i,o),t)})),n}},function(t,e){function n(t,e){var n=t.length,r=new Array(n),i={},o=n,a=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++){var i=t[n];e.has(i[0])||e.set(i[0],new Set),e.has(i[1])||e.set(i[1],new Set),e.get(i[0]).add(i[1])}return e}(e),u=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++)e.set(t[n],n);return e}(t);for(e.forEach((function(t){if(!u.has(t[0])||!u.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||s(t[o],o,new Set);return r;function s(t,e,o){if(o.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(d){c=""}throw new Error("Cyclic dependency"+c)}if(!u.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[e]){i[e]=!0;var f=a.get(t)||new Set;if(e=(f=Array.from(f)).length){o.add(t);do{var l=f[--e];s(l,u.get(l),o)}while(e);o.delete(t)}r[--n]=t}}}t.exports=function(t){return n(function(t){for(var e=new Set,n=0,r=t.length;n<r;n++){var i=t[n];e.add(i[0]),e.add(i[1])}return Array.from(e)}(t),t)},t.exports.array=n},function(t,e,n){"use strict";(function(t){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:s(u(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),l=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?f:10===t?l:f||l}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function g(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||h(t.firstElementChild)===t)}(a)?a:h(a);var u=p(t);return u.host?g(u.host,e):g(t,p(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function y(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:y("Height",e,n,r),width:y("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),O=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function E(t){return x({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=m(t,"top"),r=m(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(h){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_(t.ownerDocument):{},u=o.width||t.clientWidth||i.width,s=o.height||t.clientHeight||i.height,c=t.offsetWidth-u,f=t.offsetHeight-s;if(c||f){var l=a(t);c-=v(l,"x"),f-=v(l,"y"),i.width-=c,i.height-=f}return E(i)}function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===e.nodeName,o=M(t),u=M(e),c=s(t),f=a(e),l=parseFloat(f.borderTopWidth),h=parseFloat(f.borderLeftWidth);n&&i&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var p=E({top:o.top-u.top-l,left:o.left-u.left-h,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var g=parseFloat(f.marginTop),m=parseFloat(f.marginLeft);p.top-=l-g,p.bottom-=l-g,p.left-=h-m,p.right-=h-m,p.marginTop=g,p.marginLeft=m}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=b(p,e)),p}function $(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=T(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),u=e?0:m(n,"left"),s={top:a-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:i,height:o};return E(s)}function A(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=u(t);return!!n&&A(n)}function k(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?k(t):g(t,c(e));if("viewport"===r)o=$(a,i);else{var f=void 0;"scrollParent"===r?"BODY"===(f=s(u(e))).nodeName&&(f=t.ownerDocument.documentElement):f="window"===r?t.ownerDocument.documentElement:r;var l=T(f,a,i);if("HTML"!==f.nodeName||A(a))o=l;else{var d=_(t.ownerDocument),h=d.height,p=d.width;o.top+=l.top-l.marginTop,o.bottom=h+l.top,o.left+=l.left-l.marginLeft,o.right=p+l.left}}var m="number"===typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function I(t){return t.width*t.height}function P(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=C(n,r,o,i),u={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},s=Object.keys(u).map((function(t){return x({key:t},u[t],{area:I(u[t])})})).sort((function(t,e){return e.area-t.area})),c=s.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),f=c.length>0?c[0].key:s[0].key,l=t.split("-")[1];return f+(l?"-"+l:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?k(e):g(e,c(n));return T(n,i,r)}function R(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function j(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function D(t,e,n){n=n.split("-")[0];var r=R(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",u=o?"left":"top",s=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[s]/2-r[s]/2,i[u]=n===u?e[u]-r[c]:e[j(u)],i}function L(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function F(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=L(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=n(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=P(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=D(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=F(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function z(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if("undefined"!==typeof document.body.style[o])return o}return null}function H(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(t){var e=t.ownerDocument;return e?e.defaultView:window}function q(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||q(s(o.parentNode),e,n,r),r.push(o)}function W(t,e,n,r){n.updateBound=r,V(t).addEventListener("resize",n.updateBound,{passive:!0});var i=s(t);return q(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function G(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function K(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,V(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Y(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Z(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Y(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var Q=n&&/Firefox/i.test(navigator.userAgent);function X(t,e,n){var r=L(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],tt=J.slice(3);function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=tt.indexOf(t),r=tt.slice(n+1).concat(tt.slice(0,n));return e?r.reverse():r}var nt="flip",rt="clockwise",it="counterclockwise";function ot(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),u=a.indexOf(L(a,(function(t){return-1!==t.search(/,|\s/)})));a[u]&&-1===a[u].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==u?[a.slice(0,u).concat([a[u].split(s)[0]]),[a[u].split(s)[1]].concat(a.slice(u+1))]:[a];return(c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var u=void 0;switch(a){case"%p":u=n;break;case"%":case"%r":default:u=r}return E(u)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){Y(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,u=-1!==["bottom","top"].indexOf(n),s=u?"left":"top",c=u?"width":"height",f={start:O({},s,o[s]),end:O({},s,o[s]+o[c]-a[c])};t.offsets.popper=x({},a,f[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,u=r.split("-")[0],s=void 0;return s=Y(+n)?[+n,0]:ot(n,o,a,u),"left"===u?(o.top+=s[0],o.left-=s[1]):"right"===u?(o.top+=s[0],o.left+=s[1]):"top"===u?(o.left+=s[0],o.top-=s[1]):"bottom"===u&&(o.left+=s[0],o.top+=s[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var r=z("transform"),i=t.instance.popper.style,o=i.top,a=i.left,u=i[r];i.top="",i.left="",i[r]="";var s=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=u,e.boundaries=s;var c=e.priority,f=t.offsets.popper,l={primary:function(t){var n=f[t];return f[t]<s[t]&&!e.escapeWithReference&&(n=Math.max(f[t],s[t])),O({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=f[n];return f[t]>s[t]&&!e.escapeWithReference&&(r=Math.min(f[n],s[t]-("right"===t?f.width:f.height))),O({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=x({},f,l[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),u=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[u]<o(r[s])&&(t.offsets.popper[s]=o(r[s])-n[c]),n[s]>o(r[u])&&(t.offsets.popper[s]=o(r[u])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!X(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,u=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(i),f=c?"height":"width",l=c?"Top":"Left",d=l.toLowerCase(),h=c?"left":"top",p=c?"bottom":"right",g=R(r)[f];s[p]-g<u[d]&&(t.offsets.popper[d]-=u[d]-(s[p]-g)),s[d]+g>u[p]&&(t.offsets.popper[d]+=s[d]+g-u[p]),t.offsets.popper=E(t.offsets.popper);var m=s[d]+s[f]/2-g/2,b=a(t.instance.popper),v=parseFloat(b["margin"+l]),y=parseFloat(b["border"+l+"Width"]),_=m-t.offsets.popper[d]-v-y;return _=Math.max(Math.min(u[f]-g,_),0),t.arrowElement=r,t.offsets.arrow=(O(n={},d,Math.round(_)),O(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=j(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case nt:a=[r,i];break;case rt:a=et(r);break;case it:a=et(r,!0);break;default:a=e.behavior}return a.forEach((function(u,s){if(r!==u||a.length===s+1)return t;r=t.placement.split("-")[0],i=j(r);var c=t.offsets.popper,f=t.offsets.reference,l=Math.floor,d="left"===r&&l(c.right)>l(f.left)||"right"===r&&l(c.left)<l(f.right)||"top"===r&&l(c.bottom)>l(f.top)||"bottom"===r&&l(c.top)<l(f.bottom),h=l(c.left)<l(n.left),p=l(c.right)>l(n.right),g=l(c.top)<l(n.top),m=l(c.bottom)>l(n.bottom),b="left"===r&&h||"right"===r&&p||"top"===r&&g||"bottom"===r&&m,v=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(v&&"start"===o&&h||v&&"end"===o&&p||!v&&"start"===o&&g||!v&&"end"===o&&m),_=!!e.flipVariationsByContent&&(v&&"start"===o&&p||v&&"end"===o&&h||!v&&"start"===o&&m||!v&&"end"===o&&g),w=y||_;(d||b||w)&&(t.flipped=!0,(d||b)&&(r=a[s+1]),w&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=x({},t.offsets.popper,D(t.instance.popper,t.offsets.reference,t.placement)),t=F(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),u=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(u?i[a?"width":"height"]:0),t.placement=j(e),t.offsets.popper=E(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!X(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=L(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=L(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,u=h(t.instance.popper),s=M(u),c={position:i.position},f=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,u=function(t){return t},s=o(i.width),c=o(r.width),f=-1!==["left","right"].indexOf(t.placement),l=-1!==t.placement.indexOf("-"),d=e?f||l||s%2===c%2?o:a:u,h=e?o:u;return{left:d(s%2===1&&c%2===1&&!l&&e?r.left-1:r.left),top:h(r.top),bottom:h(r.bottom),right:d(r.right)}}(t,window.devicePixelRatio<2||!Q),l="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=z("transform"),g=void 0,m=void 0;if(m="bottom"===l?"HTML"===u.nodeName?-u.clientHeight+f.bottom:-s.height+f.bottom:f.top,g="right"===d?"HTML"===u.nodeName?-u.clientWidth+f.right:-s.width+f.right:f.left,a&&p)c[p]="translate3d("+g+"px, "+m+"px, 0)",c[l]=0,c[d]=0,c.willChange="transform";else{var b="bottom"===l?-1:1,v="right"===d?-1:1;c[l]=m*b,c[d]=g*v,c.willChange=l+", "+d}var y={"x-placement":t.placement};return t.attributes=x({},y,t.attributes),t.styles=x({},c,t.styles),t.arrowStyles=x({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Z(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&Z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=N(i,e,t,n.positionFixed),a=P(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),Z(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ut=function(){function t(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=x({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=x({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return x({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return S(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),t}();ut.Utils=("undefined"!==typeof window?window:t).PopperUtils,ut.placements=J,ut.Defaults=at,e.a=ut}).call(this,n(59))},function(t,e,n){"use strict";var r=n(4),i=n(544),o=n.n(i),a={CASE_SENSITIVE_EQUAL:9,EQUAL:8,STARTS_WITH:7,WORD_STARTS_WITH:6,STRING_CASE:5,STRING_CASE_ACRONYM:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},u={CAMEL:.8,PASCAL:.6,KEBAB:.4,SNAKE:.2,NO_CASE:0};c.rankings=a,c.caseRankings=u;var s=function(t,e){return String(t.rankedItem).localeCompare(e.rankedItem)};function c(t,e,n){void 0===n&&(n={});var r=n,i=r.keys,o=r.threshold,u=void 0===o?a.MATCHES:o,c=r.baseSort,l=void 0===c?s:c;return t.reduce((function(t,r,o){var s=function(t,e,n,r){if(!e)return{rankedItem:t,rank:f(t,n,r),keyIndex:-1,keyThreshold:r.threshold};return function(t,e){return e.reduce((function(e,n){var r=function(t,e){"object"===typeof e&&(e=e.key);var n;n="function"===typeof e?e(t):-1!==e.indexOf(".")?e.split(".").reduce((function(t,e){return t?t[e]:null}),t):t[e];return null!=n?[].concat(n):null}(t,n);return r&&r.forEach((function(t){e.push({itemValue:t,attributes:d(n)})})),e}),[])}(t,e).reduce((function(t,e,i){var o=t.rank,u=t.rankedItem,s=t.keyIndex,c=t.keyThreshold,l=e.itemValue,d=e.attributes,h=f(l,n,r),p=u,g=d.minRanking,m=d.maxRanking,b=d.threshold;return h<g&&h>=a.MATCHES?h=g:h>m&&(h=m),h>o&&(o=h,s=i,c=b,p=l),{rankedItem:p,rank:o,keyIndex:s,keyThreshold:c}}),{rank:a.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}(r,i,e,n),c=s.rankedItem,l=s.rank,h=s.keyIndex,p=s.keyThreshold;l>=(void 0===p?u:p)&&t.push({rankedItem:c,item:r,rank:l,index:o,keyIndex:h});return t}),[]).sort((function(t,e){return function(t,e,n){var r=-1,i=1,o=t.rank,a=t.keyIndex,u=e.rank,s=e.keyIndex;return o===u?a===s?n(t,e):a<s?r:i:o>u?r:i}(t,e,l)})).map((function(t){return t.item}))}function f(t,e,n){if(t=l(t,n),(e=l(e,n)).length>t.length)return a.NO_MATCH;if(t===e)return a.CASE_SENSITIVE_EQUAL;var r=function(t){var e=t.toLowerCase()!==t,n=t.indexOf("-")>=0,r=t.indexOf("_")>=0;if(!e&&!r&&n)return u.KEBAB;if(!e&&r&&!n)return u.SNAKE;if(e&&!n&&!r){return t[0].toUpperCase()===t[0]?u.PASCAL:u.CAMEL}return u.NO_CASE}(t),i=function(t,e,n){var r=t.toLowerCase().indexOf(e.toLowerCase());switch(n){case u.SNAKE:return"_"===t[r-1];case u.KEBAB:return"-"===t[r-1];case u.PASCAL:case u.CAMEL:return-1!==r&&t[r]===t[r].toUpperCase();default:return!1}}(t,e,r),o=function(t,e,n){var r=null;switch(n){case u.SNAKE:r="_";break;case u.KEBAB:r="-";break;case u.PASCAL:case u.CAMEL:r=/(?=[A-Z])/;break;default:r=null}var i=t.split(r);return e.toLowerCase().split("").reduce((function(t,e,n){var r=i[n];return t&&r&&r[0].toLowerCase()===e}),!0)}(t,e,r);return(t=t.toLowerCase())===(e=e.toLowerCase())?a.EQUAL+r:0===t.indexOf(e)?a.STARTS_WITH+r:-1!==t.indexOf(" "+e)?a.WORD_STARTS_WITH+r:i?a.STRING_CASE+r:r>0&&o?a.STRING_CASE_ACRONYM+r:-1!==t.indexOf(e)?a.CONTAINS+r:1===e.length?a.NO_MATCH:-1!==function(t){var e="";return t.split(" ").forEach((function(t){t.split("-").forEach((function(t){e+=t.substr(0,1)}))})),e}(t).indexOf(e)?a.ACRONYM+r:function(t,e){var n=0,r=0;function i(t,e,r){for(var i=r;i<e.length;i++){if(e[i]===t)return n+=1,i+1}return-1}function o(t){var r=n/e.length;return a.MATCHES+r*(1/t)}var u=i(e[0],t,0);if(u<0)return a.NO_MATCH;r=u;for(var s=1;s<e.length;s++){if(!((r=i(e[s],t,r))>-1))return a.NO_MATCH}return o(r-u)}(t,e)}function l(t,e){return t=""+t,e.keepDiacritics||(t=o()(t)),t}function d(t){return"string"===typeof t&&(t={key:t}),Object(r.a)({maxRanking:1/0,minRanking:-1/0},t)}e.a=c},function(t,e){var n={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\u1ea4":"A","\u1eae":"A","\u1eb2":"A","\u1eb4":"A","\u1eb6":"A","\xc6":"AE","\u1ea6":"A","\u1eb0":"A","\u0202":"A","\xc7":"C","\u1e08":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\u1ebe":"E","\u1e16":"E","\u1ec0":"E","\u1e14":"E","\u1e1c":"E","\u0206":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\u1e2e":"I","\u020a":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\u1ed0":"O","\u1e4c":"O","\u1e52":"O","\u020e":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\u1ea5":"a","\u1eaf":"a","\u1eb3":"a","\u1eb5":"a","\u1eb7":"a","\xe6":"ae","\u1ea7":"a","\u1eb1":"a","\u0203":"a","\xe7":"c","\u1e09":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\u1ebf":"e","\u1e17":"e","\u1ec1":"e","\u1e15":"e","\u1e1d":"e","\u0207":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\u1e2f":"i","\u020b":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\u1ed1":"o","\u1e4d":"o","\u1e53":"o","\u020f":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u0108":"C","\u0109":"c","\u010a":"C","\u010b":"c","\u010c":"C","\u010d":"c","C\u0306":"C","c\u0306":"c","\u010e":"D","\u010f":"d","\u0110":"D","\u0111":"d","\u0112":"E","\u0113":"e","\u0114":"E","\u0115":"e","\u0116":"E","\u0117":"e","\u0118":"E","\u0119":"e","\u011a":"E","\u011b":"e","\u011c":"G","\u01f4":"G","\u011d":"g","\u01f5":"g","\u011e":"G","\u011f":"g","\u0120":"G","\u0121":"g","\u0122":"G","\u0123":"g","\u0124":"H","\u0125":"h","\u0126":"H","\u0127":"h","\u1e2a":"H","\u1e2b":"h","\u0128":"I","\u0129":"i","\u012a":"I","\u012b":"i","\u012c":"I","\u012d":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0132":"IJ","\u0133":"ij","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u1e30":"K","\u1e31":"k","K\u0306":"K","k\u0306":"k","\u0139":"L","\u013a":"l","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u013f":"L","\u0140":"l","\u0141":"l","\u0142":"l","\u1e3e":"M","\u1e3f":"m","M\u0306":"M","m\u0306":"m","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0149":"n","N\u0306":"N","n\u0306":"n","\u014c":"O","\u014d":"o","\u014e":"O","\u014f":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","P\u0306":"P","p\u0306":"p","\u0154":"R","\u0155":"r","\u0156":"R","\u0157":"r","\u0158":"R","\u0159":"r","R\u0306":"R","r\u0306":"r","\u0212":"R","\u0213":"r","\u015a":"S","\u015b":"s","\u015c":"S","\u015d":"s","\u015e":"S","\u0218":"S","\u0219":"s","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u021b":"t","\u021a":"T","\u0164":"T","\u0165":"t","\u0166":"T","\u0167":"t","T\u0306":"T","t\u0306":"t","\u0168":"U","\u0169":"u","\u016a":"U","\u016b":"u","\u016c":"U","\u016d":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0216":"U","\u0217":"u","V\u0306":"V","v\u0306":"v","\u0174":"W","\u0175":"w","\u1e82":"W","\u1e83":"w","X\u0306":"X","x\u0306":"x","\u0176":"Y","\u0177":"y","\u0178":"Y","Y\u0306":"Y","y\u0306":"y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u017f":"s","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01cd":"A","\u01ce":"a","\u01cf":"I","\u01d0":"i","\u01d1":"O","\u01d2":"o","\u01d3":"U","\u01d4":"u","\u01d5":"U","\u01d6":"u","\u01d7":"U","\u01d8":"u","\u01d9":"U","\u01da":"u","\u01db":"U","\u01dc":"u","\u1ee8":"U","\u1ee9":"u","\u1e78":"U","\u1e79":"u","\u01fa":"A","\u01fb":"a","\u01fc":"AE","\u01fd":"ae","\u01fe":"O","\u01ff":"o","\xde":"TH","\xfe":"th","\u1e54":"P","\u1e55":"p","\u1e64":"S","\u1e65":"s","X\u0301":"X","x\u0301":"x","\u0403":"\u0413","\u0453":"\u0433","\u040c":"\u041a","\u045c":"\u043a","A\u030b":"A","a\u030b":"a","E\u030b":"E","e\u030b":"e","I\u030b":"I","i\u030b":"i","\u01f8":"N","\u01f9":"n","\u1ed2":"O","\u1ed3":"o","\u1e50":"O","\u1e51":"o","\u1eea":"U","\u1eeb":"u","\u1e80":"W","\u1e81":"w","\u1ef2":"Y","\u1ef3":"y","\u0200":"A","\u0201":"a","\u0204":"E","\u0205":"e","\u0208":"I","\u0209":"i","\u020c":"O","\u020d":"o","\u0210":"R","\u0211":"r","\u0214":"U","\u0215":"u","B\u030c":"B","b\u030c":"b","\u010c\u0323":"C","\u010d\u0323":"c","\xca\u030c":"E","\xea\u030c":"e","F\u030c":"F","f\u030c":"f","\u01e6":"G","\u01e7":"g","\u021e":"H","\u021f":"h","J\u030c":"J","\u01f0":"j","\u01e8":"K","\u01e9":"k","M\u030c":"M","m\u030c":"m","P\u030c":"P","p\u030c":"p","Q\u030c":"Q","q\u030c":"q","\u0158\u0329":"R","\u0159\u0329":"r","\u1e66":"S","\u1e67":"s","V\u030c":"V","v\u030c":"v","W\u030c":"W","w\u030c":"w","X\u030c":"X","x\u030c":"x","Y\u030c":"Y","y\u030c":"y","A\u0327":"A","a\u0327":"a","B\u0327":"B","b\u0327":"b","\u1e10":"D","\u1e11":"d","\u0228":"E","\u0229":"e","\u0190\u0327":"E","\u025b\u0327":"e","\u1e28":"H","\u1e29":"h","I\u0327":"I","i\u0327":"i","\u0197\u0327":"I","\u0268\u0327":"i","M\u0327":"M","m\u0327":"m","O\u0327":"O","o\u0327":"o","Q\u0327":"Q","q\u0327":"q","U\u0327":"U","u\u0327":"u","X\u0327":"X","x\u0327":"x","Z\u0327":"Z","z\u0327":"z"},r=Object.keys(n).join("|"),i=new RegExp(r,"g"),o=new RegExp(r,""),a=function(t){return t.replace(i,(function(t){return n[t]}))};t.exports=a,t.exports.has=function(t){return!!t.match(o)},t.exports.remove=a},function(t,e,n){"use strict";var r=n(32),i=Object(r.a)((function(t){return null==t}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return null==e||e!==e?t:e}));e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);function i(t){var e=r.useState(t),n=e[0],i=e[1],o=t||n;return r.useEffect((function(){null==n&&i("mui-".concat(Math.round(1e5*Math.random())))}),[n]),o}},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(1)),o=(0,r(n(233)).default)(i.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");e.default=o},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(1)),o=(0,r(n(233)).default)(i.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a="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},u=n(1),s=(r=u)&&r.__esModule?r:{default:r};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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}function l(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)}var d=function(t){return"object"===("undefined"===typeof t?"undefined":a(t))},h=function(t){function e(){var t,n,r;c(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.getClasses=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return!d(t)&&!1!==t})).join(" ")},r.getType=function(){return r.props.isInputSecure?"password":r.props.isInputNum?"tel":"text"},f(r,n)}return l(e,t),o(e,[{key:"componentDidMount",value:function(){var t=this.input,e=this.props,n=e.focus,r=e.shouldAutoFocus;t&&n&&r&&t.focus()}},{key:"componentDidUpdate",value:function(t){var e=this.input,n=this.props.focus;t.focus!==n&&e&&n&&(e.focus(),e.select())}},{key:"render",value:function(){var t=this,e=this.props,n=e.placeholder,r=e.separator,o=e.isLastChild,a=e.inputStyle,u=e.focus,c=e.isDisabled,f=e.hasErrored,l=e.errorStyle,h=e.focusStyle,p=e.disabledStyle,g=(e.shouldAutoFocus,e.isInputNum),m=e.index,b=e.value,v=e.className,y=(e.isInputSecure,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}(e,["placeholder","separator","isLastChild","inputStyle","focus","isDisabled","hasErrored","errorStyle","focusStyle","disabledStyle","shouldAutoFocus","isInputNum","index","value","className","isInputSecure"]));return s.default.createElement("div",{className:v,style:{display:"flex",alignItems:"center"}},s.default.createElement("input",i({"aria-label":(0===m?"Please enter verification code. ":"")+(g?"Digit":"Character")+" "+(m+1),autoComplete:"off",style:Object.assign({width:"1em",textAlign:"center"},d(a)&&a,u&&d(h)&&h,c&&d(p)&&p,f&&d(l)&&l),placeholder:n,className:this.getClasses(a,u&&h,c&&p,f&&l),type:this.getType(),maxLength:"1",ref:function(e){t.input=e},disabled:c,value:b||""},y)),!o&&r)}}]),e}(u.PureComponent),p=function(t){function e(){var t,n,r;c(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.state={activeInput:0},r.getOtpValue=function(){return r.props.value?r.props.value.toString().split(""):[]},r.getPlaceholderValue=function(){var t=r.props,e=t.placeholder,n=t.numInputs;if("string"===typeof e){if(e.length===n)return e;e.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},r.handleOtpChange=function(t){(0,r.props.onChange)(t.join(""))},r.isInputValueValid=function(t){return(r.props.isInputNum?!isNaN(parseInt(t,10)):"string"===typeof t)&&1===t.trim().length},r.focusInput=function(t){var e=r.props.numInputs,n=Math.max(Math.min(e-1,t),0);r.setState({activeInput:n})},r.focusNextInput=function(){var t=r.state.activeInput;r.focusInput(t+1)},r.focusPrevInput=function(){var t=r.state.activeInput;r.focusInput(t-1)},r.changeCodeAtFocus=function(t){var e=r.state.activeInput,n=r.getOtpValue();n[e]=t[0],r.handleOtpChange(n)},r.handleOnPaste=function(t){t.preventDefault();var e=r.state.activeInput,n=r.props,i=n.numInputs;if(!n.isDisabled){for(var o=r.getOtpValue(),a=e,u=t.clipboardData.getData("text/plain").slice(0,i-e).split(""),s=0;s<i;++s)s>=e&&u.length>0&&(o[s]=u.shift(),a++);r.setState({activeInput:a},(function(){r.focusInput(a),r.handleOtpChange(o)}))}},r.handleOnChange=function(t){var e=t.target.value;r.isInputValueValid(e)&&r.changeCodeAtFocus(e)},r.handleOnKeyDown=function(t){8===t.keyCode||"Backspace"===t.key?(t.preventDefault(),r.changeCodeAtFocus(""),r.focusPrevInput()):46===t.keyCode||"Delete"===t.key?(t.preventDefault(),r.changeCodeAtFocus("")):37===t.keyCode||"ArrowLeft"===t.key?(t.preventDefault(),r.focusPrevInput()):39===t.keyCode||"ArrowRight"===t.key?(t.preventDefault(),r.focusNextInput()):32!==t.keyCode&&" "!==t.key&&"Spacebar"!==t.key&&"Space"!==t.key||t.preventDefault()},r.handleOnInput=function(t){if(r.isInputValueValid(t.target.value))r.focusNextInput();else if(!r.props.isInputNum){var e=t.nativeEvent;null===e.data&&"deleteContentBackward"===e.inputType&&(t.preventDefault(),r.changeCodeAtFocus(""),r.focusPrevInput())}},r.renderInputs=function(){for(var t=r.state.activeInput,e=r.props,n=e.numInputs,i=e.inputStyle,o=e.focusStyle,a=e.separator,u=e.isDisabled,c=e.disabledStyle,f=e.hasErrored,l=e.errorStyle,d=e.shouldAutoFocus,p=e.isInputNum,g=e.isInputSecure,m=e.className,b=[],v=r.getOtpValue(),y=r.getPlaceholderValue(),_=function(e){b.push(s.default.createElement(h,{placeholder:y&&y[e],key:e,index:e,focus:t===e,value:v&&v[e],onChange:r.handleOnChange,onKeyDown:r.handleOnKeyDown,onInput:r.handleOnInput,onPaste:r.handleOnPaste,onFocus:function(t){r.setState({activeInput:e}),t.target.select()},onBlur:function(){return r.setState({activeInput:-1})},separator:a,inputStyle:i,focusStyle:o,isLastChild:e===n-1,isDisabled:u,disabledStyle:c,hasErrored:f,errorStyle:l,shouldAutoFocus:d,isInputNum:p,isInputSecure:g,className:m}))},w=0;w<n;w++)_(w);return b},f(r,n)}return l(e,t),o(e,[{key:"render",value:function(){var t=this.props.containerStyle;return s.default.createElement("div",{style:Object.assign({display:"flex"},d(t)&&t),className:d(t)?"":t},this.renderInputs())}}]),e}(u.Component);p.defaultProps={numInputs:4,onChange:function(t){return console.log(t)},isDisabled:!1,shouldAutoFocus:!1,value:"",isInputSecure:!1},e.default=p},function(t,e,n){"use strict";var r=n(1),i=n.n(r);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(){}function l(){}l.resetWarningCache=f;var d=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){t.exports=function(){function t(t,e,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:l,resetWarningCache:f};return n.PropTypes=n,n}()}));function h(){}function p(t){return!!(t||"").match(/\d/)}function g(t){return null===t||void 0===t}function m(t){return t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function b(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="-"===t[0],r=n&&e,i=(t=t.replace("-","")).split("."),o=i[0],a=i[1]||"";return{beforeDecimal:o,afterDecimal:a,hasNagation:n,addNegation:r}}function v(t,e,n){for(var r="",i=n?"0":"",o=0;o<=e-1;o++)r+=t[o]||i;return r}function y(t,e){if(t.value=t.value,null!==t){if(t.createTextRange){var n=t.createTextRange();return n.move("character",e),n.select(),!0}return t.selectionStart||0===t.selectionStart?(t.focus(),t.setSelectionRange(e,e),!0):(t.focus(),!1)}}function _(t,e,n){return Math.min(Math.max(t,e),n)}function w(t){return Math.max(t.selectionStart,t.selectionEnd)}var S={thousandSeparator:d.oneOfType([d.string,d.oneOf([!0])]),decimalSeparator:d.string,allowedDecimalSeparators:d.arrayOf(d.string),thousandsGroupStyle:d.oneOf(["thousand","lakh","wan"]),decimalScale:d.number,fixedDecimalScale:d.bool,displayType:d.oneOf(["input","text"]),prefix:d.string,suffix:d.string,format:d.oneOfType([d.string,d.func]),removeFormatting:d.func,mask:d.oneOfType([d.string,d.arrayOf(d.string)]),value:d.oneOfType([d.number,d.string]),defaultValue:d.oneOfType([d.number,d.string]),isNumericString:d.bool,customInput:d.elementType,allowNegative:d.bool,allowEmptyFormatting:d.bool,allowLeadingZeros:d.bool,onValueChange:d.func,onKeyDown:d.func,onMouseUp:d.func,onChange:d.func,onFocus:d.func,onBlur:d.func,type:d.oneOf(["text","tel","password"]),isAllowed:d.func,renderText:d.func,getInputRef:d.oneOfType([d.func,d.shape({current:d.any})])},O={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:h,onChange:h,onKeyDown:h,onMouseUp:h,onFocus:h,onBlur:h,isAllowed:function(){return!0}},x=function(t){function e(t){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?c(t):e}(this,u(e).call(this,t));var r=t.defaultValue;n.validateProps();var i=n.formatValueProp(r);return n.state={value:i,numAsString:n.removeFormatting(i),mounted:!1},n.selectionBeforeInput={selectionStart:0,selectionEnd:0},n.onChange=n.onChange.bind(c(n)),n.onKeyDown=n.onKeyDown.bind(c(n)),n.onMouseUp=n.onMouseUp.bind(c(n)),n.onFocus=n.onFocus.bind(c(n)),n.onBlur=n.onBlur.bind(c(n)),n}var n,r,f;return 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}}),e&&s(t,e)}(e,t),n=e,(r=[{key:"componentDidMount",value:function(){this.setState({mounted:!0})}},{key:"componentDidUpdate",value:function(t){this.updateValueIfRequired(t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout)}},{key:"updateValueIfRequired",value:function(t){var e=this.props,n=this.state,r=this.focusedElm,i=n.value,o=n.numAsString,a=void 0===o?"":o;if(t!==e){this.validateProps();var u=this.formatNumString(a),s=g(e.value)?u:this.formatValueProp(),c=this.removeFormatting(s),f=parseFloat(c),l=parseFloat(a);(isNaN(f)&&isNaN(l)||f===l)&&u===i&&(null!==r||s===i)||this.updateValue({formattedValue:s,numAsString:c,input:r})}}},{key:"getFloatString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.props.decimalScale,n=this.getSeparators(),r=n.decimalSeparator,i=this.getNumberRegex(!0),o="-"===t[0];o&&(t=t.replace("-","")),r&&0===e&&(t=t.split(r)[0]);var a=(t=(t.match(i)||[]).join("").replace(r,".")).indexOf(".");return-1!==a&&(t="".concat(t.substring(0,a),".").concat(t.substring(a+1,t.length).replace(new RegExp(m(r),"g"),""))),o&&(t="-"+t),t}},{key:"getNumberRegex",value:function(t,e){var n=this.props,r=n.format,i=n.decimalScale,o=this.getSeparators().decimalSeparator;return new RegExp("\\d"+(!o||0===i||e||r?"":"|"+m(o)),t?"g":void 0)}},{key:"getSeparators",value:function(){var t=this.props.decimalSeparator,e=this.props,n=e.thousandSeparator,r=e.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}},{key:"getMaskAtIndex",value:function(t){var e=this.props.mask,n=void 0===e?" ":e;return"string"===typeof n?n:n[t]||" "}},{key:"getValueObject",value:function(t,e){var n=parseFloat(e);return{formattedValue:t,value:e,floatValue:isNaN(n)?void 0:n}}},{key:"validateProps",value:function(){var t=this.props.mask,e=this.getSeparators(),n=e.decimalSeparator,r=e.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: ".concat(r,' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: ').concat(n," (default value for decimalSeparator is .)\n "));if(t&&("string"===t?t:t.toString()).match(/\d/g))throw new Error("\n Mask ".concat(t," should not contain numeric character;\n "))}},{key:"setPatchedCaretPosition",value:function(t,e,n){y(t,e),setTimeout((function(){t.value===n&&y(t,e)}),0)}},{key:"correctCaretPosition",value:function(t,e,n){var r=this.props,i=r.prefix,o=r.suffix,a=r.format;if(""===t)return 0;if(e=_(e,0,t.length),!a){var u="-"===t[0];return _(e,i.length+(u?1:0),t.length-o.length)}if("function"===typeof a)return e;if("#"===a[e]&&p(t[e]))return e;if("#"===a[e-1]&&p(t[e-1]))return e;var s=a.indexOf("#");e=_(e,s,a.lastIndexOf("#")+1);for(var c=a.substring(e,a.length).indexOf("#"),f=e,l=e+(-1===c?0:c);f>s&&("#"!==a[f]||!p(t[f]));)f-=1;return!p(t[l])||"left"===n&&e!==s||e-f<l-e?p(t[f])?f+1:f:l}},{key:"getCaretPosition",value:function(t,e,n){var r,i,o=this.props.format,a=this.state.value,u=this.getNumberRegex(!0),s=(t.match(u)||[]).join(""),c=(e.match(u)||[]).join("");for(r=0,i=0;i<n;i++){var f=t[i]||"",l=e[r]||"";if((f.match(u)||f===l)&&("0"!==f||!l.match(u)||"0"===l||s.length===c.length)){for(;f!==e[r]&&r<e.length;)r++;r++}}return"string"!==typeof o||a||(r=e.length),r=this.correctCaretPosition(e,r)}},{key:"removePrefixAndSuffix",value:function(t){var e=this.props,n=e.format,r=e.prefix,i=e.suffix;if(!n&&t){var o="-"===t[0];o&&(t=t.substring(1,t.length));var a=(t=r&&0===t.indexOf(r)?t.substring(r.length,t.length):t).lastIndexOf(i);t=i&&-1!==a&&a===t.length-i.length?t.substring(0,a):t,o&&(t="-"+t)}return t}},{key:"removePatternFormatting",value:function(t){for(var e=this.props.format.split("#").filter((function(t){return""!==t})),n=0,r="",i=0,o=e.length;i<=o;i++){var a=e[i]||"",u=i===o?t.length:t.indexOf(a,n);if(-1===u){r=t;break}r+=t.substring(n,u),n=u+a.length}return(r.match(/\d/g)||[]).join("")}},{key:"removeFormatting",value:function(t){var e=this.props,n=e.format,r=e.removeFormatting;return t?(n?t="string"===typeof n?this.removePatternFormatting(t):"function"===typeof r?r(t):(t.match(/\d/g)||[]).join(""):(t=this.removePrefixAndSuffix(t),t=this.getFloatString(t)),t):t}},{key:"formatWithPattern",value:function(t){for(var e=this.props.format,n=0,r=e.split(""),i=0,o=e.length;i<o;i++)"#"===e[i]&&(r[i]=t[n]||this.getMaskAtIndex(n),n+=1);return r.join("")}},{key:"formatAsNumber",value:function(t){var e=this.props,n=e.decimalScale,r=e.fixedDecimalScale,i=e.prefix,o=e.suffix,a=e.allowNegative,u=e.thousandsGroupStyle,s=this.getSeparators(),c=s.thousandSeparator,f=s.decimalSeparator,l=-1!==t.indexOf(".")||n&&r,d=b(t,a),h=d.beforeDecimal,p=d.afterDecimal,g=d.addNegation;return void 0!==n&&(p=v(p,n,r)),c&&(h=function(t,e,n){var r=function(t){switch(t){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),i=t.search(/[1-9]/);return i=-1===i?t.length:i,t.substring(0,i)+t.substring(i,t.length).replace(r,"$1"+e)}(h,c,u)),i&&(h=i+h),o&&(p+=o),g&&(h="-"+h),t=h+(l&&f||"")+p}},{key:"formatNumString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.props,n=e.format,r=e.allowEmptyFormatting,i=t;return i=""!==t||r?"-"!==t||n?"string"===typeof n?this.formatWithPattern(i):"function"===typeof n?n(i):this.formatAsNumber(i):"-":""}},{key:"formatValueProp",value:function(t){var e=this.props,n=e.format,r=e.decimalScale,i=e.fixedDecimalScale,o=e.allowEmptyFormatting,a=this.props,u=a.value,s=a.isNumericString,c=!(u=g(u)?t:u)&&0!==u;return c&&o&&(u=""),c&&!o?"":("number"===typeof u&&(u=u.toString(),s=!0),"Infinity"===u&&s&&(u=""),s&&!n&&"number"===typeof r&&(u=function(t,e,n){if(-1!==["","-"].indexOf(t))return t;var r=-1!==t.indexOf(".")&&e,i=b(t),o=i.beforeDecimal,a=i.afterDecimal,u=i.hasNagation,s=parseFloat("0.".concat(a||"0")).toFixed(e).split("."),c=o.split("").reverse().reduce((function(t,e,n){return t.length>n?(Number(t[0])+Number(e)).toString()+t.substring(1,t.length):e+t}),s[0]),f=v(s[1]||"",Math.min(e,a.length),n),l=r?".":"";return"".concat(u?"-":"").concat(c).concat(l).concat(f)}(u,r,i)),s?this.formatNumString(u):this.formatInput(u))}},{key:"formatNegation",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),i=n.test(t),o=r.test(t);return t=t.replace(/-/g,""),i&&!o&&e&&(t="-"+t),t}},{key:"formatInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.props.format;return e||(t=this.removePrefixAndSuffix(t),t=this.formatNegation(t)),t=this.removeFormatting(t),this.formatNumString(t)}},{key:"isCharacterAFormat",value:function(t,e){var n=this.props,r=n.format,i=n.prefix,o=n.suffix,a=n.decimalScale,u=n.fixedDecimalScale,s=this.getSeparators().decimalSeparator;return"string"===typeof r&&"#"!==r[t]||!(r||!(t<i.length||t>=e.length-o.length||a&&u&&e[t]===s))}},{key:"checkIfFormatGotDeleted",value:function(t,e,n){for(var r=t;r<e;r++)if(this.isCharacterAFormat(r,n))return!0;return!1}},{key:"correctInputValue",value:function(t,e,n){var r=this.props,i=r.format,o=r.allowNegative,a=r.prefix,u=r.suffix,s=r.decimalScale,c=this.getSeparators(),f=c.allowedDecimalSeparators,l=c.decimalSeparator,d=this.state.numAsString||"",h=this.selectionBeforeInput,p=h.selectionStart,g=h.selectionEnd,m=function(t,e){for(var n=0,r=0,i=t.length,o=e.length;t[n]===e[n]&&n<i;)n++;for(;t[i-1-r]===e[o-1-r]&&o-r>n&&i-r>n;)r++;return{start:n,end:i-r}}(e,n),v=m.start,y=m.end;if(!i&&v===y&&-1!==f.indexOf(n[p])){var _=0===s?"":l;return n.substr(0,p)+_+n.substr(p+1,n.length)}var w=i?0:a.length,S=e.length-(i?0:u.length);if(n.length>e.length||!n.length||v===y||0===p&&g===e.length||p===w&&g===S)return n;if(this.checkIfFormatGotDeleted(v,y,e)&&(n=e),!i){var O=this.removeFormatting(n),x=b(O,o),E=x.beforeDecimal,M=x.afterDecimal,T=x.addNegation,$=t<n.indexOf(l)+1;if(O.length<d.length&&$&&""===E&&!parseFloat(M))return T?"-":""}return n}},{key:"updateValue",value:function(t){var e=t.formattedValue,n=t.input,r=t.setCaretPosition,i=void 0===r||r,o=t.numAsString,a=t.caretPos,u=this.props.onValueChange,s=this.state.value;if(n)if(i){if(!a){var c=t.inputValue||n.value,f=w(n);n.value=e,a=this.getCaretPosition(c,e,f)}this.setPatchedCaretPosition(n,a,e)}else n.value=e;void 0===o&&(o=this.removeFormatting(e)),e!==s&&(this.setState({value:e,numAsString:o}),u(this.getValueObject(e,o)))}},{key:"onChange",value:function(t){var e=t.target,n=e.value,r=this.state,i=this.props,o=i.isAllowed,a=r.value||"",u=w(e);n=this.correctInputValue(u,a,n);var s=this.formatInput(n)||"",c=this.removeFormatting(s);o(this.getValueObject(s,c))||(s=a),this.updateValue({formattedValue:s,numAsString:c,inputValue:n,input:e}),i.onChange(t)}},{key:"onBlur",value:function(t){var e=this.props,n=this.state,r=e.format,i=e.onBlur,o=e.allowLeadingZeros,a=n.numAsString,u=n.value;if(this.focusedElm=null,clearTimeout(this.focusTimeout),!r){isNaN(parseFloat(a))&&(a=""),o||(a=function(t){if(!t)return t;var e="-"===t[0];e&&(t=t.substring(1,t.length));var n=t.split("."),r=n[0].replace(/^0+/,"")||"0",i=n[1]||"";return"".concat(e?"-":"").concat(r).concat(i?".".concat(i):"")}(a));var s=this.formatNumString(a);if(s!==u)return this.updateValue({formattedValue:s,numAsString:a,input:t.target,setCaretPosition:!1}),void i(t)}i(t)}},{key:"onKeyDown",value:function(t){var e,n=t.target,r=t.key,i=n.selectionStart,o=n.selectionEnd,a=n.value,u=void 0===a?"":a,s=this.props,c=s.decimalScale,f=s.fixedDecimalScale,l=s.prefix,d=s.suffix,h=s.format,p=s.onKeyDown,g=void 0!==c&&f,m=this.getNumberRegex(!1,g),b=new RegExp("-"),v="string"===typeof h;if(this.selectionBeforeInput={selectionStart:i,selectionEnd:o},"ArrowLeft"===r||"Backspace"===r?e=i-1:"ArrowRight"===r?e=i+1:"Delete"===r&&(e=i),void 0!==e&&i===o){var y=e,_=v?h.indexOf("#"):l.length,w=v?h.lastIndexOf("#")+1:u.length-d.length;if("ArrowLeft"===r||"ArrowRight"===r){var S="ArrowLeft"===r?"left":"right";y=this.correctCaretPosition(u,e,S)}else if("Delete"!==r||m.test(u[e])||b.test(u[e])){if("Backspace"===r&&!m.test(u[e]))if(i<=_+1&&"-"===u[0]&&"undefined"===typeof h){var O=u.substring(1);this.updateValue({formattedValue:O,caretPos:y,input:n})}else if(!b.test(u[e])){for(;!m.test(u[y-1])&&y>_;)y--;y=this.correctCaretPosition(u,y,"left")}}else for(;!m.test(u[y])&&y<w;)y++;(y!==e||e<_||e>w)&&(t.preventDefault(),this.setPatchedCaretPosition(n,y,u)),t.isUnitTestRun&&this.setPatchedCaretPosition(n,y,u),p(t)}else p(t)}},{key:"onMouseUp",value:function(t){var e=t.target,n=e.selectionStart,r=e.selectionEnd,i=e.value,o=void 0===i?"":i;if(n===r){var a=this.correctCaretPosition(o,n);a!==n&&this.setPatchedCaretPosition(e,a,o)}this.props.onMouseUp(t)}},{key:"onFocus",value:function(t){var e=this;t.persist(),this.focusedElm=t.target,this.focusTimeout=setTimeout((function(){var n=t.target,r=n.selectionStart,i=n.selectionEnd,o=n.value,a=void 0===o?"":o,u=e.correctCaretPosition(a,r);u===r||0===r&&i===a.length||e.setPatchedCaretPosition(n,u,a),e.props.onFocus(t)}),0)}},{key:"render",value:function(){var t=this.props,e=t.type,n=t.displayType,r=t.customInput,o=t.renderText,u=t.getInputRef,s=t.format,c=this.state,f=c.value,l=c.mounted,d=function(t,e){var n={};return Object.keys(t).forEach((function(r){e[r]||(n[r]=t[r])})),n}(this.props,S),h=a({inputMode:l&&function(t){return t||!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}(s)?"numeric":void 0},d,{type:e,value:f,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return o?o(f)||null:i.a.createElement("span",a({},d,{ref:u}),f);if(r){var p=r;return i.a.createElement(p,a({},h,{ref:u}))}return i.a.createElement("input",a({},h,{ref:u}))}}])&&o(n.prototype,r),f&&o(n,f),e}(i.a.Component);x.propTypes=S,x.defaultProps=O,e.a=x},function(t,e,n){"use strict";var r=n(32),i=Object(r.a)((function(t){return!t}));e.a=i},function(t,e,n){"use strict";var r=n(32),i=n(249),o=Object(r.a)((function(t){return null!=t&&Object(i.a)(t.length)?t.length:NaN}));e.a=o},function(t,e,n){"use strict";(function(t){var r=n(1),i=n.n(r),o=n(69),a=n(13),u=n.n(a),s=1073741823,c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{};function f(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}var l=i.a.createContext||function(t,e){var n,i,a="__create-react-context-"+function(){var t="__global_unique_id__";return c[t]=(c[t]||0)+1}()+"__",l=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=f(e.props.value),e}Object(o.a)(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[a]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,i=t.value;((o=r)===(a=i)?0!==o||1/o===1/a:o!==o&&a!==a)?n=0:(n="function"===typeof e?e(r,i):s,0!==(n|=0)&&this.emitter.set(t.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);l.childContextTypes=((n={})[a]=u.a.object.isRequired,n);var d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!==((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}Object(o.a)(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=void 0===e||null===e?s:e},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=void 0===t||null===t?s:t},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(r.Component);return d.contextTypes=((i={})[a]=u.a.object,i),{Provider:l,Consumer:d}};e.a=l}).call(this,n(59))},function(t,e,n){"use strict";var r=n(137),i=n(41),o=Object(i.a)((function(t,e,n){if(t>=n.length||t<-n.length)return n;var i=(t<0?n.length:0)+t,o=Object(r.a)(n);return o[i]=e(n[i]),o}));e.a=o},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return Number(t)+Number(e)}));e.a=i},function(t,e,n){"use strict";var r=n(722).CopyToClipboard;r.CopyToClipboard=r,t.exports=r},function(t,e,n){(function(e,n,r){t.exports=function t(e,n,r){function i(a,u){if(!n[a]){if(!e[a]){if(o)return o(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){return i(e[a][1][t]||t)}),c,c.exports,t,e,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,i,o){(function(e){!function(t){"object"==typeof o&&void 0!==i?i.exports=t():("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(n,r,i){function o(u,s){if(!r[u]){if(!n[u]){var c="function"==typeof t&&t;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[u]={exports:{}};n[u][0].call(l.exports,(function(t){return o(n[u][1][t]||t)}),l,l.exports,e,n,r,i)}return r[u].exports}for(var a="function"==typeof t&&t,u=0;u<i.length;u++)o(i[u]);return o}({1:[function(t,i,o){(function(e){!function(t){"object"==typeof o&&void 0!==i?i.exports=t():("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(n,r,i){function o(u,s){if(!r[u]){if(!n[u]){var c="function"==typeof t&&t;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[u]={exports:{}};n[u][0].call(l.exports,(function(t){return o(n[u][1][t]||t)}),l,l.exports,e,n,r,i)}return r[u].exports}for(var a="function"==typeof t&&t,u=0;u<i.length;u++)o(i[u]);return o}({1:[function(t,i,o){(function(e){!function(t){"object"==typeof o&&void 0!==i?i.exports=t():("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(n,r,i){function o(u,s){if(!r[u]){if(!n[u]){var c="function"==typeof t&&t;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[u]={exports:{}};n[u][0].call(l.exports,(function(t){return o(n[u][1][t]||t)}),l,l.exports,e,n,r,i)}return r[u].exports}for(var a="function"==typeof t&&t,u=0;u<i.length;u++)o(i[u]);return o}({1:[function(t,i,o){(function(e){!function(t){"object"==typeof o&&void 0!==i?i.exports=t():("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(n,r,i){function o(u,s){if(!r[u]){if(!n[u]){var c="function"==typeof t&&t;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[u]={exports:{}};n[u][0].call(l.exports,(function(t){return o(n[u][1][t]||t)}),l,l.exports,e,n,r,i)}return r[u].exports}for(var a="function"==typeof t&&t,u=0;u<i.length;u++)o(i[u]);return o}({1:[function(t,i,o){(function(e){!function(t){"object"==typeof o&&void 0!==i?i.exports=t():("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function e(n,r,i){function o(u,s){if(!r[u]){if(!n[u]){var c="function"==typeof t&&t;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=r[u]={exports:{}};n[u][0].call(l.exports,(function(t){return o(n[u][1][t]||t)}),l,l.exports,e,n,r,i)}return r[u].exports}for(var a="function"==typeof t&&t,u=0;u<i.length;u++)o(i[u]);return o}({1:[function(t,e,n){"use strict";var r=t("./utils"),i=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,i,a,u,s,c,f=[],l=0,d=t.length,h=d,p="string"!==r.getTypeOf(t);l<t.length;)h=d-l,i=p?(e=t[l++],n=l<d?t[l++]:0,l<d?t[l++]:0):(e=t.charCodeAt(l++),n=l<d?t.charCodeAt(l++):0,l<d?t.charCodeAt(l++):0),a=e>>2,u=(3&e)<<4|n>>4,s=1<h?(15&n)<<2|i>>6:64,c=2<h?63&i:64,f.push(o.charAt(a)+o.charAt(u)+o.charAt(s)+o.charAt(c));return f.join("")},n.decode=function(t){var e,n,r,a,u,s,c=0,f=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var l,d=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=i.uint8array?new Uint8Array(0|d):new Array(0|d);c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(a=o.indexOf(t.charAt(c++)))>>4,n=(15&a)<<4|(u=o.indexOf(t.charAt(c++)))>>2,r=(3&u)<<6|(s=o.indexOf(t.charAt(c++))),l[f++]=e,64!==u&&(l[f++]=n),64!==s&&(l[f++]=r);return l}},{"./support":30,"./utils":32}],2:[function(t,e,n){"use strict";var r=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function u(t,e,n,r,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=i}u.prototype={getContentWorker:function(){var t=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(t,e,n){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){"use strict";var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(t){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){"use strict";var r=t("./utils"),i=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,n){var r=i,o=0+n;t^=-1;for(var a=0;a<o;a++)t=t>>>8^r[255&(t^e[a])];return-1^t}(0|e,t,t.length):function(t,e,n){var r=i,o=0+n;t^=-1;for(var a=0;a<o;a++)t=t>>>8^r[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){"use strict";var r;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),u=r?"uint8array":"array";function s(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",o.inherits(s,a),s.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(u,t.data),!1)},s.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new s("Deflate",t)},n.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){"use strict";function r(t,e){var n,r="";for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r}function i(t,e,n,i,a,f){var l,d,h=t.file,p=t.compression,g=f!==u.utf8encode,m=o.transformTo("string",f(h.name)),b=o.transformTo("string",u.utf8encode(h.name)),v=h.comment,y=o.transformTo("string",f(v)),_=o.transformTo("string",u.utf8encode(v)),w=b.length!==h.name.length,S=_.length!==v.length,O="",x="",E="",M=h.dir,T=h.date,$={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||($.crc32=t.crc32,$.compressedSize=t.compressedSize,$.uncompressedSize=t.uncompressedSize);var A=0;e&&(A|=8),g||!w&&!S||(A|=2048);var k,C=0,I=0;M&&(C|=16),"UNIX"===a?(I=798,C|=((k=h.unixPermissions)||(k=M?16893:33204),(65535&k)<<16)):(I=20,C|=63&(h.dosPermissions||0)),l=T.getUTCHours(),l<<=6,l|=T.getUTCMinutes(),l<<=5,l|=T.getUTCSeconds()/2,d=T.getUTCFullYear()-1980,d<<=4,d|=T.getUTCMonth()+1,d<<=5,d|=T.getUTCDate(),w&&(O+="up"+r((x=r(1,1)+r(s(m),4)+b).length,2)+x),S&&(O+="uc"+r((E=r(1,1)+r(s(y),4)+_).length,2)+E);var P="";return P+="\n\0",P+=r(A,2),P+=p.magic,P+=r(l,2),P+=r(d,2),P+=r($.crc32,4),P+=r($.compressedSize,4),P+=r($.uncompressedSize,4),P+=r(m.length,2),P+=r(O.length,2),{fileRecord:c.LOCAL_FILE_HEADER+P+m+O,dirRecord:c.CENTRAL_FILE_HEADER+r(I,2)+P+r(y.length,2)+"\0\0\0\0"+r(C,4)+r(i,4)+m+O+y}}var o=t("../utils"),a=t("../stream/GenericWorker"),u=t("../utf8"),s=t("../crc32"),c=t("../signature");function f(t,e,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(f,a),f.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var e,n=this.streamFiles&&!t.file.dir,o=i(t,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n)this.push({data:(e=t,c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n,i,a,u,s,f,l=this.bytesWritten-t,d=(n=this.dirRecords.length,i=l,a=t,u=this.zipComment,s=this.encodeFileName,f=o.transformTo("string",s(u)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(n,2)+r(n,2)+r(i,4)+r(a,4)+r(f.length,2)+f);this.push({data:d,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},f.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},f.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){"use strict";var r=t("../compressions"),i=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var o=new i(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,n){a++;var i=function(t,e){var n=t||e,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,e.compression),u=n.options.compressionOptions||e.compressionOptions||{},s=n.dir,c=n.date;n._compressWorker(i,u).withStreamInfo("file",{name:t,dir:s,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(r.prototype=t("./object")).loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.5.0",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){"use strict";var r=t("./utils"),i=t("./external"),o=t("./utf8"),a=t("./zipEntries"),u=t("./stream/Crc32Probe"),s=t("./nodejsUtils");function c(t){return new i.Promise((function(e,n){var r=t.decompressed.getContentWorker().pipe(new u);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var n=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),s.isNode&&s.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var n=new a(e);return n.load(t),n})).then((function(t){var n=[i.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)})).then((function(t){for(var r=t.shift(),i=r.files,o=0;o<i.length;o++){var a=i[o];n.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){"use strict";var r=t("../utils"),i=t("../stream/GenericWorker");function o(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(o,i),o.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){"use strict";var r=t("readable-stream").Readable;function i(t,e,n){r.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),n&&n(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}t("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){"use strict";e.exports={isNode:"undefined"!=typeof n,newBufferFrom:function(t,e){if(n.from&&n.from!==Uint8Array.from)return n.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new n(t,e)},allocBuffer:function(t){if(n.alloc)return n.alloc(t);var e=new n(t);return e.fill(0),e},isBuffer:function(t){return n.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){"use strict";function r(t,e,n){var r,o=a.getTypeOf(e),s=a.extend(n||{},c);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=i(t)),s.createFolders&&(r=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""}(t))&&g.call(this,r,!0);var d,m="string"===o&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!m),(e instanceof f&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",o="string"),d=e instanceof f||e instanceof u?e:h.isNode&&h.isStream(e)?new p(t,e):a.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var b=new l(t,d,s);this.files[t]=b}function i(t){return"/"!==t.slice(-1)&&(t+="/"),t}var o=t("./utf8"),a=t("./utils"),u=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),c=t("./defaults"),f=t("./compressedObject"),l=t("./zipObject"),d=t("./generate"),h=t("./nodejsUtils"),p=t("./nodejs/NodejsStreamInputAdapter"),g=function(t,e){return e=void 0!==e?e:c.createFolders,t=i(t),this.files[t]||r.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function m(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,r;for(e in this.files)this.files.hasOwnProperty(e)&&(r=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,r))},filter:function(t){var e=[];return this.forEach((function(n,r){t(n,r)&&e.push(r)})),e},file:function(t,e,n){if(1!==arguments.length)return t=this.root+t,r.call(this,t,e,n),this;if(m(t)){var i=t;return this.filter((function(t,e){return!e.dir&&i.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(m(t))return this.filter((function(e,n){return n.dir&&t.test(e)}));var e=this.root+t,n=g.call(this,e),r=this.clone();return r.root=n.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter((function(e,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=a.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");a.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";e=d.generateWorker(this,n,r)}catch(t){(e=new u("error")).error(t)}return new s(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,n){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){"use strict";var r=t("./DataReader");function i(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===e&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){"use strict";var r=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,n){"use strict";var r=t("./Uint8ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){"use strict";var r=t("./DataReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){"use strict";var r=t("./ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){"use strict";var r=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),u=t("./NodeBufferReader"),s=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new u(t):i.uint8array?new s(r.transformTo("uint8array",t)):new o(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,n){"use strict";var r=t("./GenericWorker"),i=t("../utils");function o(t){r.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,r),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){"use strict";var r=t("./GenericWorker"),i=t("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,r),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){"use strict";var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){"use strict";var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){"use strict";function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,r){"use strict";var i=t("../utils"),o=t("./ConvertWorker"),a=t("./GenericWorker"),u=t("../base64"),s=t("../support"),c=t("../external"),f=null;if(s.nodestream)try{f=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,n){var r=e;switch(e){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=e,this._mimeType=n,i.checkSupport(r),this._worker=t.pipe(new o(r)),t.lock()}catch(t){this._worker=new a("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return e=this,r=t,new c.Promise((function(t,o){var a=[],s=e._internalType,c=e._outputType,f=e._mimeType;e.on("data",(function(t,e){a.push(t),r&&r(e)})).on("error",(function(t){a=[],o(t)})).on("end",(function(){try{var e=function(t,e,n){switch(t){case"blob":return i.newBlob(i.transformTo("arraybuffer",e),n);case"base64":return u.encode(e);default:return i.transformTo(t,e)}}(c,function(t,e){var r,i=0,o=null,a=0;for(r=0;r<e.length;r++)a+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(a),r=0;r<e.length;r++)o.set(e[r],i),i+=e[r].length;return o;case"nodebuffer":return n.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,a),f);t(e)}catch(e){o(e)}a=[]})).resume()}));var e,r},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,(function(t){e.call(n,t.data,t.meta)})):this._worker.on(t,(function(){i.delay(e,arguments,n)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof n,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),r.blob=0===o.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){"use strict";for(var r=t("./utils"),i=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),u=new Array(256),s=0;s<256;s++)u[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function f(){a.call(this,"utf-8 encode")}u[254]=u[254]=1,n.utf8encode=function(t){return i.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,n,r,o,a,u=t.length,s=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(e=i.uint8array?new Uint8Array(s):new Array(s),o=a=0;a<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return i.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,i,o,a=t.length,s=new Array(2*a);for(e=n=0;e<a;)if((i=t[e++])<128)s[n++]=i;else if(4<(o=u[i]))s[n++]=65533,e+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&e<a;)i=i<<6|63&t[e++],o--;1<o?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return s.length!==n&&(s.subarray?s=s.subarray(0,n):s.length=n),r.applyFromCharCode(s)}(t=r.transformTo(i.uint8array?"uint8array":"array",t))},r.inherits(c,a),c.prototype.processChunk=function(t){var e=r.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+u[t[n]]>e?n:e}(e),s=e;a!==e.length&&(i.uint8array?(s=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(s=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(s),meta:t.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(f,a),f.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){"use strict";var r=t("./support"),i=t("./base64"),o=t("./nodejsUtils"),a=t("set-immediate-shim"),u=t("./external");function s(t){return t}function c(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}n.newBlob=function(e,r){n.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(e),i.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(t,e,n){var r=[],i=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;i<o;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function l(t){var e=65536,r=n.getTypeOf(t),i=!0;if("uint8array"===r?i=f.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=f.applyCanBeUsed.nodebuffer),i)for(;1<e;)try{return f.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return f.stringifyByChar(t)}function d(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=l;var h={};h.string={string:s,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return h.string.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:function(t){return c(t,o.allocBuffer(t.length))}},h.array={string:l,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},h.arraybuffer={string:function(t){return l(new Uint8Array(t))},array:function(t){return d(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},h.uint8array={string:l,array:function(t){return d(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return o.newBufferFrom(t)}},h.nodebuffer={string:l,array:function(t){return d(t,new Array(t.length))},arraybuffer:function(t){return h.nodebuffer.uint8array(t).buffer},uint8array:function(t){return d(t,new Uint8Array(t.length))},nodebuffer:s},n.transformTo=function(t,e){if(e=e||"",!t)return e;n.checkSupport(t);var r=n.getTypeOf(e);return h[r][t](e)},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&o.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return r},n.delay=function(t,e,n){a((function(){t.apply(n||null,e||[])}))},n.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,o,a,s){return u.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new u.Promise((function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var f,l=n.getTypeOf(e);return l?("arraybuffer"===l?e=n.transformTo("uint8array",e):"string"===l&&(s?e=i.decode(e):o&&!0!==a&&(e=c(f=e,r.uint8array?new Uint8Array(f.length):new Array(f.length)))),e):u.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),i=t("./utils"),o=t("./signature"),a=t("./zipEntry"),u=(t("./utf8"),t("./support"));function s(t){this.files=[],this.loadOptions=t}s.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=u.uint8array?"uint8array":"array",n=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=e-n;if(0<r)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),i=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),u=t("./utf8"),s=t("./compressions"),c=t("./support");function f(t,e){this.options=t,this.loadOptions=e}f.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in s)if(s.hasOwnProperty(e)&&s[e].magic===t)return s[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,n,r,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[e]={id:e,length:n,value:r};t.setIndex(i)},handleUTF8:function(){var t=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:u.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:u.utf8decode(e.readData(t.length-5))}return null}},e.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){"use strict";function r(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),a=t("./utf8"),u=t("./compressedObject"),s=t("./stream/GenericWorker");r.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(e=e.pipe(new a.Utf8EncodeWorker)),!o&&r&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new s("error")).error(t)}return new i(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof u&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),u.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof s?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<c.length;l++)r.prototype[c[l]]=f;e.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,n,r){(function(t){"use strict";var e,r,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,a=new i(f),u=t.document.createTextNode("");a.observe(u,{characterData:!0}),e=function(){u.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){f(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(f,0)};else{var s=new t.MessageChannel;s.port1.onmessage=f,e=function(){s.port2.postMessage(0)}}var c=[];function f(){var t,e;r=!0;for(var n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}r=!1}n.exports=function(t){1!==c.push(t)||r||e()}}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){"use strict";var r=t("immediate");function i(){}var o={},a=["REJECTED"],u=["FULFILLED"],s=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,t!==i&&h(this,t)}function f(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function l(t,e,n){r((function(){var r;try{r=e(n)}catch(r){return o.reject(t,r)}r===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,r)}))}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function h(t,e){var n=!1;function r(e){n||(n=!0,o.reject(t,e))}function i(e){n||(n=!0,o.resolve(t,e))}var a=p((function(){e(i,r)}));"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}(e.exports=c).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))},c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===u||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(i);return this.state!==s?l(n,this.state===u?t:e,this.outcome):this.queue.push(new f(n,t,e)),n},f.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){l(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){o.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){l(this.promise,this.onRejected,t)},o.resolve=function(t,e){var n=p(d,e);if("error"===n.status)return o.reject(t,n.value);var r=n.value;if(r)h(t,r);else{t.state=u,t.outcome=e;for(var i=-1,a=t.queue.length;++i<a;)t.queue[i].callFulfilled(e)}return t},o.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:o.resolve(new this(i),t)},c.reject=function(t){var e=new this(i);return o.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),u=0,s=-1,c=new this(i);++s<n;)f(t[s],s);return c;function f(t,i){e.resolve(t).then((function(t){a[i]=t,++u!==n||r||(r=!0,o.resolve(c,a))}),(function(t){r||(r=!0,o.reject(c,t))}))}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,n=!1;if(!e)return this.resolve([]);for(var r,a=-1,u=new this(i);++a<e;)r=t[a],this.resolve(r).then((function(t){n||(n=!0,o.resolve(u,t))}),(function(t){n||(n=!0,o.reject(u,t))}));return u}},{immediate:36}],38:[function(t,e,n){"use strict";var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){"use strict";var r=t("./zlib/deflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),u=t("./zlib/zstream"),s=Object.prototype.toString,c=0,f=-1,l=0,d=8;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({level:f,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==c)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===s.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}h.prototype.push=function(t,e){var n,a,u=this.strm,f=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?u.input=o.string2buf(t):"[object ArrayBuffer]"===s.call(t)?u.input=new Uint8Array(t):u.input=t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new i.Buf8(f),u.next_out=0,u.avail_out=f),1!==(n=r.deflate(u,a))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==u.avail_out&&(0!==u.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(u.output,u.next_out))):this.onData(i.shrinkBuf(u.output,u.next_out)))}while((0<u.avail_in||0===u.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),!(u.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=h,n.deflate=p,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){"use strict";var r=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),u=t("./zlib/messages"),s=t("./zlib/zstream"),c=t("./zlib/gzheader"),f=Object.prototype.toString;function l(t){if(!(this instanceof l))return new l(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(u[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function d(t,e){var n=new l(e);if(n.push(t,!0),n.err)throw n.msg||u[n.err];return n.result}l.prototype.push=function(t,e){var n,u,s,c,l,d,h=this.strm,p=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;u=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?h.input=o.binstring2buf(t):"[object ArrayBuffer]"===f.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&g&&(d="string"==typeof g?o.string2buf(g):"[object ArrayBuffer]"===f.call(g)?new Uint8Array(g):g,n=r.inflateSetDictionary(this.strm,d)),n===a.Z_BUF_ERROR&&!0===m&&(n=a.Z_OK,m=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||u!==a.Z_FINISH&&u!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(s=o.utf8border(h.output,h.next_out),c=h.next_out-s,l=o.buf2string(h.output,s),h.next_out=c,h.avail_out=p-c,c&&i.arraySet(h.output,h.output,s,c,0),this.onData(l)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((0<h.avail_in||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(u=a.Z_FINISH),u===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):u!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(h.avail_out=0))},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=l,n.inflate=d,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},n.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),i);else for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(e=r=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),e=i=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},o={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(t,e,n){"use strict";var r=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),u=0;u<256;u++)a[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function s(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,i,o,a,u=t.length,s=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(s),o=a=0;a<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return s(t,t.length)},n.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,r,i,o,u=e||t.length,c=new Array(2*u);for(n=r=0;n<u;)if((i=t[n++])<128)c[r++]=i;else if(4<(o=a[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<u;)i=i<<6|63&t[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return s(c,r)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){"use strict";e.exports=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+e[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(t,e,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,n){"use strict";var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,i){var o=r,a=i+n;t^=-1;for(var u=i;u<a;u++)t=t>>>8^o[255&(t^e[u])];return-1^t}},{}],46:[function(t,e,n){"use strict";var r,i=t("../utils/common"),o=t("./trees"),a=t("./adler32"),u=t("./crc32"),s=t("./messages"),c=0,f=0,l=-2,d=2,h=8,p=286,g=30,m=19,b=2*p+1,v=15,y=3,_=258,w=_+y+1,S=42,O=113;function x(t,e){return t.msg=s[e],e}function E(t){return(t<<1)-(4<t?9:0)}function M(t){for(var e=t.length;0<=--e;)t[e]=0}function T(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function $(t,e){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,T(t.strm)}function A(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function C(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,u=t.nice_match,s=t.strstart>t.w_size-w?t.strstart-(t.w_size-w):0,c=t.window,f=t.w_mask,l=t.prev,d=t.strstart+_,h=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),u>t.lookahead&&(u=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===h&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=_-(d-o),o=d-_,a<r){if(t.match_start=e,u<=(a=r))break;h=c[o+a-1],p=c[o+a]}}}while((e=l[e&f])>s&&0!=--i);return a<=t.lookahead?a:t.lookahead}function I(t){var e,n,r,o,s,c,f,l,d,h,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-w)){for(i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=n=t.hash_size;r=t.head[--e],t.head[e]=p<=r?r-p:0,--n;);for(e=n=p;r=t.prev[--e],t.prev[e]=p<=r?r-p:0,--n;);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,f=t.window,l=t.strstart+t.lookahead,h=void 0,(d=o)<(h=c.avail_in)&&(h=d),n=0===h?0:(c.avail_in-=h,i.arraySet(f,c.input,c.next_in,h,l),1===c.state.wrap?c.adler=a(c.adler,f,h,l):2===c.state.wrap&&(c.adler=u(c.adler,f,h,l)),c.next_in+=h,c.total_in+=h,h),t.lookahead+=n,t.lookahead+t.insert>=y)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+y-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<y)););}while(t.lookahead<w&&0!==t.strm.avail_in)}function P(t,e){for(var n,r;;){if(t.lookahead<w){if(I(t),t.lookahead<w&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=y&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-w&&(t.match_length=C(t,n)),t.match_length>=y)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&($(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<y-1?t.strstart:y-1,4===e?($(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&($(t,!1),0===t.strm.avail_out)?1:2}function N(t,e){for(var n,r,i;;){if(t.lookahead<w){if(I(t),t.lookahead<w&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=y&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=y-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-w&&(t.match_length=C(t,n),t.match_length<=5&&(1===t.strategy||t.match_length===y&&4096<t.strstart-t.match_start)&&(t.match_length=y-1)),t.prev_length>=y&&t.match_length<=t.prev_length){for(i=t.strstart+t.lookahead-y,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+y-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=y-1,t.strstart++,r&&($(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&$(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<y-1?t.strstart:y-1,4===e?($(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&($(t,!1),0===t.strm.avail_out)?1:2}function R(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function j(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=h,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*b),this.dyn_dtree=new i.Buf16(2*(2*g+1)),this.bl_tree=new i.Buf16(2*(2*m+1)),M(this.dyn_ltree),M(this.dyn_dtree),M(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(v+1),this.heap=new i.Buf16(2*p+1),M(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*p+1),M(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function D(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=d,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?S:O,t.adler=2===e.wrap?0:1,e.last_flush=c,o._tr_init(e),f):x(t,l)}function L(t){var e,n=D(t);return n===f&&((e=t.state).window_size=2*e.w_size,M(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=y-1,e.match_available=0,e.ins_h=0),n}function F(t,e,n,r,o,a){if(!t)return l;var u=1;if(-1===e&&(e=6),r<0?(u=0,r=-r):15<r&&(u=2,r-=16),o<1||9<o||n!==h||r<8||15<r||e<0||9<e||a<0||4<a)return x(t,l);8===r&&(r=9);var s=new j;return(t.state=s).strm=t,s.wrap=u,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+y-1)/y),s.window=new i.Buf8(2*s.w_size),s.head=new i.Buf16(s.hash_size),s.prev=new i.Buf16(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new i.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=a,s.method=n,L(t)}r=[new R(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(I(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,$(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-w&&($(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?($(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&($(t,!1),t.strm.avail_out),1)})),new R(4,4,8,4,P),new R(4,5,16,8,P),new R(4,6,32,32,P),new R(4,4,16,16,N),new R(8,16,32,32,N),new R(8,16,128,128,N),new R(8,32,128,256,N),new R(32,128,258,1024,N),new R(32,258,258,4096,N)],n.deflateInit=function(t,e){return F(t,e,h,15,8,0)},n.deflateInit2=F,n.deflateReset=L,n.deflateResetKeep=D,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?l:(t.state.gzhead=e,f):l},n.deflate=function(t,e){var n,i,a,s;if(!t||!t.state||5<e||e<0)return t?x(t,l):l;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return x(t,0===t.avail_out?-5:l);if(i.strm=t,n=i.last_flush,i.last_flush=e,i.status===S)if(2===i.wrap)t.adler=0,A(i,31),A(i,139),A(i,8),i.gzhead?(A(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),A(i,255&i.gzhead.time),A(i,i.gzhead.time>>8&255),A(i,i.gzhead.time>>16&255),A(i,i.gzhead.time>>24&255),A(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),A(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(A(i,255&i.gzhead.extra.length),A(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=u(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(A(i,0),A(i,0),A(i,0),A(i,0),A(i,0),A(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),A(i,3),i.status=O);else{var d=h+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=O,k(i,d),0!==i.strstart&&(k(i,t.adler>>>16),k(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),T(t),a=i.pending,i.pending!==i.pending_buf_size));)A(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),T(t),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,A(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),T(t),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,A(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(t.adler=u(t.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&T(t),i.pending+2<=i.pending_buf_size&&(A(i,255&t.adler),A(i,t.adler>>8&255),t.adler=0,i.status=O)):i.status=O),0!==i.pending){if(T(t),0===t.avail_out)return i.last_flush=-1,f}else if(0===t.avail_in&&E(e)<=E(n)&&4!==e)return x(t,-5);if(666===i.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==c&&666!==i.status){var p=2===i.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(I(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&($(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?($(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&($(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var n,r,i,a,u=t.window;;){if(t.lookahead<=_){if(I(t),t.lookahead<=_&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0<t.strstart&&(r=u[i=t.strstart-1])===u[++i]&&r===u[++i]&&r===u[++i]){a=t.strstart+_;do{}while(r===u[++i]&&r===u[++i]&&r===u[++i]&&r===u[++i]&&r===u[++i]&&r===u[++i]&&r===u[++i]&&r===u[++i]&&i<a);t.match_length=_-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(n=o._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&($(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?($(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&($(t,!1),0===t.strm.avail_out)?1:2}(i,e):r[i.level].func(i,e);if(3!==p&&4!==p||(i.status=666),1===p||3===p)return 0===t.avail_out&&(i.last_flush=-1),f;if(2===p&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(M(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),T(t),0===t.avail_out))return i.last_flush=-1,f}return 4!==e?f:i.wrap<=0?1:(2===i.wrap?(A(i,255&t.adler),A(i,t.adler>>8&255),A(i,t.adler>>16&255),A(i,t.adler>>24&255),A(i,255&t.total_in),A(i,t.total_in>>8&255),A(i,t.total_in>>16&255),A(i,t.total_in>>24&255)):(k(i,t.adler>>>16),k(i,65535&t.adler)),T(t),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?f:1)},n.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==S&&69!==e&&73!==e&&91!==e&&103!==e&&e!==O&&666!==e?x(t,l):(t.state=null,e===O?x(t,-3):f):l},n.deflateSetDictionary=function(t,e){var n,r,o,u,s,c,d,h,p=e.length;if(!t||!t.state)return l;if(2===(u=(n=t.state).wrap)||1===u&&n.status!==S||n.lookahead)return l;for(1===u&&(t.adler=a(t.adler,e,p,0)),n.wrap=0,p>=n.w_size&&(0===u&&(M(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,e,p-n.w_size,n.w_size,0),e=h,p=n.w_size),s=t.avail_in,c=t.next_in,d=t.input,t.avail_in=p,t.next_in=0,t.input=e,I(n);n.lookahead>=y;){for(r=n.strstart,o=n.lookahead-(y-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+y-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=y-1,I(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=y-1,n.match_available=0,t.next_in=c,t.input=d,t.avail_in=s,n.wrap=u,f},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,n){"use strict";e.exports=function(t,e){var n,r,i,o,a,u,s,c,f,l,d,h,p,g,m,b,v,y,_,w,S,O,x,E,M;n=t.state,r=t.next_in,E=t.input,i=r+(t.avail_in-5),o=t.next_out,M=t.output,a=o-(e-t.avail_out),u=o+(t.avail_out-257),s=n.dmax,c=n.wsize,f=n.whave,l=n.wnext,d=n.window,h=n.hold,p=n.bits,g=n.lencode,m=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;t:do{p<15&&(h+=E[r++]<<p,p+=8,h+=E[r++]<<p,p+=8),y=g[h&b];e:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))M[o++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue e}if(32&_){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}w=65535&y,(_&=15)&&(p<_&&(h+=E[r++]<<p,p+=8),w+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=E[r++]<<p,p+=8,h+=E[r++]<<p,p+=8),y=m[h&v];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=m[(65535&y)+(h&(1<<_)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(S=65535&y,p<(_&=15)&&(h+=E[r++]<<p,(p+=8)<_&&(h+=E[r++]<<p,p+=8)),s<(S+=h&(1<<_)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(h>>>=_,p-=_,(_=o-a)<S){if(f<(_=S-_)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(x=d,(O=0)===l){if(O+=c-_,_<w){for(w-=_;M[o++]=d[O++],--_;);O=o-S,x=M}}else if(l<_){if(O+=c+l-_,(_-=l)<w){for(w-=_;M[o++]=d[O++],--_;);if(O=0,l<w){for(w-=_=l;M[o++]=d[O++],--_;);O=o-S,x=M}}}else if(O+=l-_,_<w){for(w-=_;M[o++]=d[O++],--_;);O=o-S,x=M}for(;2<w;)M[o++]=x[O++],M[o++]=x[O++],M[o++]=x[O++],w-=3;w&&(M[o++]=x[O++],1<w&&(M[o++]=x[O++]))}else{for(O=o-S;M[o++]=M[O++],M[o++]=M[O++],M[o++]=M[O++],2<(w-=3););w&&(M[o++]=M[O++],1<w&&(M[o++]=M[O++]))}break}}break}}while(r<i&&o<u);r-=w=p>>3,h&=(1<<(p-=w<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=o<u?u-o+257:257-(o-u),n.hold=h,n.bits=p}},{}],49:[function(t,e,n){"use strict";var r=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),u=t("./inftrees"),s=1,c=2,f=0,l=-2,d=1,h=852,p=592;function g(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=d,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(h),e.distcode=e.distdyn=new r.Buf32(p),e.sane=1,e.back=-1,f):l}function v(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,b(t)):l}function y(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?l:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,v(t))):l}function _(t,e){var n,r;return t?(r=new m,(t.state=r).window=null,(n=y(t,e))!==f&&(t.state=null),n):l}var w,S,O=!0;function x(t){if(O){var e;for(w=new r.Buf32(512),S=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(u(s,t.lens,0,288,w,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;u(c,t.lens,0,32,S,0,t.work,{bits:5}),O=!1}t.lencode=w,t.lenbits=9,t.distcode=S,t.distbits=5}function E(t,e,n,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,e,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,e,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=b,n.inflateInit=function(t){return _(t,15)},n.inflateInit2=_,n.inflate=function(t,e){var n,h,p,m,b,v,y,_,w,S,O,M,T,$,A,k,C,I,P,N,R,j,D,L,F=0,B=new r.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return l;12===(n=t.state).mode&&(n.mode=13),b=t.next_out,p=t.output,y=t.avail_out,m=t.next_in,h=t.input,v=t.avail_in,_=n.hold,w=n.bits,S=v,O=y,j=f;t:for(;;)switch(n.mode){case d:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(2&n.wrap&&35615===_){B[n.check=0]=255&_,B[1]=_>>>8&255,n.check=o(n.check,B,2,0),w=_=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&_)){t.msg="unknown compression method",n.mode=30;break}if(w-=4,R=8+(15&(_>>>=4)),0===n.wbits)n.wbits=R;else if(R>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<R,t.adler=n.check=1,n.mode=512&_?10:12,w=_=0;break;case 2:for(;w<16;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(n.flags=_,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=_>>8&1),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=o(n.check,B,2,0)),w=_=0,n.mode=3;case 3:for(;w<32;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.head&&(n.head.time=_),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,B[2]=_>>>16&255,B[3]=_>>>24&255,n.check=o(n.check,B,4,0)),w=_=0,n.mode=4;case 4:for(;w<16;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.head&&(n.head.xflags=255&_,n.head.os=_>>8),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=o(n.check,B,2,0)),w=_=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.length=_,n.head&&(n.head.extra_len=_),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=o(n.check,B,2,0)),w=_=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(M=n.length)&&(M=v),M&&(n.head&&(R=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,m,M,R)),512&n.flags&&(n.check=o(n.check,h,M,m)),v-=M,m+=M,n.length-=M),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break t;for(M=0;R=h[m+M++],n.head&&R&&n.length<65536&&(n.head.name+=String.fromCharCode(R)),R&&M<v;);if(512&n.flags&&(n.check=o(n.check,h,M,m)),v-=M,m+=M,R)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break t;for(M=0;R=h[m+M++],n.head&&R&&n.length<65536&&(n.head.comment+=String.fromCharCode(R)),R&&M<v;);if(512&n.flags&&(n.check=o(n.check,h,M,m)),v-=M,m+=M,R)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(_!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}w=_=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}t.adler=n.check=g(_),w=_=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=b,t.avail_out=y,t.next_in=m,t.avail_in=v,n.hold=_,n.bits=w,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){_>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}switch(n.last=1&_,w-=1,3&(_>>>=1)){case 0:n.mode=14;break;case 1:if(x(n),n.mode=20,6!==e)break;_>>>=2,w-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}_>>>=2,w-=2;break;case 14:for(_>>>=7&w,w-=7&w;w<32;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if((65535&_)!=(_>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&_,w=_=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(M=n.length){if(v<M&&(M=v),y<M&&(M=y),0===M)break t;r.arraySet(p,h,m,M,b),v-=M,m+=M,y-=M,b+=M,n.length-=M;break}n.mode=12;break;case 17:for(;w<14;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(n.nlen=257+(31&_),_>>>=5,w-=5,n.ndist=1+(31&_),_>>>=5,w-=5,n.ncode=4+(15&_),_>>>=4,w-=4,286<n.nlen||30<n.ndist){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.lens[U[n.have++]]=7&_,_>>>=3,w-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,D={bits:n.lenbits},j=u(0,n.lens,0,19,n.lencode,0,n.work,D),n.lenbits=D.bits,j){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(F=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((A=F>>>24)<=w);){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(C<16)_>>>=A,w-=A,n.lens[n.have++]=C;else{if(16===C){for(L=A+2;w<L;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(_>>>=A,w-=A,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}R=n.lens[n.have-1],M=3+(3&_),_>>>=2,w-=2}else if(17===C){for(L=A+3;w<L;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}w-=A,R=0,M=3+(7&(_>>>=A)),_>>>=3,w-=3}else{for(L=A+7;w<L;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}w-=A,R=0,M=11+(127&(_>>>=A)),_>>>=7,w-=7}if(n.have+M>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;M--;)n.lens[n.have++]=R}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,D={bits:n.lenbits},j=u(s,n.lens,0,n.nlen,n.lencode,0,n.work,D),n.lenbits=D.bits,j){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,D={bits:n.distbits},j=u(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,D),n.distbits=D.bits,j){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=v&&258<=y){t.next_out=b,t.avail_out=y,t.next_in=m,t.avail_in=v,n.hold=_,n.bits=w,a(t,O),b=t.next_out,p=t.output,y=t.avail_out,m=t.next_in,h=t.input,v=t.avail_in,_=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(F=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((A=F>>>24)<=w);){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(k&&0==(240&k)){for(I=A,P=k,N=C;k=(F=n.lencode[N+((_&(1<<I+P)-1)>>I)])>>>16&255,C=65535&F,!(I+(A=F>>>24)<=w);){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}_>>>=I,w-=I,n.back+=I}if(_>>>=A,w-=A,n.back+=A,n.length=C,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=12;break}if(64&k){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(L=n.extra;w<L;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.length+=_&(1<<n.extra)-1,_>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(F=n.distcode[_&(1<<n.distbits)-1])>>>16&255,C=65535&F,!((A=F>>>24)<=w);){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(0==(240&k)){for(I=A,P=k,N=C;k=(F=n.distcode[N+((_&(1<<I+P)-1)>>I)])>>>16&255,C=65535&F,!(I+(A=F>>>24)<=w);){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}_>>>=I,w-=I,n.back+=I}if(_>>>=A,w-=A,n.back+=A,64&k){t.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(L=n.extra;w<L;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}n.offset+=_&(1<<n.extra)-1,_>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break t;if(M=O-y,n.offset>M){if((M=n.offset-M)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}T=M>n.wnext?(M-=n.wnext,n.wsize-M):n.wnext-M,M>n.length&&(M=n.length),$=n.window}else $=p,T=b-n.offset,M=n.length;for(y<M&&(M=y),y-=M,n.length-=M;p[b++]=$[T++],--M;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break t;p[b++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===v)break t;v--,_|=h[m++]<<w,w+=8}if(O-=y,t.total_out+=O,n.total+=O,O&&(t.adler=n.check=n.flags?o(n.check,p,O,b-O):i(n.check,p,O,b-O)),O=y,(n.flags?_:g(_))!==n.check){t.msg="incorrect data check",n.mode=30;break}w=_=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===v)break t;v--,_+=h[m++]<<w,w+=8}if(_!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}w=_=0}n.mode=29;case 29:j=1;break t;case 30:j=-3;break t;case 31:return-4;case 32:default:return l}return t.next_out=b,t.avail_out=y,t.next_in=m,t.avail_in=v,n.hold=_,n.bits=w,(n.wsize||O!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&E(t,t.output,t.next_out,O-t.avail_out)?(n.mode=31,-4):(S-=t.avail_in,O-=t.avail_out,t.total_in+=S,t.total_out+=O,n.total+=O,n.wrap&&O&&(t.adler=n.check=n.flags?o(n.check,p,O,t.next_out-O):i(n.check,p,O,t.next_out-O)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==S&&0===O||4===e)&&j===f&&(j=-5),j)},n.inflateEnd=function(t){if(!t||!t.state)return l;var e=t.state;return e.window&&(e.window=null),t.state=null,f},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?l:((n.head=e).done=!1,f):l},n.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?l:11===n.mode&&i(1,e,r,0)!==n.check?-3:E(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,f):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){"use strict";var r=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,n,s,c,f,l,d){var h,p,g,m,b,v,y,_,w,S=d.bits,O=0,x=0,E=0,M=0,T=0,$=0,A=0,k=0,C=0,I=0,P=null,N=0,R=new r.Buf16(16),j=new r.Buf16(16),D=null,L=0;for(O=0;O<=15;O++)R[O]=0;for(x=0;x<s;x++)R[e[n+x]]++;for(T=S,M=15;1<=M&&0===R[M];M--);if(M<T&&(T=M),0===M)return c[f++]=20971520,c[f++]=20971520,d.bits=1,0;for(E=1;E<M&&0===R[E];E++);for(T<E&&(T=E),O=k=1;O<=15;O++)if(k<<=1,(k-=R[O])<0)return-1;if(0<k&&(0===t||1!==M))return-1;for(j[1]=0,O=1;O<15;O++)j[O+1]=j[O]+R[O];for(x=0;x<s;x++)0!==e[n+x]&&(l[j[e[n+x]]++]=x);if(v=0===t?(P=D=l,19):1===t?(P=i,N-=257,D=o,L-=257,256):(P=a,D=u,-1),O=E,b=f,A=x=I=0,g=-1,m=(C=1<<($=T))-1,1===t&&852<C||2===t&&592<C)return 1;for(;;){for(y=O-A,w=l[x]<v?(_=0,l[x]):l[x]>v?(_=D[L+l[x]],P[N+l[x]]):(_=96,0),h=1<<O-A,E=p=1<<$;c[b+(I>>A)+(p-=h)]=y<<24|_<<16|w|0,0!==p;);for(h=1<<O-1;I&h;)h>>=1;if(0!==h?(I&=h-1,I+=h):I=0,x++,0==--R[O]){if(O===M)break;O=e[n+l[x]]}if(T<O&&(I&m)!==g){for(0===A&&(A=T),b+=E,k=1<<($=O-A);$+A<M&&!((k-=R[$+A])<=0);)$++,k<<=1;if(C+=1<<$,1===t&&852<C||2===t&&592<C)return 1;c[g=I&m]=T<<24|$<<16|b-f|0}}return 0!==I&&(c[b+I]=O-A<<24|64<<16|0),d.bits=T,0}},{"../utils/common":41}],51:[function(t,e,n){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,n){"use strict";var r=t("../utils/common");function i(t){for(var e=t.length;0<=--e;)t[e]=0}var o=15,a=16,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var d=new Array(60);i(d);var h=new Array(512);i(h);var p=new Array(256);i(p);var g=new Array(29);i(g);var m,b,v,y=new Array(30);function _(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function S(t){return t<256?h[t]:h[256+(t>>>7)]}function O(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function x(t,e,n){t.bi_valid>a-n?(t.bi_buf|=e<<t.bi_valid&65535,O(t,t.bi_buf),t.bi_buf=e>>a-t.bi_valid,t.bi_valid+=n-a):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function E(t,e,n){x(t,n[2*e],n[2*e+1])}function M(t,e){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--e;);return n>>>1}function T(t,e,n){var r,i,a=new Array(o+1),u=0;for(r=1;r<=o;r++)a[r]=u=u+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=M(a[s]++,s))}}function $(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function A(t){8<t.bi_valid?O(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function k(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function C(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&k(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!k(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function I(t,e,n){var r,i,o,a,c=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*c]<<8|t.pending_buf[t.d_buf+2*c+1],i=t.pending_buf[t.l_buf+c],c++,0===r?E(t,i,e):(E(t,(o=p[i])+256+1,e),0!==(a=u[o])&&x(t,i-=g[o],a),E(t,o=S(--r),n),0!==(a=s[o])&&x(t,r-=y[o],a)),c<t.last_lit;);E(t,256,e)}function P(t,e){var n,r,i,a=e.dyn_tree,u=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,f=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<c;n++)0!==a[2*n]?(t.heap[++t.heap_len]=f=n,t.depth[n]=0):a[2*n+1]=0;for(;t.heap_len<2;)a[2*(i=t.heap[++t.heap_len]=f<2?++f:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=u[2*i+1]);for(e.max_code=f,n=t.heap_len>>1;1<=n;n--)C(t,a,n);for(i=c;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],C(t,a,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,a[2*i]=a[2*n]+a[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,a[2*n+1]=a[2*r+1]=i,t.heap[1]=i++,C(t,a,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,a,u,s,c=e.dyn_tree,f=e.max_code,l=e.stat_desc.static_tree,d=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,g=e.stat_desc.max_length,m=0;for(a=0;a<=o;a++)t.bl_count[a]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)g<(a=c[2*c[2*(r=t.heap[n])+1]+1]+1)&&(a=g,m++),c[2*r+1]=a,f<r||(t.bl_count[a]++,u=0,p<=r&&(u=h[r-p]),s=c[2*r],t.opt_len+=s*(a+u),d&&(t.static_len+=s*(l[2*r+1]+u)));if(0!==m){do{for(a=g-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[g]--,m-=2}while(0<m);for(a=g;0!==a;a--)for(r=t.bl_count[a];0!==r;)f<(i=t.heap[--n])||(c[2*i+1]!==a&&(t.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(t,e),T(a,f,t.bl_count)}function N(t,e,n){var r,i,o=-1,a=e[1],u=0,s=7,c=4;for(0===a&&(s=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++u<s&&i===a||(u<c?t.bl_tree[2*i]+=u:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):u<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=i,c=(u=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4))}function R(t,e,n){var r,i,o=-1,a=e[1],u=0,s=7,c=4;for(0===a&&(s=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++u<s&&i===a)){if(u<c)for(;E(t,i,t.bl_tree),0!=--u;);else 0!==i?(i!==o&&(E(t,i,t.bl_tree),u--),E(t,16,t.bl_tree),x(t,u-3,2)):u<=10?(E(t,17,t.bl_tree),x(t,u-3,3)):(E(t,18,t.bl_tree),x(t,u-11,7));o=i,c=(u=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4)}}i(y);var j=!1;function D(t,e,n,i){var o,a,u;x(t,0+(i?1:0),3),a=e,u=n,A(o=t),O(o,u),O(o,~u),r.arraySet(o.pending_buf,o.window,a,u,o.pending),o.pending+=u}n._tr_init=function(t){j||(function(){var t,e,n,r,i,a=new Array(o+1);for(r=n=0;r<28;r++)for(g[r]=n,t=0;t<1<<u[r];t++)p[n++]=r;for(p[n-1]=r,r=i=0;r<16;r++)for(y[r]=i,t=0;t<1<<s[r];t++)h[i++]=r;for(i>>=7;r<30;r++)for(y[r]=i<<7,t=0;t<1<<s[r]-7;t++)h[256+i++]=r;for(e=0;e<=o;e++)a[e]=0;for(t=0;t<=143;)l[2*t+1]=8,t++,a[8]++;for(;t<=255;)l[2*t+1]=9,t++,a[9]++;for(;t<=279;)l[2*t+1]=7,t++,a[7]++;for(;t<=287;)l[2*t+1]=8,t++,a[8]++;for(T(l,287,a),t=0;t<30;t++)d[2*t+1]=5,d[2*t]=M(t,5);m=new _(l,u,257,286,o),b=new _(d,s,0,30,o),v=new _(new Array(0),c,0,19,7)}(),j=!0),t.l_desc=new w(t.dyn_ltree,m),t.d_desc=new w(t.dyn_dtree,b),t.bl_desc=new w(t.bl_tree,v),t.bi_buf=0,t.bi_valid=0,$(t)},n._tr_stored_block=D,n._tr_flush_block=function(t,e,n,r){var i,o,a=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),P(t,t.l_desc),P(t,t.d_desc),a=function(t){var e;for(N(t,t.dyn_ltree,t.l_desc.max_code),N(t,t.dyn_dtree,t.d_desc.max_code),P(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==e?D(t,e,n,r):4===t.strategy||o===i?(x(t,2+(r?1:0),3),I(t,l,d)):(x(t,4+(r?1:0),3),function(t,e,n,r){var i;for(x(t,e-257,5),x(t,n-1,5),x(t,r-4,4),i=0;i<r;i++)x(t,t.bl_tree[2*f[i]+1],3);R(t,t.dyn_ltree,e-1),R(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),I(t,t.dyn_ltree,t.dyn_dtree)),$(t),r&&A(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(p[n]+256+1)]++,t.dyn_dtree[2*S(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){var e;x(t,2,3),E(t,256,l),16===(e=t).bi_valid?(O(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,n){"use strict";e.exports="function"==typeof r?r:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}).call(this,n(59),n(29).Buffer,n(447).setImmediate)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(14),i=n(109),o=n(82);function a(t){return new i.ApolloLink((function(e,n){return new o.a((function(r){var i,o,a;try{i=n(e).subscribe({next:function(i){i.errors&&(a=t({graphQLErrors:i.errors,response:i,operation:e,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=t({operation:e,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(u){t({networkError:u,operation:e,forward:n}),r.error(u)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(t){function e(e){var n=t.call(this)||this;return n.link=a(e),n}Object(r.c)(e,t),e.prototype.request=function(t,e){return this.link.request(t,e)}}(i.ApolloLink)},function(t,e,n){var r=n(957),i=n(958),o=n(522),a=n(959);t.exports=function(t){return r(t)||i(t)||o(t)||a()}},function(t,e,n){var r=n(960),i=n(961),o=n(522),a=n(962);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(963),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(t&&e){var n=Array.isArray(e)?e:e.split(","),r=t.name||"",i=(t.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(t){var e=t.trim().toLowerCase();return"."===e.charAt(0)?r.toLowerCase().endsWith(e):e.endsWith("/*")?o===e.replace(/\/.*$/,""):i===e}))}return!0}},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){var r={};for(var i in n)r[i]=n[i];return r[t]=e,r}));e.a=i},function(t,e,n){var r;!function(i,o){"use strict";var a="function",u="undefined",s="object",c="string",f="model",l="name",d="type",h="vendor",p="version",g="architecture",m="console",b="mobile",v="tablet",y="smarttv",_="wearable",w="embedded",S="Amazon",O="Apple",x="ASUS",E="BlackBerry",M="Firefox",T="Google",$="Huawei",A="LG",k="Microsoft",C="Motorola",I="Opera",P="Samsung",N="Sony",R="Xiaomi",j="Zebra",D="Facebook",L=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},F=function(t,e){return typeof t===c&&-1!==B(e).indexOf(B(t))},B=function(t){return t.toLowerCase()},U=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===u?t:t.substring(0,255)},z=function(t,e){for(var n,r,i,u,c,f,l=0;l<e.length&&!c;){var d=e[l],h=e[l+1];for(n=r=0;n<d.length&&!c;)if(c=d[n++].exec(t))for(i=0;i<h.length;i++)f=c[++r],typeof(u=h[i])===s&&u.length>0?2===u.length?typeof u[1]==a?this[u[0]]=u[1].call(this,f):this[u[0]]=u[1]:3===u.length?typeof u[1]!==a||u[1].exec&&u[1].test?this[u[0]]=f?f.replace(u[1],u[2]):o:this[u[0]]=f?u[1].call(this,f,u[2]):o:4===u.length&&(this[u[0]]=f?u[3].call(this,f.replace(u[1],u[2])):o):this[u]=f||o;l+=2}},H=function(t,e){for(var n in e)if(typeof e[n]===s&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(F(e[n][r],t))return"?"===n?o:n}else if(F(e[n],t))return"?"===n?o:n;return t},V={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,p],[/opios[\/ ]+([\w\.]+)/i],[p,[l,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[l,I]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[l,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[l,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[l,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[l,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[l,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[l,M]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,D],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[l,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[l,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[p,H,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,B]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",B]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,B]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[h,P],[d,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[h,P],[d,b]],[/\((ip(?:hone|od)[\w ]*);/i],[f,[h,O],[d,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,O],[d,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[h,$],[d,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[f,[h,$],[d,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[h,R],[d,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[h,R],[d,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,"OPPO"],[d,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,"Vivo"],[d,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[h,"Realme"],[d,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,C],[d,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,C],[d,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,A],[d,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,A],[d,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[h,"Lenovo"],[d,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[h,"Nokia"],[d,b]],[/(pixel c)\b/i],[f,[h,T],[d,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,T],[d,b]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,N],[d,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[h,N],[d,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,"OnePlus"],[d,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,S],[d,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[h,S],[d,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[d,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,E],[d,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,x],[d,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,x],[d,b]],[/(nexus 9)/i],[f,[h,"HTC"],[d,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[h,[f,/_/g," "],[d,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,"Acer"],[d,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,"Meizu"],[d,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,"Sharp"],[d,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[d,b]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,f,[d,v]],[/(surface duo)/i],[f,[h,k],[d,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,"Fairphone"],[d,b]],[/(u304aa)/i],[f,[h,"AT&T"],[d,b]],[/\bsie-(\w*)/i],[f,[h,"Siemens"],[d,b]],[/\b(rct\w+) b/i],[f,[h,"RCA"],[d,v]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,"Dell"],[d,v]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,"Verizon"],[d,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,"Barnes & Noble"],[d,v]],[/\b(tm\d{3}\w+) b/i],[f,[h,"NuVision"],[d,v]],[/\b(k88) b/i],[f,[h,"ZTE"],[d,v]],[/\b(nx\d{3}j) b/i],[f,[h,"ZTE"],[d,b]],[/\b(gen\d{3}) b.+49h/i],[f,[h,"Swiss"],[d,b]],[/\b(zur\d{3}) b/i],[f,[h,"Swiss"],[d,v]],[/\b((zeki)?tb.*\b) b/i],[f,[h,"Zeki"],[d,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],f,[d,v]],[/\b(ns-?\w{0,9}) b/i],[f,[h,"Insignia"],[d,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,"NextBook"],[d,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],f,[d,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],f,[d,b]],[/\b(ph-1) /i],[f,[h,"Essential"],[d,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,"Envizen"],[d,v]],[/\b(trio[-\w\. ]+) b/i],[f,[h,"MachSpeed"],[d,v]],[/\btu_(1491) b/i],[f,[h,"Rotor"],[d,v]],[/(shield[\w ]+) b/i],[f,[h,"Nvidia"],[d,v]],[/(sprint) (\w+)/i],[h,f,[d,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[h,k],[d,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,j],[d,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,j],[d,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[d,m]],[/droid.+; (shield) bui/i],[f,[h,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[f,[h,N],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,k],[d,m]],[/smart-tv.+(samsung)/i],[h,[d,y]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[h,P],[d,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,A],[d,y]],[/(apple) ?tv/i],[h,[f,"Apple TV"],[d,y]],[/crkey/i],[[f,"Chromecast"],[h,T],[d,y]],[/droid.+aft(\w)( bui|\))/i],[f,[h,S],[d,y]],[/\(dtv[\);].+(aquos)/i],[f,[h,"Sharp"],[d,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,U],[f,U],[d,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,y]],[/((pebble))app/i],[h,f,[d,_]],[/droid.+; (glass) \d/i],[f,[h,T],[d,_]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,j],[d,_]],[/(quest( 2)?)/i],[f,[h,D],[d,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[d,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,v]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[d,b]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[l,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[p,H,V]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[p,H,V]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,p],[/\(bb(10);/i],[p,[l,E]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[l,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[l,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,p],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,p]]},W=function t(e,n){if(typeof e===s&&(n=e,e=o),!(this instanceof t))return new t(e,n).getResult();var r=e||(typeof i!==u&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),a=n?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2===0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(q,n):q;return this.getBrowser=function(){var t,e={};return e.name=o,e.version=o,z.call(e,r,a.browser),e.major=typeof(t=e.version)===c?t.replace(/[^\d\.]/g,"").split(".")[0]:o,e},this.getCPU=function(){var t={};return t.architecture=o,z.call(t,r,a.cpu),t},this.getDevice=function(){var t={};return t.vendor=o,t.model=o,t.type=o,z.call(t,r,a.device),t},this.getEngine=function(){var t={};return t.name=o,t.version=o,z.call(t,r,a.engine),t},this.getOS=function(){var t={};return t.name=o,t.version=o,z.call(t,r,a.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=typeof t===c&&t.length>255?U(t,255):t,this},this.setUA(r),this};W.VERSION="1.0.2",W.BROWSER=L([l,p,"major"]),W.CPU=L([g]),W.DEVICE=L([f,h,d,m,b,y,v,_,w]),W.ENGINE=W.OS=L([l,p]),typeof e!==u?(typeof t!==u&&t.exports&&(e=t.exports=W),e.UAParser=W):n(148)?(r=function(){return W}.call(e,n,e,t))===o||(t.exports=r):typeof i!==u&&(i.UAParser=W);var G=typeof i!==u&&(i.jQuery||i.Zepto);if(G&&!G.ua){var K=new W;G.ua=K.getResult(),G.ua.get=function(){return K.getUA()},G.ua.set=function(t){K.setUA(t);var e=K.getResult();for(var n in e)G.ua[n]=e[n]}}}("object"===typeof window?window:this)},function(t,e,n){"use strict";n.d(e,"a",(function(){return ut}));var r=n(1),i=n.n(r),o=n(13),a=n.n(o);function u(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{s(r.next(t))}catch(e){o(e)}}function u(t){try{s(r.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}s((r=r.apply(t,e||[])).next())}))}function s(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}Object.create;function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(u){i={error:u}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}Object.create;var f=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function l(t,e){var n=function(t){var e=t.name;if(e&&-1!==e.lastIndexOf(".")&&!t.type){var n=e.split(".").pop().toLowerCase(),r=f.get(n);r&&Object.defineProperty(t,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return t}(t);if("string"!==typeof n.path){var r=t.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof e?e:"string"===typeof r&&r.length>0?r:t.name,writable:!1,configurable:!1,enumerable:!0})}return n}var d=[".DS_Store","Thumbs.db"];function h(t){return(null!==t.target&&t.target.files?m(t.target.files):[]).map((function(t){return l(t)}))}function p(t,e){return u(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:return t.items?(n=m(t.items).filter((function(t){return"file"===t.kind})),"drop"!==e?[2,n]:[4,Promise.all(n.map(b))]):[3,2];case 1:return[2,g(v(r.sent()))];case 2:return[2,g(m(t.files).map((function(t){return l(t)})))]}}))}))}function g(t){return t.filter((function(t){return-1===d.indexOf(t.name)}))}function m(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}function b(t){if("function"!==typeof t.webkitGetAsEntry)return y(t);var e=t.webkitGetAsEntry();return e&&e.isDirectory?w(e):y(t)}function v(t){return t.reduce((function(t,e){return function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}(t,Array.isArray(e)?v(e):[e])}),[])}function y(t){var e=t.getAsFile();if(!e)return Promise.reject(t+" is not a File");var n=l(e);return Promise.resolve(n)}function _(t){return u(this,void 0,void 0,(function(){return s(this,(function(e){return[2,t.isDirectory?w(t):S(t)]}))}))}function w(t){var e=t.createReader();return new Promise((function(t,n){var r=[];!function i(){var o=this;e.readEntries((function(e){return u(o,void 0,void 0,(function(){var o,a,u;return s(this,(function(s){switch(s.label){case 0:if(e.length)return[3,5];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=s.sent(),t(o),[3,4];case 3:return a=s.sent(),n(a),[3,4];case 4:return[3,6];case 5:u=Promise.all(e.map(_)),r.push(u),i(),s.label=6;case 6:return[2]}}))}))}),(function(t){n(t)}))}()}))}function S(t){return u(this,void 0,void 0,(function(){return s(this,(function(e){return[2,new Promise((function(e,n){t.file((function(n){var r=l(n,t.fullPath);e(r)}),(function(t){n(t)}))}))]}))}))}var O=n(563),x=n.n(O);function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(s){u=!0,i=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(t,e)}(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 M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var T="file-invalid-type",$="file-too-large",A="file-too-small",k="too-many-files",C=function(t){t=Array.isArray(t)&&1===t.length?t[0]:t;var e=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:T,message:"File type must be ".concat(e)}},I=function(t){return{code:$,message:"File is larger than ".concat(t," bytes")}},P=function(t){return{code:A,message:"File is smaller than ".concat(t," bytes")}},N={code:k,message:"Too many files"};function R(t,e){var n="application/x-moz-file"===t.type||x()(t,e);return[n,n?null:C(e)]}function j(t,e,n){if(D(t.size))if(D(e)&&D(n)){if(t.size>n)return[!1,I(n)];if(t.size<e)return[!1,P(e)]}else{if(D(e)&&t.size<e)return[!1,P(e)];if(D(n)&&t.size>n)return[!1,I(n)]}return[!0,null]}function D(t){return void 0!==t&&null!==t}function L(t){var e=t.files,n=t.accept,r=t.minSize,i=t.maxSize,o=t.multiple,a=t.maxFiles;return!(!o&&e.length>1||o&&a>=1&&e.length>a)&&e.every((function(t){var e=E(R(t,n),1)[0],o=E(j(t,r,i),1)[0];return e&&o}))}function F(t){return"function"===typeof t.isPropagationStopped?t.isPropagationStopped():"undefined"!==typeof t.cancelBubble&&t.cancelBubble}function B(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,(function(t){return"Files"===t||"application/x-moz-file"===t})):!!t.target&&!!t.target.files}function U(t){t.preventDefault()}function z(t){return-1!==t.indexOf("MSIE")||-1!==t.indexOf("Trident/")}function H(t){return-1!==t.indexOf("Edge/")}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return z(t)||H(t)}function q(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.some((function(e){return!F(t)&&e&&e.apply(void 0,[t].concat(r)),F(t)}))}}var W=["children"],G=["open"],K=["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Y=["refKey","onChange","onClick"];function Z(t){return function(t){if(Array.isArray(t))return J(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||X(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(s){u=!0,i=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(t,e)||X(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 X(t,e){if(t){if("string"===typeof t)return J(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(t,e):void 0}}function J(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function tt(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 et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(n),!0).forEach((function(e){nt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var it=Object(r.forwardRef)((function(t,e){var n=t.children,o=ut(rt(t,W)),a=o.open,u=rt(o,G);return Object(r.useImperativeHandle)(e,(function(){return{open:a}}),[a]),i.a.createElement(r.Fragment,null,n(et(et({},u),{},{open:a})))}));it.displayName="Dropzone";var ot={disabled:!1,getFilesFromEvent:function(t){return u(this,void 0,void 0,(function(){return s(this,(function(e){return[2,(n=t,n.dataTransfer&&t.dataTransfer?p(t.dataTransfer,t.type):h(t))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};it.defaultProps=ot,it.propTypes={children:a.a.func,accept:a.a.oneOfType([a.a.string,a.a.arrayOf(a.a.string)]),multiple:a.a.bool,preventDropOnDocument:a.a.bool,noClick:a.a.bool,noKeyboard:a.a.bool,noDrag:a.a.bool,noDragEventsBubbling:a.a.bool,minSize:a.a.number,maxSize:a.a.number,maxFiles:a.a.number,disabled:a.a.bool,getFilesFromEvent:a.a.func,onFileDialogCancel:a.a.func,onDragEnter:a.a.func,onDragLeave:a.a.func,onDragOver:a.a.func,onDrop:a.a.func,onDropAccepted:a.a.func,onDropRejected:a.a.func,validator:a.a.func};var at={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function ut(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=et(et({},ot),t),n=e.accept,i=e.disabled,o=e.getFilesFromEvent,a=e.maxSize,u=e.minSize,s=e.multiple,c=e.maxFiles,f=e.onDragEnter,l=e.onDragLeave,d=e.onDragOver,h=e.onDrop,p=e.onDropAccepted,g=e.onDropRejected,m=e.onFileDialogCancel,b=e.preventDropOnDocument,v=e.noClick,y=e.noKeyboard,_=e.noDrag,w=e.noDragEventsBubbling,S=e.validator,O=Object(r.useRef)(null),x=Object(r.useRef)(null),E=Object(r.useReducer)(st,at),M=Q(E,2),T=M[0],$=M[1],A=T.isFocused,k=T.isFileDialogActive,C=T.draggedFiles,I=Object(r.useCallback)((function(){x.current&&($({type:"openDialog"}),x.current.value=null,x.current.click())}),[$]),P=function(){k&&setTimeout((function(){x.current&&(x.current.files.length||($({type:"closeDialog"}),"function"===typeof m&&m()))}),300)};Object(r.useEffect)((function(){return window.addEventListener("focus",P,!1),function(){window.removeEventListener("focus",P,!1)}}),[x,k,m]);var D=Object(r.useCallback)((function(t){O.current&&O.current.isEqualNode(t.target)&&(32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),I()))}),[O,x]),z=Object(r.useCallback)((function(){$({type:"focus"})}),[]),H=Object(r.useCallback)((function(){$({type:"blur"})}),[]),W=Object(r.useCallback)((function(){v||(V()?setTimeout(I,0):I())}),[x,v]),G=Object(r.useRef)([]),X=function(t){O.current&&O.current.contains(t.target)||(t.preventDefault(),G.current=[])};Object(r.useEffect)((function(){return b&&(document.addEventListener("dragover",U,!1),document.addEventListener("drop",X,!1)),function(){b&&(document.removeEventListener("dragover",U),document.removeEventListener("drop",X))}}),[O,b]);var J=Object(r.useCallback)((function(t){t.preventDefault(),t.persist(),dt(t),G.current=[].concat(Z(G.current),[t.target]),B(t)&&Promise.resolve(o(t)).then((function(e){F(t)&&!w||($({draggedFiles:e,isDragActive:!0,type:"setDraggedFiles"}),f&&f(t))}))}),[o,f,w]),tt=Object(r.useCallback)((function(t){t.preventDefault(),t.persist(),dt(t);var e=B(t);if(e&&t.dataTransfer)try{t.dataTransfer.dropEffect="copy"}catch(n){}return e&&d&&d(t),!1}),[d,w]),it=Object(r.useCallback)((function(t){t.preventDefault(),t.persist(),dt(t);var e=G.current.filter((function(t){return O.current&&O.current.contains(t)})),n=e.indexOf(t.target);-1!==n&&e.splice(n,1),G.current=e,e.length>0||($({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),B(t)&&l&&l(t))}),[O,l,w]),ut=Object(r.useCallback)((function(t){t.preventDefault(),t.persist(),dt(t),G.current=[],B(t)&&Promise.resolve(o(t)).then((function(e){if(!F(t)||w){var r=[],i=[];e.forEach((function(t){var e=Q(R(t,n),2),o=e[0],s=e[1],c=Q(j(t,u,a),2),f=c[0],l=c[1],d=S?S(t):null;if(o&&f&&!d)r.push(t);else{var h=[s,l];d&&(h=h.concat(d)),i.push({file:t,errors:h.filter((function(t){return t}))})}})),(!s&&r.length>1||s&&c>=1&&r.length>c)&&(r.forEach((function(t){i.push({file:t,errors:[N]})})),r.splice(0)),$({acceptedFiles:r,fileRejections:i,type:"setFiles"}),h&&h(r,i,t),i.length>0&&g&&g(i,t),r.length>0&&p&&p(r,t)}})),$({type:"reset"})}),[s,n,u,a,c,o,h,p,g,w,S]),ct=function(t){return i?null:t},ft=function(t){return y?null:ct(t)},lt=function(t){return _?null:ct(t)},dt=function(t){w&&t.stopPropagation()},ht=Object(r.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,n=void 0===e?"ref":e,r=t.onKeyDown,o=t.onFocus,a=t.onBlur,u=t.onClick,s=t.onDragEnter,c=t.onDragOver,f=t.onDragLeave,l=t.onDrop,d=rt(t,K);return et(et(nt({onKeyDown:ft(q(r,D)),onFocus:ft(q(o,z)),onBlur:ft(q(a,H)),onClick:ct(q(u,W)),onDragEnter:lt(q(s,J)),onDragOver:lt(q(c,tt)),onDragLeave:lt(q(f,it)),onDrop:lt(q(l,ut))},n,O),i||y?{}:{tabIndex:0}),d)}}),[O,D,z,H,W,J,tt,it,ut,y,_,i]),pt=Object(r.useCallback)((function(t){t.stopPropagation()}),[]),gt=Object(r.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,r=void 0===e?"ref":e,i=t.onChange,o=t.onClick,a=rt(t,Y),u=nt({accept:n,multiple:s,type:"file",style:{display:"none"},onChange:ct(q(i,ut)),onClick:ct(q(o,pt)),autoComplete:"off",tabIndex:-1},r,x);return et(et({},u),a)}}),[x,n,s,ut,i]),mt=C.length,bt=mt>0&&L({files:C,accept:n,minSize:u,maxSize:a,multiple:s,maxFiles:c}),vt=mt>0&&!bt;return et(et({},T),{},{isDragAccept:bt,isDragReject:vt,isFocused:A&&!i,getRootProps:ht,getInputProps:gt,rootRef:O,inputRef:x,open:ct(I)})}function st(t,e){switch(e.type){case"focus":return et(et({},t),{},{isFocused:!0});case"blur":return et(et({},t),{},{isFocused:!1});case"openDialog":return et(et({},t),{},{isFileDialogActive:!0});case"closeDialog":return et(et({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=e.isDragActive,r=e.draggedFiles;return et(et({},t),{},{draggedFiles:r,isDragActive:n});case"setFiles":return et(et({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections});case"reset":return et({},at);default:return t}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return at}));var r=n(14),i=n(27);function o(t){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(t)}]}}function a(t){if("number"===typeof t||"boolean"===typeof t||"string"===typeof t||"undefined"===typeof t||null===t)return null;if(Array.isArray(t))return a(t[0]);var e=[];return Object.keys(t).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:a(t[n])||void 0};e.push(r)})),{kind:"SelectionSet",selections:e}}var u,s={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},c=function(){function t(){}return t.prototype.transformDocument=function(t){return t},t.prototype.transformForLink=function(t){return t},t.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.read({query:t.query,variables:t.variables,optimistic:e})},t.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.read({query:Object(i.k)(t.fragment,t.fragmentName),variables:t.variables,rootId:t.id,optimistic:e})},t.prototype.writeQuery=function(t){this.write({dataId:"ROOT_QUERY",result:t.data,query:t.query,variables:t.variables})},t.prototype.writeFragment=function(t){this.write({dataId:t.id,result:t.data,variables:t.variables,query:Object(i.k)(t.fragment,t.fragmentName)})},t.prototype.writeData=function(t){var e,n,r=t.id,i=t.data;if("undefined"!==typeof r){var u=null;try{u=this.read({rootId:r,optimistic:!1,query:s})}catch(l){}var c=u&&u.__typename||"__ClientData",f=Object.assign({__typename:c},i);this.writeFragment({id:r,fragment:(e=f,n=c,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(e)}]}),data:f})}else this.writeQuery({query:o(i),data:i})},t}();u||(u={});var f=n(77),l=null,d={},h=1,p="@wry/context:Slot",g=Array,m=g[p]||function(){var t=function(){function t(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return t.prototype.hasValue=function(){for(var t=l;t;t=t.parent)if(this.id in t.slots){var e=t.slots[this.id];if(e===d)break;return t!==l&&(l.slots[this.id]=e),!0}return l&&(l.slots[this.id]=d),!1},t.prototype.getValue=function(){if(this.hasValue())return l.slots[this.id]},t.prototype.withValue=function(t,e,n,r){var i,o=((i={__proto__:null})[this.id]=t,i),a=l;l={parent:a,slots:o};try{return e.apply(r,n)}finally{l=a}},t.bind=function(t){var e=l;return function(){var n=l;try{return l=e,t.apply(this,arguments)}finally{l=n}}},t.noContext=function(t,e,n){if(!l)return t.apply(n,e);var r=l;try{return l=null,t.apply(n,e)}finally{l=r}},t}();try{Object.defineProperty(g,p,{value:g[p]=t,enumerable:!1,writable:!1,configurable:!1})}finally{return t}}();m.bind,m.noContext;function b(){}var v=function(){function t(t,e){void 0===t&&(t=1/0),void 0===e&&(e=b),this.max=t,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}return t.prototype.has=function(t){return this.map.has(t)},t.prototype.get=function(t){var e=this.getEntry(t);return e&&e.value},t.prototype.getEntry=function(t){var e=this.map.get(t);if(e&&e!==this.newest){var n=e.older,r=e.newer;r&&(r.older=n),n&&(n.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e},t.prototype.set=function(t,e){var n=this.getEntry(t);return n?n.value=e:(n={key:t,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(t,n),n.value)},t.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},t.prototype.delete=function(t){var e=this.map.get(t);return!!e&&(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(t),this.dispose(e.value,t),!0)},t}(),y=new m,_=[],w=[];function S(t,e){if(!t)throw new Error(e||"assertion failure")}function O(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}var x=function(){function t(e,n){this.fn=e,this.args=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++t.count}return t.prototype.recompute=function(){if(S(!this.recomputing,"already recomputing"),function(t){var e=y.getValue();if(e)return t.parents.add(e),e.childValues.has(t)||e.childValues.set(t,[]),M(t)?A(e,t):k(e,t),e}(this)||!I(this))return M(this)?function(t){var e=P(t);y.withValue(t,E,[t]),function(t){if("function"===typeof t.subscribe)try{R(t),t.unsubscribe=t.subscribe.apply(null,t.args)}catch(e){return t.setDirty(),!1}return!0}(t)&&function(t){if(t.dirty=!1,M(t))return;$(t)}(t);return e.forEach(I),O(t.value)}(this):O(this.value)},t.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,T(this),R(this))},t.prototype.dispose=function(){var t=this;P(this).forEach(I),R(this),this.parents.forEach((function(e){e.setDirty(),N(e,t)}))},t.count=0,t}();function E(t){t.recomputing=!0,t.value.length=0;try{t.value[0]=t.fn.apply(null,t.args)}catch(e){t.value[1]=e}t.recomputing=!1}function M(t){return t.dirty||!(!t.dirtyChildren||!t.dirtyChildren.size)}function T(t){t.parents.forEach((function(e){return A(e,t)}))}function $(t){t.parents.forEach((function(e){return k(e,t)}))}function A(t,e){if(S(t.childValues.has(e)),S(M(e)),t.dirtyChildren){if(t.dirtyChildren.has(e))return}else t.dirtyChildren=w.pop()||new Set;t.dirtyChildren.add(e),T(t)}function k(t,e){S(t.childValues.has(e)),S(!M(e));var n=t.childValues.get(e);0===n.length?t.childValues.set(e,e.value.slice(0)):function(t,e){var n=t.length;return n>0&&n===e.length&&t[n-1]===e[n-1]}(n,e.value)||t.setDirty(),C(t,e),M(t)||$(t)}function C(t,e){var n=t.dirtyChildren;n&&(n.delete(e),0===n.size&&(w.length<100&&w.push(n),t.dirtyChildren=null))}function I(t){return 0===t.parents.size&&"function"===typeof t.reportOrphan&&!0===t.reportOrphan()}function P(t){var e=_;return t.childValues.size>0&&(e=[],t.childValues.forEach((function(n,r){N(t,r),e.push(r)}))),S(null===t.dirtyChildren),e}function N(t,e){e.parents.delete(t),t.childValues.delete(e),C(t,e)}function R(t){var e=t.unsubscribe;"function"===typeof e&&(t.unsubscribe=void 0,e())}var j=function(){function t(t){this.weakness=t}return t.prototype.lookup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lookupArray(t)},t.prototype.lookupArray=function(t){var e=this;return t.forEach((function(t){return e=e.getChildTrie(t)})),e.data||(e.data=Object.create(null))},t.prototype.getChildTrie=function(e){var n=this.weakness&&function(t){switch(typeof t){case"object":if(null===t)break;case"function":return!0}return!1}(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(e);return r||n.set(e,r=new t(this.weakness)),r},t}();var D=new j("function"===typeof WeakMap);function L(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return D.lookupArray(t)}var F=new Set;function B(t,e){void 0===e&&(e=Object.create(null));var n=new v(e.max||Math.pow(2,16),(function(t){return t.dispose()})),r=!!e.disposable,i=e.makeCacheKey||L;function o(){if(!r||y.hasValue()){var o=i.apply(null,arguments);if(void 0===o)return t.apply(null,arguments);var a=Array.prototype.slice.call(arguments),u=n.get(o);u?u.args=a:(u=new x(t,a),n.set(o,u),u.subscribe=e.subscribe,r&&(u.reportOrphan=function(){return n.delete(o)}));var s=u.recompute();return n.set(o,u),F.add(n),y.hasValue()||(F.forEach((function(t){return t.clean()})),F.clear()),r?void 0:s}}return o.dirty=function(){var t=i.apply(null,arguments),e=void 0!==t&&n.get(t);e&&e.setDirty()},o}var U=n(31),z=!1;function H(){var t=!z;return Object(i.y)()||(z=!0),t}var V=function(){function t(){}return t.prototype.ensureReady=function(){return Promise.resolve()},t.prototype.canBypassInit=function(){return!0},t.prototype.match=function(t,e,n){var r=n.store.get(t.id),i="ROOT_QUERY"===t.id;if(!r)return i;var o=r.__typename,a=void 0===o?i&&"Query":o;return a&&a===e||(H(),"heuristic")},t}(),q=(function(){function t(t){t&&t.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(t.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}t.prototype.match=function(t,e,n){Object(U.b)(this.isReady,1);var r=n.store.get(t.id),i="ROOT_QUERY"===t.id;if(!r)return i;var o=r.__typename,a=void 0===o?i&&"Query":o;if(Object(U.b)(a,2),a===e)return!0;var u=this.possibleTypesMap[e];return!!(a&&u&&u.indexOf(a)>-1)},t.prototype.parseIntrospectionResult=function(t){var e={};return t.__schema.types.forEach((function(t){"UNION"!==t.kind&&"INTERFACE"!==t.kind||(e[t.name]=t.possibleTypes.map((function(t){return t.name})))})),e}}(),Object.prototype.hasOwnProperty),W=function(){function t(t){var e=this;void 0===t&&(t=Object.create(null)),this.data=t,this.depend=B((function(t){return e.data[t]}),{disposable:!0,makeCacheKey:function(t){return t}})}return t.prototype.toObject=function(){return this.data},t.prototype.get=function(t){return this.depend(t),this.data[t]},t.prototype.set=function(t,e){e!==this.data[t]&&(this.data[t]=e,this.depend.dirty(t))},t.prototype.delete=function(t){q.call(this.data,t)&&(delete this.data[t],this.depend.dirty(t))},t.prototype.clear=function(){this.replace(null)},t.prototype.replace=function(t){var e=this;t?(Object.keys(t).forEach((function(n){e.set(n,t[n])})),Object.keys(this.data).forEach((function(n){q.call(t,n)||e.delete(n)}))):Object.keys(this.data).forEach((function(t){e.delete(t)}))},t}();function G(t){return new W(t)}var K=function(){function t(t){var e=this,n=void 0===t?{}:t,r=n.cacheKeyRoot,o=void 0===r?new j(i.e):r,a=n.freezeResults,u=void 0!==a&&a,s=this,c=s.executeStoreQuery,f=s.executeSelectionSet,l=s.executeSubSelectedArray;this.freezeResults=u,this.executeStoreQuery=B((function(t){return c.call(e,t)}),{makeCacheKey:function(t){var e=t.query,n=t.rootValue,r=t.contextValue,i=t.variableValues,a=t.fragmentMatcher;if(r.store instanceof W)return o.lookup(r.store,e,a,JSON.stringify(i),n.id)}}),this.executeSelectionSet=B((function(t){return f.call(e,t)}),{makeCacheKey:function(t){var e=t.selectionSet,n=t.rootValue,r=t.execContext;if(r.contextValue.store instanceof W)return o.lookup(r.contextValue.store,e,r.fragmentMatcher,JSON.stringify(r.variableValues),n.id)}}),this.executeSubSelectedArray=B((function(t){return l.call(e,t)}),{makeCacheKey:function(t){var e=t.field,n=t.array,r=t.execContext;if(r.contextValue.store instanceof W)return o.lookup(r.contextValue.store,e,n,JSON.stringify(r.variableValues))}})}return t.prototype.readQueryFromStore=function(t){return this.diffQueryAgainstStore(Object(r.a)(Object(r.a)({},t),{returnPartialData:!1})).result},t.prototype.diffQueryAgainstStore=function(t){var e=t.store,n=t.query,r=t.variables,o=t.previousResult,a=t.returnPartialData,u=void 0===a||a,s=t.rootId,c=void 0===s?"ROOT_QUERY":s,l=t.fragmentMatcherFunction,d=t.config,h=Object(i.o)(n);r=Object(i.c)({},Object(i.h)(h),r);var p={store:e,dataIdFromObject:d&&d.dataIdFromObject,cacheRedirects:d&&d.cacheRedirects||{}},g=this.executeStoreQuery({query:n,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:p,variableValues:r,fragmentMatcher:l}),m=g.missing&&g.missing.length>0;return m&&!u&&g.missing.forEach((function(t){if(!t.tolerable)throw new U.a(8)})),o&&Object(f.a)(o,g.result)&&(g.result=o),{result:g.result,complete:!m}},t.prototype.executeStoreQuery=function(t){var e=t.query,n=t.rootValue,r=t.contextValue,o=t.variableValues,a=t.fragmentMatcher,u=void 0===a?Z:a,s=Object(i.l)(e),c=Object(i.j)(e),f={query:e,fragmentMap:Object(i.g)(c),contextValue:r,variableValues:o,fragmentMatcher:u};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:n,execContext:f})},t.prototype.executeSelectionSet=function(t){var e=this,n=t.selectionSet,o=t.rootValue,a=t.execContext,u=a.fragmentMap,s=a.contextValue,c=a.variableValues,f={result:null},l=[],d=s.store.get(o.id),h=d&&d.__typename||"ROOT_QUERY"===o.id&&"Query"||void 0;function p(t){var e;return t.missing&&(f.missing=f.missing||[],(e=f.missing).push.apply(e,t.missing)),t.result}return n.selections.forEach((function(t){var n;if(Object(i.F)(t,c))if(Object(i.t)(t)){var f=p(e.executeField(d,h,t,a));"undefined"!==typeof f&&l.push(((n={})[Object(i.E)(t)]=f,n))}else{var g=void 0;if(Object(i.v)(t))g=t;else if(!(g=u[t.name.value]))throw new U.a(9);var m=g.typeCondition&&g.typeCondition.name.value,b=!m||a.fragmentMatcher(o,m,s);if(b){var v=e.executeSelectionSet({selectionSet:g.selectionSet,rootValue:o,execContext:a});"heuristic"===b&&v.missing&&(v=Object(r.a)(Object(r.a)({},v),{missing:v.missing.map((function(t){return Object(r.a)(Object(r.a)({},t),{tolerable:!0})}))})),l.push(p(v))}}})),f.result=Object(i.B)(l),this.freezeResults,f},t.prototype.executeField=function(t,e,n,r){var o=r.variableValues,a=r.contextValue,u=function(t,e,n,r,o,a){a.resultKey;var u=a.directives,s=n;(r||u)&&(s=Object(i.p)(s,r,u));var c=void 0;if(t&&"undefined"===typeof(c=t[s])&&o.cacheRedirects&&"string"===typeof e){var f=o.cacheRedirects[e];if(f){var l=f[n];l&&(c=l(t,r,{getCacheKey:function(t){var e=o.dataIdFromObject(t);return e&&Object(i.H)({id:e,typename:t.__typename})}}))}}if("undefined"===typeof c)return{result:c,missing:[{object:t,fieldName:s,tolerable:!1}]};Object(i.w)(c)&&(c=c.json);return{result:c}}(t,e,n.name.value,Object(i.b)(n,o),a,{resultKey:Object(i.E)(n),directives:Object(i.i)(n,o)});return Array.isArray(u.result)?this.combineExecResults(u,this.executeSubSelectedArray({field:n,array:u.result,execContext:r})):n.selectionSet?null==u.result?u:this.combineExecResults(u,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:u.result,execContext:r})):(Y(n,u.result),this.freezeResults,u)},t.prototype.combineExecResults=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.forEach((function(e){e.missing&&(t=t||[]).push.apply(t,e.missing)})),{result:e.pop().result,missing:t}},t.prototype.executeSubSelectedArray=function(t){var e,n=this,r=t.field,i=t.array,o=t.execContext;function a(t){return t.missing&&(e=e||[]).push.apply(e,t.missing),t.result}return i=i.map((function(t){return null===t?null:Array.isArray(t)?a(n.executeSubSelectedArray({field:r,array:t,execContext:o})):r.selectionSet?a(n.executeSelectionSet({selectionSet:r.selectionSet,rootValue:t,execContext:o})):(Y(r,t),t)})),this.freezeResults,{result:i,missing:e}},t}();function Y(t,e){if(!t.selectionSet&&Object(i.u)(e))throw new U.a(10)}function Z(){return!0}var Q=function(){function t(t){void 0===t&&(t=Object.create(null)),this.data=t}return t.prototype.toObject=function(){return this.data},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){this.data[t]=e},t.prototype.delete=function(t){this.data[t]=void 0},t.prototype.clear=function(){this.data=Object.create(null)},t.prototype.replace=function(t){this.data=t||Object.create(null)},t}();var X=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="WriteError",e}return Object(r.c)(e,t),e}(Error);var J=function(){function t(){}return t.prototype.writeQueryToStore=function(t){var e=t.query,n=t.result,r=t.store,i=void 0===r?G():r,o=t.variables,a=t.dataIdFromObject,u=t.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:n,document:e,store:i,variables:o,dataIdFromObject:a,fragmentMatcherFunction:u})},t.prototype.writeResultToStore=function(t){var e=t.dataId,n=t.result,r=t.document,o=t.store,a=void 0===o?G():o,u=t.variables,s=t.dataIdFromObject,c=t.fragmentMatcherFunction,f=Object(i.m)(r);try{return this.writeSelectionSetToStore({result:n,dataId:e,selectionSet:f.selectionSet,context:{store:a,processedData:{},variables:Object(i.c)({},Object(i.h)(f),u),dataIdFromObject:s,fragmentMap:Object(i.g)(Object(i.j)(r)),fragmentMatcherFunction:c}})}catch(l){throw function(t,e){var n=new X("Error writing result to store for query:\n "+JSON.stringify(e));return n.message+="\n"+t.message,n.stack=t.stack,n}(l,r)}},t.prototype.writeSelectionSetToStore=function(t){var e=this,n=t.result,r=t.dataId,o=t.selectionSet,a=t.context,u=a.variables,s=a.store,c=a.fragmentMap;return o.selections.forEach((function(t){var o;if(Object(i.F)(t,u))if(Object(i.t)(t)){var s=Object(i.E)(t),f=n[s];if("undefined"!==typeof f)e.writeFieldToStore({dataId:r,value:f,field:t,context:a});else{var l=!1,d=!1;t.directives&&t.directives.length&&(l=t.directives.some((function(t){return t.name&&"defer"===t.name.value})),d=t.directives.some((function(t){return t.name&&"client"===t.name.value}))),!l&&!d&&a.fragmentMatcherFunction}}else{var h=void 0;Object(i.v)(t)?h=t:(h=(c||{})[t.name.value],Object(U.b)(h,3));var p=!0;if(a.fragmentMatcherFunction&&h.typeCondition){var g=r||"self",m=Object(i.H)({id:g,typename:void 0}),b={store:new Q((o={},o[g]=n,o)),cacheRedirects:{}},v=a.fragmentMatcherFunction(m,h.typeCondition.name.value,b);Object(i.x)(),p=!!v}p&&e.writeSelectionSetToStore({result:n,selectionSet:h.selectionSet,dataId:r,context:a})}})),s},t.prototype.writeFieldToStore=function(t){var e,n,o,a=t.field,u=t.value,s=t.dataId,c=t.context,l=c.variables,d=c.dataIdFromObject,h=c.store,p=Object(i.G)(a,l);if(a.selectionSet&&null!==u)if(Array.isArray(u)){var g=s+"."+p;n=this.processArrayValue(u,g,a.selectionSet,c)}else{var m=s+"."+p,b=!0;if(tt(m)||(m="$"+m),d){var v=d(u);Object(U.b)(!v||!tt(v),4),(v||"number"===typeof v&&0===v)&&(m=v,b=!1)}nt(m,a,c.processedData)||this.writeSelectionSetToStore({dataId:m,result:u,selectionSet:a.selectionSet,context:c});var y=u.__typename;n=Object(i.H)({id:m,typename:y},b);var _=(o=h.get(s))&&o[p];if(_!==n&&Object(i.u)(_)){var w=void 0!==_.typename,S=void 0!==y,O=w&&S&&_.typename!==y;Object(U.b)(!b||_.generated||O,5),Object(U.b)(!w||S,6),_.generated&&(O?b||h.delete(_.id):et(_.id,n.id,h))}}else n=null!=u&&"object"===typeof u?{type:"json",json:u}:u;(o=h.get(s))&&Object(f.a)(n,o[p])||h.set(s,Object(r.a)(Object(r.a)({},o),((e={})[p]=n,e)))},t.prototype.processArrayValue=function(t,e,n,r){var o=this;return t.map((function(t,a){if(null===t)return null;var u=e+"."+a;if(Array.isArray(t))return o.processArrayValue(t,u,n,r);var s=!0;if(r.dataIdFromObject){var c=r.dataIdFromObject(t);c&&(u=c,s=!1)}return nt(u,n,r.processedData)||o.writeSelectionSetToStore({dataId:u,result:t,selectionSet:n,context:r}),Object(i.H)({id:u,typename:t.__typename},s)}))},t}();function tt(t){return"$"===t[0]}function et(t,e,n){if(t===e)return!1;var o=n.get(t),a=n.get(e),u=!1;Object.keys(o).forEach((function(t){var e=o[t],r=a[t];Object(i.u)(e)&&tt(e.id)&&Object(i.u)(r)&&!Object(f.a)(e,r)&&et(e.id,r.id,n)&&(u=!0)})),n.delete(t);var s=Object(r.a)(Object(r.a)({},o),a);return Object(f.a)(s,a)?u:(n.set(e,s),!0)}function nt(t,e,n){if(!n)return!1;if(n[t]){if(n[t].indexOf(e)>=0)return!0;n[t].push(e)}else n[t]=[e];return!1}var rt={fragmentMatcher:new V,dataIdFromObject:function(t){if(t.__typename){if(void 0!==t.id)return t.__typename+":"+t.id;if(void 0!==t._id)return t.__typename+":"+t._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var it=Object.prototype.hasOwnProperty,ot=function(t){function e(e,n,r){var i=t.call(this,Object.create(null))||this;return i.optimisticId=e,i.parent=n,i.transaction=r,i}return Object(r.c)(e,t),e.prototype.toObject=function(){return Object(r.a)(Object(r.a)({},this.parent.toObject()),this.data)},e.prototype.get=function(t){return it.call(this.data,t)?this.data[t]:this.parent.get(t)},e}(Q),at=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new j(i.e),n.silenceBroadcast=!1,n.config=Object(r.a)(Object(r.a)({},rt),e),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=!!n.config.addTypename,n.data=n.config.resultCaching?new W:new Q,n.optimisticData=n.data,n.storeWriter=new J,n.storeReader=new K({cacheKeyRoot:n.cacheKeyRoot,freezeResults:e.freezeResults});var o=n,a=o.maybeBroadcastWatch;return n.maybeBroadcastWatch=B((function(t){return a.call(n,t)}),{makeCacheKey:function(t){if(!t.optimistic&&!t.previousResult)return o.data instanceof W?o.cacheKeyRoot.lookup(t.query,JSON.stringify(t.variables)):void 0}}),n}return Object(r.c)(e,t),e.prototype.restore=function(t){return t&&this.data.replace(t),this},e.prototype.extract=function(t){return void 0===t&&(t=!1),(t?this.optimisticData:this.data).toObject()},e.prototype.read=function(t){if("string"===typeof t.rootId&&"undefined"===typeof this.data.get(t.rootId))return null;var e=this.config.fragmentMatcher,n=e&&e.match;return this.storeReader.readQueryFromStore({store:t.optimistic?this.optimisticData:this.data,query:this.transformDocument(t.query),variables:t.variables,rootId:t.rootId,fragmentMatcherFunction:n,previousResult:t.previousResult,config:this.config})||null},e.prototype.write=function(t){var e=this.config.fragmentMatcher,n=e&&e.match;this.storeWriter.writeResultToStore({dataId:t.dataId,result:t.result,variables:t.variables,document:this.transformDocument(t.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:n}),this.broadcastWatches()},e.prototype.diff=function(t){var e=this.config.fragmentMatcher,n=e&&e.match;return this.storeReader.diffQueryAgainstStore({store:t.optimistic?this.optimisticData:this.data,query:this.transformDocument(t.query),variables:t.variables,returnPartialData:t.returnPartialData,previousResult:t.previousResult,fragmentMatcherFunction:n,config:this.config})},e.prototype.watch=function(t){var e=this;return this.watches.add(t),function(){e.watches.delete(t)}},e.prototype.evict=function(t){throw new U.a(7)},e.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},e.prototype.removeOptimistic=function(t){for(var e=[],n=0,r=this.optimisticData;r instanceof ot;)r.optimisticId===t?++n:e.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;e.length>0;){var i=e.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},e.prototype.performTransaction=function(t,e){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"===typeof e&&(this.data=this.optimisticData=new ot(e,this.optimisticData,t));try{t(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},e.prototype.recordOptimisticTransaction=function(t,e){return this.performTransaction(t,e)},e.prototype.transformDocument=function(t){if(this.addTypename){var e=this.typenameDocumentCache.get(t);return e||(e=Object(i.a)(t),this.typenameDocumentCache.set(t,e),this.typenameDocumentCache.set(e,e)),e}return t},e.prototype.broadcastWatches=function(){var t=this;this.silenceBroadcast||this.watches.forEach((function(e){return t.maybeBroadcastWatch(e)}))},e.prototype.maybeBroadcastWatch=function(t){t.callback(this.diff({query:t.query,variables:t.variables,previousResult:t.previousResult&&t.previousResult(),optimistic:t.optimistic}))},e}(c)},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(126),i=n(332),o=n(222),a=n(333),u=(Math.pow(10,8),36e5),s=n(219),c=n(22),f=n(220);function l(t,e,n){Object(c.a)(2,arguments);var r=Object(s.a)(t,e)/u;return Object(f.a)(null===n||void 0===n?void 0:n.roundingMethod)(r)}function d(t,e,n){Object(c.a)(2,arguments);var r=Object(s.a)(t,e)/6e4;return Object(f.a)(null===n||void 0===n?void 0:n.roundingMethod)(r)}var h=n(309),p=n(194),g=n(25),m=n(176);function b(t){var e=t.start,n=t.end;Object(c.a)(1,arguments);var u=Object(g.a)(e),s=Object(g.a)(n);if(!Object(p.a)(u))throw new RangeError("Start Date is invalid");if(!Object(p.a)(s))throw new RangeError("End Date is invalid");var f={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},b=Object(r.a)(u,s);f.years=Math.abs(Object(i.a)(u,s));var v=Object(m.a)(u,{years:b*f.years});f.months=Math.abs(Object(o.a)(v,s));var y=Object(m.a)(v,{months:b*f.months});f.days=Math.abs(Object(a.a)(y,s));var _=Object(m.a)(y,{days:b*f.days});f.hours=Math.abs(l(_,s));var w=Object(m.a)(_,{hours:b*f.hours});f.minutes=Math.abs(d(w,s));var S=Object(m.a)(w,{minutes:b*f.minutes});return f.seconds=Math.abs(Object(h.a)(S,s)),f}},function(t,e,n){"use strict";n.d(e,"a",(function(){return et}));var r=n(65),i=n(4),o=n(172),a=n(69),u=n(13),s=n.n(u),c=n(1),f=n.n(c);n(103);function l(t){return null!=t&&"object"==typeof t&&1===t.nodeType}function d(t,e){return(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function h(t,e){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var n=getComputedStyle(t,null);return d(n.overflowY,e)||d(n.overflowX,e)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return!1}function p(t,e,n,r,i,o,a,u){return o<t&&a>e||o>t&&a<e?0:o<=t&&u<=n||a>=e&&u>=n?o-t-r:a>e&&u<n||o<t&&u>n?a-e+i:0}var g=0,m=function(){var t=Object(c.useState)(null),e=t[0],n=t[1];return Object(c.useEffect)((function(){return n(++g)}),[]),e},b=0;function v(t){return"function"===typeof t?t:y}function y(){}function _(t,e){null!==t&&function(t,e){var n=window,r=e.scrollMode,i=e.block,o=e.inline,a=e.boundary,u=e.skipOverflowHiddenElements,s="function"==typeof a?a:function(t){return t!==a};if(!l(t))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,f=[],d=t;l(d)&&s(d);){if((d=d.parentNode)===c){f.push(d);break}d===document.body&&h(d)&&!h(document.documentElement)||h(d,u)&&f.push(d)}for(var g=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,y=t.getBoundingClientRect(),_=y.height,w=y.width,S=y.top,O=y.right,x=y.bottom,E=y.left,M="start"===i||"nearest"===i?S:"end"===i?x:S+_/2,T="center"===o?E+w/2:"end"===o?O:E,$=[],A=0;A<f.length;A++){var k=f[A],C=k.getBoundingClientRect(),I=C.height,P=C.width,N=C.top,R=C.right,j=C.bottom,D=C.left;if("if-needed"===r&&S>=0&&E>=0&&x<=m&&O<=g&&S>=N&&x<=j&&E>=D&&O<=R)return $;var L=getComputedStyle(k),F=parseInt(L.borderLeftWidth,10),B=parseInt(L.borderTopWidth,10),U=parseInt(L.borderRightWidth,10),z=parseInt(L.borderBottomWidth,10),H=0,V=0,q="offsetWidth"in k?k.offsetWidth-k.clientWidth-F-U:0,W="offsetHeight"in k?k.offsetHeight-k.clientHeight-B-z:0;if(c===k)H="start"===i?M:"end"===i?M-m:"nearest"===i?p(v,v+m,m,B,z,v+M,v+M+_,_):M-m/2,V="start"===o?T:"center"===o?T-g/2:"end"===o?T-g:p(b,b+g,g,F,U,b+T,b+T+w,w),H=Math.max(0,H+v),V=Math.max(0,V+b);else{H="start"===i?M-N-B:"end"===i?M-j+z+W:"nearest"===i?p(N,j,I,B,z+W,M,M+_,_):M-(N+I/2)+W/2,V="start"===o?T-D-F:"center"===o?T-(D+P/2)+q/2:"end"===o?T-R+U+q:p(D,R,P,F,U+q,T,T+w,w);var G=k.scrollLeft,K=k.scrollTop;M+=K-(H=Math.max(0,Math.min(K+H,k.scrollHeight-I+W))),T+=G-(V=Math.max(0,Math.min(G+V,k.scrollWidth-P+q)))}$.push({el:k,top:H,left:V})}return $}(t,{boundary:e,block:"nearest",scrollMode:"if-needed"}).forEach((function(t){var e=t.el,n=t.top,r=t.left;e.scrollTop=n,e.scrollLeft=r}))}function w(t,e){return t===e||t.contains&&t.contains(e)}function S(t,e){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,t.apply(void 0,o)}),e)}return i.cancel=r,i}function O(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.some((function(e){return e&&e.apply(void 0,[t].concat(r)),t.preventDownshiftDefault||t.hasOwnProperty("nativeEvent")&&t.nativeEvent.preventDownshiftDefault}))}}function x(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){t&&t.apply(void 0,n)}))}}function E(t,e){return!(t=Array.isArray(t)?t[0]:t)&&e?e:t}function M(t){return"string"===typeof t.type}function T(t){return t.props}var $=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function A(t){void 0===t&&(t={});var e={};return $.forEach((function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function k(t){var e=t.key,n=t.keyCode;return n>=37&&n<=40&&0!==e.indexOf("Arrow")?"Arrow"+e:e}function C(t,e,n){var r=n-1;("number"!==typeof e||e<0||e>=n)&&(e=t>0?-1:r+1);var i=e+t;return i<0?i=r:i>r&&(i=0),i}var I=S((function(){N().textContent=""}),500);function P(t,e){var n=N(e);t&&(n.textContent=t,I())}function N(t){void 0===t&&(t=document);var e=t.getElementById("a11y-status-message");return e||((e=t.createElement("div")).setAttribute("id","a11y-status-message"),e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-relevant","additions text"),Object.assign(e.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),t.body.appendChild(e),e)}var R=Object.freeze({unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),j=function(t){function e(e){var n=t.call(this,e)||this;n.id=n.props.id||"downshift-"+String(b++),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(t){return n.id+"-item-"+t},n.input=null,n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(t,e){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(t){return t!==r})),t()}),e);n.timeoutIds.push(r)},n.setItemCount=function(t){n.itemCount=t},n.unsetItemCount=function(){n.itemCount=null},n.setHighlightedIndex=function(t,e){void 0===t&&(t=n.props.defaultHighlightedIndex),void 0===e&&(e={}),e=A(e),n.internalSetState(Object(i.a)({highlightedIndex:t},e))},n.clearSelection=function(t){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},t)},n.selectItem=function(t,e,r){e=A(e),n.internalSetState(Object(i.a)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:t,inputValue:n.props.itemToString(t)},e),r)},n.selectItemAtIndex=function(t,e,r){var i=n.items[t];null!=i&&n.selectItem(i,e,r)},n.selectHighlightedItem=function(t,e){return n.selectItemAtIndex(n.getState().highlightedIndex,t,e)},n.internalSetState=function(t,e){var r,o,a={},u="function"===typeof t;return!u&&t.hasOwnProperty("inputValue")&&n.props.onInputValueChange(t.inputValue,Object(i.a)({},n.getStateAndHelpers(),{},t)),n.setState((function(e){e=n.getState(e);var s=u?t(e):t;s=n.props.stateReducer(e,s),r=s.hasOwnProperty("selectedItem");var c={},f={};return r&&s.selectedItem!==e.selectedItem&&(o=s.selectedItem),s.type=s.type||0,Object.keys(s).forEach((function(t){e[t]!==s[t]&&(a[t]=s[t]),"type"!==t&&(f[t]=s[t],n.isControlledProp(t)||(c[t]=s[t]))})),u&&s.hasOwnProperty("inputValue")&&n.props.onInputValueChange(s.inputValue,Object(i.a)({},n.getStateAndHelpers(),{},s)),c}),(function(){v(e)(),Object.keys(a).length>1&&n.props.onStateChange(a,n.getStateAndHelpers()),r&&n.props.onSelect(t.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(a,n.getStateAndHelpers())}))},n.rootRef=function(t){return n._rootNode=t},n.getRootProps=function(t,e){var o,a=void 0===t?{}:t,u=a.refKey,s=void 0===u?"ref":u,c=a.ref,f=Object(r.a)(a,["refKey","ref"]),l=(void 0===e?{}:e).suppressRefError,d=void 0!==l&&l;n.getRootProps.called=!0,n.getRootProps.refKey=s,n.getRootProps.suppressRefError=d;var h=n.getState().isOpen;return Object(i.a)(((o={})[s]=x(c,n.rootRef),o.role="combobox",o["aria-expanded"]=h,o["aria-haspopup"]="listbox",o["aria-owns"]=h?n.menuId:null,o["aria-labelledby"]=n.labelId,o),f)},n.keyDownHandlers={ArrowDown:function(t){var e=this;if(t.preventDefault(),this.getState().isOpen){var n=t.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},(function(){var t=e.getItemCount();t>0&&e.setHighlightedIndex(C(1,e.getState().highlightedIndex,t),{type:4})}))},ArrowUp:function(t){var e=this;if(t.preventDefault(),this.getState().isOpen){var n=t.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},(function(){var t=e.getItemCount();t>0&&e.setHighlightedIndex(C(-1,e.getState().highlightedIndex,t),{type:4})}))},Enter:function(t){var e=this.getState(),n=e.isOpen,r=e.highlightedIndex;if(n&&null!=r){t.preventDefault();var i=this.items[r],o=this.getItemNodeFromIndex(r);if(null==i||o&&o.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape:function(t){t.preventDefault(),this.reset({type:5,selectedItem:null,inputValue:""})}},n.buttonKeyDownHandlers=Object(i.a)({},n.keyDownHandlers,{" ":function(t){t.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=Object(i.a)({},n.keyDownHandlers,{Home:function(t){this.highlightFirstOrLastIndex(t,!0,{type:7})},End:function(t){this.highlightFirstOrLastIndex(t,!1,{type:8})}}),n.getToggleButtonProps=function(t){var e=void 0===t?{}:t,o=e.onClick,a=(e.onPress,e.onKeyDown),u=e.onKeyUp,s=e.onBlur,c=Object(r.a)(e,["onClick","onPress","onKeyDown","onKeyUp","onBlur"]),f=n.getState().isOpen,l={onClick:O(o,n.buttonHandleClick),onKeyDown:O(a,n.buttonHandleKeyDown),onKeyUp:O(u,n.buttonHandleKeyUp),onBlur:O(s,n.buttonHandleBlur)},d=c.disabled?{}:l;return Object(i.a)({type:"button",role:"button","aria-label":f?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},d,{},c)},n.buttonHandleKeyUp=function(t){t.preventDefault()},n.buttonHandleKeyDown=function(t){var e=k(t);n.buttonKeyDownHandlers[e]&&n.buttonKeyDownHandlers[e].call(Object(o.a)(n),t)},n.buttonHandleClick=function(t){t.preventDefault(),n.props.environment.document.activeElement===n.props.environment.document.body&&t.target.focus(),n.internalSetTimeout((function(){return n.toggleMenu({type:13})}))},n.buttonHandleBlur=function(t){var e=t.target;n.internalSetTimeout((function(){n.isMouseDown||null!=n.props.environment.document.activeElement&&n.props.environment.document.activeElement.id===n.inputId||n.props.environment.document.activeElement===e||n.reset({type:14})}))},n.getLabelProps=function(t){return Object(i.a)({htmlFor:n.inputId,id:n.labelId},t)},n.getInputProps=function(t){var e=void 0===t?{}:t,o=e.onKeyDown,a=e.onBlur,u=e.onChange,s=e.onInput,c=(e.onChangeText,Object(r.a)(e,["onKeyDown","onBlur","onChange","onInput","onChangeText"])),f={};var l,d=n.getState(),h=d.inputValue,p=d.isOpen,g=d.highlightedIndex;c.disabled||((l={}).onChange=O(u,s,n.inputHandleChange),l.onKeyDown=O(o,n.inputHandleKeyDown),l.onBlur=O(a,n.inputHandleBlur),f=l);return Object(i.a)({"aria-autocomplete":"list","aria-activedescendant":p&&"number"===typeof g&&g>=0?n.getItemId(g):null,"aria-controls":p?n.menuId:null,"aria-labelledby":n.labelId,autoComplete:"off",value:h,id:n.inputId},f,{},c)},n.inputHandleKeyDown=function(t){var e=k(t);e&&n.inputKeyDownHandlers[e]&&n.inputKeyDownHandlers[e].call(Object(o.a)(n),t)},n.inputHandleChange=function(t){n.internalSetState({type:11,isOpen:!0,inputValue:t.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var t=n.props.environment.document&&!!n.props.environment.document.activeElement&&!!n.props.environment.document.activeElement.dataset&&n.props.environment.document.activeElement.dataset.toggle&&n._rootNode&&n._rootNode.contains(n.props.environment.document.activeElement);n.isMouseDown||t||n.reset({type:10})}))},n.menuRef=function(t){n._menuNode=t},n.getMenuProps=function(t,e){var o,a=void 0===t?{}:t,u=a.refKey,s=void 0===u?"ref":u,c=a.ref,f=Object(r.a)(a,["refKey","ref"]),l=(void 0===e?{}:e).suppressRefError,d=void 0!==l&&l;return n.getMenuProps.called=!0,n.getMenuProps.refKey=s,n.getMenuProps.suppressRefError=d,Object(i.a)(((o={})[s]=x(c,n.menuRef),o.role="listbox",o["aria-labelledby"]=f&&f["aria-label"]?null:n.labelId,o.id=n.menuId,o),f)},n.getItemProps=function(t){var e,o=void 0===t?{}:t,a=o.onMouseMove,u=o.onMouseDown,s=o.onClick,c=(o.onPress,o.index),f=o.item,l=void 0===f?void 0:f,d=Object(r.a)(o,["onMouseMove","onMouseDown","onClick","onPress","index","item"]);void 0===c?(n.items.push(l),c=n.items.indexOf(l)):n.items[c]=l;var h=s,p=((e={onMouseMove:O(a,(function(){c!==n.getState().highlightedIndex&&(n.setHighlightedIndex(c,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:O(u,(function(t){t.preventDefault()}))}).onClick=O(h,(function(){n.selectItemAtIndex(c,{type:9})})),e),g=d.disabled?{onMouseDown:p.onMouseDown}:p;return Object(i.a)({id:n.getItemId(c),role:"option","aria-selected":n.getState().highlightedIndex===c},g,{},d)},n.clearItems=function(){n.items=[]},n.reset=function(t,e){void 0===t&&(t={}),t=A(t),n.internalSetState((function(e){var r=e.selectedItem;return Object(i.a)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},t)}),e)},n.toggleMenu=function(t,e){void 0===t&&(t={}),t=A(t),n.internalSetState((function(e){var r=e.isOpen;return Object(i.a)({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},{},t)}),(function(){var r=n.getState(),i=r.isOpen,o=r.highlightedIndex;i&&n.getItemCount()>0&&"number"===typeof o&&n.setHighlightedIndex(o,t),v(e)()}))},n.openMenu=function(t){n.internalSetState({isOpen:!0},t)},n.closeMenu=function(t){n.internalSetState({isOpen:!1},t)},n.updateStatus=S((function(){var t=n.getState(),e=n.items[t.highlightedIndex],r=n.getItemCount(),o=n.props.getA11yStatusMessage(Object(i.a)({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:e},t));n.previousResultCount=r,P(o,n.props.environment.document)}),200);var a=n.props,u=a.defaultHighlightedIndex,s=a.initialHighlightedIndex,c=void 0===s?u:s,f=a.defaultIsOpen,l=a.initialIsOpen,d=void 0===l?f:l,h=a.initialInputValue,p=void 0===h?"":h,g=a.initialSelectedItem,m=void 0===g?null:g,y=n.getState({highlightedIndex:c,isOpen:d,inputValue:p,selectedItem:m});return null!=y.selectedItem&&void 0===n.props.initialInputValue&&(y.inputValue=n.props.itemToString(y.selectedItem)),n.state=y,n}Object(a.a)(e,t);var n=e.prototype;return n.internalClearTimeouts=function(){this.timeoutIds.forEach((function(t){clearTimeout(t)})),this.timeoutIds=[]},n.getState=function(t){var e=this;return void 0===t&&(t=this.state),Object.keys(t).reduce((function(n,r){return n[r]=e.isControlledProp(r)?e.props[r]:t[r],n}),{})},n.isControlledProp=function(t){return void 0!==this.props[t]},n.getItemCount=function(){var t=this.items.length;return null!=this.itemCount?t=this.itemCount:void 0!==this.props.itemCount&&(t=this.props.itemCount),t},n.getItemNodeFromIndex=function(t){return this.props.environment.document.getElementById(this.getItemId(t))},n.scrollHighlightedItemIntoView=function(){var t=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(t,this._menuNode)},n.moveHighlightedIndex=function(t,e){var n=this.getItemCount();if(n>0){var r=C(t,this.getState().highlightedIndex,n);this.setHighlightedIndex(r,e)}},n.highlightFirstOrLastIndex=function(t,e,n){var r=this.getItemCount()-1;r<0||!this.getState().isOpen||(t.preventDefault(),this.setHighlightedIndex(e?0:r,n))},n.getStateAndHelpers=function(){var t=this.getState(),e=t.highlightedIndex,n=t.inputValue,r=t.selectedItem,i=t.isOpen,o=this.props.itemToString,a=this.id,u=this.getRootProps,s=this.getToggleButtonProps,c=this.getLabelProps,f=this.getMenuProps,l=this.getInputProps,d=this.getItemProps,h=this.openMenu,p=this.closeMenu,g=this.toggleMenu,m=this.selectItem,b=this.selectItemAtIndex,v=this.selectHighlightedItem,y=this.setHighlightedIndex,_=this.clearSelection,w=this.clearItems;return{getRootProps:u,getToggleButtonProps:s,getLabelProps:c,getMenuProps:f,getInputProps:l,getItemProps:d,reset:this.reset,openMenu:h,closeMenu:p,toggleMenu:g,selectItem:m,selectItemAtIndex:b,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:_,clearItems:w,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:o,id:a,highlightedIndex:e,inputValue:n,isOpen:i,selectedItem:r}},n.componentDidMount=function(){var t=this;var e=function(e,n){void 0===n&&(n=!0);var r=t.props.environment.document;return[t._rootNode,t._menuNode].some((function(t){return t&&(w(t,e)||n&&w(t,r.activeElement))}))},n=function(){t.isMouseDown=!0},r=function(n){t.isMouseDown=!1,!e(n.target)&&t.getState().isOpen&&t.reset({type:1},(function(){return t.props.onOuterClick(t.getStateAndHelpers())}))},i=function(){t.isTouchMove=!1},o=function(){t.isTouchMove=!0},a=function(n){var r=e(n.target,!1);t.isTouchMove||r||!t.getState().isOpen||t.reset({type:16},(function(){return t.props.onOuterClick(t.getStateAndHelpers())}))},u=this.props.environment;u.addEventListener("mousedown",n),u.addEventListener("mouseup",r),u.addEventListener("touchstart",i),u.addEventListener("touchmove",o),u.addEventListener("touchend",a),this.cleanup=function(){t.internalClearTimeouts(),t.updateStatus.cancel(),u.removeEventListener("mousedown",n),u.removeEventListener("mouseup",r),u.removeEventListener("touchstart",i),u.removeEventListener("touchmove",o),u.removeEventListener("touchend",a)}},n.shouldScroll=function(t,e){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===e.highlightedIndex?t:e).highlightedIndex;return n&&this.getState().isOpen&&!t.isOpen||n!==r},n.componentDidUpdate=function(t,e){this.isControlledProp("selectedItem")&&this.props.selectedItemChanged(t.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(e,t)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},n.componentWillUnmount=function(){this.cleanup()},n.render=function(){var t=E(this.props.children,y);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var e=E(t(this.getStateAndHelpers()));return e?this.getRootProps.called||this.props.suppressRefError?e:M(e)?f.a.cloneElement(e,this.getRootProps(T(e))):void 0:null},e}(c.Component);function D(t,e,n,r){if(-1===e)return t>0?0:n-1;var i=e+t;return i<0?r?n-1:0:i>=n?r?0:n-1:i}function L(t,e,n,r){var i,o=n.map((function(t){return r(t).toLowerCase()})),a=e+1;return(i=o.slice(a).findIndex((function(e){return e.startsWith(t)})))>-1?i+a:o.slice(0,a).findIndex((function(e){return e.startsWith(t)}))}function F(t,e){return Object.keys(t).reduce((function(n,r){return n[r]=r in e?e[r]:t[r],n}),{})}function B(t){return/^\S{1}$/.test(t)}function U(t){return""+t.slice(0,1).toUpperCase()+t.slice(1)}function z(t,e,n){Object.keys(e).forEach((function(r){!function(t,e,n,r){var i="on"+U(t)+"Change";e[i]&&void 0!==r[t]&&r[t]!==n[t]&&e[i](r)}(r,t,e,n)})),t.onStateChange&&void 0!==n&&t.onStateChange(n)}j.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:function(t){var e=t.isOpen,n=t.selectedItem,r=t.resultCount,i=t.previousResultCount,o=t.itemToString;return e?r?r!==i?r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":n?o(n):""},itemToString:function(t){return null==t?"":String(t)},onStateChange:y,onInputValueChange:y,onUserAction:y,onChange:y,onSelect:y,onOuterClick:y,selectedItemChanged:function(t,e){return t!==e},environment:"undefined"===typeof window?{}:window,stateReducer:function(t,e){return e},suppressRefError:!1,scrollIntoView:_},j.stateChangeTypes=R;var H={highlightedIndex:-1,isOpen:!1,selectedItem:null};function V(t,e,n){var r=t.items,i=t.initialHighlightedIndex,o=t.defaultHighlightedIndex,a=e.selectedItem,u=e.highlightedIndex;return void 0!==i&&u>-1?i:void 0!==o?o:a?0===n?r.indexOf(a):D(n,r.indexOf(a),r.length,!1):0===n?-1:n<0?r.length-1:0}function q(t,e){var n="default"+U(e);return n in t?t[n]:H[e]}function W(t,e){if(e in t)return t[e];var n="initial"+U(e);return n in t?t[n]:q(t,e)}var G={items:s.a.array.isRequired,itemToString:s.a.func,getA11yStatusMessage:s.a.func,getA11ySelectionMessage:s.a.func,circularNavigation:s.a.bool,highlightedIndex:s.a.number,defaultHighlightedIndex:s.a.number,initialHighlightedIndex:s.a.number,isOpen:s.a.bool,defaultIsOpen:s.a.bool,initialIsOpen:s.a.bool,selectedItem:s.a.any,initialSelectedItem:s.a.any,defaultSelectedItem:s.a.any,id:s.a.string,labelId:s.a.string,menuId:s.a.string,getItemId:s.a.func,toggleButtonId:s.a.string,stateReducer:s.a.func,onSelectedItemChange:s.a.func,onHighlightedIndexChange:s.a.func,onStateChange:s.a.func,onIsOpenChange:s.a.func,environment:s.a.shape({addEventListener:s.a.func,removeEventListener:s.a.func,document:s.a.shape({getElementById:s.a.func,activeElement:s.a.any,body:s.a.any})})},K=Object.freeze({MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownCharacter:6,MenuBlur:7,ItemMouseMove:8,ItemClick:9,ToggleButtonKeyDownCharacter:10,ToggleButtonKeyDownArrowDown:11,ToggleButtonKeyDownArrowUp:12,ToggleButtonClick:13,FunctionToggleMenu:14,FunctionOpenMenu:15,FunctionCloseMenu:16,FunctionSetHighlightedIndex:17,FunctionSelectItem:18,FunctionClearKeysSoFar:19,FunctionReset:20});function Y(t,e){var n,r=e.type,o=e.props,a=e.shiftKey;switch(r){case 8:n={highlightedIndex:e.index};break;case 9:n={isOpen:q(o,"isOpen"),highlightedIndex:q(o,"highlightedIndex"),selectedItem:o.items[e.index]};break;case 7:n=Object(i.a)({isOpen:!1,highlightedIndex:-1},t.highlightedIndex>=0&&{selectedItem:o.items[t.highlightedIndex]});break;case 0:n={highlightedIndex:D(a?5:1,t.highlightedIndex,o.items.length,o.circularNavigation)};break;case 1:n={highlightedIndex:D(a?-5:-1,t.highlightedIndex,o.items.length,o.circularNavigation)};break;case 3:n={highlightedIndex:0};break;case 4:n={highlightedIndex:o.items.length-1};break;case 2:n={isOpen:!1,highlightedIndex:-1};break;case 5:n=Object(i.a)({isOpen:q(o,"isOpen"),highlightedIndex:q(o,"highlightedIndex")},t.highlightedIndex>=0&&{selectedItem:o.items[t.highlightedIndex]});break;case 6:var u=e.key,s=""+t.keysSoFar+u,c=L(s,t.highlightedIndex,o.items,o.itemToString);n=Object(i.a)({keysSoFar:s},c>=0&&{highlightedIndex:c});break;case 10:var f=e.key,l=""+t.keysSoFar+f,d=L(l,t.selectedItem?o.items.indexOf(t.selectedItem):-1,o.items,o.itemToString);n=Object(i.a)({keysSoFar:l},d>=0&&{selectedItem:o.items[d]});break;case 11:n={isOpen:!0,highlightedIndex:V(o,t,1)};break;case 12:n={isOpen:!0,highlightedIndex:V(o,t,-1)};break;case 13:case 14:n={isOpen:!t.isOpen,highlightedIndex:t.isOpen?-1:V(o,t,0)};break;case 15:n={isOpen:!0,highlightedIndex:V(o,t,0)};break;case 16:n={isOpen:!1};break;case 17:n={highlightedIndex:e.highlightedIndex};break;case 18:n={selectedItem:e.selectedItem};break;case 19:n={keysSoFar:""};break;case 20:n={highlightedIndex:q(o,"highlightedIndex"),isOpen:q(o,"isOpen"),selectedItem:q(o,"selectedItem")};break;default:throw new Error("Reducer called without proper action type.")}return Object(i.a)({},t,{},n)}var Z,Q,X,J=(Z=et,Q=G,function(t){void 0===t&&(t={}),Object.entries(Q).forEach((function(e){var n=e[0];s.a.checkPropTypes(Q,t,n,Z.name)}))}),tt={itemToString:function(t){return t?String(t):""},stateReducer:function(t,e){return e.changes},getA11yStatusMessage:function(t){var e=t.isOpen,n=t.items;if(!n)return"";var r=n.length;return e?0===r?"No results are available":r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":""},getA11ySelectionMessage:function(t){var e=t.selectedItem;return(0,t.itemToString)(e)+" has been selected."},scrollIntoView:_,environment:"undefined"===typeof window?{}:window};function et(t){void 0===t&&(t={}),J(t);var e=Object(i.a)({},tt,{},t),n=e.items,o=e.itemToString,a=e.getA11yStatusMessage,u=e.getA11ySelectionMessage,s=e.initialIsOpen,l=e.defaultIsOpen,d=e.scrollIntoView,h=e.environment,p=function(t,e,n){var r=f.a.useCallback((function(e,n){e=F(e,n.props);var r=n.props.stateReducer,o=t(e,n),a=r(e,Object(i.a)({},n,{changes:o}));return z(n.props,e,a),a}),[t]),o=f.a.useReducer(r,e),a=o[0],u=o[1];return[F(a,n),u]}(Y,function(t){var e=W(t,"selectedItem"),n=W(t,"highlightedIndex"),r=W(t,"isOpen");return{highlightedIndex:n<0&&e?t.items.indexOf(e):n,isOpen:r,selectedItem:e,keysSoFar:""}}(e),e),g=p[0],b=g.isOpen,v=g.highlightedIndex,y=g.selectedItem,_=g.keysSoFar,w=p[1],E=function(t){return w(Object(i.a)({props:e},t))},M=function(t,e){var n=void 0===e?{}:e,r=n.id,i=n.labelId,o=n.menuId,a=n.getItemId,u=n.toggleButtonId,s=void 0===r?"downshift-"+t():r;return{labelId:i||s+"-label",menuId:o||s+"-menu",getItemId:a||function(t){return s+"-item-"+t},toggleButtonId:u||s+"-toggle-button"}}(m,e),T=M.labelId,$=M.getItemId,A=M.menuId,C=M.toggleButtonId,I=Object(c.useRef)(null),N=Object(c.useRef)(null),R=Object(c.useRef)();R.current=[];var j=Object(c.useRef)(!0),D=Object(c.useRef)(!0);Object(c.useEffect)((function(){j.current||P(a({isOpen:b,items:n,selectedItem:y,itemToString:o}),h.document)}),[b]),Object(c.useEffect)((function(){j.current||P(u({isOpen:b,items:n,selectedItem:y,itemToString:o}),h.document)}),[y]),Object(c.useEffect)((function(){j.current&&(X=S((function(){E({type:19})}),500)),_&&X()}),[_]),Object(c.useEffect)((function(){j.current?(s||l||b)&&N.current.focus():b?N.current.focus():h.document.activeElement===N.current&&I.current.focus()}),[b]),Object(c.useEffect)((function(){v<0||!b||!R.current.length||(!1===D.current?D.current=!0:d(R.current[v],N.current))}),[v]),Object(c.useEffect)((function(){j.current=!1}),[]);var L={ArrowDown:function(t){t.preventDefault(),E({type:0,shiftKey:t.shiftKey})},ArrowUp:function(t){t.preventDefault(),E({type:1,shiftKey:t.shiftKey})},Home:function(t){t.preventDefault(),E({type:3})},End:function(t){t.preventDefault(),E({type:4})},Escape:function(){E({type:2})},Enter:function(t){t.preventDefault(),E({type:5})},Tab:function(t){t.shiftKey&&E({type:7})}},U={ArrowDown:function(t){t.preventDefault(),E({type:11})},ArrowUp:function(t){t.preventDefault(),E({type:12})}},H=function(t){var e=k(t);e&&L[e]?L[e](t):B(e)&&E({type:6,key:e})},V=function(t){t.relatedTarget!==I.current&&E({type:7})},q=function(){E({type:13})},G=function(t){var e=k(t);e&&U[e]?U[e](t):B(e)&&E({type:10,key:e})};return{getToggleButtonProps:function(t){var e,n=void 0===t?{}:t,o=n.onClick,a=n.onKeyDown,u=n.refKey,s=void 0===u?"ref":u,c=n.ref,f=Object(r.a)(n,["onClick","onKeyDown","refKey","ref"]);return Object(i.a)(((e={})[s]=x(c,(function(t){I.current=t})),e.id=C,e["aria-haspopup"]="listbox",e["aria-expanded"]=b,e["aria-labelledby"]=T+" "+C,e.onClick=O(o,q),e.onKeyDown=O(a,G),e),f)},getLabelProps:function(t){return Object(i.a)({id:T},t)},getMenuProps:function(t){var e,n=void 0===t?{}:t,o=n.onKeyDown,a=n.onBlur,u=n.refKey,s=void 0===u?"ref":u,c=n.ref,f=Object(r.a)(n,["onKeyDown","onBlur","refKey","ref"]);return Object(i.a)(((e={})[s]=x(c,(function(t){N.current=t})),e.id=A,e.role="listbox",e["aria-labelledby"]=T,e.tabIndex=-1,e),v>-1&&{"aria-activedescendant":$(v)},{onKeyDown:O(o,H),onBlur:O(a,V)},f)},getItemProps:function(t){var e,o=void 0===t?{}:t,a=o.item,u=o.index,s=o.refKey,c=void 0===s?"ref":s,f=o.ref,l=o.onMouseMove,d=o.onClick,h=Object(r.a)(o,["item","index","refKey","ref","onMouseMove","onClick"]),p=function(t,e,n){return void 0!==t?t:0===n.length?-1:n.indexOf(e)}(u,a,n);if(p<0)throw new Error("Pass either item or item index in getItemProps!");return Object(i.a)(((e={})[c]=x(f,(function(t){t&&R.current.push(t)})),e.role="option",e),p===v&&{"aria-selected":!0},{id:$(p),onMouseMove:O(l,(function(){return function(t){t!==v&&(D.current=!1,E({type:8,index:t}))}(p)})),onClick:O(d,(function(){return function(t){E({type:9,index:t})}(p)}))},h)},toggleMenu:function(){E({type:14})},openMenu:function(){E({type:15})},closeMenu:function(){E({type:16})},setHighlightedIndex:function(t){E({type:17,highlightedIndex:t})},selectItem:function(t){E({type:18,selectedItem:t})},reset:function(){E({type:20})},highlightedIndex:v,isOpen:b,selectedItem:y}}et.stateChangeTypes=K},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(162);function i(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var o=n(163),a=n(534);function u(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Object(r.a)(arguments[0].length,Object(o.a)(i,arguments[0],Object(a.a)(arguments)))}},function(t,e,n){"use strict";var r=n(41),i=n(61),o=n(93),a=Number.isInteger||function(t){return t<<0===t},u=n(564),s=n(545),c=Object(r.a)((function t(e,n,r){if(0===e.length)return n;var c=e[0];if(e.length>1){var f=!Object(s.a)(r)&&Object(i.a)(c,r)?r[c]:a(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,f)}if(a(c)&&Object(o.a)(r)){var l=[].concat(r);return l[c]=n,l}return Object(u.a)(c,n,r)}));e.a=c},function(t,e,n){"use strict";var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;e.a=function(t){return"string"===typeof t&&r.test(t)}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(304),c=o.forwardRef((function(t,e){var n=t.children,u=t.classes,c=t.className,f=t.invisible,l=void 0!==f&&f,d=t.open,h=t.transitionDuration,p=t.TransitionComponent,g=void 0===p?s.a:p,m=Object(i.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement(g,Object(r.a)({in:d,timeout:h},m),o.createElement("div",{className:Object(a.a)(u.root,c,l&&u.invisible),"aria-hidden":!0,ref:e},n))}));e.a=Object(u.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(c)},function(t,e,n){"use strict";n.d(e,"a",(function(){return Nt}));var r=n(73),i=Date.now(),o="fnValues"+i,a="fnStyle"+ ++i,u=function(){return{onCreateRule:function(t,e,n){if("function"!==typeof e)return null;var i=Object(r.d)(t,{},n);return i[a]=e,i},onProcessStyle:function(t,e){if(o in e||a in e)return t;var n={};for(var r in t){var i=t[r];"function"===typeof i&&(delete t[r],n[r]=i)}return e[o]=n,t},onUpdate:function(t,e,n,r){var i=e,u=i[a];u&&(i.style=u(t)||{});var s=i[o];if(s)for(var c in s)i.prop(c,s[c](t),r)}}},s=n(4),c="@global",f="@global ",l=function(){function t(t,e,n){for(var i in this.type="global",this.at=c,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=n,this.rules=new r.a(Object(s.a)({},n,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),d=function(){function t(t,e,n){this.type="global",this.at=c,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=n;var r=t.substr(f.length);this.rule=n.jss.createRule(r,e,Object(s.a)({},n,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),h=/\s*,\s*/g;function p(t,e){for(var n=t.split(h),r="",i=0;i<n.length;i++)r+=e+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var g=function(){return{onCreateRule:function(t,e,n){if(!t)return null;if(t===c)return new l(t,e,n);if("@"===t[0]&&t.substr(0,f.length)===f)return new d(t,e,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var n=t.options,r=t.style,i=r?r[c]:null;if(i){for(var o in i)e.addRule(o,i[o],Object(s.a)({},n,{selector:p(o,t.selector)}));delete r[c]}}(t,e),function(t,e){var n=t.options,r=t.style;for(var i in r)if("@"===i[0]&&i.substr(0,c.length)===c){var o=p(i.substr(c.length),t.selector);e.addRule(o,r[i],Object(s.a)({},n,{selector:o})),delete r[i]}}(t,e))}}},m=/\s*,\s*/g,b=/&/g,v=/\$([\w-]+)/g;var y=function(){function t(t,e){return function(n,r){var i=t.getRule(r)||e&&e.getRule(r);return i?(i=i).selector:r}}function e(t,e){for(var n=e.split(m),r=t.split(m),i="",o=0;o<n.length;o++)for(var a=n[o],u=0;u<r.length;u++){var s=r[u];i&&(i+=", "),i+=-1!==s.indexOf("&")?s.replace(b,a):a+" "+s}return i}function n(t,e,n){if(n)return Object(s.a)({},n,{index:n.index+1});var r=t.options.nestingLevel;r=void 0===r?1:r+1;var i=Object(s.a)({},t.options,{nestingLevel:r,index:e.indexOf(t)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var a,u,c=i,f=c.options.parent;for(var l in r){var d=-1!==l.indexOf("&"),h="@"===l[0];if(d||h){if(a=n(c,f,a),d){var p=e(l,c.selector);u||(u=t(f,o)),p=p.replace(v,u),f.addRule(p,r[l],Object(s.a)({},a,{selector:p}))}else h&&f.addRule(l,{},a).addRule(c.key,r[l],{selector:c.selector});delete r[l]}}return r}}},_=/[A-Z]/g,w=/^ms-/,S={};function O(t){return"-"+t.toLowerCase()}var x=function(t){if(S.hasOwnProperty(t))return S[t];var e=t.replace(_,O);return S[t]=w.test(e)?"-"+e:e};function E(t){var e={};for(var n in t){e[0===n.indexOf("--")?n:x(n)]=t[n]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(E):e.fallbacks=E(t.fallbacks)),e}var M=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=E(t[e]);return t}return E(t)},onChangeValue:function(t,e,n){if(0===e.indexOf("--"))return t;var r=x(e);return e===r?t:(n.prop(r,t),null)}}},T=r.f&&CSS?CSS.px:"px",$=r.f&&CSS?CSS.ms:"ms",A=r.f&&CSS?CSS.percent:"%";function k(t){var e=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},r={};for(var i in t)r[i]=t[i],r[i.replace(e,n)]=t[i];return r}var C=k({"animation-delay":$,"animation-duration":$,"background-position":T,"background-position-x":T,"background-position-y":T,"background-size":T,border:T,"border-bottom":T,"border-bottom-left-radius":T,"border-bottom-right-radius":T,"border-bottom-width":T,"border-left":T,"border-left-width":T,"border-radius":T,"border-right":T,"border-right-width":T,"border-top":T,"border-top-left-radius":T,"border-top-right-radius":T,"border-top-width":T,"border-width":T,"border-block":T,"border-block-end":T,"border-block-end-width":T,"border-block-start":T,"border-block-start-width":T,"border-block-width":T,"border-inline":T,"border-inline-end":T,"border-inline-end-width":T,"border-inline-start":T,"border-inline-start-width":T,"border-inline-width":T,"border-start-start-radius":T,"border-start-end-radius":T,"border-end-start-radius":T,"border-end-end-radius":T,margin:T,"margin-bottom":T,"margin-left":T,"margin-right":T,"margin-top":T,"margin-block":T,"margin-block-end":T,"margin-block-start":T,"margin-inline":T,"margin-inline-end":T,"margin-inline-start":T,padding:T,"padding-bottom":T,"padding-left":T,"padding-right":T,"padding-top":T,"padding-block":T,"padding-block-end":T,"padding-block-start":T,"padding-inline":T,"padding-inline-end":T,"padding-inline-start":T,"mask-position-x":T,"mask-position-y":T,"mask-size":T,height:T,width:T,"min-height":T,"max-height":T,"min-width":T,"max-width":T,bottom:T,left:T,top:T,right:T,inset:T,"inset-block":T,"inset-block-end":T,"inset-block-start":T,"inset-inline":T,"inset-inline-end":T,"inset-inline-start":T,"box-shadow":T,"text-shadow":T,"column-gap":T,"column-rule":T,"column-rule-width":T,"column-width":T,"font-size":T,"font-size-delta":T,"letter-spacing":T,"text-decoration-thickness":T,"text-indent":T,"text-stroke":T,"text-stroke-width":T,"word-spacing":T,motion:T,"motion-offset":T,outline:T,"outline-offset":T,"outline-width":T,perspective:T,"perspective-origin-x":A,"perspective-origin-y":A,"transform-origin":A,"transform-origin-x":A,"transform-origin-y":A,"transform-origin-z":A,"transition-delay":$,"transition-duration":$,"vertical-align":T,"flex-basis":T,"shape-margin":T,size:T,gap:T,grid:T,"grid-gap":T,"row-gap":T,"grid-row-gap":T,"grid-column-gap":T,"grid-template-rows":T,"grid-template-columns":T,"grid-auto-rows":T,"grid-auto-columns":T,"box-shadow-x":T,"box-shadow-y":T,"box-shadow-blur":T,"box-shadow-spread":T,"font-line-height":T,"text-shadow-x":T,"text-shadow-y":T,"text-shadow-blur":T});function I(t,e,n){if(null==e)return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]=I(t,e[r],n);else if("object"===typeof e)if("fallbacks"===t)for(var i in e)e[i]=I(i,e[i],n);else for(var o in e)e[o]=I(t+"-"+o,e[o],n);else if("number"===typeof e&&!Number.isNaN(e)){var a=n[t]||C[t];return!a||0===e&&a===T?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var P=function(t){void 0===t&&(t={});var e=k(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=I(r,t[r],e);return t},onChangeValue:function(t,n){return I(n,t,e)}}},N=n(195),R=n(107),j="",D="",L="",F="",B=N.a&&"ontouchstart"in document.documentElement;if(N.a){var U={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},z=document.createElement("p").style;for(var H in U)if(H+"Transform"in z){j=H,D=U[H];break}"Webkit"===j&&"msHyphens"in z&&(j="ms",D=U.ms,F="edge"),"Webkit"===j&&"-apple-trailing-word"in z&&(L="apple")}var V=j,q=D,W=L,G=F,K=B;var Y={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===V?"-webkit-"+t:q+t)}},Z={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===V?q+"print-"+t:t)}},Q=/[-\s]+(.)?/g;function X(t,e){return e?e.toUpperCase():""}function J(t){return t.replace(Q,X)}function tt(t){return J("-"+t)}var et,nt={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===V){var n="mask-image";if(J(n)in e)return t;if(V+tt(n)in e)return q+t}return t}},rt={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==W||K?t:q+t)}},it={noPrefill:["transform"],supportedProperty:function(t,e,n){return"transform"===t&&(n.transform?t:q+t)}},ot={noPrefill:["transition"],supportedProperty:function(t,e,n){return"transition"===t&&(n.transition?t:q+t)}},at={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===V||"ms"===V&&"edge"!==G?q+t:t)}},ut={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===V||"ms"===V||"apple"===W?q+t:t)}},st={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===V?"WebkitColumn"+tt(t)in e&&q+"column-"+t:"Moz"===V&&("page"+tt(t)in e&&"page-"+t))}},ct={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===V)return t;var n=t.replace("-inline","");return V+tt(n)in e&&q+n}},ft={supportedProperty:function(t,e){return J(t)in e&&t}},lt={supportedProperty:function(t,e){var n=tt(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:V+n in e?q+t:"Webkit"!==V&&"Webkit"+n in e&&"-webkit-"+t}},dt={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===V?""+q+t:t)}},ht={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===V?q+"scroll-chaining":t)}},pt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},gt={supportedProperty:function(t,e){var n=pt[t];return!!n&&(V+tt(n)in e&&q+n)}},mt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},bt=Object.keys(mt),vt=function(t){return q+t},yt=[Y,Z,nt,rt,it,ot,at,ut,st,ct,ft,lt,dt,ht,gt,{supportedProperty:function(t,e,n){var r=n.multiple;if(bt.indexOf(t)>-1){var i=mt[t];if(!Array.isArray(i))return V+tt(i)in e&&q+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(V+tt(i[0])in e))return!1;return i.map(vt)}return!1}}],_t=yt.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),wt=yt.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(R.a)(e.noPrefill)),t}),[]),St={};if(N.a){et=document.createElement("p");var Ot=window.getComputedStyle(document.documentElement,"");for(var xt in Ot)isNaN(xt)||(St[Ot[xt]]=Ot[xt]);wt.forEach((function(t){return delete St[t]}))}function Et(t,e){if(void 0===e&&(e={}),!et)return t;if(null!=St[t])return St[t];"transition"!==t&&"transform"!==t||(e[t]=t in et.style);for(var n=0;n<_t.length&&(St[t]=_t[n](t,et.style,e),!St[t]);n++);try{et.style[t]=""}catch(r){return!1}return St[t]}var Mt,Tt={},$t={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},At=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function kt(t,e,n){if("var"===e)return"var";if("all"===e)return"all";if("all"===n)return", all";var r=e?Et(e):", "+Et(n);return r||(e||n)}function Ct(t,e){var n=e;if(!Mt||"content"===t)return e;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=t+n;if(null!=Tt[r])return Tt[r];try{Mt.style[t]=n}catch(i){return Tt[r]=!1,!1}if($t[t])n=n.replace(At,kt);else if(""===Mt.style[t]&&("-ms-flex"===(n=q+n)&&(Mt.style[t]="-ms-flexbox"),Mt.style[t]=n,""===Mt.style[t]))return Tt[r]=!1,!1;return Mt.style[t]="",Tt[r]=n,Tt[r]}N.a&&(Mt=document.createElement("p"));var It=function(){function t(e){for(var n in e){var i=e[n];if("fallbacks"===n&&Array.isArray(i))e[n]=i.map(t);else{var o=!1,a=Et(n);a&&a!==n&&(o=!0);var u=!1,s=Ct(a,Object(r.g)(i));s&&s!==i&&(u=!0),(o||u)&&(o&&delete e[n],e[a||n]=s||i)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(n=e.at)[1]||"ms"===V?n:"@"+q+"keyframes"+n.substr(10)}var n},onProcessStyle:function(e,n){return"style"!==n.type?e:t(e)},onChangeValue:function(t,e){return Ct(e,Object(r.g)(t))||t}}};var Pt=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)r[i[o]]=e[i[o]];return r}}};function Nt(){return{plugins:[u(),g(),y(),M(),P(),"undefined"===typeof window?null:It(),Pt()]}}},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=n(47),u=(n(13),n(401)),s=n(1013),c=n(74),f=n(972),l=n(140),d=n(44),h=n(120),p=n(286),g=n(297),m=n(171),b=n(107),v=n(298),y=n(296);function _(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function w(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function S(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,n].concat(Object(b.a)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&_(t,i)}))}function O(t,e){var n=-1;return t.some((function(t,r){return!!e(t)&&(n=r,!0)})),n}function x(t,e){var n,r=[],i=[],o=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(c.a)(t);return e.body===t?Object(y.a)(e).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(o)){var a=Object(v.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(w(o)+a,"px"),n=Object(c.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(t){i.push(t.style.paddingRight),t.style.paddingRight="".concat(w(t)+a,"px")}))}var u=o.parentElement,s="HTML"===u.nodeName&&"scroll"===window.getComputedStyle(u)["overflow-y"]?u:o;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(t,e){i[e]?t.style.paddingRight=i[e]:t.style.removeProperty("padding-right")})),r.forEach((function(t){var e=t.value,n=t.el,r=t.key;e?n.style.setProperty(r,e):n.style.removeProperty(r)}))}}var E=function(){function t(){Object(g.a)(this,t),this.modals=[],this.containers=[]}return Object(m.a)(t,[{key:"add",value:function(t,e){var n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&_(t.modalRef,!1);var r=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);S(e,t.mountNode,t.modalRef,r,!0);var i=O(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(t,e){var n=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];r.restore||(r.restore=x(r,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var n=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(e,1),0===r.modals.length)r.restore&&r.restore(),t.modalRef&&_(t.modalRef,!0),S(r.container,t.mountNode,t.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&_(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}();var M=function(t){var e=t.children,n=t.disableAutoFocus,r=void 0!==n&&n,i=t.disableEnforceFocus,u=void 0!==i&&i,s=t.disableRestoreFocus,f=void 0!==s&&s,l=t.getDoc,h=t.isEnabled,p=t.open,g=o.useRef(),m=o.useRef(null),b=o.useRef(null),v=o.useRef(),y=o.useRef(null),_=o.useCallback((function(t){y.current=a.findDOMNode(t)}),[]),w=Object(d.a)(e.ref,_),S=o.useRef();return o.useEffect((function(){S.current=p}),[p]),!S.current&&p&&"undefined"!==typeof window&&(v.current=l().activeElement),o.useEffect((function(){if(p){var t=Object(c.a)(y.current);r||!y.current||y.current.contains(t.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var e=function(){t.hasFocus()&&!u&&h()&&!g.current?y.current&&!y.current.contains(t.activeElement)&&y.current.focus():g.current=!1},n=function(e){!u&&h()&&9===e.keyCode&&t.activeElement===y.current&&(g.current=!0,e.shiftKey?b.current.focus():m.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",n,!0);var i=setInterval((function(){e()}),50);return function(){clearInterval(i),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",n,!0),f||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[r,u,f,h,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelStart"}),o.cloneElement(e,{ref:w}),o.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelEnd"}))},T={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},$=o.forwardRef((function(t,e){var n=t.invisible,a=void 0!==n&&n,u=t.open,s=Object(r.a)(t,["invisible","open"]);return u?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:e},s,{style:Object(i.a)({},T.root,a?T.invisible:{},s.style)})):null}));var A=new E,k=o.forwardRef((function(t,e){var n=Object(u.a)(),g=Object(s.a)({name:"MuiModal",props:Object(i.a)({},t),theme:n}),m=g.BackdropComponent,b=void 0===m?$:m,v=g.BackdropProps,y=g.children,w=g.closeAfterTransition,S=void 0!==w&&w,O=g.container,x=g.disableAutoFocus,E=void 0!==x&&x,T=g.disableBackdropClick,k=void 0!==T&&T,C=g.disableEnforceFocus,I=void 0!==C&&C,P=g.disableEscapeKeyDown,N=void 0!==P&&P,R=g.disablePortal,j=void 0!==R&&R,D=g.disableRestoreFocus,L=void 0!==D&&D,F=g.disableScrollLock,B=void 0!==F&&F,U=g.hideBackdrop,z=void 0!==U&&U,H=g.keepMounted,V=void 0!==H&&H,q=g.manager,W=void 0===q?A:q,G=g.onBackdropClick,K=g.onClose,Y=g.onEscapeKeyDown,Z=g.onRendered,Q=g.open,X=Object(r.a)(g,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=o.useState(!0),tt=J[0],et=J[1],nt=o.useRef({}),rt=o.useRef(null),it=o.useRef(null),ot=Object(d.a)(it,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(g),ut=function(){return Object(c.a)(rt.current)},st=function(){return nt.current.modalRef=it.current,nt.current.mountNode=rt.current,nt.current},ct=function(){W.mount(st(),{disableScrollLock:B}),it.current.scrollTop=0},ft=Object(h.a)((function(){var t=function(t){return t="function"===typeof t?t():t,a.findDOMNode(t)}(O)||ut().body;W.add(st(),t),it.current&&ct()})),lt=o.useCallback((function(){return W.isTopModal(st())}),[W]),dt=Object(h.a)((function(t){rt.current=t,t&&(Z&&Z(),Q&<()?ct():_(it.current,!0))})),ht=o.useCallback((function(){W.remove(st())}),[W]);if(o.useEffect((function(){return function(){ht()}}),[ht]),o.useEffect((function(){Q?ft():at&&S||ht()}),[Q,ht,at,S,ft]),!V&&!Q&&(!at||tt))return null;var pt=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:p.a}),gt={};return void 0===y.props.tabIndex&&(gt.tabIndex=y.props.tabIndex||"-1"),at&&(gt.onEnter=Object(l.a)((function(){et(!1)}),y.props.onEnter),gt.onExited=Object(l.a)((function(){et(!0),S&&ht()}),y.props.onExited)),o.createElement(f.a,{ref:dt,container:O,disablePortal:j},o.createElement("div",Object(i.a)({ref:ot,onKeyDown:function(t){"Escape"===t.key&<()&&(Y&&Y(t),N||(t.stopPropagation(),K&&K(t,"escapeKeyDown")))},role:"presentation"},X,{style:Object(i.a)({},pt.root,!Q&&tt?pt.hidden:{},X.style)}),z?null:o.createElement(b,Object(i.a)({open:Q,onClick:function(t){t.target===t.currentTarget&&(G&&G(t),!k&&K&&K(t,"backdropClick"))}},v)),o.createElement(M,{disableEnforceFocus:I,disableAutoFocus:E,disableRestoreFocus:L,getDoc:ut,isEnabled:lt,open:Q},o.cloneElement(y,gt))))}));e.a=k},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(284),a=n(1),u=(n(13),n(15)),s=n(118),c=n(191),f=n(24),l=n(33),d=n(44),h=n(215);function p(t,e){return parseInt(t[e],10)||0}var g="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},b=a.forwardRef((function(t,e){var n=t.onChange,o=t.rows,u=t.rowsMax,s=t.rowsMin,c=void 0===s?1:s,f=t.style,l=t.value,b=Object(r.a)(t,["onChange","rows","rowsMax","rowsMin","style","value"]),v=o||c,y=a.useRef(null!=l).current,_=a.useRef(null),w=Object(d.a)(e,_),S=a.useRef(null),O=a.useRef(0),x=a.useState({}),E=x[0],M=x[1],T=a.useCallback((function(){var e=_.current,n=window.getComputedStyle(e),r=S.current;r.style.width=n.width,r.value=e.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=p(n,"padding-bottom")+p(n,"padding-top"),a=p(n,"border-bottom-width")+p(n,"border-top-width"),s=r.scrollHeight-o;r.value="x";var c=r.scrollHeight-o,f=s;v&&(f=Math.max(Number(v)*c,f)),u&&(f=Math.min(Number(u)*c,f));var l=(f=Math.max(f,c))+("border-box"===i?o+a:0),d=Math.abs(f-s)<=1;M((function(t){return O.current<20&&(l>0&&Math.abs((t.outerHeightStyle||0)-l)>1||t.overflow!==d)?(O.current+=1,{overflow:d,outerHeightStyle:l}):t}))}),[u,v,t.placeholder]);a.useEffect((function(){var t=Object(h.a)((function(){O.current=0,T()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[T]),g((function(){T()})),a.useEffect((function(){O.current=0}),[l]);return a.createElement(a.Fragment,null,a.createElement("textarea",Object(i.a)({value:l,onChange:function(t){O.current=0,y||T(),n&&n(t)},ref:w,rows:v,style:Object(i.a)({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},f)},b)),a.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:Object(i.a)({},m,f)}))})),v=n(192),y="undefined"===typeof window?a.useEffect:a.useLayoutEffect,_=a.forwardRef((function(t,e){var n=t["aria-describedby"],f=t.autoComplete,h=t.autoFocus,p=t.classes,g=t.className,m=(t.color,t.defaultValue),_=t.disabled,w=t.endAdornment,S=(t.error,t.fullWidth),O=void 0!==S&&S,x=t.id,E=t.inputComponent,M=void 0===E?"input":E,T=t.inputProps,$=void 0===T?{}:T,A=t.inputRef,k=(t.margin,t.multiline),C=void 0!==k&&k,I=t.name,P=t.onBlur,N=t.onChange,R=t.onClick,j=t.onFocus,D=t.onKeyDown,L=t.onKeyUp,F=t.placeholder,B=t.readOnly,U=t.renderSuffix,z=t.rows,H=t.rowsMax,V=t.rowsMin,q=t.startAdornment,W=t.type,G=void 0===W?"text":W,K=t.value,Y=Object(r.a)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),Z=null!=$.value?$.value:K,Q=a.useRef(null!=Z).current,X=a.useRef(),J=a.useCallback((function(t){0}),[]),tt=Object(d.a)($.ref,J),et=Object(d.a)(A,tt),nt=Object(d.a)(X,et),rt=a.useState(!1),it=rt[0],ot=rt[1],at=Object(c.b)();var ut=Object(s.a)({props:t,muiFormControl:at,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ut.focused=at?at.focused:it,a.useEffect((function(){!at&&_&&it&&(ot(!1),P&&P())}),[at,_,it,P]);var st=at&&at.onFilled,ct=at&&at.onEmpty,ft=a.useCallback((function(t){Object(v.b)(t)?st&&st():ct&&ct()}),[st,ct]);y((function(){Q&&ft({value:Z})}),[Z,ft,Q]);a.useEffect((function(){ft(X.current)}),[]);var lt=M,dt=Object(i.a)({},$,{ref:nt});"string"!==typeof lt?dt=Object(i.a)({inputRef:nt,type:G},dt,{ref:null}):C?!z||H||V?(dt=Object(i.a)({rows:z,rowsMax:H},dt),lt=b):lt="textarea":dt=Object(i.a)({type:G},dt);return a.useEffect((function(){at&&at.setAdornedStart(Boolean(q))}),[at,q]),a.createElement("div",Object(i.a)({className:Object(u.a)(p.root,p["color".concat(Object(l.a)(ut.color||"primary"))],g,ut.disabled&&p.disabled,ut.error&&p.error,O&&p.fullWidth,ut.focused&&p.focused,at&&p.formControl,C&&p.multiline,q&&p.adornedStart,w&&p.adornedEnd,"dense"===ut.margin&&p.marginDense),onClick:function(t){X.current&&t.currentTarget===t.target&&X.current.focus(),R&&R(t)},ref:e},Y),q,a.createElement(c.a.Provider,{value:null},a.createElement(lt,Object(i.a)({"aria-invalid":ut.error,"aria-describedby":n,autoComplete:f,autoFocus:h,defaultValue:m,disabled:ut.disabled,id:x,onAnimationStart:function(t){ft("mui-auto-fill-cancel"===t.animationName?X.current:{value:"x"})},name:I,placeholder:F,readOnly:B,required:ut.required,rows:z,value:Z,onKeyDown:D,onKeyUp:L},dt,{className:Object(u.a)(p.input,$.className,ut.disabled&&p.disabled,C&&p.inputMultiline,ut.hiddenLabel&&p.inputHiddenLabel,q&&p.inputAdornedStart,w&&p.inputAdornedEnd,"search"===G&&p.inputTypeSearch,"dense"===ut.margin&&p.inputMarginDense),onBlur:function(t){P&&P(t),$.onBlur&&$.onBlur(t),at&&at.onBlur?at.onBlur(t):ot(!1)},onChange:function(t){if(!Q){var e=t.target||X.current;if(null==e)throw new Error(Object(o.a)(1));ft({value:e.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];$.onChange&&$.onChange.apply($,[t].concat(r)),N&&N.apply(void 0,[t].concat(r))},onFocus:function(t){ut.disabled?t.stopPropagation():(j&&j(t),$.onFocus&&$.onFocus(t),at&&at.onFocus?at.onFocus(t):ot(!0))}}))),w,U?U(Object(i.a)({},ut,{startAdornment:q})):null)}));e.a=Object(f.a)((function(t){var e="light"===t.palette.type,n={color:"currentColor",opacity:e?.42:.5,transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:e?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(i.a)({},t.typography.body1,{color:t.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:t.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(_)},function(t,e,n){"use strict";var r=n(65),i=n(69),o=(n(13),n(1)),a=n.n(o),u=n(47),s=n.n(u),c=!1,f=n(226),l="unmounted",d="exited",h="entering",p="entered",g="exiting",m=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var i,o=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=d,r.appearStatus=h):i=p:i=e.unmountOnExit||e.mountOnEnter?l:d,r.state={status:i},r.nextCallback=null,r}Object(i.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===l?{status:d}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==p&&(e=h):n!==h&&n!==p||(e=g)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!==typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===h?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:l})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[s.a.findDOMNode(this),r],o=i[0],a=i[1],u=this.getTimeouts(),f=r?u.appear:u.enter;!t&&!n||c?this.safeSetState({status:p},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:h},(function(){e.props.onEntering(o,a),e.onTransitionEnd(f,(function(){e.safeSetState({status:p},(function(){e.props.onEntered(o,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.a.findDOMNode(this);e&&!c?(this.props.onExit(r),this.safeSetState({status:g},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:d},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:s.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===l)return null;var e=this.props,n=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(r.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(f.a.Provider,{value:null},"function"===typeof n?n(t,i):a.a.cloneElement(a.a.Children.only(n),i))},e}(a.a.Component);function b(){}m.contextType=f.a,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},m.UNMOUNTED=l,m.EXITED=d,m.ENTERING=h,m.ENTERED=p,m.EXITING=g;e.a=m},,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(344),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,f=i?Symbol.for("react.provider"):60109,l=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,m="function"===typeof Symbol&&Symbol.iterator;function b(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function _(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||v}function w(){}function S(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||v}_.prototype.isReactComponent={},_.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(b(85));this.updater.enqueueSetState(this,t,e,"setState")},_.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},w.prototype=_.prototype;var O=S.prototype=new w;O.constructor=S,r(O,_.prototype),O.isPureReactComponent=!0;var x={current:null},E=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};function T(t,e,n){var r,i={},a=null,u=null;if(null!=e)for(r in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(a=""+e.key),e)E.call(e,r)&&!M.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),f=0;f<s;f++)c[f]=arguments[f+2];i.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:t,key:a,ref:u,props:i,_owner:x.current}}function $(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}var A=/\/+/g,k=[];function C(t,e,n,r){if(k.length){var i=k.pop();return i.result=t,i.keyPrefix=e,i.func=n,i.context=r,i.count=0,i}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function I(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>k.length&&k.push(t)}function P(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var u=!1;if(null===t)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return n(r,t,""===e?"."+R(t,0):e),1;if(u=0,e=""===e?".":e+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=e+R(i=t[s],s);u+=P(i,c,n,r)}else if(null===t||"object"!==typeof t?c=null:c="function"===typeof(c=m&&t[m]||t["@@iterator"])?c:null,"function"===typeof c)for(t=c.call(t),s=0;!(i=t.next()).done;)u+=P(i=i.value,c=e+R(i,s++),n,r);else if("object"===i)throw n=""+t,Error(b(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}function N(t,e,n){return null==t?0:P(t,"",e,n)}function R(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))}(t.key):e.toString(36)}function j(t,e){t.func.call(t.context,e,t.count++)}function D(t,e,n){var r=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?L(t,r,n,(function(t){return t})):null!=t&&($(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(A,"$&/")+"/")+n)),r.push(t))}function L(t,e,n,r,i){var o="";null!=n&&(o=(""+n).replace(A,"$&/")+"/"),N(t,D,e=C(e,o,r,i)),I(e)}var F={current:null};function B(){var t=F.current;if(null===t)throw Error(b(321));return t}var U={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return L(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;N(t,j,e=C(null,null,e,n)),I(e)},count:function(t){return N(t,(function(){return null}),null)},toArray:function(t){var e=[];return L(t,e,null,(function(t){return t})),e},only:function(t){if(!$(t))throw Error(b(143));return t}},e.Component=_,e.Fragment=u,e.Profiler=c,e.PureComponent=S,e.StrictMode=s,e.Suspense=h,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(b(267,t));var i=r({},t.props),a=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=x.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(f in e)E.call(e,f)&&!M.hasOwnProperty(f)&&(i[f]=void 0===e[f]&&void 0!==c?c[f]:e[f])}var f=arguments.length-2;if(1===f)i.children=n;else if(1<f){c=Array(f);for(var l=0;l<f;l++)c[l]=arguments[l+2];i.children=c}return{$$typeof:o,type:t.type,key:a,ref:u,props:i,_owner:s}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:l,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:f,_context:t},t.Consumer=t},e.createElement=T,e.createFactory=function(t){var e=T.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:d,render:t}},e.isValidElement=$,e.lazy=function(t){return{$$typeof:g,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return B().useCallback(t,e)},e.useContext=function(t,e){return B().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return B().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return B().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return B().useLayoutEffect(t,e)},e.useMemo=function(t,e){return B().useMemo(t,e)},e.useReducer=function(t,e,n){return B().useReducer(t,e,n)},e.useRef=function(t){return B().useRef(t)},e.useState=function(t){return B().useState(t)},e.version="16.14.0"},function(t,e,n){"use strict";var r=n(1),i=n(344),o=n(604);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(t,e,n,r,i,o,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(f){this.onError(f)}}var s=!1,c=null,f=!1,l=null,d={onError:function(t){s=!0,c=t}};function h(t,e,n,r,i,o,a,f,l){s=!1,c=null,u.apply(d,arguments)}var p=null,g=null,m=null;function b(t,e,n){var r=t.type||"unknown-event";t.currentTarget=m(n),function(t,e,n,r,i,o,u,d,p){if(h.apply(this,arguments),s){if(!s)throw Error(a(198));var g=c;s=!1,c=null,f||(f=!0,l=g)}}(r,e,void 0,t),t.currentTarget=null}var v=null,y={};function _(){if(v)for(var t in y){var e=y[t],n=v.indexOf(t);if(!(-1<n))throw Error(a(96,t));if(!S[n]){if(!e.extractEvents)throw Error(a(97,t));for(var r in S[n]=e,n=e.eventTypes){var i=void 0,o=n[r],u=e,s=r;if(O.hasOwnProperty(s))throw Error(a(99,s));O[s]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&w(c[i],u,s);i=!0}else o.registrationName?(w(o.registrationName,u,s),i=!0):i=!1;if(!i)throw Error(a(98,r,t))}}}}function w(t,e,n){if(x[t])throw Error(a(100,t));x[t]=e,E[t]=e.eventTypes[n].dependencies}var S=[],O={},x={},E={};function M(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var r=t[e];if(!y.hasOwnProperty(e)||y[e]!==r){if(y[e])throw Error(a(102,e));y[e]=r,n=!0}}n&&_()}var T=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),$=null,A=null,k=null;function C(t){if(t=g(t)){if("function"!==typeof $)throw Error(a(280));var e=t.stateNode;e&&(e=p(e),$(t.stateNode,t.type,e))}}function I(t){A?k?k.push(t):k=[t]:A=t}function P(){if(A){var t=A,e=k;if(k=A=null,C(t),e)for(t=0;t<e.length;t++)C(e[t])}}function N(t,e){return t(e)}function R(t,e,n,r,i){return t(e,n,r,i)}function j(){}var D=N,L=!1,F=!1;function B(){null===A&&null===k||(j(),P())}function U(t,e,n){if(F)return t(e,n);F=!0;try{return D(t,e,n)}finally{F=!1,B()}}var z=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H=Object.prototype.hasOwnProperty,V={},q={};function W(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){G[t]=new W(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];G[e]=new W(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){G[t]=new W(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){G[t]=new W(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){G[t]=new W(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){G[t]=new W(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){G[t]=new W(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){G[t]=new W(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){G[t]=new W(t,5,!1,t.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function Y(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(K,Y);G[e]=new W(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(K,Y);G[e]=new W(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(K,Y);G[e]=new W(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){G[t]=new W(t,1,!1,t.toLowerCase(),null,!1)})),G.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){G[t]=new W(t,1,!1,t.toLowerCase(),null,!0)}));var Z=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(t,e,n,r){var i=G.hasOwnProperty(e)?G[e]:null;(null!==i?0===i.type:!r&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,n,r){if(null===e||"undefined"===typeof e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!H.call(q,t)||!H.call(V,t)&&(z.test(t)?q[t]=!0:(V[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}Z.hasOwnProperty("ReactCurrentDispatcher")||(Z.ReactCurrentDispatcher={current:null}),Z.hasOwnProperty("ReactCurrentBatchConfig")||(Z.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"===typeof Symbol&&Symbol.for,tt=J?Symbol.for("react.element"):60103,et=J?Symbol.for("react.portal"):60106,nt=J?Symbol.for("react.fragment"):60107,rt=J?Symbol.for("react.strict_mode"):60108,it=J?Symbol.for("react.profiler"):60114,ot=J?Symbol.for("react.provider"):60109,at=J?Symbol.for("react.context"):60110,ut=J?Symbol.for("react.concurrent_mode"):60111,st=J?Symbol.for("react.forward_ref"):60112,ct=J?Symbol.for("react.suspense"):60113,ft=J?Symbol.for("react.suspense_list"):60120,lt=J?Symbol.for("react.memo"):60115,dt=J?Symbol.for("react.lazy"):60116,ht=J?Symbol.for("react.block"):60121,pt="function"===typeof Symbol&&Symbol.iterator;function gt(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=pt&&t[pt]||t["@@iterator"])?t:null}function mt(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case nt:return"Fragment";case et:return"Portal";case it:return"Profiler";case rt:return"StrictMode";case ct:return"Suspense";case ft:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case at:return"Context.Consumer";case ot:return"Context.Provider";case st:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case lt:return mt(t.type);case ht:return mt(t.render);case dt:if(t=1===t._status?t._result:null)return mt(t)}return null}function bt(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break t;default:var r=t._debugOwner,i=t._debugSource,o=mt(t.type);n=null,r&&(n=mt(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(X,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}e+=n,t=t.return}while(t);return e}function vt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function yt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function _t(t){t._valueTracker||(t._valueTracker=function(t){var e=yt(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function wt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=yt(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function St(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function Ot(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=vt(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function xt(t,e){null!=(e=e.checked)&&Q(t,"checked",e,!1)}function Et(t,e){xt(t,e);var n=vt(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?Tt(t,e.type,n):e.hasOwnProperty("defaultValue")&&Tt(t,e.type,vt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Mt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function Tt(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function $t(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function At(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+vt(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function kt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Ct(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:vt(n)}}function It(t,e){var n=vt(e.value),r=vt(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function Pt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Nt="http://www.w3.org/1999/xhtml",Rt="http://www.w3.org/2000/svg";function jt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Dt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?jt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Lt,Ft,Bt=(Ft=function(t,e){if(t.namespaceURI!==Rt||"innerHTML"in t)t.innerHTML=e;else{for((Lt=Lt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Lt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return Ft(t,e)}))}:Ft);function Ut(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function zt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ht={animationend:zt("Animation","AnimationEnd"),animationiteration:zt("Animation","AnimationIteration"),animationstart:zt("Animation","AnimationStart"),transitionend:zt("Transition","TransitionEnd")},Vt={},qt={};function Wt(t){if(Vt[t])return Vt[t];if(!Ht[t])return t;var e,n=Ht[t];for(e in n)if(n.hasOwnProperty(e)&&e in qt)return Vt[t]=n[e];return t}T&&(qt=document.createElement("div").style,"AnimationEvent"in window||(delete Ht.animationend.animation,delete Ht.animationiteration.animation,delete Ht.animationstart.animation),"TransitionEvent"in window||delete Ht.transitionend.transition);var Gt=Wt("animationend"),Kt=Wt("animationiteration"),Yt=Wt("animationstart"),Zt=Wt("transitionend"),Qt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xt=new("function"===typeof WeakMap?WeakMap:Map);function Jt(t){var e=Xt.get(t);return void 0===e&&(e=new Map,Xt.set(t,e)),e}function te(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function ee(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function ne(t){if(te(t)!==t)throw Error(a(188))}function re(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=te(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ne(i),t;if(o===r)return ne(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ie(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function oe(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var ae=null;function ue(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;r<e.length&&!t.isPropagationStopped();r++)b(t,e[r],n[r]);else e&&b(t,e,n);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function se(t){if(null!==t&&(ae=ie(ae,t)),t=ae,ae=null,t){if(oe(t,ue),ae)throw Error(a(95));if(f)throw t=l,f=!1,l=null,t}}function ce(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function fe(t){if(!T)return!1;var e=(t="on"+t)in document;return e||((e=document.createElement("div")).setAttribute(t,"return;"),e="function"===typeof e[t]),e}var le=[];function de(t){t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>le.length&&le.push(t)}function he(t,e,n,r){if(le.length){var i=le.pop();return i.topLevelType=t,i.eventSystemFlags=r,i.nativeEvent=e,i.targetInst=n,i}return{topLevelType:t,eventSystemFlags:r,nativeEvent:e,targetInst:n,ancestors:[]}}function pe(t){var e=t.targetInst,n=e;do{if(!n){t.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(e=n.tag)&&6!==e||t.ancestors.push(n),n=Cn(r)}while(n);for(n=0;n<t.ancestors.length;n++){e=t.ancestors[n];var i=ce(t.nativeEvent);r=t.topLevelType;var o=t.nativeEvent,a=t.eventSystemFlags;0===n&&(a|=64);for(var u=null,s=0;s<S.length;s++){var c=S[s];c&&(c=c.extractEvents(r,e,o,i,a))&&(u=ie(u,c))}se(u)}}function ge(t,e,n){if(!n.has(t)){switch(t){case"scroll":Ye(e,"scroll",!0);break;case"focus":case"blur":Ye(e,"focus",!0),Ye(e,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":fe(t)&&Ye(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qt.indexOf(t)&&Ke(t,e)}n.set(t,null)}}var me,be,ve,ye=!1,_e=[],we=null,Se=null,Oe=null,xe=new Map,Ee=new Map,Me=[],Te="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),$e="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ae(t,e,n,r,i){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|n,nativeEvent:i,container:r}}function ke(t,e){switch(t){case"focus":case"blur":we=null;break;case"dragenter":case"dragleave":Se=null;break;case"mouseover":case"mouseout":Oe=null;break;case"pointerover":case"pointerout":xe.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ee.delete(e.pointerId)}}function Ce(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t=Ae(e,n,r,i,o),null!==e&&(null!==(e=In(e))&&be(e)),t):(t.eventSystemFlags|=r,t)}function Ie(t){var e=Cn(t.target);if(null!==e){var n=te(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=ee(n)))return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,(function(){ve(n)}))}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function Pe(t){if(null!==t.blockedOn)return!1;var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);if(null!==e){var n=In(e);return null!==n&&be(n),t.blockedOn=e,!1}return!0}function Ne(t,e,n){Pe(t)&&n.delete(e)}function Re(){for(ye=!1;0<_e.length;){var t=_e[0];if(null!==t.blockedOn){null!==(t=In(t.blockedOn))&&me(t);break}var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:_e.shift()}null!==we&&Pe(we)&&(we=null),null!==Se&&Pe(Se)&&(Se=null),null!==Oe&&Pe(Oe)&&(Oe=null),xe.forEach(Ne),Ee.forEach(Ne)}function je(t,e){t.blockedOn===e&&(t.blockedOn=null,ye||(ye=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Re)))}function De(t){function e(e){return je(e,t)}if(0<_e.length){je(_e[0],t);for(var n=1;n<_e.length;n++){var r=_e[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==we&&je(we,t),null!==Se&&je(Se,t),null!==Oe&&je(Oe,t),xe.forEach(e),Ee.forEach(e),n=0;n<Me.length;n++)(r=Me[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Me.length&&null===(n=Me[0]).blockedOn;)Ie(n),null===n.blockedOn&&Me.shift()}var Le={},Fe=new Map,Be=new Map,Ue=["abort","abort",Gt,"animationEnd",Kt,"animationIteration",Yt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Zt,"transitionEnd","waiting","waiting"];function ze(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:e},Be.set(r,e),Fe.set(r,o),Le[i]=o}}ze("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),ze("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),ze(Ue,2);for(var He="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ve=0;Ve<He.length;Ve++)Be.set(He[Ve],0);var qe=o.unstable_UserBlockingPriority,We=o.unstable_runWithPriority,Ge=!0;function Ke(t,e){Ye(e,t,!1)}function Ye(t,e,n){var r=Be.get(e);switch(void 0===r?2:r){case 0:r=Ze.bind(null,e,1,t);break;case 1:r=Qe.bind(null,e,1,t);break;default:r=Xe.bind(null,e,1,t)}n?t.addEventListener(e,r,!0):t.addEventListener(e,r,!1)}function Ze(t,e,n,r){L||j();var i=Xe,o=L;L=!0;try{R(i,t,e,n,r)}finally{(L=o)||B()}}function Qe(t,e,n,r){We(qe,Xe.bind(null,t,e,n,r))}function Xe(t,e,n,r){if(Ge)if(0<_e.length&&-1<Te.indexOf(t))t=Ae(null,t,e,n,r),_e.push(t);else{var i=Je(t,e,n,r);if(null===i)ke(t,r);else if(-1<Te.indexOf(t))t=Ae(i,t,e,n,r),_e.push(t);else if(!function(t,e,n,r,i){switch(e){case"focus":return we=Ce(we,t,e,n,r,i),!0;case"dragenter":return Se=Ce(Se,t,e,n,r,i),!0;case"mouseover":return Oe=Ce(Oe,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return xe.set(o,Ce(xe.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ee.set(o,Ce(Ee.get(o)||null,t,e,n,r,i)),!0}return!1}(i,t,e,n,r)){ke(t,r),t=he(t,r,null,e);try{U(pe,t)}finally{de(t)}}}}function Je(t,e,n,r){if(null!==(n=Cn(n=ce(r)))){var i=te(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=ee(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}t=he(t,r,n,e);try{U(pe,t)}finally{de(t)}return null}var tn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function nn(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||tn.hasOwnProperty(t)&&tn[t]?(""+e).trim():e+"px"}function rn(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=nn(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(tn).forEach((function(t){en.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),tn[e]=tn[t]}))}));var on=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(t,e){if(e){if(on[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62,""))}}function un(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Nt;function cn(t,e){var n=Jt(t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument);e=E[e];for(var r=0;r<e.length;r++)ge(e[r],t,n)}function fn(){}function ln(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function dn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hn(t,e){var n,r=dn(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=dn(r)}}function pn(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?pn(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function gn(){for(var t=window,e=ln();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=ln((t=e.contentWindow).document)}return e}function mn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var bn="$?",vn="$!",yn=null,_n=null;function wn(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Sn(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var On="function"===typeof setTimeout?setTimeout:void 0,xn="function"===typeof clearTimeout?clearTimeout:void 0;function En(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Mn(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||n===vn||n===bn){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var Tn=Math.random().toString(36).slice(2),$n="__reactInternalInstance$"+Tn,An="__reactEventHandlers$"+Tn,kn="__reactContainere$"+Tn;function Cn(t){var e=t[$n];if(e)return e;for(var n=t.parentNode;n;){if(e=n[kn]||n[$n]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Mn(t);null!==t;){if(n=t[$n])return n;t=Mn(t)}return e}n=(t=n).parentNode}return null}function In(t){return!(t=t[$n]||t[kn])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Pn(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function Nn(t){return t[An]||null}function Rn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function jn(t,e){var n=t.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}function Dn(t,e,n){(e=jn(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=ie(n._dispatchListeners,e),n._dispatchInstances=ie(n._dispatchInstances,t))}function Ln(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=Rn(e);for(e=n.length;0<e--;)Dn(n[e],"captured",t);for(e=0;e<n.length;e++)Dn(n[e],"bubbled",t)}}function Fn(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=jn(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ie(n._dispatchListeners,e),n._dispatchInstances=ie(n._dispatchInstances,t))}function Bn(t){t&&t.dispatchConfig.registrationName&&Fn(t._targetInst,null,t)}function Un(t){oe(t,Ln)}var zn=null,Hn=null,Vn=null;function qn(){if(Vn)return Vn;var t,e,n=Hn,r=n.length,i="value"in zn?zn.value:zn.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return Vn=i.slice(t,1<e?1-e:void 0)}function Wn(){return!0}function Gn(){return!1}function Kn(t,e,n,r){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n,t=this.constructor.Interface)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:Gn,this.isPropagationStopped=Gn,this}function Yn(t,e,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,n,r),i}return new this(t,e,n,r)}function Zn(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function Qn(t){t.eventPool=[],t.getPooled=Yn,t.release=Zn}i(Kn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:Gn,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Kn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Kn.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var o=new e;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,Qn(n),n},Qn(Kn);var Xn=Kn.extend({data:null}),Jn=Kn.extend({data:null}),tr=[9,13,27,32],er=T&&"CompositionEvent"in window,nr=null;T&&"documentMode"in document&&(nr=document.documentMode);var rr=T&&"TextEvent"in window&&!nr,ir=T&&(!er||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ur=!1;function sr(t,e){switch(t){case"keyup":return-1!==tr.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function cr(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var fr=!1;var lr={eventTypes:ar,extractEvents:function(t,e,n,r){var i;if(er)t:{switch(t){case"compositionstart":var o=ar.compositionStart;break t;case"compositionend":o=ar.compositionEnd;break t;case"compositionupdate":o=ar.compositionUpdate;break t}o=void 0}else fr?sr(t,n)&&(o=ar.compositionEnd):"keydown"===t&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(fr||o!==ar.compositionStart?o===ar.compositionEnd&&fr&&(i=qn()):(Hn="value"in(zn=r)?zn.value:zn.textContent,fr=!0)),o=Xn.getPooled(o,e,n,r),i?o.data=i:null!==(i=cr(n))&&(o.data=i),Un(o),i=o):i=null,(t=rr?function(t,e){switch(t){case"compositionend":return cr(e);case"keypress":return 32!==e.which?null:(ur=!0,or);case"textInput":return(t=e.data)===or&&ur?null:t;default:return null}}(t,n):function(t,e){if(fr)return"compositionend"===t||!er&&sr(t,e)?(t=qn(),Vn=Hn=zn=null,fr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return ir&&"ko"!==e.locale?null:e.data;default:return null}}(t,n))?((e=Jn.getPooled(ar.beforeInput,e,n,r)).data=t,Un(e)):e=null,null===i?e:null===e?i:[i,e]}},dr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!dr[t.type]:"textarea"===e}var pr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function gr(t,e,n){return(t=Kn.getPooled(pr.change,t,e,n)).type="change",I(n),Un(t),t}var mr=null,br=null;function vr(t){se(t)}function yr(t){if(wt(Pn(t)))return t}function _r(t,e){if("change"===t)return e}var wr=!1;function Sr(){mr&&(mr.detachEvent("onpropertychange",Or),br=mr=null)}function Or(t){if("value"===t.propertyName&&yr(br))if(t=gr(br,t,ce(t)),L)se(t);else{L=!0;try{N(vr,t)}finally{L=!1,B()}}}function xr(t,e,n){"focus"===t?(Sr(),br=n,(mr=e).attachEvent("onpropertychange",Or)):"blur"===t&&Sr()}function Er(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return yr(br)}function Mr(t,e){if("click"===t)return yr(e)}function Tr(t,e){if("input"===t||"change"===t)return yr(e)}T&&(wr=fe("input")&&(!document.documentMode||9<document.documentMode));var $r={eventTypes:pr,_isInputEventSupported:wr,extractEvents:function(t,e,n,r){var i=e?Pn(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=_r;else if(hr(i))if(wr)a=Tr;else{a=Er;var u=xr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Mr);if(a&&(a=a(t,e)))return gr(a,n,r);u&&u(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Tt(i,"number",i.value)}},Ar=Kn.extend({view:null,detail:null}),kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cr(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=kr[t])&&!!e[t]}function Ir(){return Cr}var Pr=0,Nr=0,Rr=!1,jr=!1,Dr=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ir,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=Pr;return Pr=t.screenX,Rr?"mousemove"===t.type?t.screenX-e:0:(Rr=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=Nr;return Nr=t.screenY,jr?"mousemove"===t.type?t.screenY-e:0:(jr=!0,0)}}),Lr=Dr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Fr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Fr,extractEvents:function(t,e,n,r,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=e,null!==(e=(e=n.relatedTarget||n.toElement)?Cn(e):null)&&(e!==te(e)||5!==e.tag&&6!==e.tag)&&(e=null)):a=null;if(a===e)return null;if("mouseout"===t||"mouseover"===t)var u=Dr,s=Fr.mouseLeave,c=Fr.mouseEnter,f="mouse";else"pointerout"!==t&&"pointerover"!==t||(u=Lr,s=Fr.pointerLeave,c=Fr.pointerEnter,f="pointer");if(t=null==a?o:Pn(a),o=null==e?o:Pn(e),(s=u.getPooled(s,a,n,r)).type=f+"leave",s.target=t,s.relatedTarget=o,(n=u.getPooled(c,e,n,r)).type=f+"enter",n.target=o,n.relatedTarget=t,f=e,(r=a)&&f)t:{for(c=f,a=0,t=u=r;t;t=Rn(t))a++;for(t=0,e=c;e;e=Rn(e))t++;for(;0<a-t;)u=Rn(u),a--;for(;0<t-a;)c=Rn(c),t--;for(;a--;){if(u===c||u===c.alternate)break t;u=Rn(u),c=Rn(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=Rn(r);for(r=[];f&&f!==c&&(null===(a=f.alternate)||a!==c);)r.push(f),f=Rn(f);for(f=0;f<u.length;f++)Fn(u[f],"bubbled",s);for(f=r.length;0<f--;)Fn(r[f],"captured",n);return 0===(64&i)?[s]:[s,n]}};var Ur="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},zr=Object.prototype.hasOwnProperty;function Hr(t,e){if(Ur(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(r=0;r<n.length;r++)if(!zr.call(e,n[r])||!Ur(t[n[r]],e[n[r]]))return!1;return!0}var Vr=T&&"documentMode"in document&&11>=document.documentMode,qr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,Gr=null,Kr=null,Yr=!1;function Zr(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return Yr||null==Wr||Wr!==ln(n)?null:("selectionStart"in(n=Wr)&&mn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kr&&Hr(Kr,n)?null:(Kr=n,(t=Kn.getPooled(qr.select,Gr,t,e)).type="select",t.target=Wr,Un(t),t))}var Qr={eventTypes:qr,extractEvents:function(t,e,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){t:{i=Jt(i),o=E.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break t}i=!0}o=!i}if(o)return null;switch(i=e?Pn(e):window,t){case"focus":(hr(i)||"true"===i.contentEditable)&&(Wr=i,Gr=e,Kr=null);break;case"blur":Kr=Gr=Wr=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Zr(n,r);case"selectionchange":if(Vr)break;case"keydown":case"keyup":return Zr(n,r)}return null}},Xr=Kn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Kn.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ti=Ar.extend({relatedTarget:null});function ei(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ri={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ii=Ar.extend({key:function(t){if(t.key){var e=ni[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=ei(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?ri[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ir,charCode:function(t){return"keypress"===t.type?ei(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?ei(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),oi=Dr.extend({dataTransfer:null}),ai=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ir}),ui=Kn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),si=Dr.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),ci={eventTypes:Le,extractEvents:function(t,e,n,r){var i=Fe.get(t);if(!i)return null;switch(t){case"keypress":if(0===ei(n))return null;case"keydown":case"keyup":t=ii;break;case"blur":case"focus":t=ti;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=Dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=ai;break;case Gt:case Kt:case Yt:t=Xr;break;case Zt:t=ui;break;case"scroll":t=Ar;break;case"wheel":t=si;break;case"copy":case"cut":case"paste":t=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=Lr;break;default:t=Kn}return Un(e=t.getPooled(i,e,n,r)),e}};if(v)throw Error(a(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),p=Nn,g=In,m=Pn,M({SimpleEventPlugin:ci,EnterLeaveEventPlugin:Br,ChangeEventPlugin:$r,SelectEventPlugin:Qr,BeforeInputEventPlugin:lr});var fi=[],li=-1;function di(t){0>li||(t.current=fi[li],fi[li]=null,li--)}function hi(t,e){li++,fi[li]=t.current,t.current=e}var pi={},gi={current:pi},mi={current:!1},bi=pi;function vi(t,e){var n=t.type.contextTypes;if(!n)return pi;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function yi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function _i(){di(mi),di(gi)}function wi(t,e,n){if(gi.current!==pi)throw Error(a(168));hi(gi,e),hi(mi,n)}function Si(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,mt(e)||"Unknown",o));return i({},n,{},r)}function Oi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||pi,bi=gi.current,hi(gi,t),hi(mi,mi.current),!0}function xi(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Si(t,e,bi),r.__reactInternalMemoizedMergedChildContext=t,di(mi),di(gi),hi(gi,t)):di(mi),hi(mi,n)}var Ei=o.unstable_runWithPriority,Mi=o.unstable_scheduleCallback,Ti=o.unstable_cancelCallback,$i=o.unstable_requestPaint,Ai=o.unstable_now,ki=o.unstable_getCurrentPriorityLevel,Ci=o.unstable_ImmediatePriority,Ii=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Ni=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,ji={},Di=o.unstable_shouldYield,Li=void 0!==$i?$i:function(){},Fi=null,Bi=null,Ui=!1,zi=Ai(),Hi=1e4>zi?Ai:function(){return Ai()-zi};function Vi(){switch(ki()){case Ci:return 99;case Ii:return 98;case Pi:return 97;case Ni:return 96;case Ri:return 95;default:throw Error(a(332))}}function qi(t){switch(t){case 99:return Ci;case 98:return Ii;case 97:return Pi;case 96:return Ni;case 95:return Ri;default:throw Error(a(332))}}function Wi(t,e){return t=qi(t),Ei(t,e)}function Gi(t,e,n){return t=qi(t),Mi(t,e,n)}function Ki(t){return null===Fi?(Fi=[t],Bi=Mi(Ci,Zi)):Fi.push(t),ji}function Yi(){if(null!==Bi){var t=Bi;Bi=null,Ti(t)}Zi()}function Zi(){if(!Ui&&null!==Fi){Ui=!0;var t=0;try{var e=Fi;Wi(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(n){throw null!==Fi&&(Fi=Fi.slice(t+1)),Mi(Ci,Yi),n}finally{Ui=!1}}}function Qi(t,e,n){return 1073741821-(1+((1073741821-t+e/10)/(n/=10)|0))*n}function Xi(t,e){if(t&&t.defaultProps)for(var n in e=i({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}var Ji={current:null},to=null,eo=null,no=null;function ro(){no=eo=to=null}function io(t){var e=Ji.current;di(Ji),t.type._context._currentValue=e}function oo(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e);else{if(!(null!==n&&n.childExpirationTime<e))break;n.childExpirationTime=e}t=t.return}}function ao(t,e){to=t,no=eo=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(Na=!0),t.firstContext=null)}function uo(t,e){if(no!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(no=t,e=1073741823),e={context:t,observedBits:e,next:null},null===eo){if(null===to)throw Error(a(308));eo=e,to.dependencies={expirationTime:0,firstContext:e,responders:null}}else eo=eo.next=e;return t._currentValue}var so=!1;function co(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function fo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function lo(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function ho(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function po(t,e){var n=t.alternate;null!==n&&fo(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function go(t,e,n,r){var o=t.updateQueue;so=!1;var a=o.baseQueue,u=o.shared.pending;if(null!==u){if(null!==a){var s=a.next;a.next=u.next,u.next=s}a=u,o.shared.pending=null,null!==(s=t.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=u))}if(null!==a){s=a.next;var c=o.baseState,f=0,l=null,d=null,h=null;if(null!==s)for(var p=s;;){if((u=p.expirationTime)<r){var g={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(d=h=g,l=c):h=h.next=g,u>f&&(f=u)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),hs(u,p.suspenseConfig);t:{var m=t,b=p;switch(u=e,g=n,b.tag){case 1:if("function"===typeof(m=b.payload)){c=m.call(g,c,u);break t}c=m;break t;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null===(u="function"===typeof(m=b.payload)?m.call(g,c,u):m)||void 0===u)break t;c=i({},c,u);break t;case 2:so=!0}}null!==p.callback&&(t.effectTag|=32,null===(u=o.effects)?o.effects=[p]:u.push(p))}if(null===(p=p.next)||p===s){if(null===(u=o.shared.pending))break;p=a.next=u.next,u.next=s,o.baseQueue=a=u,o.shared.pending=null}}null===h?l=c:h.next=d,o.baseState=l,o.baseQueue=h,ps(f),t.expirationTime=f,t.memoizedState=c}}function mo(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var bo=Z.ReactCurrentBatchConfig,vo=(new r.Component).refs;function yo(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:i({},e,n),t.memoizedState=n,0===t.expirationTime&&(t.updateQueue.baseState=n)}var _o={isMounted:function(t){return!!(t=t._reactInternalFiber)&&te(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=ts(),i=bo.suspense;(i=lo(r=es(r,t,i),i)).payload=e,void 0!==n&&null!==n&&(i.callback=n),ho(t,i),ns(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=ts(),i=bo.suspense;(i=lo(r=es(r,t,i),i)).tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),ho(t,i),ns(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=ts(),r=bo.suspense;(r=lo(n=es(n,t,r),r)).tag=2,void 0!==e&&null!==e&&(r.callback=e),ho(t,r),ns(t,n)}};function wo(t,e,n,r,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(i,o))}function So(t,e,n){var r=!1,i=pi,o=e.contextType;return"object"===typeof o&&null!==o?o=uo(o):(i=yi(e)?bi:gi.current,o=(r=null!==(r=e.contextTypes)&&void 0!==r)?vi(t,i):pi),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=_o,t.stateNode=e,e._reactInternalFiber=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function Oo(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&_o.enqueueReplaceState(e,e.state,null)}function xo(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=vo,co(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=uo(o):(o=yi(e)?bi:gi.current,i.context=vi(t,o)),go(t,n,i,r),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(yo(t,e,o,n),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&_o.enqueueReplaceState(i,i.state,null),go(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var Eo=Array.isArray;function Mo(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=r.refs;e===vo&&(e=r.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function To(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function $o(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ns(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.effectTag=2,n):r:(e.effectTag=2,n):n}function u(e){return t&&null===e.alternate&&(e.effectTag=2),e}function s(t,e,n,r){return null===e||6!==e.tag?((e=Ds(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function c(t,e,n,r){return null!==e&&e.elementType===n.type?((r=i(e,n.props)).ref=Mo(t,e,n),r.return=t,r):((r=Rs(n.type,n.key,n.props,null,t.mode,r)).ref=Mo(t,e,n),r.return=t,r)}function f(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Ls(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function l(t,e,n,r,o){return null===e||7!==e.tag?((e=js(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function d(t,e,n){if("string"===typeof e||"number"===typeof e)return(e=Ds(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case tt:return(n=Rs(e.type,e.key,e.props,null,t.mode,n)).ref=Mo(t,null,e),n.return=t,n;case et:return(e=Ls(e,t.mode,n)).return=t,e}if(Eo(e)||gt(e))return(e=js(e,t.mode,n,null)).return=t,e;To(t,e)}return null}function h(t,e,n,r){var i=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:s(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case tt:return n.key===i?n.type===nt?l(t,e,n.props.children,r,i):c(t,e,n,r):null;case et:return n.key===i?f(t,e,n,r):null}if(Eo(n)||gt(n))return null!==i?null:l(t,e,n,r,null);To(t,n)}return null}function p(t,e,n,r,i){if("string"===typeof r||"number"===typeof r)return s(e,t=t.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case tt:return t=t.get(null===r.key?n:r.key)||null,r.type===nt?l(e,t,r.props.children,i,r.key):c(e,t,r,i);case et:return f(e,t=t.get(null===r.key?n:r.key)||null,r,i)}if(Eo(r)||gt(r))return l(e,t=t.get(n)||null,r,i,null);To(e,r)}return null}function g(i,a,u,s){for(var c=null,f=null,l=a,g=a=0,m=null;null!==l&&g<u.length;g++){l.index>g?(m=l,l=null):m=l.sibling;var b=h(i,l,u[g],s);if(null===b){null===l&&(l=m);break}t&&l&&null===b.alternate&&e(i,l),a=o(b,a,g),null===f?c=b:f.sibling=b,f=b,l=m}if(g===u.length)return n(i,l),c;if(null===l){for(;g<u.length;g++)null!==(l=d(i,u[g],s))&&(a=o(l,a,g),null===f?c=l:f.sibling=l,f=l);return c}for(l=r(i,l);g<u.length;g++)null!==(m=p(l,i,g,u[g],s))&&(t&&null!==m.alternate&&l.delete(null===m.key?g:m.key),a=o(m,a,g),null===f?c=m:f.sibling=m,f=m);return t&&l.forEach((function(t){return e(i,t)})),c}function m(i,u,s,c){var f=gt(s);if("function"!==typeof f)throw Error(a(150));if(null==(s=f.call(s)))throw Error(a(151));for(var l=f=null,g=u,m=u=0,b=null,v=s.next();null!==g&&!v.done;m++,v=s.next()){g.index>m?(b=g,g=null):b=g.sibling;var y=h(i,g,v.value,c);if(null===y){null===g&&(g=b);break}t&&g&&null===y.alternate&&e(i,g),u=o(y,u,m),null===l?f=y:l.sibling=y,l=y,g=b}if(v.done)return n(i,g),f;if(null===g){for(;!v.done;m++,v=s.next())null!==(v=d(i,v.value,c))&&(u=o(v,u,m),null===l?f=v:l.sibling=v,l=v);return f}for(g=r(i,g);!v.done;m++,v=s.next())null!==(v=p(g,i,m,v.value,c))&&(t&&null!==v.alternate&&g.delete(null===v.key?m:v.key),u=o(v,u,m),null===l?f=v:l.sibling=v,l=v);return t&&g.forEach((function(t){return e(i,t)})),f}return function(t,r,o,s){var c="object"===typeof o&&null!==o&&o.type===nt&&null===o.key;c&&(o=o.props.children);var f="object"===typeof o&&null!==o;if(f)switch(o.$$typeof){case tt:t:{for(f=o.key,c=r;null!==c;){if(c.key===f){switch(c.tag){case 7:if(o.type===nt){n(t,c.sibling),(r=i(c,o.props.children)).return=t,t=r;break t}break;default:if(c.elementType===o.type){n(t,c.sibling),(r=i(c,o.props)).ref=Mo(t,c,o),r.return=t,t=r;break t}}n(t,c);break}e(t,c),c=c.sibling}o.type===nt?((r=js(o.props.children,t.mode,s,o.key)).return=t,t=r):((s=Rs(o.type,o.key,o.props,null,t.mode,s)).ref=Mo(t,r,o),s.return=t,t=s)}return u(t);case et:t:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),(r=i(r,o.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Ls(o,t.mode,s)).return=t,t=r}return u(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,o)).return=t,t=r):(n(t,r),(r=Ds(o,t.mode,s)).return=t,t=r),u(t);if(Eo(o))return g(t,r,o,s);if(gt(o))return m(t,r,o,s);if(f&&To(t,o),"undefined"===typeof o&&!c)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var Ao=$o(!0),ko=$o(!1),Co={},Io={current:Co},Po={current:Co},No={current:Co};function Ro(t){if(t===Co)throw Error(a(174));return t}function jo(t,e){switch(hi(No,e),hi(Po,t),hi(Io,Co),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Dt(null,"");break;default:e=Dt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}di(Io),hi(Io,e)}function Do(){di(Io),di(Po),di(No)}function Lo(t){Ro(No.current);var e=Ro(Io.current),n=Dt(e,t.type);e!==n&&(hi(Po,t),hi(Io,n))}function Fo(t){Po.current===t&&(di(Io),di(Po))}var Bo={current:0};function Uo(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===bn||n.data===vn))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function zo(t,e){return{responder:t,props:e}}var Ho=Z.ReactCurrentDispatcher,Vo=Z.ReactCurrentBatchConfig,qo=0,Wo=null,Go=null,Ko=null,Yo=!1;function Zo(){throw Error(a(321))}function Qo(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ur(t[n],e[n]))return!1;return!0}function Xo(t,e,n,r,i,o){if(qo=o,Wo=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,Ho.current=null===t||null===t.memoizedState?wa:Sa,t=n(r,i),e.expirationTime===qo){o=0;do{if(e.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ko=Go=null,e.updateQueue=null,Ho.current=Oa,t=n(r,i)}while(e.expirationTime===qo)}if(Ho.current=_a,e=null!==Go&&null!==Go.next,qo=0,Ko=Go=Wo=null,Yo=!1,e)throw Error(a(300));return t}function Jo(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ko?Wo.memoizedState=Ko=t:Ko=Ko.next=t,Ko}function ta(){if(null===Go){var t=Wo.alternate;t=null!==t?t.memoizedState:null}else t=Go.next;var e=null===Ko?Wo.memoizedState:Ko.next;if(null!==e)Ko=e,Go=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Go=t).memoizedState,baseState:Go.baseState,baseQueue:Go.baseQueue,queue:Go.queue,next:null},null===Ko?Wo.memoizedState=Ko=t:Ko=Ko.next=t}return Ko}function ea(t,e){return"function"===typeof e?e(t):e}function na(t){var e=ta(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=Go,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var u=i.next;i.next=o.next,o.next=u}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=u=o=null,c=i;do{var f=c.expirationTime;if(f<qo){var l={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(u=s=l,o=r):s=s.next=l,f>Wo.expirationTime&&(Wo.expirationTime=f,ps(f))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),hs(f,c.suspenseConfig),r=c.eagerReducer===t?c.eagerState:t(r,c.action);c=c.next}while(null!==c&&c!==i);null===s?o=r:s.next=u,Ur(r,e.memoizedState)||(Na=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function ra(t){var e=ta(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{o=t(o,u.action),u=u.next}while(u!==i);Ur(o,e.memoizedState)||(Na=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(t){var e=Jo();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:ea,lastRenderedState:t}).dispatch=ya.bind(null,Wo,t),[e.memoizedState,t]}function oa(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=Wo.updateQueue)?(e={lastEffect:null},Wo.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function aa(){return ta().memoizedState}function ua(t,e,n,r){var i=Jo();Wo.effectTag|=t,i.memoizedState=oa(1|e,n,void 0,void 0===r?null:r)}function sa(t,e,n,r){var i=ta();r=void 0===r?null:r;var o=void 0;if(null!==Go){var a=Go.memoizedState;if(o=a.destroy,null!==r&&Qo(r,a.deps))return void oa(e,n,o,r)}Wo.effectTag|=t,i.memoizedState=oa(1|e,n,o,r)}function ca(t,e){return ua(516,4,t,e)}function fa(t,e){return sa(516,4,t,e)}function la(t,e){return sa(4,2,t,e)}function da(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function ha(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,sa(4,2,da.bind(null,e,t),n)}function pa(){}function ga(t,e){return Jo().memoizedState=[t,void 0===e?null:e],t}function ma(t,e){var n=ta();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Qo(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function ba(t,e){var n=ta();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Qo(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function va(t,e,n){var r=Vi();Wi(98>r?98:r,(function(){t(!0)})),Wi(97<r?97:r,(function(){var r=Vo.suspense;Vo.suspense=void 0===e?null:e;try{t(!1),n()}finally{Vo.suspense=r}}))}function ya(t,e,n){var r=ts(),i=bo.suspense;i={expirationTime:r=es(r,t,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===Wo||null!==o&&o===Wo)Yo=!0,i.expirationTime=qo,Wo.expirationTime=qo;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,u=o(a,n);if(i.eagerReducer=o,i.eagerState=u,Ur(u,a))return}catch(s){}ns(t,r)}}var _a={readContext:uo,useCallback:Zo,useContext:Zo,useEffect:Zo,useImperativeHandle:Zo,useLayoutEffect:Zo,useMemo:Zo,useReducer:Zo,useRef:Zo,useState:Zo,useDebugValue:Zo,useResponder:Zo,useDeferredValue:Zo,useTransition:Zo},wa={readContext:uo,useCallback:ga,useContext:uo,useEffect:ca,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,ua(4,2,da.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ua(4,2,t,e)},useMemo:function(t,e){var n=Jo();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Jo();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=ya.bind(null,Wo,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},Jo().memoizedState=t},useState:ia,useDebugValue:pa,useResponder:zo,useDeferredValue:function(t,e){var n=ia(t),r=n[0],i=n[1];return ca((function(){var n=Vo.suspense;Vo.suspense=void 0===e?null:e;try{i(t)}finally{Vo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=ia(!1),n=e[0];return e=e[1],[ga(va.bind(null,e,t),[e,t]),n]}},Sa={readContext:uo,useCallback:ma,useContext:uo,useEffect:fa,useImperativeHandle:ha,useLayoutEffect:la,useMemo:ba,useReducer:na,useRef:aa,useState:function(){return na(ea)},useDebugValue:pa,useResponder:zo,useDeferredValue:function(t,e){var n=na(ea),r=n[0],i=n[1];return fa((function(){var n=Vo.suspense;Vo.suspense=void 0===e?null:e;try{i(t)}finally{Vo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=na(ea),n=e[0];return e=e[1],[ma(va.bind(null,e,t),[e,t]),n]}},Oa={readContext:uo,useCallback:ma,useContext:uo,useEffect:fa,useImperativeHandle:ha,useLayoutEffect:la,useMemo:ba,useReducer:ra,useRef:aa,useState:function(){return ra(ea)},useDebugValue:pa,useResponder:zo,useDeferredValue:function(t,e){var n=ra(ea),r=n[0],i=n[1];return fa((function(){var n=Vo.suspense;Vo.suspense=void 0===e?null:e;try{i(t)}finally{Vo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=ra(ea),n=e[0];return e=e[1],[ma(va.bind(null,e,t),[e,t]),n]}},xa=null,Ea=null,Ma=!1;function Ta(t,e){var n=Is(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function $a(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function Aa(t){if(Ma){var e=Ea;if(e){var n=e;if(!$a(t,e)){if(!(e=En(n.nextSibling))||!$a(t,e))return t.effectTag=-1025&t.effectTag|2,Ma=!1,void(xa=t);Ta(xa,n)}xa=t,Ea=En(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,Ma=!1,xa=t}}function ka(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;xa=t}function Ca(t){if(t!==xa)return!1;if(!Ma)return ka(t),Ma=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Sn(e,t.memoizedProps))for(e=Ea;e;)Ta(t,e),e=En(e.nextSibling);if(ka(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){Ea=En(t.nextSibling);break t}e--}else"$"!==n&&n!==vn&&n!==bn||e++}t=t.nextSibling}Ea=null}}else Ea=xa?En(t.stateNode.nextSibling):null;return!0}function Ia(){Ea=xa=null,Ma=!1}var Pa=Z.ReactCurrentOwner,Na=!1;function Ra(t,e,n,r){e.child=null===t?ko(e,null,n,r):Ao(e,t.child,n,r)}function ja(t,e,n,r,i){n=n.render;var o=e.ref;return ao(e,i),r=Xo(t,e,n,r,o,i),null===t||Na?(e.effectTag|=1,Ra(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Da(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!==typeof a||Ps(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Rs(n.type,null,r,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,La(t,e,a,r,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(i,r)&&t.ref===e.ref)?Xa(t,e,o):(e.effectTag|=1,(t=Ns(a,r)).ref=e.ref,t.return=e,e.child=t)}function La(t,e,n,r,i,o){return null!==t&&Hr(t.memoizedProps,r)&&t.ref===e.ref&&(Na=!1,i<o)?(e.expirationTime=t.expirationTime,Xa(t,e,o)):Ba(t,e,n,r,o)}function Fa(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function Ba(t,e,n,r,i){var o=yi(n)?bi:gi.current;return o=vi(e,o),ao(e,i),n=Xo(t,e,n,r,o,i),null===t||Na?(e.effectTag|=1,Ra(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Ua(t,e,n,r,i){if(yi(n)){var o=!0;Oi(e)}else o=!1;if(ao(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),So(e,n,r),xo(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,u=e.memoizedProps;a.props=u;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=uo(c):c=vi(e,c=yi(n)?bi:gi.current);var f=n.getDerivedStateFromProps,l="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate;l||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&Oo(e,a,r,c),so=!1;var d=e.memoizedState;a.state=d,go(e,r,a,i),s=e.memoizedState,u!==r||d!==s||mi.current||so?("function"===typeof f&&(yo(e,n,f,r),s=e.memoizedState),(u=so||wo(e,n,u,r,d,s,c))?(l||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.effectTag|=4)):("function"===typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=r,e.memoizedState=s),a.props=r,a.state=s,a.context=c,r=u):("function"===typeof a.componentDidMount&&(e.effectTag|=4),r=!1)}else a=e.stateNode,fo(t,e),u=e.memoizedProps,a.props=e.type===e.elementType?u:Xi(e.type,u),s=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=uo(c):c=vi(e,c=yi(n)?bi:gi.current),(l="function"===typeof(f=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&Oo(e,a,r,c),so=!1,s=e.memoizedState,a.state=s,go(e,r,a,i),d=e.memoizedState,u!==r||s!==d||mi.current||so?("function"===typeof f&&(yo(e,n,f,r),d=e.memoizedState),(f=so||wo(e,n,u,r,s,d,c))?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"===typeof a.componentDidUpdate&&(e.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!==typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),e.memoizedProps=r,e.memoizedState=d),a.props=r,a.state=d,a.context=c,r=f):("function"!==typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),r=!1);return za(t,e,n,r,o,i)}function za(t,e,n,r,i,o){Fa(t,e);var a=0!==(64&e.effectTag);if(!r&&!a)return i&&xi(e,n,!1),Xa(t,e,o);r=e.stateNode,Pa.current=e;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.effectTag|=1,null!==t&&a?(e.child=Ao(e,t.child,null,o),e.child=Ao(e,null,u,o)):Ra(t,e,u,o),e.memoizedState=r.state,i&&xi(e,n,!0),e.child}function Ha(t){var e=t.stateNode;e.pendingContext?wi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&wi(0,e.context,!1),jo(t,e.containerInfo)}var Va,qa,Wa,Ga={dehydrated:null,retryTime:0};function Ka(t,e,n){var r,i=e.mode,o=e.pendingProps,a=Bo.current,u=!1;if((r=0!==(64&e.effectTag))||(r=0!==(2&a)&&(null===t||null!==t.memoizedState)),r?(u=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),hi(Bo,1&a),null===t){if(void 0!==o.fallback&&Aa(e),u){if(u=o.fallback,(o=js(null,i,0,null)).return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=js(u,i,n,null)).return=e,o.sibling=n,e.memoizedState=Ga,e.child=o,n}return i=o.children,e.memoizedState=null,e.child=ko(e,null,i,n)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,u){if(o=o.fallback,(n=Ns(t,t.pendingProps)).return=e,0===(2&e.mode)&&(u=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(i=Ns(i,o)).return=e,n.sibling=i,n.childExpirationTime=0,e.memoizedState=Ga,e.child=n,i}return n=Ao(e,t.child,o.children,n),e.memoizedState=null,e.child=n}if(t=t.child,u){if(u=o.fallback,(o=js(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=js(u,i,n,null)).return=e,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,e.memoizedState=Ga,e.child=o,n}return e.memoizedState=null,e.child=Ao(e,t,o.children,n)}function Ya(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e),oo(t.return,e)}function Za(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Qa(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Ra(t,e,r.children,n),0!==(2&(r=Bo.current)))r=1&r|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Ya(t,n);else if(19===t.tag)Ya(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(hi(Bo,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===Uo(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Za(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===Uo(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Za(e,!0,n,null,o,e.lastEffect);break;case"together":Za(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function Xa(t,e,n){null!==t&&(e.dependencies=t.dependencies);var r=e.expirationTime;if(0!==r&&ps(r),e.childExpirationTime<n)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Ns(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Ns(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Ja(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function tu(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yi(e.type)&&_i(),null;case 3:return Do(),di(mi),di(gi),(n=e.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||!Ca(e)||(e.effectTag|=4),null;case 5:Fo(e),n=Ro(No.current);var o=e.type;if(null!==t&&null!=e.stateNode)qa(t,e,o,r,n),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(a(166));return null}if(t=Ro(Io.current),Ca(e)){r=e.stateNode,o=e.type;var u=e.memoizedProps;switch(r[$n]=e,r[An]=u,o){case"iframe":case"object":case"embed":Ke("load",r);break;case"video":case"audio":for(t=0;t<Qt.length;t++)Ke(Qt[t],r);break;case"source":Ke("error",r);break;case"img":case"image":case"link":Ke("error",r),Ke("load",r);break;case"form":Ke("reset",r),Ke("submit",r);break;case"details":Ke("toggle",r);break;case"input":Ot(r,u),Ke("invalid",r),cn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Ke("invalid",r),cn(n,"onChange");break;case"textarea":Ct(r,u),Ke("invalid",r),cn(n,"onChange")}for(var s in an(o,u),t=null,u)if(u.hasOwnProperty(s)){var c=u[s];"children"===s?"string"===typeof c?r.textContent!==c&&(t=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(t=["children",""+c]):x.hasOwnProperty(s)&&null!=c&&cn(n,s)}switch(o){case"input":_t(r),Mt(r,u,!0);break;case"textarea":_t(r),Pt(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=fn)}n=t,e.updateQueue=n,null!==n&&(e.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,t===sn&&(t=jt(o)),t===sn?"script"===o?((t=s.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=s.createElement(o,{is:r.is}):(t=s.createElement(o),"select"===o&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,o),t[$n]=e,t[An]=r,Va(t,e),e.stateNode=t,s=un(o,r),o){case"iframe":case"object":case"embed":Ke("load",t),c=r;break;case"video":case"audio":for(c=0;c<Qt.length;c++)Ke(Qt[c],t);c=r;break;case"source":Ke("error",t),c=r;break;case"img":case"image":case"link":Ke("error",t),Ke("load",t),c=r;break;case"form":Ke("reset",t),Ke("submit",t),c=r;break;case"details":Ke("toggle",t),c=r;break;case"input":Ot(t,r),c=St(t,r),Ke("invalid",t),cn(n,"onChange");break;case"option":c=$t(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Ke("invalid",t),cn(n,"onChange");break;case"textarea":Ct(t,r),c=kt(t,r),Ke("invalid",t),cn(n,"onChange");break;default:c=r}an(o,c);var f=c;for(u in f)if(f.hasOwnProperty(u)){var l=f[u];"style"===u?rn(t,l):"dangerouslySetInnerHTML"===u?null!=(l=l?l.__html:void 0)&&Bt(t,l):"children"===u?"string"===typeof l?("textarea"!==o||""!==l)&&Ut(t,l):"number"===typeof l&&Ut(t,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(x.hasOwnProperty(u)?null!=l&&cn(n,u):null!=l&&Q(t,u,l,s))}switch(o){case"input":_t(t),Mt(t,r,!1);break;case"textarea":_t(t),Pt(t);break;case"option":null!=r.value&&t.setAttribute("value",""+vt(r.value));break;case"select":t.multiple=!!r.multiple,null!=(n=r.value)?At(t,!!r.multiple,n,!1):null!=r.defaultValue&&At(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof c.onClick&&(t.onclick=fn)}wn(o,r)&&(e.effectTag|=4)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)Wa(0,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(a(166));n=Ro(No.current),Ro(Io.current),Ca(e)?(n=e.stateNode,r=e.memoizedProps,n[$n]=e,n.nodeValue!==r&&(e.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[$n]=e,e.stateNode=n)}return null;case 13:return di(Bo),r=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=n,e):(n=null!==r,r=!1,null===t?void 0!==e.memoizedProps.fallback&&Ca(e):(r=null!==(o=t.memoizedState),n||null===o||null!==(o=t.child.sibling)&&(null!==(u=e.firstEffect)?(e.firstEffect=o,o.nextEffect=u):(e.firstEffect=e.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Bo.current)?Ru===$u&&(Ru=Au):(Ru!==$u&&Ru!==Au||(Ru=ku),0!==Bu&&null!==Iu&&(Us(Iu,Nu),zs(Iu,Bu)))),(n||r)&&(e.effectTag|=4),null);case 4:return Do(),null;case 10:return io(e),null;case 17:return yi(e.type)&&_i(),null;case 19:if(di(Bo),null===(r=e.memoizedState))return null;if(o=0!==(64&e.effectTag),null===(u=r.rendering)){if(o)Ja(r,!1);else if(Ru!==$u||null!==t&&0!==(64&t.effectTag))for(u=e.child;null!==u;){if(null!==(t=Uo(u))){for(e.effectTag|=64,Ja(r,!1),null!==(o=t.updateQueue)&&(e.updateQueue=o,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=e.child;null!==r;)u=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(t=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=t.childExpirationTime,o.expirationTime=t.expirationTime,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,u=t.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return hi(Bo,1&Bo.current|2),e.child}u=u.sibling}}else{if(!o)if(null!==(t=Uo(u))){if(e.effectTag|=64,o=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*Hi()-r.renderingStartTime>r.tailExpiration&&1<n&&(e.effectTag|=64,o=!0,Ja(r,!1),e.expirationTime=e.childExpirationTime=n-1);r.isBackwards?(u.sibling=e.child,e.child=u):(null!==(n=r.last)?n.sibling=u:e.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Hi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=Hi(),n.sibling=null,e=Bo.current,hi(Bo,o?1&e|2:1&e),n):null}throw Error(a(156,e.tag))}function eu(t){switch(t.tag){case 1:yi(t.type)&&_i();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Do(),di(mi),di(gi),0!==(64&(e=t.effectTag)))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return Fo(t),null;case 13:return di(Bo),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return di(Bo),null;case 4:return Do(),null;case 10:return io(t),null;default:return null}}function nu(t,e){return{value:t,source:e,stack:bt(e)}}Va=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qa=function(t,e,n,r,o){var a=t.memoizedProps;if(a!==r){var u,s,c=e.stateNode;switch(Ro(Io.current),t=null,n){case"input":a=St(c,a),r=St(c,r),t=[];break;case"option":a=$t(c,a),r=$t(c,r),t=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),t=[];break;case"textarea":a=kt(c,a),r=kt(c,r),t=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(c.onclick=fn)}for(u in an(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(s in c=a[u])c.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(x.hasOwnProperty(u)?t||(t=[]):(t=t||[]).push(u,null));for(u in r){var f=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&f!==c&&(null!=f||null!=c))if("style"===u)if(c){for(s in c)!c.hasOwnProperty(s)||f&&f.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in f)f.hasOwnProperty(s)&&c[s]!==f[s]&&(n||(n={}),n[s]=f[s])}else n||(t||(t=[]),t.push(u,n)),n=f;else"dangerouslySetInnerHTML"===u?(f=f?f.__html:void 0,c=c?c.__html:void 0,null!=f&&c!==f&&(t=t||[]).push(u,f)):"children"===u?c===f||"string"!==typeof f&&"number"!==typeof f||(t=t||[]).push(u,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(x.hasOwnProperty(u)?(null!=f&&cn(o,u),t||c===f||(t=[])):(t=t||[]).push(u,f))}n&&(t=t||[]).push("style",n),o=t,(e.updateQueue=o)&&(e.effectTag|=4)}},Wa=function(t,e,n,r){n!==r&&(e.effectTag|=4)};var ru="function"===typeof WeakSet?WeakSet:Set;function iu(t,e){var n=e.source,r=e.stack;null===r&&null!==n&&(r=bt(n)),null!==n&&mt(n.type),e=e.value,null!==t&&1===t.tag&&mt(t.type);try{console.error(e)}catch(i){setTimeout((function(){throw i}))}}function ou(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){Ms(t,n)}else e.current=null}function au(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Xi(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function uu(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==e)}}function su(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function cu(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:return void su(3,n);case 1:if(t=n.stateNode,4&n.effectTag)if(null===e)t.componentDidMount();else{var r=n.elementType===n.type?e.memoizedProps:Xi(n.type,e.memoizedProps);t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return void(null!==(e=n.updateQueue)&&mo(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}mo(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.effectTag&&wn(n.type,n.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&De(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function fu(t,e,n){switch("function"===typeof ks&&ks(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var r=t.next;Wi(97<n?97:n,(function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(o){Ms(i,o)}}t=t.next}while(t!==r)}))}break;case 1:ou(e),"function"===typeof(n=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(n){Ms(t,n)}}(e,n);break;case 5:ou(e);break;case 4:mu(t,e,n)}}function lu(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&lu(e)}function du(t){return 5===t.tag||3===t.tag||4===t.tag}function hu(t){t:{for(var e=t.return;null!==e;){if(du(e)){var n=e;break t}e=e.return}throw Error(a(160))}switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ut(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||du(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}r?pu(t,n,e):gu(t,n,e)}function pu(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==e.onclick||(e.onclick=fn));else if(4!==r&&null!==(t=t.child))for(pu(t,e,n),t=t.sibling;null!==t;)pu(t,e,n),t=t.sibling}function gu(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(gu(t,e,n),t=t.sibling;null!==t;)gu(t,e,n),t=t.sibling}function mu(t,e,n){for(var r,i,o=e,u=!1;;){if(!u){u=o.return;t:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break t;case 3:case 4:r=r.containerInfo,i=!0;break t}u=u.return}u=!0}if(5===o.tag||6===o.tag){t:for(var s=t,c=o,f=n,l=c;;)if(fu(s,l,f),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===c)break t;for(;null===l.sibling;){if(null===l.return||l.return===c)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}i?(s=r,c=o.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(fu(t,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function bu(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void uu(3,e);case 1:return;case 5:var n=e.stateNode;if(null!=n){var r=e.memoizedProps,i=null!==t?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(n[An]=r,"input"===t&&"radio"===r.type&&null!=r.name&&xt(n,r),un(t,i),e=un(t,r),i=0;i<o.length;i+=2){var u=o[i],s=o[i+1];"style"===u?rn(n,s):"dangerouslySetInnerHTML"===u?Bt(n,s):"children"===u?Ut(n,s):Q(n,u,s,e)}switch(t){case"input":Et(n,r);break;case"textarea":It(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(t=r.value)?At(n,!!r.multiple,t,!1):e!==!!r.multiple&&(null!=r.defaultValue?At(n,!!r.multiple,r.defaultValue,!0):At(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((e=e.stateNode).hydrate&&(e.hydrate=!1,De(e.containerInfo)));case 12:return;case 13:if(n=e,null===e.memoizedState?r=!1:(r=!0,n=e.child,zu=Hi()),null!==n)t:for(t=n;;){if(5===t.tag)o=t.stateNode,r?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=t.stateNode,i=void 0!==(i=t.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=nn("display",i));else if(6===t.tag)t.stateNode.nodeValue=r?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(o=t.child.sibling).return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}return void vu(e);case 19:return void vu(e);case 17:return}throw Error(a(163))}function vu(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new ru),e.forEach((function(e){var r=$s.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}var yu="function"===typeof WeakMap?WeakMap:Map;function _u(t,e,n){(n=lo(n,null)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Vu||(Vu=!0,qu=r),iu(t,e)},n}function wu(t,e,n){(n=lo(n,null)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return iu(t,e),r(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Wu?Wu=new Set([this]):Wu.add(this),iu(t,e));var n=e.stack;this.componentDidCatch(e.value,{componentStack:null!==n?n:""})}),n}var Su,Ou=Math.ceil,xu=Z.ReactCurrentDispatcher,Eu=Z.ReactCurrentOwner,Mu=16,Tu=32,$u=0,Au=3,ku=4,Cu=0,Iu=null,Pu=null,Nu=0,Ru=$u,ju=null,Du=1073741823,Lu=1073741823,Fu=null,Bu=0,Uu=!1,zu=0,Hu=null,Vu=!1,qu=null,Wu=null,Gu=!1,Ku=null,Yu=90,Zu=null,Qu=0,Xu=null,Ju=0;function ts(){return 0!==(48&Cu)?1073741821-(Hi()/10|0):0!==Ju?Ju:Ju=1073741821-(Hi()/10|0)}function es(t,e,n){if(0===(2&(e=e.mode)))return 1073741823;var r=Vi();if(0===(4&e))return 99===r?1073741823:1073741822;if(0!==(Cu&Mu))return Nu;if(null!==n)t=Qi(t,0|n.timeoutMs||5e3,250);else switch(r){case 99:t=1073741823;break;case 98:t=Qi(t,150,100);break;case 97:case 96:t=Qi(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Iu&&t===Nu&&--t,t}function ns(t,e){if(50<Qu)throw Qu=0,Xu=null,Error(a(185));if(null!==(t=rs(t,e))){var n=Vi();1073741823===e?0!==(8&Cu)&&0===(48&Cu)?us(t):(os(t),0===Cu&&Yi()):os(t),0===(4&Cu)||98!==n&&99!==n||(null===Zu?Zu=new Map([[t,e]]):(void 0===(n=Zu.get(t))||n>e)&&Zu.set(t,e))}}function rs(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e);var r=t.return,i=null;if(null===r&&3===t.tag)i=t.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<e&&(r.childExpirationTime=e),null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Iu===i&&(ps(e),Ru===ku&&Us(i,Nu)),zs(i,e)),i}function is(t){var e=t.lastExpiredTime;if(0!==e)return e;if(!Bs(t,e=t.firstPendingTime))return e;var n=t.lastPingedTime;return 2>=(t=n>(t=t.nextKnownPendingLevel)?n:t)&&e!==t?0:t}function os(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=Ki(us.bind(null,t));else{var e=is(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=ts();if(1073741823===e?r=99:1===e||2===e?r=95:r=0>=(r=10*(1073741821-e)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==ji&&Ti(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?Ki(us.bind(null,t)):Gi(r,as.bind(null,t),{timeout:10*(1073741821-e)-Hi()}),t.callbackNode=e}}}function as(t,e){if(Ju=0,e)return Hs(t,e=ts()),os(t),null;var n=is(t);if(0!==n){if(e=t.callbackNode,0!==(48&Cu))throw Error(a(327));if(Os(),t===Iu&&n===Nu||fs(t,n),null!==Pu){var r=Cu;Cu|=Mu;for(var i=ds();;)try{ms();break}catch(s){ls(t,s)}if(ro(),Cu=r,xu.current=i,1===Ru)throw e=ju,fs(t,n),Us(t,n),os(t),e;if(null===Pu)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=Ru,Iu=null,r){case $u:case 1:throw Error(a(345));case 2:Hs(t,2<n?2:n);break;case Au:if(Us(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=ys(i)),1073741823===Du&&10<(i=zu+500-Hi())){if(Uu){var o=t.lastPingedTime;if(0===o||o>=n){t.lastPingedTime=n,fs(t,n);break}}if(0!==(o=is(t))&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=On(_s.bind(null,t),i);break}_s(t);break;case ku:if(Us(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=ys(i)),Uu&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,fs(t,n);break}if(0!==(i=is(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==Lu?r=10*(1073741821-Lu)-Hi():1073741823===Du?r=0:(r=10*(1073741821-Du)-5e3,0>(r=(i=Hi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ou(r/1960))-r)&&(r=n)),10<r){t.timeoutHandle=On(_s.bind(null,t),r);break}_s(t);break;case 5:if(1073741823!==Du&&null!==Fu){o=Du;var u=Fu;if(0>=(r=0|u.busyMinDurationMs)?r=0:(i=0|u.busyDelayMs,r=(o=Hi()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Us(t,n),t.timeoutHandle=On(_s.bind(null,t),r);break}}_s(t);break;default:throw Error(a(329))}if(os(t),t.callbackNode===e)return as.bind(null,t)}}return null}function us(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,0!==(48&Cu))throw Error(a(327));if(Os(),t===Iu&&e===Nu||fs(t,e),null!==Pu){var n=Cu;Cu|=Mu;for(var r=ds();;)try{gs();break}catch(i){ls(t,i)}if(ro(),Cu=n,xu.current=r,1===Ru)throw n=ju,fs(t,e),Us(t,e),os(t),n;if(null!==Pu)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Iu=null,_s(t),os(t)}return null}function ss(t,e){var n=Cu;Cu|=1;try{return t(e)}finally{0===(Cu=n)&&Yi()}}function cs(t,e){var n=Cu;Cu&=-2,Cu|=8;try{return t(e)}finally{0===(Cu=n)&&Yi()}}function fs(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,xn(n)),null!==Pu)for(n=Pu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&_i();break;case 3:Do(),di(mi),di(gi);break;case 5:Fo(r);break;case 4:Do();break;case 13:case 19:di(Bo);break;case 10:io(r)}n=n.return}Iu=t,Pu=Ns(t.current,null),Nu=e,Ru=$u,ju=null,Lu=Du=1073741823,Fu=null,Bu=0,Uu=!1}function ls(t,e){for(;;){try{if(ro(),Ho.current=_a,Yo)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(qo=0,Ko=Go=Wo=null,Yo=!1,null===Pu||null===Pu.return)return Ru=1,ju=e,Pu=null;t:{var i=t,o=Pu.return,a=Pu,u=e;if(e=Nu,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var s=u;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var f=0!==(1&Bo.current),l=o;do{var d;if(d=13===l.tag){var h=l.memoizedState;if(null!==h)d=null!==h.dehydrated;else{var p=l.memoizedProps;d=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!f)}}if(d){var g=l.updateQueue;if(null===g){var m=new Set;m.add(s),l.updateQueue=m}else g.add(s);if(0===(2&l.mode)){if(l.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=lo(1073741823,null);b.tag=2,ho(a,b)}a.expirationTime=1073741823;break t}u=void 0,a=e;var v=i.pingCache;if(null===v?(v=i.pingCache=new yu,u=new Set,v.set(s,u)):void 0===(u=v.get(s))&&(u=new Set,v.set(s,u)),!u.has(a)){u.add(a);var y=Ts.bind(null,i,s,a);s.then(y,y)}l.effectTag|=4096,l.expirationTime=e;break t}l=l.return}while(null!==l);u=Error((mt(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+bt(a))}5!==Ru&&(Ru=2),u=nu(u,a),l=o;do{switch(l.tag){case 3:s=u,l.effectTag|=4096,l.expirationTime=e,po(l,_u(l,s,e));break t;case 1:s=u;var _=l.type,w=l.stateNode;if(0===(64&l.effectTag)&&("function"===typeof _.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===Wu||!Wu.has(w)))){l.effectTag|=4096,l.expirationTime=e,po(l,wu(l,s,e));break t}}l=l.return}while(null!==l)}Pu=vs(Pu)}catch(S){e=S;continue}break}}function ds(){var t=xu.current;return xu.current=_a,null===t?_a:t}function hs(t,e){t<Du&&2<t&&(Du=t),null!==e&&t<Lu&&2<t&&(Lu=t,Fu=e)}function ps(t){t>Bu&&(Bu=t)}function gs(){for(;null!==Pu;)Pu=bs(Pu)}function ms(){for(;null!==Pu&&!Di();)Pu=bs(Pu)}function bs(t){var e=Su(t.alternate,t,Nu);return t.memoizedProps=t.pendingProps,null===e&&(e=vs(t)),Eu.current=null,e}function vs(t){Pu=t;do{var e=Pu.alternate;if(t=Pu.return,0===(2048&Pu.effectTag)){if(e=tu(e,Pu,Nu),1===Nu||1!==Pu.childExpirationTime){for(var n=0,r=Pu.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Pu.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=Pu.firstEffect),null!==Pu.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=Pu.firstEffect),t.lastEffect=Pu.lastEffect),1<Pu.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=Pu:t.firstEffect=Pu,t.lastEffect=Pu))}else{if(null!==(e=eu(Pu)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=Pu.sibling))return e;Pu=t}while(null!==Pu);return Ru===$u&&(Ru=5),null}function ys(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function _s(t){var e=Vi();return Wi(99,ws.bind(null,t,e)),null}function ws(t,e){do{Os()}while(null!==Ku);if(0!==(48&Cu))throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=ys(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Iu&&(Pu=Iu=null,Nu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Cu;Cu|=Tu,Eu.current=null,yn=Ge;var u=gn();if(mn(u)){if("selectionStart"in u)var s={start:u.selectionStart,end:u.selectionEnd};else t:{var c=(s=(s=u.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var f=c.anchorOffset,l=c.focusNode;c=c.focusOffset;try{s.nodeType,l.nodeType}catch(M){s=null;break t}var d=0,h=-1,p=-1,g=0,m=0,b=u,v=null;e:for(;;){for(var y;b!==s||0!==f&&3!==b.nodeType||(h=d+f),b!==l||0!==c&&3!==b.nodeType||(p=d+c),3===b.nodeType&&(d+=b.nodeValue.length),null!==(y=b.firstChild);)v=b,b=y;for(;;){if(b===u)break e;if(v===s&&++g===f&&(h=d),v===l&&++m===c&&(p=d),null!==(y=b.nextSibling))break;v=(b=v).parentNode}b=y}s=-1===h||-1===p?null:{start:h,end:p}}else s=null}s=s||{start:0,end:0}}else s=null;_n={activeElementDetached:null,focusedElem:u,selectionRange:s},Ge=!1,Hu=i;do{try{Ss()}catch(M){if(null===Hu)throw Error(a(330));Ms(Hu,M),Hu=Hu.nextEffect}}while(null!==Hu);Hu=i;do{try{for(u=t,s=e;null!==Hu;){var _=Hu.effectTag;if(16&_&&Ut(Hu.stateNode,""),128&_){var w=Hu.alternate;if(null!==w){var S=w.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(1038&_){case 2:hu(Hu),Hu.effectTag&=-3;break;case 6:hu(Hu),Hu.effectTag&=-3,bu(Hu.alternate,Hu);break;case 1024:Hu.effectTag&=-1025;break;case 1028:Hu.effectTag&=-1025,bu(Hu.alternate,Hu);break;case 4:bu(Hu.alternate,Hu);break;case 8:mu(u,f=Hu,s),lu(f)}Hu=Hu.nextEffect}}catch(M){if(null===Hu)throw Error(a(330));Ms(Hu,M),Hu=Hu.nextEffect}}while(null!==Hu);if(S=_n,w=gn(),_=S.focusedElem,s=S.selectionRange,w!==_&&_&&_.ownerDocument&&pn(_.ownerDocument.documentElement,_)){null!==s&&mn(_)&&(w=s.start,void 0===(S=s.end)&&(S=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(S,_.value.length)):(S=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(S=S.getSelection(),f=_.textContent.length,u=Math.min(s.start,f),s=void 0===s.end?u:Math.min(s.end,f),!S.extend&&u>s&&(f=s,s=u,u=f),f=hn(_,u),l=hn(_,s),f&&l&&(1!==S.rangeCount||S.anchorNode!==f.node||S.anchorOffset!==f.offset||S.focusNode!==l.node||S.focusOffset!==l.offset)&&((w=w.createRange()).setStart(f.node,f.offset),S.removeAllRanges(),u>s?(S.addRange(w),S.extend(l.node,l.offset)):(w.setEnd(l.node,l.offset),S.addRange(w))))),w=[];for(S=_;S=S.parentNode;)1===S.nodeType&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof _.focus&&_.focus(),_=0;_<w.length;_++)(S=w[_]).element.scrollLeft=S.left,S.element.scrollTop=S.top}Ge=!!yn,_n=yn=null,t.current=n,Hu=i;do{try{for(_=t;null!==Hu;){var O=Hu.effectTag;if(36&O&&cu(_,Hu.alternate,Hu),128&O){w=void 0;var x=Hu.ref;if(null!==x){var E=Hu.stateNode;switch(Hu.tag){case 5:w=E;break;default:w=E}"function"===typeof x?x(w):x.current=w}}Hu=Hu.nextEffect}}catch(M){if(null===Hu)throw Error(a(330));Ms(Hu,M),Hu=Hu.nextEffect}}while(null!==Hu);Hu=null,Li(),Cu=o}else t.current=n;if(Gu)Gu=!1,Ku=t,Yu=e;else for(Hu=i;null!==Hu;)e=Hu.nextEffect,Hu.nextEffect=null,Hu=e;if(0===(e=t.firstPendingTime)&&(Wu=null),1073741823===e?t===Xu?Qu++:(Qu=0,Xu=t):Qu=0,"function"===typeof As&&As(n.stateNode,r),os(t),Vu)throw Vu=!1,t=qu,qu=null,t;return 0!==(8&Cu)||Yi(),null}function Ss(){for(;null!==Hu;){var t=Hu.effectTag;0!==(256&t)&&au(Hu.alternate,Hu),0===(512&t)||Gu||(Gu=!0,Gi(97,(function(){return Os(),null}))),Hu=Hu.nextEffect}}function Os(){if(90!==Yu){var t=97<Yu?97:Yu;return Yu=90,Wi(t,xs)}}function xs(){if(null===Ku)return!1;var t=Ku;if(Ku=null,0!==(48&Cu))throw Error(a(331));var e=Cu;for(Cu|=Tu,t=t.current.firstEffect;null!==t;){try{var n=t;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:uu(5,n),su(5,n)}}catch(r){if(null===t)throw Error(a(330));Ms(t,r)}n=t.nextEffect,t.nextEffect=null,t=n}return Cu=e,Yi(),!0}function Es(t,e,n){ho(t,e=_u(t,e=nu(n,e),1073741823)),null!==(t=rs(t,1073741823))&&os(t)}function Ms(t,e){if(3===t.tag)Es(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){Es(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Wu||!Wu.has(r))){ho(n,t=wu(n,t=nu(e,t),1073741823)),null!==(n=rs(n,1073741823))&&os(n);break}}n=n.return}}function Ts(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),Iu===t&&Nu===n?Ru===ku||Ru===Au&&1073741823===Du&&Hi()-zu<500?fs(t,Nu):Uu=!0:Bs(t,n)&&(0!==(e=t.lastPingedTime)&&e<n||(t.lastPingedTime=n,os(t)))}function $s(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(e=es(e=ts(),t,null)),null!==(t=rs(t,e))&&os(t)}Su=function(t,e,n){var r=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||mi.current)Na=!0;else{if(r<n){switch(Na=!1,e.tag){case 3:Ha(e),Ia();break;case 5:if(Lo(e),4&e.mode&&1!==n&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:yi(e.type)&&Oi(e);break;case 4:jo(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value,i=e.type._context,hi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==e.memoizedState)return 0!==(r=e.child.childExpirationTime)&&r>=n?Ka(t,e,n):(hi(Bo,1&Bo.current),null!==(e=Xa(t,e,n))?e.sibling:null);hi(Bo,1&Bo.current);break;case 19:if(r=e.childExpirationTime>=n,0!==(64&t.effectTag)){if(r)return Qa(t,e,n);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),hi(Bo,Bo.current),!r)return null}return Xa(t,e,n)}Na=!1}}else Na=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=vi(e,gi.current),ao(e,n),i=Xo(null,e,r,t,i,n),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,yi(r)){var o=!0;Oi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,co(e);var u=r.getDerivedStateFromProps;"function"===typeof u&&yo(e,r,u,t),i.updater=_o,e.stateNode=i,i._reactInternalFiber=e,xo(e,r,t,n),e=za(null,e,r,!0,o,n)}else e.tag=0,Ra(null,e,i,n),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=function(t){if("function"===typeof t)return Ps(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===st)return 11;if(t===lt)return 14}return 2}(i),t=Xi(i,t),o){case 0:e=Ba(null,e,i,t,n);break t;case 1:e=Ua(null,e,i,t,n);break t;case 11:e=ja(null,e,i,t,n);break t;case 14:e=Da(null,e,i,Xi(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,Ba(t,e,r,i=e.elementType===r?i:Xi(r,i),n);case 1:return r=e.type,i=e.pendingProps,Ua(t,e,r,i=e.elementType===r?i:Xi(r,i),n);case 3:if(Ha(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,fo(t,e),go(e,r,null,n),(r=e.memoizedState.element)===i)Ia(),e=Xa(t,e,n);else{if((i=e.stateNode.hydrate)&&(Ea=En(e.stateNode.containerInfo.firstChild),xa=e,i=Ma=!0),i)for(n=ko(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ra(t,e,r,n),Ia();e=e.child}return e;case 5:return Lo(e),null===t&&Aa(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,u=i.children,Sn(r,i)?u=null:null!==o&&Sn(r,o)&&(e.effectTag|=16),Fa(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Ra(t,e,u,n),e=e.child),e;case 6:return null===t&&Aa(e),null;case 13:return Ka(t,e,n);case 4:return jo(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ao(e,null,r,n):Ra(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,ja(t,e,r,i=e.elementType===r?i:Xi(r,i),n);case 7:return Ra(t,e,e.pendingProps,n),e.child;case 8:case 12:return Ra(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,u=e.memoizedProps,o=i.value;var s=e.type._context;if(hi(Ji,s._currentValue),s._currentValue=o,null!==u)if(s=u.value,0===(o=Ur(s,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(u.children===i.children&&!mi.current){e=Xa(t,e,n);break t}}else for(null!==(s=e.child)&&(s.return=e);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var f=c.firstContext;null!==f;){if(f.context===r&&0!==(f.observedBits&o)){1===s.tag&&((f=lo(n,null)).tag=2,ho(s,f)),s.expirationTime<n&&(s.expirationTime=n),null!==(f=s.alternate)&&f.expirationTime<n&&(f.expirationTime=n),oo(s.return,n),c.expirationTime<n&&(c.expirationTime=n);break}f=f.next}}else u=10===s.tag&&s.type===e.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===e){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}Ra(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=(o=e.pendingProps).children,ao(e,n),r=r(i=uo(i,o.unstable_observedBits)),e.effectTag|=1,Ra(t,e,r,n),e.child;case 14:return o=Xi(i=e.type,e.pendingProps),Da(t,e,i,o=Xi(i.type,o),r,n);case 15:return La(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Xi(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,yi(r)?(t=!0,Oi(e)):t=!1,ao(e,n),So(e,r,i),xo(e,r,i,n),za(null,e,r,!0,t,n);case 19:return Qa(t,e,n)}throw Error(a(156,e.tag))};var As=null,ks=null;function Cs(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Is(t,e,n,r){return new Cs(t,e,n,r)}function Ps(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ns(t,e){var n=t.alternate;return null===n?((n=Is(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=t.childExpirationTime,n.expirationTime=t.expirationTime,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Rs(t,e,n,r,i,o){var u=2;if(r=t,"function"===typeof t)Ps(t)&&(u=1);else if("string"===typeof t)u=5;else t:switch(t){case nt:return js(n.children,i,o,e);case ut:u=8,i|=7;break;case rt:u=8,i|=1;break;case it:return(t=Is(12,n,e,8|i)).elementType=it,t.type=it,t.expirationTime=o,t;case ct:return(t=Is(13,n,e,i)).type=ct,t.elementType=ct,t.expirationTime=o,t;case ft:return(t=Is(19,n,e,i)).elementType=ft,t.expirationTime=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case ot:u=10;break t;case at:u=9;break t;case st:u=11;break t;case lt:u=14;break t;case dt:u=16,r=null;break t;case ht:u=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Is(u,n,e,i)).elementType=t,e.type=r,e.expirationTime=o,e}function js(t,e,n,r){return(t=Is(7,t,r,e)).expirationTime=n,t}function Ds(t,e,n){return(t=Is(6,t,null,e)).expirationTime=n,t}function Ls(t,e,n){return(e=Is(4,null!==t.children?t.children:[],t.key,e)).expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Fs(t,e,n){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Bs(t,e){var n=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==n&&n>=e&&t<=e}function Us(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;n<e&&(t.firstSuspendedTime=e),(r>e||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function zs(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function Hs(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function Vs(t,e,n,r){var i=e.current,o=ts(),u=bo.suspense;o=es(o,i,u);t:if(n){e:{if(te(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(yi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(null!==s);throw Error(a(171))}if(1===n.tag){var c=n.type;if(yi(c)){n=Si(n,c,s);break t}}n=s}else n=pi;return null===e.context?e.context=n:e.pendingContext=n,(e=lo(o,u)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),ho(i,e),ns(i,o),o}function qs(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Ws(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function Gs(t,e){Ws(t,e),(t=t.alternate)&&Ws(t,e)}function Ks(t,e,n){var r=new Fs(t,e,n=null!=n&&!0===n.hydrate),i=Is(3,null,null,2===e?7:1===e?3:0);r.current=i,i.stateNode=r,co(i),t[kn]=r.current,n&&0!==e&&function(t,e){var n=Jt(e);Te.forEach((function(t){ge(t,e,n)})),$e.forEach((function(t){ge(t,e,n)}))}(0,9===t.nodeType?t:t.ownerDocument),this._internalRoot=r}function Ys(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Zs(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var u=i;i=function(){var t=qs(a);u.call(t)}}Vs(e,a,t,i)}else{if(o=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new Ks(t,0,e?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var s=i;i=function(){var t=qs(a);s.call(t)}}cs((function(){Vs(e,a,t,i)}))}return qs(a)}function Qs(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:et,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function Xs(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ys(e))throw Error(a(200));return Qs(t,e,null,n)}Ks.prototype.render=function(t){Vs(t,this._internalRoot,null,null)},Ks.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Vs(null,t,null,(function(){e[kn]=null}))},me=function(t){if(13===t.tag){var e=Qi(ts(),150,100);ns(t,e),Gs(t,e)}},be=function(t){13===t.tag&&(ns(t,3),Gs(t,3))},ve=function(t){if(13===t.tag){var e=ts();ns(t,e=es(e,t,null)),Gs(t,e)}},$=function(t,e,n){switch(e){case"input":if(Et(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=Nn(r);if(!i)throw Error(a(90));wt(r),Et(r,i)}}}break;case"textarea":It(t,n);break;case"select":null!=(e=n.value)&&At(t,!!n.multiple,e,!1)}},N=ss,R=function(t,e,n,r,i){var o=Cu;Cu|=4;try{return Wi(98,t.bind(null,e,n,r,i))}finally{0===(Cu=o)&&Yi()}},j=function(){0===(49&Cu)&&(function(){if(null!==Zu){var t=Zu;Zu=null,t.forEach((function(t,e){Hs(e,t),os(e)})),Yi()}}(),Os())},D=function(t,e){var n=Cu;Cu|=2;try{return t(e)}finally{0===(Cu=n)&&Yi()}};var Js={Events:[In,Pn,Nn,M,O,Un,function(t){oe(t,Bn)},I,P,Xe,se,Os,{current:!1}]};!function(t){var e=t.findFiberByHostInstance;(function(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);As=function(t){try{e.onCommitFiberRoot(n,t,void 0,64===(64&t.current.effectTag))}catch(r){}},ks=function(t){try{e.onCommitFiberUnmount(n,t)}catch(r){}}}catch(r){}})(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Z.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=re(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Cn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Js,e.createPortal=Xs,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=re(e))?null:t.stateNode},e.flushSync=function(t,e){if(0!==(48&Cu))throw Error(a(187));var n=Cu;Cu|=1;try{return Wi(99,t.bind(null,e))}finally{Cu=n,Yi()}},e.hydrate=function(t,e,n){if(!Ys(e))throw Error(a(200));return Zs(null,t,e,!0,n)},e.render=function(t,e,n){if(!Ys(e))throw Error(a(200));return Zs(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!Ys(t))throw Error(a(40));return!!t._reactRootContainer&&(cs((function(){Zs(null,null,t,!1,(function(){t._reactRootContainer=null,t[kn]=null}))})),!0)},e.unstable_batchedUpdates=ss,e.unstable_createPortal=function(t,e){return Xs(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Ys(n))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return Zs(t,e,n,!1,r)},e.version="16.14.0"},function(t,e,n){"use strict";t.exports=n(605)},function(t,e,n){"use strict";var r,i,o,a,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,f=function t(){if(null!==s)try{var n=e.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(t,0),r}},l=Date.now();e.unstable_now=function(){return Date.now()-l},r=function(t){null!==s?setTimeout(r,0,t):(s=t,setTimeout(f,0))},i=function(t,e){c=setTimeout(t,e)},o=function(){clearTimeout(c)},a=function(){return!1},u=e.unstable_forceFrameRate=function(){}}else{var d=window.performance,h=window.Date,p=window.setTimeout,g=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)e.unstable_now=function(){return d.now()};else{var b=h.now();e.unstable_now=function(){return h.now()-b}}var v=!1,y=null,_=-1,w=5,S=0;a=function(){return e.unstable_now()>=S},u=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<t?Math.floor(1e3/t):5};var O=new MessageChannel,x=O.port2;O.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();S=t+w;try{y(!0,t)?x.postMessage(null):(v=!1,y=null)}catch(n){throw x.postMessage(null),n}}else v=!1},r=function(t){y=t,v||(v=!0,x.postMessage(null))},i=function(t,n){_=p((function(){t(e.unstable_now())}),n)},o=function(){g(_),_=-1}}function E(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,i=t[r];if(!(void 0!==i&&0<$(i,e)))break t;t[r]=e,t[n]=i,n=r}}function M(t){return void 0===(t=t[0])?null:t}function T(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],u=o+1,s=t[u];if(void 0!==a&&0>$(a,n))void 0!==s&&0>$(s,a)?(t[r]=s,t[u]=n,r=u):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==s&&0>$(s,n)))break t;t[r]=s,t[u]=n,r=u}}}return e}return null}function $(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var A=[],k=[],C=1,I=null,P=3,N=!1,R=!1,j=!1;function D(t){for(var e=M(k);null!==e;){if(null===e.callback)T(k);else{if(!(e.startTime<=t))break;T(k),e.sortIndex=e.expirationTime,E(A,e)}e=M(k)}}function L(t){if(j=!1,D(t),!R)if(null!==M(A))R=!0,r(F);else{var e=M(k);null!==e&&i(L,e.startTime-t)}}function F(t,n){R=!1,j&&(j=!1,o()),N=!0;var r=P;try{for(D(n),I=M(A);null!==I&&(!(I.expirationTime>n)||t&&!a());){var u=I.callback;if(null!==u){I.callback=null,P=I.priorityLevel;var s=u(I.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?I.callback=s:I===M(A)&&T(A),D(n)}else T(A);I=M(A)}if(null!==I)var c=!0;else{var f=M(k);null!==f&&i(L,f.startTime-n),c=!1}return c}finally{I=null,P=r,N=!1}}function B(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){R||N||(R=!0,r(F))},e.unstable_getCurrentPriorityLevel=function(){return P},e.unstable_getFirstCallbackNode=function(){return M(A)},e.unstable_next=function(t){switch(P){case 1:case 2:case 3:var e=3;break;default:e=P}var n=P;P=e;try{return t()}finally{P=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=U,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=P;P=t;try{return e()}finally{P=n}},e.unstable_scheduleCallback=function(t,n,a){var u=e.unstable_now();if("object"===typeof a&&null!==a){var s=a.delay;s="number"===typeof s&&0<s?u+s:u,a="number"===typeof a.timeout?a.timeout:B(t)}else a=B(t),s=u;return t={id:C++,callback:n,priorityLevel:t,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(t.sortIndex=s,E(k,t),null===M(A)&&t===M(k)&&(j?o():j=!0,i(L,s-u))):(t.sortIndex=a,E(A,t),R||N||(R=!0,r(F))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();D(t);var n=M(A);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime<I.expirationTime||a()},e.unstable_wrapCallback=function(t){var e=P;return function(){var n=P;P=e;try{return t.apply(this,arguments)}finally{P=n}}}},function(t,e,n){"use strict";var r=n(1),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),e.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,o={},c=null,f=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(f=e.ref),e)u.call(e,r)&&!s.hasOwnProperty(r)&&(o[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===o[r]&&(o[r]=e[r]);return{$$typeof:i,type:t,key:c,ref:f,props:o,_owner:a.current}}e.jsx=c,e.jsxs=c},function(t,e,n){"use strict";var r=n(608);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";t.exports=function(t){if("number"!==typeof t)throw new TypeError("Expected a number");var e=t>0?Math.floor:Math.ceil;return{days:e(t/864e5),hours:e(t/36e5)%24,minutes:e(t/6e4)%60,seconds:e(t/1e3)%60,milliseconds:e(t)%1e3}}},function(t,e,n){"use strict";t.exports=function(t,e,n){return"number"===typeof e&&(n=e,e=t+"s"),1===n?t:e}},function(t,e,n){"use strict";t.exports=Number.isFinite||function(t){return!("number"!==typeof t||t!==t||t===1/0||t===-1/0)}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.Observable=void 0;var a=function(){return"function"===typeof Symbol},u=function(t){return a()&&Boolean(Symbol[t])},s=function(t){return u(t)?Symbol[t]:"@@"+t};a()&&!u("observable")&&(Symbol.observable=Symbol("observable"));var c=s("iterator"),f=s("observable"),l=s("species");function d(t,e){var n=t[e];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function h(t){var e=t.constructor;return void 0!==e&&null===(e=e[l])&&(e=void 0),void 0!==e?e:O}function p(t){return t instanceof O}function g(t){g.log?g.log(t):setTimeout((function(){throw t}))}function m(t){Promise.resolve().then((function(){try{t()}catch(e){g(e)}}))}function b(t){var e=t._cleanup;if(void 0!==e&&(t._cleanup=void 0,e))try{if("function"===typeof e)e();else{var n=d(e,"unsubscribe");n&&n.call(e)}}catch(r){g(r)}}function v(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function y(t,e,n){t._state="running";var r=t._observer;try{var i=d(r,e);switch(e){case"next":i&&i.call(r,n);break;case"error":if(v(t),!i)throw n;i.call(r,n);break;case"complete":v(t),i&&i.call(r)}}catch(o){g(o)}"closed"===t._state?b(t):"running"===t._state&&(t._state="ready")}function _(t,e,n){if("closed"!==t._state){if("buffering"!==t._state)return"ready"!==t._state?(t._state="buffering",t._queue=[{type:e,value:n}],void m((function(){return function(t){var e=t._queue;if(e){t._queue=void 0,t._state="ready";for(var n=0;n<e.length&&(y(t,e[n].type,e[n].value),"closed"!==t._state);++n);}}(t)}))):void y(t,e,n);t._queue.push({type:e,value:n})}}var w=function(){function t(e,n){r(this,t),this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var i=new S(this);try{this._cleanup=n.call(void 0,i)}catch(o){i.error(o)}"initializing"===this._state&&(this._state="ready")}return o(t,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(v(this),b(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),t}(),S=function(){function t(e){r(this,t),this._subscription=e}return o(t,[{key:"next",value:function(t){_(this._subscription,"next",t)}},{key:"error",value:function(t){_(this._subscription,"error",t)}},{key:"complete",value:function(){_(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),t}(),O=function(){function t(e){if(r(this,t),!(this instanceof t))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}return o(t,[{key:"subscribe",value:function(t){return"object"===typeof t&&null!==t||(t={next:t,error:arguments[1],complete:arguments[2]}),new w(t,this._subscriber)}},{key:"forEach",value:function(t){var e=this;return new Promise((function(n,r){if("function"===typeof t)var i=e.subscribe({next:function(e){try{t(e,o)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(t+" is not a function"));function o(){i.unsubscribe(),n()}}))}},{key:"map",value:function(t){var e=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");return new(h(this))((function(n){return e.subscribe({next:function(e){try{e=t(e)}catch(r){return n.error(r)}n.next(e)},error:function(t){n.error(t)},complete:function(){n.complete()}})}))}},{key:"filter",value:function(t){var e=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");return new(h(this))((function(n){return e.subscribe({next:function(e){try{if(!t(e))return}catch(r){return n.error(r)}n.next(e)},error:function(t){n.error(t)},complete:function(){n.complete()}})}))}},{key:"reduce",value:function(t){var e=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");var n=h(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n((function(n){return e.subscribe({next:function(e){var o=!i;if(i=!0,!o||r)try{a=t(a,e)}catch(u){return n.error(u)}else a=e},error:function(t){n.error(t)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))}},{key:"concat",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=h(this);return new i((function(e){var r,o=0;return function t(a){r=a.subscribe({next:function(t){e.next(t)},error:function(t){e.error(t)},complete:function(){o===n.length?(r=void 0,e.complete()):t(i.from(n[o++]))}})}(t),function(){r&&(r.unsubscribe(),r=void 0)}}))}},{key:"flatMap",value:function(t){var e=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");var n=h(this);return new n((function(r){var i=[],o=e.subscribe({next:function(e){if(t)try{e=t(e)}catch(u){return r.error(u)}var o=n.from(e).subscribe({next:function(t){r.next(t)},error:function(t){r.error(t)},complete:function(){var t=i.indexOf(o);t>=0&&i.splice(t,1),a()}});i.push(o)},error:function(t){r.error(t)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(t){return t.unsubscribe()})),o.unsubscribe()}}))}},{key:f,value:function(){return this}}],[{key:"from",value:function(e){var n="function"===typeof this?this:t;if(null==e)throw new TypeError(e+" is not an object");var r=d(e,f);if(r){var i=r.call(e);if(Object(i)!==i)throw new TypeError(i+" is not an object");return p(i)&&i.constructor===n?i:new n((function(t){return i.subscribe(t)}))}if(u("iterator")&&(r=d(e,c)))return new n((function(t){m((function(){if(!t.closed){var n=!0,i=!1,o=void 0;try{for(var a,u=r.call(e)[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var s=a.value;if(t.next(s),t.closed)return}}catch(c){i=!0,o=c}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}t.complete()}}))}));if(Array.isArray(e))return new n((function(t){m((function(){if(!t.closed){for(var n=0;n<e.length;++n)if(t.next(e[n]),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")}},{key:"of",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i="function"===typeof this?this:t;return new i((function(t){m((function(){if(!t.closed){for(var e=0;e<n.length;++e)if(t.next(n[e]),t.closed)return;t.complete()}}))}))}},{key:l,get:function(){return this}}]),t}();e.Observable=O,a()&&Object.defineProperty(O,Symbol("extensions"),{value:{symbol:f,hostReportError:g},configurable:!0})},function(t,e,n){"use strict";var r,i,o,a,u;if(Object.defineProperty(e,"__esModule",{value:!0}),"undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,f=function t(){if(null!==s)try{var n=e.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(t,0),r}},l=Date.now();e.unstable_now=function(){return Date.now()-l},r=function(t){null!==s?setTimeout(r,0,t):(s=t,setTimeout(f,0))},i=function(t,e){c=setTimeout(t,e)},o=function(){clearTimeout(c)},a=function(){return!1},u=e.unstable_forceFrameRate=function(){}}else{var d=window.performance,h=window.Date,p=window.setTimeout,g=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)e.unstable_now=function(){return d.now()};else{var b=h.now();e.unstable_now=function(){return h.now()-b}}var v=!1,y=null,_=-1,w=5,S=0;a=function(){return e.unstable_now()>=S},u=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<t?Math.floor(1e3/t):5};var O=new MessageChannel,x=O.port2;O.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();S=t+w;try{y(!0,t)?x.postMessage(null):(v=!1,y=null)}catch(n){throw x.postMessage(null),n}}else v=!1},r=function(t){y=t,v||(v=!0,x.postMessage(null))},i=function(t,n){_=p((function(){t(e.unstable_now())}),n)},o=function(){g(_),_=-1}}function E(t,e){var n=t.length;t.push(e);t:for(;;){var r=Math.floor((n-1)/2),i=t[r];if(!(void 0!==i&&0<$(i,e)))break t;t[r]=e,t[n]=i,n=r}}function M(t){return void 0===(t=t[0])?null:t}function T(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],u=o+1,s=t[u];if(void 0!==a&&0>$(a,n))void 0!==s&&0>$(s,a)?(t[r]=s,t[u]=n,r=u):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==s&&0>$(s,n)))break t;t[r]=s,t[u]=n,r=u}}}return e}return null}function $(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var A=[],k=[],C=1,I=null,P=3,N=!1,R=!1,j=!1;function D(t){for(var e=M(k);null!==e;){if(null===e.callback)T(k);else{if(!(e.startTime<=t))break;T(k),e.sortIndex=e.expirationTime,E(A,e)}e=M(k)}}function L(t){if(j=!1,D(t),!R)if(null!==M(A))R=!0,r(F);else{var e=M(k);null!==e&&i(L,e.startTime-t)}}function F(t,n){R=!1,j&&(j=!1,o()),N=!0;var r=P;try{for(D(n),I=M(A);null!==I&&(!(I.expirationTime>n)||t&&!a());){var u=I.callback;if(null!==u){I.callback=null,P=I.priorityLevel;var s=u(I.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?I.callback=s:I===M(A)&&T(A),D(n)}else T(A);I=M(A)}if(null!==I)var c=!0;else{var f=M(k);null!==f&&i(L,f.startTime-n),c=!1}return c}finally{I=null,P=r,N=!1}}function B(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;e.unstable_ImmediatePriority=1,e.unstable_UserBlockingPriority=2,e.unstable_NormalPriority=3,e.unstable_IdlePriority=5,e.unstable_LowPriority=4,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=P;P=t;try{return e()}finally{P=n}},e.unstable_next=function(t){switch(P){case 1:case 2:case 3:var e=3;break;default:e=P}var n=P;P=e;try{return t()}finally{P=n}},e.unstable_scheduleCallback=function(t,n,a){var u=e.unstable_now();if("object"===typeof a&&null!==a){var s=a.delay;s="number"===typeof s&&0<s?u+s:u,a="number"===typeof a.timeout?a.timeout:B(t)}else a=B(t),s=u;return t={id:C++,callback:n,priorityLevel:t,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(t.sortIndex=s,E(k,t),null===M(A)&&t===M(k)&&(j?o():j=!0,i(L,s-u))):(t.sortIndex=a,E(A,t),R||N||(R=!0,r(F))),t},e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_wrapCallback=function(t){var e=P;return function(){var n=P;P=e;try{return t.apply(this,arguments)}finally{P=n}}},e.unstable_getCurrentPriorityLevel=function(){return P},e.unstable_shouldYield=function(){var t=e.unstable_now();D(t);var n=M(A);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime<I.expirationTime||a()},e.unstable_requestPaint=U,e.unstable_continueExecution=function(){R||N||(R=!0,r(F))},e.unstable_pauseExecution=function(){},e.unstable_getFirstCallbackNode=function(){return M(A)},e.unstable_Profiling=null},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,f=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case l:case d:case a:case s:case u:case p:return t;default:switch(t=t&&t.$$typeof){case f:case h:case b:case m:case c:return t;default:return e}}case o:return e}}}function O(t){return S(t)===d}e.AsyncMode=l,e.ConcurrentMode=d,e.ContextConsumer=f,e.ContextProvider=c,e.Element=i,e.ForwardRef=h,e.Fragment=a,e.Lazy=b,e.Memo=m,e.Portal=o,e.Profiler=s,e.StrictMode=u,e.Suspense=p,e.isAsyncMode=function(t){return O(t)||S(t)===l},e.isConcurrentMode=O,e.isContextConsumer=function(t){return S(t)===f},e.isContextProvider=function(t){return S(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return S(t)===h},e.isFragment=function(t){return S(t)===a},e.isLazy=function(t){return S(t)===b},e.isMemo=function(t){return S(t)===m},e.isPortal=function(t){return S(t)===o},e.isProfiler=function(t){return S(t)===s},e.isStrictMode=function(t){return S(t)===u},e.isSuspense=function(t){return S(t)===p},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===d||t===s||t===u||t===p||t===g||"object"===typeof t&&null!==t&&(t.$$typeof===b||t.$$typeof===m||t.$$typeof===c||t.$$typeof===f||t.$$typeof===h||t.$$typeof===y||t.$$typeof===_||t.$$typeof===w||t.$$typeof===v)},e.typeOf=S},function(t,e,n){var r=n(616),i=n(617),o=n(618),a=n(619),u=n(410);function s(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=s.prototype;c.addData=function(t){var e=new r(t);this.dataList.push(e),this.dataCache=null},c.isDark=function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=i.getRSBlocks(t,this.errorCorrectLevel),n=new o,r=0,u=0;u<e.length;u++)r+=e[u].dataCount;for(u=0;u<this.dataList.length;u++){var s=this.dataList[u];n.put(s.mode,4),n.put(s.getLength(),a.getLengthInBits(s.mode,t)),s.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=s.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},c.setupPositionProbePattern=function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},c.createMovieClip=function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var u=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(u,o),r.lineTo(u+1,o),r.lineTo(u+1,o+1),r.lineTo(u,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},c.setupPositionAdjustPattern=function(){for(var t=a.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],i=t[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var u=-2;u<=2;u++)this.modules[r+o][i+u]=-2==o||2==o||-2==u||2==u||0==o&&0==u}},c.setupTypeNumber=function(t){for(var e=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!t&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++){o=!t&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!t},c.mapData=function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,o=0,u=this.moduleCount-1;u>0;u-=2)for(6==u&&u--;;){for(var s=0;s<2;s++)if(null==this.modules[r][u-s]){var c=!1;o<t.length&&(c=1==(t[o]>>>i&1)),a.getMask(e,r,u-s)&&(c=!c),this.modules[r][u-s]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},s.PAD0=236,s.PAD1=17,s.createData=function(t,e,n){for(var r=i.getRSBlocks(t,e),u=new o,c=0;c<n.length;c++){var f=n[c];u.put(f.mode,4),u.put(f.getLength(),a.getLengthInBits(f.mode,t)),f.write(u)}var l=0;for(c=0;c<r.length;c++)l+=r[c].dataCount;if(u.getLengthInBits()>8*l)throw new Error("code length overflow. ("+u.getLengthInBits()+">"+8*l+")");for(u.getLengthInBits()+4<=8*l&&u.put(0,4);u.getLengthInBits()%8!=0;)u.putBit(!1);for(;!(u.getLengthInBits()>=8*l)&&(u.put(s.PAD0,8),!(u.getLengthInBits()>=8*l));)u.put(s.PAD1,8);return s.createBytes(u,r)},s.createBytes=function(t,e){for(var n=0,r=0,i=0,o=new Array(e.length),s=new Array(e.length),c=0;c<e.length;c++){var f=e[c].dataCount,l=e[c].totalCount-f;r=Math.max(r,f),i=Math.max(i,l),o[c]=new Array(f);for(var d=0;d<o[c].length;d++)o[c][d]=255&t.buffer[d+n];n+=f;var h=a.getErrorCorrectPolynomial(l),p=new u(o[c],h.getLength()-1).mod(h);s[c]=new Array(h.getLength()-1);for(d=0;d<s[c].length;d++){var g=d+p.getLength()-s[c].length;s[c][d]=g>=0?p.get(g):0}}var m=0;for(d=0;d<e.length;d++)m+=e[d].totalCount;var b=new Array(m),v=0;for(d=0;d<r;d++)for(c=0;c<e.length;c++)d<o[c].length&&(b[v++]=o[c][d]);for(d=0;d<i;d++)for(c=0;c<e.length;c++)d<s[c].length&&(b[v++]=s[c][d]);return b},t.exports=s},function(t,e,n){var r=n(408);function i(t){this.mode=r.MODE_8BIT_BYTE,this.data=t}i.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},t.exports=i},function(t,e,n){var r=n(409);function i(t,e){this.totalCount=t,this.dataCount=e}i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(t,e){var n=i.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var r=n.length/3,o=new Array,a=0;a<r;a++)for(var u=n[3*a+0],s=n[3*a+1],c=n[3*a+2],f=0;f<u;f++)o.push(new i(s,c));return o},i.getRsBlockTable=function(t,e){switch(e){case r.L:return i.RS_BLOCK_TABLE[4*(t-1)+0];case r.M:return i.RS_BLOCK_TABLE[4*(t-1)+1];case r.Q:return i.RS_BLOCK_TABLE[4*(t-1)+2];case r.H:return i.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},t.exports=i},function(t,e){function n(){this.buffer=new Array,this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=n},function(t,e,n){var r=n(408),i=n(410),o=n(411),a=0,u=1,s=2,c=3,f=4,l=5,d=6,h=7,p={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;p.getBCHDigit(e)-p.getBCHDigit(p.G15)>=0;)e^=p.G15<<p.getBCHDigit(e)-p.getBCHDigit(p.G15);return(t<<10|e)^p.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;p.getBCHDigit(e)-p.getBCHDigit(p.G18)>=0;)e^=p.G18<<p.getBCHDigit(e)-p.getBCHDigit(p.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return p.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case a:return(e+n)%2==0;case u:return e%2==0;case s:return n%3==0;case c:return(e+n)%3==0;case f:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case l:return e*n%2+e*n%3==0;case d:return(e*n%2+e*n%3)%2==0;case h:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new i([1],0),n=0;n<t;n++)e=e.multiply(new i([1,o.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0;r<e;r++)for(var i=0;i<e;i++){for(var o=0,a=t.isDark(r,i),u=-1;u<=1;u++)if(!(r+u<0||e<=r+u))for(var s=-1;s<=1;s++)i+s<0||e<=i+s||0==u&&0==s||a==t.isDark(r+u,i+s)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<e-1;r++)for(i=0;i<e-1;i++){var c=0;t.isDark(r,i)&&c++,t.isDark(r+1,i)&&c++,t.isDark(r,i+1)&&c++,t.isDark(r+1,i+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(r,i)&&!t.isDark(r,i+1)&&t.isDark(r,i+2)&&t.isDark(r,i+3)&&t.isDark(r,i+4)&&!t.isDark(r,i+5)&&t.isDark(r,i+6)&&(n+=40);for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(r,i)&&!t.isDark(r+1,i)&&t.isDark(r+2,i)&&t.isDark(r+3,i)&&t.isDark(r+4,i)&&!t.isDark(r+5,i)&&t.isDark(r+6,i)&&(n+=40);var f=0;for(i=0;i<e;i++)for(r=0;r<e;r++)t.isDark(r,i)&&f++;return n+=10*(Math.abs(100*f/e/e-50)/5)}};t.exports=p},function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},function(t,e,n){var r=n(254),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(s){}var i=a.call(t);return r&&(e?t[u]=n:delete t[u]),i}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var r=n(624),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},function(t,e,n){var r=n(625);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},function(t,e,n){var r=n(347);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},function(t,e,n){var r=n(627),i=n(256),o=n(349);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(t,e,n){var r=n(628),i=n(633),o=n(634),a=n(635),u=n(636);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,n){var r=n(255);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e,n){var r=n(415),i=n(630),o=n(348),a=n(416),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,l=c.hasOwnProperty,d=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?d:u).test(a(t))}},function(t,e,n){var r=n(631),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},function(t,e,n){var r=n(147)["__core-js_shared__"];t.exports=r},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(255),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(255),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},function(t,e,n){var r=n(255);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(257),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},function(t,e,n){var r=n(257);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(257);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(257);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},function(t,e,n){var r=n(258);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(258);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(258);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(258);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},function(t,e,n){var r=n(254),i=n(648),o=n(155),a=n(346),u=r?r.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},function(t,e,n){var r=n(230),i=n(231);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},function(t,e,n){var r=n(177),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e,n){var r=n(652)();t.exports=r},function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}},function(t,e,n){var r=n(654),i=n(418),o=n(155),a=n(422),u=n(419),s=n(423),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),f=!n&&i(t),l=!n&&!f&&a(t),d=!n&&!f&&!l&&s(t),h=n||f||l||d,p=h?r(t.length,String):[],g=p.length;for(var m in t)!e&&!c.call(t,m)||h&&("length"==m||l&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||u(m,g))||p.push(m);return p}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(230),i=n(350),o=n(231),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var r=n(414),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=u}).call(this,n(94)(t))},function(t,e,n){var r=n(660),i=n(661),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(662)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var r=n(415),i=n(350);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},function(t,e,n){var r=n(665),i=n(693),o=n(429);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},function(t,e,n){var r=n(425),i=n(426);t.exports=function(t,e,n,o){var a=n.length,u=a,s=!o;if(null==t)return!u;for(t=Object(t);a--;){var c=n[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var f=(c=n[a])[0],l=t[f],d=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var h=new r;if(o)var p=o(l,d,f,t,e,h);if(!(void 0===p?i(d,l,3,o,h):p))return!1}}return!0}},function(t,e,n){var r=n(256);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(256),i=n(349),o=n(347);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(425),i=n(427),o=n(677),a=n(681),u=n(688),s=n(155),c=n(422),f=n(423),l="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,m,b){var v=s(t),y=s(e),_=v?d:u(t),w=y?d:u(e),S=(_=_==l?h:_)==h,O=(w=w==l?h:w)==h,x=_==w;if(x&&c(t)){if(!c(e))return!1;v=!0,S=!1}if(x&&!S)return b||(b=new r),v||f(t)?i(t,e,n,g,m,b):o(t,e,_,n,g,m,b);if(!(1&n)){var E=S&&p.call(t,"__wrapped__"),M=O&&p.call(e,"__wrapped__");if(E||M){var T=E?t.value():t,$=M?e.value():e;return b||(b=new r),m(T,$,n,g,b)}}return!!x&&(b||(b=new r),a(t,e,n,g,m,b))}},function(t,e,n){var r=n(347),i=n(673),o=n(674);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,n){var r=n(254),i=n(678),o=n(417),a=n(427),u=n(679),s=n(680),c=r?r.prototype:void 0,f=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,l,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!l(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=u;case"[object Set]":var p=1&r;if(h||(h=s),t.size!=e.size&&!p)return!1;var g=d.get(t);if(g)return g==e;r|=2,d.set(t,e);var m=a(h(t),h(e),r,c,l,d);return d.delete(t),m;case"[object Symbol]":if(f)return f.call(t)==f.call(e)}return!1}},function(t,e,n){var r=n(147).Uint8Array;t.exports=r},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},function(t,e,n){var r=n(682),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,u){var s=1&n,c=r(t),f=c.length;if(f!=r(e).length&&!s)return!1;for(var l=f;l--;){var d=c[l];if(!(s?d in e:i.call(e,d)))return!1}var h=u.get(t),p=u.get(e);if(h&&p)return h==e&&p==t;var g=!0;u.set(t,e),u.set(e,t);for(var m=s;++l<f;){var b=t[d=c[l]],v=e[d];if(o)var y=s?o(v,b,d,e,t,u):o(b,v,d,t,e,u);if(!(void 0===y?b===v||a(b,v,n,o,u):y)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var _=t.constructor,w=e.constructor;_==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.delete(e),g}},function(t,e,n){var r=n(683),i=n(685),o=n(351);t.exports=function(t){return r(t,o,i)}},function(t,e,n){var r=n(684),i=n(155);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},function(t,e,n){var r=n(686),i=n(687),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=u},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(689),i=n(349),o=n(690),a=n(691),u=n(692),s=n(230),c=n(416),f="[object Map]",l="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",g=c(r),m=c(i),b=c(o),v=c(a),y=c(u),_=s;(r&&_(new r(new ArrayBuffer(1)))!=p||i&&_(new i)!=f||o&&_(o.resolve())!=l||a&&_(new a)!=d||u&&_(new u)!=h)&&(_=function(t){var e=s(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return p;case m:return f;case b:return l;case v:return d;case y:return h}return e}),t.exports=_},function(t,e,n){var r=n(177)(n(147),"DataView");t.exports=r},function(t,e,n){var r=n(177)(n(147),"Promise");t.exports=r},function(t,e,n){var r=n(177)(n(147),"Set");t.exports=r},function(t,e,n){var r=n(177)(n(147),"WeakMap");t.exports=r},function(t,e,n){var r=n(428),i=n(351);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},function(t,e,n){var r=n(426),i=n(695),o=n(696),a=n(345),u=n(428),s=n(429),c=n(259);t.exports=function(t,e){return a(t)&&u(e)?s(c(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},function(t,e,n){var r=n(430);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},function(t,e,n){var r=n(697),i=n(412);t.exports=function(t,e){return null!=t&&i(t,e,r)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(700),i=n(701),o=n(345),a=n(259);t.exports=function(t){return o(t)?r(a(t)):i(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,n){var r=n(430);t.exports=function(t){return function(e){return r(e,t)}}},function(t,e){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},function(t,e,n){var r=n(704),i=n(232),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,r).replace(a,"")}},function(t,e,n){var r=n(705)({"\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"});t.exports=r},function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(t,e,n){var r=n(707),i=n(708),o=n(232),a=n(709);t.exports=function(t,e,n){return t=o(t),void 0===(e=n?void 0:e)?i(t)?a(t):r(t):t.match(e)||[]}},function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},function(t,e){var n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\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",a="["+o+"]",u="\\d+",s="[\\u2700-\\u27bf]",c="["+r+"]",f="[^\\ud800-\\udfff"+o+u+n+r+i+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+i+"]",p="(?:"+c+"|"+f+")",g="(?:"+h+"|"+f+")",m="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",b="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",_=y+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,d].join("|")+")"+y+v+")*"),w="(?:"+[s,l,d].join("|")+")"+_,S=RegExp([h+"?"+c+"+"+m+"(?="+[a,h,"$"].join("|")+")",g+"+"+b+"(?="+[a,h+p,"$"].join("|")+")",h+"?"+p+"+"+m,h+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",u,w].join("|"),"g");t.exports=function(t){return t.match(S)||[]}},function(t,e,n){var r=n(232),i=n(711);t.exports=function(t){return i(r(t).toLowerCase())}},function(t,e,n){var r=n(712)("toUpperCase");t.exports=r},function(t,e,n){var r=n(713),i=n(432),o=n(715),a=n(232);t.exports=function(t){return function(e){e=a(e);var n=i(e)?o(e):void 0,u=n?n[0]:e.charAt(0),s=n?r(n,1).join(""):e.slice(1);return u[t]()+s}}},function(t,e,n){var r=n(714);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},function(t,e){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},function(t,e,n){var r=n(716),i=n(432),o=n(717);t.exports=function(t){return i(t)?o(t):r(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?",f=c+s+("(?:\\u200d(?:"+[o,a,u].join("|")+")"+c+s+")*"),l="(?:"+[o+r+"?",r,a,u,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+l+f,"g");t.exports=function(t){return t.match(d)||[]}},function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(C){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,o=Object.create(i.prototype),a=new $(r||[]);return o._invoke=function(t,e,n){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return k()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=f(t,e,n);if("normal"===s.type){if(r=n.done?p:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=p,n.method="throw",n.arg=s.arg)}}}(t,n,a),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(C){return{type:"throw",arg:C}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",g={};function m(){}function b(){}function v(){}var y={};y[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(A([])));w&&w!==n&&r.call(w,o)&&(y=w);var S=v.prototype=m.prototype=Object.create(y);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,u){var s=f(t[i],t,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function E(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=f(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function $(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function A(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return b.prototype=S.constructor=v,v.constructor=b,b.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},O(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(S),s(S,u,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,$.prototype={constructor:$,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyToClipboard=void 0;var r=o(n(1)),i=o(n(723));function o(t){return t&&t.__esModule?t:{default:t}}function a(t){return(a="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 u(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 s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return!e||"object"!==a(e)&&"function"!==typeof e?h(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=function(t){function e(){var t,n;c(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return g(h(n=l(this,(t=d(e)).call.apply(t,[this].concat(a)))),"onClick",(function(t){var e=n.props,o=e.text,a=e.onCopy,u=e.children,s=e.options,c=r.default.Children.only(u),f=(0,i.default)(o,s);a&&a(o,f),c&&c.props&&"function"===typeof c.props.onClick&&c.props.onClick(t)})),n}var n,o,a;return 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}}),e&&p(t,e)}(e,t),n=e,(o=[{key:"render",value:function(){var t=this.props,e=(t.text,t.onCopy,t.options,t.children),n=s(t,["text","onCopy","options","children"]),i=r.default.Children.only(e);return r.default.cloneElement(i,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(n,!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},n,{onClick:this.onClick}))}}])&&f(n.prototype,o),a&&f(n,a),e}(r.default.PureComponent);e.CopyToClipboard=m,g(m,"defaultProps",{onCopy:void 0,options:void 0})},function(t,e,n){"use strict";var r=n(724),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,o,a,u,s,c,f=!1;e||(e={}),n=e.debug||!1;try{if(a=r(),u=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=t,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i.default;window.clipboardData.setData(o,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(c),u.selectNodeContents(c),s.addRange(u),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");f=!0}catch(l){n&&console.error("unable to copy using execCommand: ",l),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),f=!0}catch(l){n&&console.error("unable to copy using clipboardData: ",l),n&&console.error("falling back to prompt"),o=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,t)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(u):s.removeAllRanges()),c&&document.body.removeChild(c),a()}return f}},function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach((function(e){t.addRange(e)})),e&&e.focus()}}},function(t,e,n){(function(t,r){var i;(function(){function o(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 a(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function u(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function s(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function f(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function l(t,e){return!(null==t||!t.length)&&w(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function p(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function g(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function m(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function v(t){return t.match(te)||[]}function y(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function _(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function w(t,e,n){return e===e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):_(t,O,n)}function S(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function O(t){return t!==t}function x(t,e){var n=null==t?0:t.length;return n?$(t,e)/n:rt}function E(t){return function(e){return null==e?W:e[t]}}function M(t){return function(e){return null==t?W:t[e]}}function T(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function $(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==W&&(n=n===W?o:n+o)}return n}function A(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function k(t){return function(e){return t(e)}}function C(t,e){return h(e,(function(e){return t[e]}))}function I(t,e){return t.has(e)}function P(t,e){for(var n=-1,r=t.length;++n<r&&w(e,t[n],0)>-1;);return n}function N(t,e){for(var n=t.length;n--&&w(e,t[n],0)>-1;);return n}function R(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function j(t){return"\\"+Xe[t]}function D(t){return We.test(t)}function L(t){return Ge.test(t)}function F(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function B(t,e){return function(n){return t(e(n))}}function U(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==Y||(t[n]=Y,o[i++]=n)}return o}function z(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function H(t){return D(t)?function(t){for(var e=Ve.lastIndex=0;Ve.test(t);)++e;return e}(t):mn(t)}function V(t){return D(t)?function(t){return t.match(Ve)||[]}(t):function(t){return t.split("")}(t)}function q(t){return t.match(qe)||[]}var W,G="Expected a function",K="__lodash_hash_undefined__",Y="__lodash_placeholder__",Z=16,Q=32,X=64,J=128,tt=256,et=1/0,nt=9007199254740991,rt=NaN,it=4294967295,ot=[["ary",J],["bind",1],["bindKey",2],["curry",8],["curryRight",Z],["flip",512],["partial",Q],["partialRight",X],["rearg",tt]],at="[object Arguments]",ut="[object Array]",st="[object Boolean]",ct="[object Date]",ft="[object Error]",lt="[object Function]",dt="[object GeneratorFunction]",ht="[object Map]",pt="[object Number]",gt="[object Object]",mt="[object Promise]",bt="[object RegExp]",vt="[object Set]",yt="[object String]",_t="[object Symbol]",wt="[object WeakMap]",St="[object ArrayBuffer]",Ot="[object DataView]",xt="[object Float32Array]",Et="[object Float64Array]",Mt="[object Int8Array]",Tt="[object Int16Array]",$t="[object Int32Array]",At="[object Uint8Array]",kt="[object Uint8ClampedArray]",Ct="[object Uint16Array]",It="[object Uint32Array]",Pt=/\b__p \+= '';/g,Nt=/\b(__p \+=) '' \+/g,Rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jt=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,Lt=RegExp(jt.source),Ft=RegExp(Dt.source),Bt=/<%-([\s\S]+?)%>/g,Ut=/<%([\s\S]+?)%>/g,zt=/<%=([\s\S]+?)%>/g,Ht=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vt=/^\w*$/,qt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wt=/[\\^$.*+?()[\]{}|]/g,Gt=RegExp(Wt.source),Kt=/^\s+|\s+$/g,Yt=/^\s+/,Zt=/\s+$/,Qt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Xt=/\{\n\/\* \[wrapped with (.+)\] \*/,Jt=/,? & /,te=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ue=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fe=/($^)/,le=/['\n\r\u2028\u2029\\]/g,de="\\ud800-\\udfff",he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\u2700-\\u27bf",ge="a-z\\xdf-\\xf6\\xf8-\\xff",me="A-Z\\xc0-\\xd6\\xd8-\\xde",be="\\ufe0e\\ufe0f",ve="\\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",ye="['\u2019]",_e="["+de+"]",we="["+ve+"]",Se="["+he+"]",Oe="\\d+",xe="["+pe+"]",Ee="["+ge+"]",Me="[^"+de+ve+Oe+pe+ge+me+"]",Te="\\ud83c[\\udffb-\\udfff]",$e="[^"+de+"]",Ae="(?:\\ud83c[\\udde6-\\uddff]){2}",ke="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="["+me+"]",Ie="\\u200d",Pe="(?:"+Ee+"|"+Me+")",Ne="(?:"+Ce+"|"+Me+")",Re="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",De="(?:"+Se+"|"+Te+")"+"?",Le="["+be+"]?",Fe=Le+De+("(?:\\u200d(?:"+[$e,Ae,ke].join("|")+")"+Le+De+")*"),Be="(?:"+[xe,Ae,ke].join("|")+")"+Fe,Ue="(?:"+[$e+Se+"?",Se,Ae,ke,_e].join("|")+")",ze=RegExp(ye,"g"),He=RegExp(Se,"g"),Ve=RegExp(Te+"(?="+Te+")|"+Ue+Fe,"g"),qe=RegExp([Ce+"?"+Ee+"+"+Re+"(?="+[we,Ce,"$"].join("|")+")",Ne+"+"+je+"(?="+[we,Ce+Pe,"$"].join("|")+")",Ce+"?"+Pe+"+"+Re,Ce+"+"+je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Be].join("|"),"g"),We=RegExp("["+Ie+de+he+be+"]"),Ge=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ke=["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"],Ye=-1,Ze={};Ze[xt]=Ze[Et]=Ze[Mt]=Ze[Tt]=Ze[$t]=Ze[At]=Ze[kt]=Ze[Ct]=Ze[It]=!0,Ze[at]=Ze[ut]=Ze[St]=Ze[st]=Ze[Ot]=Ze[ct]=Ze[ft]=Ze[lt]=Ze[ht]=Ze[pt]=Ze[gt]=Ze[bt]=Ze[vt]=Ze[yt]=Ze[wt]=!1;var Qe={};Qe[at]=Qe[ut]=Qe[St]=Qe[Ot]=Qe[st]=Qe[ct]=Qe[xt]=Qe[Et]=Qe[Mt]=Qe[Tt]=Qe[$t]=Qe[ht]=Qe[pt]=Qe[gt]=Qe[bt]=Qe[vt]=Qe[yt]=Qe[_t]=Qe[At]=Qe[kt]=Qe[Ct]=Qe[It]=!0,Qe[ft]=Qe[lt]=Qe[wt]=!1;var Xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Je=parseFloat,tn=parseInt,en="object"==typeof t&&t&&t.Object===Object&&t,nn="object"==typeof self&&self&&self.Object===Object&&self,rn=en||nn||Function("return this")(),on=e&&!e.nodeType&&e,an=on&&"object"==typeof r&&r&&!r.nodeType&&r,un=an&&an.exports===on,sn=un&&en.process,cn=function(){try{var t=an&&an.require&&an.require("util").types;return t||sn&&sn.binding&&sn.binding("util")}catch(t){}}(),fn=cn&&cn.isArrayBuffer,ln=cn&&cn.isDate,dn=cn&&cn.isMap,hn=cn&&cn.isRegExp,pn=cn&&cn.isSet,gn=cn&&cn.isTypedArray,mn=E("length"),bn=M({"\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"}),vn=M({"&":"&","<":"<",">":">",'"':""","'":"'"}),yn=M({"&":"&","<":"<",">":">",""":'"',"'":"'"}),_n=function t(e){function n(t){if(Fi(t)&&!Au(t)&&!(t instanceof M)){if(t instanceof i)return t;if(Ao.call(t,"__wrapped__"))return li(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=W}function M(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=it,this.__views__=[]}function te(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function de(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function he(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function pe(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new he;++e<n;)this.add(t[e])}function ge(t){this.size=(this.__data__=new de(t)).size}function me(t,e){var n=Au(t),r=!n&&$u(t),i=!n&&!r&&Cu(t),o=!n&&!r&&!i&&ju(t),a=n||r||i||o,u=a?A(t.length,So):[],s=u.length;for(var c in t)!e&&!Ao.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Kr(c,s))||u.push(c);return u}function be(t){var e=t.length;return e?t[Cn(0,e-1)]:W}function ve(t,e){return ui(sr(t),Te(e,0,t.length))}function ye(t){return ui(sr(t))}function _e(t,e,n){(n===W||Ci(t[e],n))&&(n!==W||e in t)||Ee(t,e,n)}function we(t,e,n){var r=t[e];Ao.call(t,e)&&Ci(r,n)&&(n!==W||e in t)||Ee(t,e,n)}function Se(t,e){for(var n=t.length;n--;)if(Ci(t[n][0],e))return n;return-1}function Oe(t,e,n,r){return Ta(t,(function(t,i,o){e(r,t,n(t),o)})),r}function xe(t,e){return t&&cr(e,Ji(e),t)}function Ee(t,e,n){"__proto__"==e&&Go?Go(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Me(t,e){for(var n=-1,r=e.length,i=go(r),o=null==t;++n<r;)i[n]=o?W:Qi(t,e[n]);return i}function Te(t,e,n){return t===t&&(n!==W&&(t=t<=n?t:n),e!==W&&(t=t>=e?t:e)),t}function $e(t,e,n,r,i,o){var a,s=1&e,c=2&e,f=4&e;if(n&&(a=i?n(t,r,i,o):n(t)),a!==W)return a;if(!Li(t))return t;var l=Au(t);if(l){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ao.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return sr(t,a)}else{var d=Fa(t),h=d==lt||d==dt;if(Cu(t))return nr(t,s);if(d==gt||d==at||h&&!i){if(a=c||h?{}:Wr(t),!s)return c?function(t,e){return cr(t,La(t),e)}(t,function(t,e){return t&&cr(e,to(e),t)}(a,t)):function(t,e){return cr(t,Da(t),e)}(t,xe(a,t))}else{if(!Qe[d])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case St:return rr(t);case st:case ct:return new r(+t);case Ot:return function(t,e){return new t.constructor(e?rr(t.buffer):t.buffer,t.byteOffset,t.byteLength)}(t,n);case xt:case Et:case Mt:case Tt:case $t:case At:case kt:case Ct:case It:return ir(t,n);case ht:return new r;case pt:case yt:return new r(t);case bt:return function(t){var e=new t.constructor(t.source,re.exec(t));return e.lastIndex=t.lastIndex,e}(t);case vt:return new r;case _t:return function(t){return xa?_o(xa.call(t)):{}}(t)}}(t,d,s)}}o||(o=new ge);var p=o.get(t);if(p)return p;o.set(t,a),Ru(t)?t.forEach((function(r){a.add($e(r,e,n,r,t,o))})):Pu(t)&&t.forEach((function(r,i){a.set(i,$e(r,e,n,i,t,o))}));var g=l?W:(f?c?Lr:Dr:c?to:Ji)(t);return u(g||t,(function(r,i){g&&(r=t[i=r]),we(a,i,$e(r,e,n,i,t,o))})),a}function Ae(t,e,n){var r=n.length;if(null==t)return!r;for(t=_o(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===W&&!(i in t)||!o(a))return!1}return!0}function ke(t,e,n){if("function"!=typeof t)throw new Oo(G);return za((function(){t.apply(W,n)}),e)}function Ce(t,e,n,r){var i=-1,o=l,a=!0,u=t.length,s=[],c=e.length;if(!u)return s;n&&(e=h(e,k(n))),r?(o=d,a=!1):e.length>=200&&(o=I,a=!1,e=new pe(e));t:for(;++i<u;){var f=t[i],p=null==n?f:n(f);if(f=r||0!==f?f:0,a&&p===p){for(var g=c;g--;)if(e[g]===p)continue t;s.push(f)}else o(e,p,r)||s.push(f)}return s}function Ie(t,e){var n=!0;return Ta(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function Pe(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(u===W?a===a&&!Hi(a):n(a,u)))var u=a,s=o}return s}function Ne(t,e){var n=[];return Ta(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function Re(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=Gr),i||(i=[]);++o<a;){var u=t[o];e>0&&n(u)?e>1?Re(u,e-1,n,r,i):p(i,u):r||(i[i.length]=u)}return i}function je(t,e){return t&&Aa(t,e,Ji)}function De(t,e){return t&&ka(t,e,Ji)}function Le(t,e){return f(e,(function(e){return Ri(t[e])}))}function Fe(t,e){for(var n=0,r=(e=tr(e,t)).length;null!=t&&n<r;)t=t[si(e[n++])];return n&&n==r?t:W}function Be(t,e,n){var r=e(t);return Au(t)?r:p(r,n(t))}function Ue(t){return null==t?t===W?"[object Undefined]":"[object Null]":Wo&&Wo in _o(t)?function(t){var e=Ao.call(t,Wo),n=t[Wo];try{t[Wo]=W;var r=!0}catch(t){}var i=Io.call(t);return r&&(e?t[Wo]=n:delete t[Wo]),i}(t):function(t){return Io.call(t)}(t)}function Ve(t,e){return t>e}function qe(t,e){return null!=t&&Ao.call(t,e)}function We(t,e){return null!=t&&e in _o(t)}function Ge(t,e,n){for(var r=n?d:l,i=t[0].length,o=t.length,a=o,u=go(o),s=1/0,c=[];a--;){var f=t[a];a&&e&&(f=h(f,k(e))),s=oa(f.length,s),u[a]=!n&&(e||i>=120&&f.length>=120)?new pe(a&&f):W}f=t[0];var p=-1,g=u[0];t:for(;++p<i&&c.length<s;){var m=f[p],b=e?e(m):m;if(m=n||0!==m?m:0,!(g?I(g,b):r(c,b,n))){for(a=o;--a;){var v=u[a];if(!(v?I(v,b):r(t[a],b,n)))continue t}g&&g.push(b),c.push(m)}}return c}function Xe(t,e,n){var r=null==(t=ni(t,e=tr(e,t)))?t:t[si(mi(e))];return null==r?W:o(r,t,n)}function en(t){return Fi(t)&&Ue(t)==at}function nn(t,e,n,r,i){return t===e||(null==t||null==e||!Fi(t)&&!Fi(e)?t!==t&&e!==e:function(t,e,n,r,i,o){var a=Au(t),u=Au(e),s=a?ut:Fa(t),c=u?ut:Fa(e),f=(s=s==at?gt:s)==gt,l=(c=c==at?gt:c)==gt,d=s==c;if(d&&Cu(t)){if(!Cu(e))return!1;a=!0,f=!1}if(d&&!f)return o||(o=new ge),a||ju(t)?Rr(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case Ot:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case St:return!(t.byteLength!=e.byteLength||!o(new Lo(t),new Lo(e)));case st:case ct:case pt:return Ci(+t,+e);case ft:return t.name==e.name&&t.message==e.message;case bt:case yt:return t==e+"";case ht:var u=F;case vt:var s=1&r;if(u||(u=z),t.size!=e.size&&!s)return!1;var c=a.get(t);if(c)return c==e;r|=2,a.set(t,e);var f=Rr(u(t),u(e),r,i,o,a);return a.delete(t),f;case _t:if(xa)return xa.call(t)==xa.call(e)}return!1}(t,e,s,n,r,i,o);if(!(1&n)){var h=f&&Ao.call(t,"__wrapped__"),p=l&&Ao.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,m=p?e.value():e;return o||(o=new ge),i(g,m,n,r,o)}}return!!d&&(o||(o=new ge),function(t,e,n,r,i,o){var a=1&n,u=Dr(t),s=u.length;if(s!=Dr(e).length&&!a)return!1;for(var c=s;c--;){var f=u[c];if(!(a?f in e:Ao.call(e,f)))return!1}var l=o.get(t),d=o.get(e);if(l&&d)return l==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++c<s;){var g=t[f=u[c]],m=e[f];if(r)var b=a?r(m,g,f,e,t,o):r(g,m,f,t,e,o);if(!(b===W?g===m||i(g,m,n,r,o):b)){h=!1;break}p||(p="constructor"==f)}if(h&&!p){var v=t.constructor,y=e.constructor;v!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y)&&(h=!1)}return o.delete(t),o.delete(e),h}(t,e,n,r,i,o))}(t,e,n,r,nn,i))}function on(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=_o(t);i--;){var u=n[i];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<o;){var s=(u=n[i])[0],c=t[s],f=u[1];if(a&&u[2]){if(c===W&&!(s in t))return!1}else{var l=new ge;if(r)var d=r(c,f,s,t,e,l);if(!(d===W?nn(f,c,3,r,l):d))return!1}}return!0}function an(t){return!(!Li(t)||function(t){return!!Co&&Co in t}(t))&&(Ri(t)?Ro:ae).test(ci(t))}function sn(t){return"function"==typeof t?t:null==t?uo:"object"==typeof t?Au(t)?xn(t[0],t[1]):On(t):lo(t)}function cn(t){if(!Xr(t))return ra(t);var e=[];for(var n in _o(t))Ao.call(t,n)&&"constructor"!=n&&e.push(n);return e}function mn(t){if(!Li(t))return function(t){var e=[];if(null!=t)for(var n in _o(t))e.push(n);return e}(t);var e=Xr(t),n=[];for(var r in t)("constructor"!=r||!e&&Ao.call(t,r))&&n.push(r);return n}function wn(t,e){return t<e}function Sn(t,e){var n=-1,r=Ii(t)?go(t.length):[];return Ta(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function On(t){var e=Hr(t);return 1==e.length&&e[0][2]?ti(e[0][0],e[0][1]):function(n){return n===t||on(n,t,e)}}function xn(t,e){return Zr(t)&&Jr(e)?ti(si(t),e):function(n){var r=Qi(n,t);return r===W&&r===e?Xi(n,t):nn(e,r,3)}}function En(t,e,n,r,i){t!==e&&Aa(e,(function(o,a){if(i||(i=new ge),Li(o))!function(t,e,n,r,i,o,a){var u=ii(t,n),s=ii(e,n),c=a.get(s);if(c)return _e(t,n,c),W;var f=o?o(u,s,n+"",t,e,a):W,l=f===W;if(l){var d=Au(s),h=!d&&Cu(s),p=!d&&!h&&ju(s);f=s,d||h||p?Au(u)?f=u:Pi(u)?f=sr(u):h?(l=!1,f=nr(s,!0)):p?(l=!1,f=ir(s,!0)):f=[]:Ui(s)||$u(s)?(f=u,$u(u)?f=Yi(u):Li(u)&&!Ri(u)||(f=Wr(s))):l=!1}l&&(a.set(s,f),i(f,s,r,o,a),a.delete(s)),_e(t,n,f)}(t,e,a,n,En,r,i);else{var u=r?r(ii(t,a),o,a+"",t,e,i):W;u===W&&(u=o),_e(t,a,u)}}),to)}function Mn(t,e){var n=t.length;if(n)return Kr(e+=e<0?n:0,n)?t[e]:W}function Tn(t,e,n){e=e.length?h(e,(function(t){return Au(t)?function(e){return Fe(e,1===t.length?t[0]:t)}:t})):[uo];var r=-1;return e=h(e,k(Ur())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Sn(t,(function(t,n,i){return{criteria:h(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,u=n.length;++r<a;){var s=or(i[r],o[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function $n(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=Fe(t,a);n(u,a)&&jn(o,tr(a,t),u)}return o}function An(t,e,n,r){var i=r?S:w,o=-1,a=e.length,u=t;for(t===e&&(e=sr(e)),n&&(u=h(t,k(n)));++o<a;)for(var s=0,c=e[o],f=n?n(c):c;(s=i(u,f,s,r))>-1;)u!==t&&Ho.call(u,s,1),Ho.call(t,s,1);return t}function kn(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Kr(i)?Ho.call(t,i,1):Wn(t,i)}}return t}function Cn(t,e){return t+Xo(sa()*(e-t+1))}function In(t,e){var n="";if(!t||e<1||e>nt)return n;do{e%2&&(n+=t),(e=Xo(e/2))&&(t+=t)}while(e);return n}function Pn(t,e){return Ha(ei(t,e,uo),t+"")}function Nn(t){return be(no(t))}function Rn(t,e){var n=no(t);return ui(n,Te(e,0,n.length))}function jn(t,e,n,r){if(!Li(t))return t;for(var i=-1,o=(e=tr(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var s=si(e[i]),c=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(i!=a){var f=u[s];(c=r?r(f,s,u):W)===W&&(c=Li(f)?f:Kr(e[i+1])?[]:{})}we(u,s,c),u=u[s]}return t}function Dn(t){return ui(no(t))}function Ln(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=go(i);++r<i;)o[r]=t[r+e];return o}function Fn(t,e){var n;return Ta(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function Bn(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!Hi(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return Un(t,e,uo,n)}function Un(t,e,n,r){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!==e,u=null===e,s=Hi(e),c=e===W;i<o;){var f=Xo((i+o)/2),l=n(t[f]),d=l!==W,h=null===l,p=l===l,g=Hi(l);if(a)var m=r||p;else m=c?p&&(r||d):u?p&&d&&(r||!h):s?p&&d&&!h&&(r||!g):!h&&!g&&(r?l<=e:l<e);m?i=f+1:o=f}return oa(o,4294967294)}function zn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],u=e?e(a):a;if(!n||!Ci(u,s)){var s=u;o[i++]=0===a?0:a}}return o}function Hn(t){return"number"==typeof t?t:Hi(t)?rt:+t}function Vn(t){if("string"==typeof t)return t;if(Au(t))return h(t,Vn)+"";if(Hi(t))return Ea?Ea.call(t):"";var e=t+"";return"0"==e&&1/t==-et?"-0":e}function qn(t,e,n){var r=-1,i=l,o=t.length,a=!0,u=[],s=u;if(n)a=!1,i=d;else if(o>=200){var c=e?null:Ra(t);if(c)return z(c);a=!1,i=I,s=new pe}else s=e?[]:u;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,a&&h===h){for(var p=s.length;p--;)if(s[p]===h)continue t;e&&s.push(h),u.push(f)}else i(s,h,n)||(s!==u&&s.push(h),u.push(f))}return u}function Wn(t,e){return null==(t=ni(t,e=tr(e,t)))||delete t[si(mi(e))]}function Gn(t,e,n,r){return jn(t,e,n(Fe(t,e)),r)}function Kn(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Ln(t,r?0:o,r?o+1:i):Ln(t,r?o+1:0,r?i:o)}function Yn(t,e){var n=t;return n instanceof M&&(n=n.value()),g(e,(function(t,e){return e.func.apply(e.thisArg,p([t],e.args))}),n)}function Zn(t,e,n){var r=t.length;if(r<2)return r?qn(t[0]):[];for(var i=-1,o=go(r);++i<r;)for(var a=t[i],u=-1;++u<r;)u!=i&&(o[i]=Ce(o[i]||a,t[u],e,n));return qn(Re(o,1),e,n)}function Qn(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;)n(a,t[r],r<o?e[r]:W);return a}function Xn(t){return Pi(t)?t:[]}function Jn(t){return"function"==typeof t?t:uo}function tr(t,e){return Au(t)?t:Zr(t,e)?[t]:Va(Zi(t))}function er(t,e,n){var r=t.length;return n=n===W?r:n,!e&&n>=r?t:Ln(t,e,n)}function nr(t,e){if(e)return t.slice();var n=t.length,r=Fo?Fo(n):new t.constructor(n);return t.copy(r),r}function rr(t){var e=new t.constructor(t.byteLength);return new Lo(e).set(new Lo(t)),e}function ir(t,e){return new t.constructor(e?rr(t.buffer):t.buffer,t.byteOffset,t.length)}function or(t,e){if(t!==e){var n=t!==W,r=null===t,i=t===t,o=Hi(t),a=e!==W,u=null===e,s=e===e,c=Hi(e);if(!u&&!c&&!o&&t>e||o&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!s)return-1}return 0}function ar(t,e,n,r){for(var i=-1,o=t.length,a=n.length,u=-1,s=e.length,c=ia(o-a,0),f=go(s+c),l=!r;++u<s;)f[u]=e[u];for(;++i<a;)(l||i<o)&&(f[n[i]]=t[i]);for(;c--;)f[u++]=t[i++];return f}function ur(t,e,n,r){for(var i=-1,o=t.length,a=-1,u=n.length,s=-1,c=e.length,f=ia(o-u,0),l=go(f+c),d=!r;++i<f;)l[i]=t[i];for(var h=i;++s<c;)l[h+s]=e[s];for(;++a<u;)(d||i<o)&&(l[h+n[a]]=t[i++]);return l}function sr(t,e){var n=-1,r=t.length;for(e||(e=go(r));++n<r;)e[n]=t[n];return e}function cr(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var u=e[o],s=r?r(n[u],t[u],u,n,t):W;s===W&&(s=t[u]),i?Ee(n,u,s):we(n,u,s)}return n}function fr(t,e){return function(n,r){var i=Au(n)?a:Oe,o=e?e():{};return i(n,t,Ur(r,2),o)}}function lr(t){return Pn((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:W,a=i>2?n[2]:W;for(o=t.length>3&&"function"==typeof o?(i--,o):W,a&&Yr(n[0],n[1],a)&&(o=i<3?W:o,i=1),e=_o(e);++r<i;){var u=n[r];u&&t(e,u,r,o)}return e}))}function dr(t,e){return function(n,r){if(null==n)return n;if(!Ii(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=_o(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function hr(t){return function(e,n,r){for(var i=-1,o=_o(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}function pr(t){return function(e){var n=D(e=Zi(e))?V(e):W,r=n?n[0]:e.charAt(0),i=n?er(n,1).join(""):e.slice(1);return r[t]()+i}}function gr(t){return function(e){return g(oo(io(e).replace(ze,"")),t,"")}}function mr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ma(t.prototype),r=t.apply(n,e);return Li(r)?r:n}}function br(t,e,n){var r=mr(t);return function i(){for(var a=arguments.length,u=go(a),s=a,c=Br(i);s--;)u[s]=arguments[s];var f=a<3&&u[0]!==c&&u[a-1]!==c?[]:U(u,c);return(a-=f.length)<n?$r(t,e,_r,i.placeholder,W,u,f,W,W,n-a):o(this&&this!==rn&&this instanceof i?r:t,this,u)}}function vr(t){return function(e,n,r){var i=_o(e);if(!Ii(e)){var o=Ur(n,3);e=Ji(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:W}}function yr(t){return jr((function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new Oo(G);if(o&&!u&&"wrapper"==Fr(a))var u=new i([],!0)}for(r=u?r:n;++r<n;){var s=Fr(a=e[r]),c="wrapper"==s?ja(a):W;u=c&&Qr(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Fr(c[0])].apply(u,c[3]):1==a.length&&Qr(a)?u[s]():u.thru(a)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&Au(r))return u.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function _r(t,e,n,r,i,o,a,u,s,c){var f=e&J,l=1&e,d=2&e,h=24&e,p=512&e,g=d?W:mr(t);return function m(){for(var b=arguments.length,v=go(b),y=b;y--;)v[y]=arguments[y];if(h)var _=Br(m),w=R(v,_);if(r&&(v=ar(v,r,i,h)),o&&(v=ur(v,o,a,h)),b-=w,h&&b<c)return $r(t,e,_r,m.placeholder,n,v,U(v,_),u,s,c-b);var S=l?n:this,O=d?S[t]:t;return b=v.length,u?v=ri(v,u):p&&b>1&&v.reverse(),f&&s<b&&(v.length=s),this&&this!==rn&&this instanceof m&&(O=g||mr(O)),O.apply(S,v)}}function wr(t,e){return function(n,r){return function(t,e,n,r){return je(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Sr(t,e){return function(n,r){var i;if(n===W&&r===W)return e;if(n!==W&&(i=n),r!==W){if(i===W)return r;"string"==typeof n||"string"==typeof r?(n=Vn(n),r=Vn(r)):(n=Hn(n),r=Hn(r)),i=t(n,r)}return i}}function Or(t){return jr((function(e){return e=h(e,k(Ur())),Pn((function(n){var r=this;return t(e,(function(t){return o(t,r,n)}))}))}))}function xr(t,e){var n=(e=e===W?" ":Vn(e)).length;if(n<2)return n?In(e,t):e;var r=In(e,Qo(t/H(e)));return D(e)?er(V(r),0,t).join(""):r.slice(0,t)}function Er(t,e,n,r){var i=1&e,a=mr(t);return function e(){for(var u=-1,s=arguments.length,c=-1,f=r.length,l=go(f+s),d=this&&this!==rn&&this instanceof e?a:t;++c<f;)l[c]=r[c];for(;s--;)l[c++]=arguments[++u];return o(d,i?n:this,l)}}function Mr(t){return function(e,n,r){return r&&"number"!=typeof r&&Yr(e,n,r)&&(n=r=W),e=qi(e),n===W?(n=e,e=0):n=qi(n),function(t,e,n,r){for(var i=-1,o=ia(Qo((e-t)/(n||1)),0),a=go(o);o--;)a[r?o:++i]=t,t+=n;return a}(e,n,r=r===W?e<n?1:-1:qi(r),t)}}function Tr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Ki(e),n=Ki(n)),t(e,n)}}function $r(t,e,n,r,i,o,a,u,s,c){var f=8&e;e|=f?Q:X,4&(e&=~(f?X:Q))||(e&=-4);var l=[t,e,i,f?o:W,f?a:W,f?W:o,f?W:a,u,s,c],d=n.apply(W,l);return Qr(t)&&Ua(d,l),d.placeholder=r,oi(d,t,e)}function Ar(t){var e=yo[t];return function(t,n){if(t=Ki(t),(n=null==n?0:oa(Wi(n),292))&&ea(t)){var r=(Zi(t)+"e").split("e");return+((r=(Zi(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}function kr(t){return function(e){var n=Fa(e);return n==ht?F(e):n==vt?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return h(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Cr(t,e,n,r,i,o,a,u){var s=2&e;if(!s&&"function"!=typeof t)throw new Oo(G);var c=r?r.length:0;if(c||(e&=-97,r=i=W),a=a===W?a:ia(Wi(a),0),u=u===W?u:Wi(u),c-=i?i.length:0,e&X){var f=r,l=i;r=i=W}var d=s?W:ja(t),h=[t,e,n,r,i,f,l,o,a,u];if(d&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==J&&8==n||r==J&&n==tt&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var u=e[3];if(u){var s=t[3];t[3]=s?ar(s,u,e[4]):u,t[4]=s?U(t[3],Y):e[4]}(u=e[5])&&(s=t[5],t[5]=s?ur(s,u,e[6]):u,t[6]=s?U(t[5],Y):e[6]),(u=e[7])&&(t[7]=u),r&J&&(t[8]=null==t[8]?e[8]:oa(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(h,d),t=h[0],e=h[1],n=h[2],r=h[3],i=h[4],!(u=h[9]=h[9]===W?s?0:t.length:ia(h[9]-c,0))&&24&e&&(e&=-25),e&&1!=e)p=8==e||e==Z?br(t,e,u):e!=Q&&33!=e||i.length?_r.apply(W,h):Er(t,e,n,r);else var p=function(t,e,n){var r=1&e,i=mr(t);return function e(){return(this&&this!==rn&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return oi((d?Ca:Ua)(p,h),t,e)}function Ir(t,e,n,r){return t===W||Ci(t,Mo[n])&&!Ao.call(r,n)?e:t}function Pr(t,e,n,r,i,o){return Li(t)&&Li(e)&&(o.set(e,t),En(t,e,W,Pr,o),o.delete(e)),t}function Nr(t){return Ui(t)?W:t}function Rr(t,e,n,r,i,o){var a=1&n,u=t.length,s=e.length;if(u!=s&&!(a&&s>u))return!1;var c=o.get(t),f=o.get(e);if(c&&f)return c==e&&f==t;var l=-1,d=!0,h=2&n?new pe:W;for(o.set(t,e),o.set(e,t);++l<u;){var p=t[l],g=e[l];if(r)var m=a?r(g,p,l,e,t,o):r(p,g,l,t,e,o);if(m!==W){if(m)continue;d=!1;break}if(h){if(!b(e,(function(t,e){if(!I(h,e)&&(p===t||i(p,t,n,r,o)))return h.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function jr(t){return Ha(ei(t,W,pi),t+"")}function Dr(t){return Be(t,Ji,Da)}function Lr(t){return Be(t,to,La)}function Fr(t){for(var e=t.name+"",n=ba[e],r=Ao.call(ba,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Br(t){return(Ao.call(n,"placeholder")?n:t).placeholder}function Ur(){var t=n.iteratee||so;return t=t===so?sn:t,arguments.length?t(arguments[0],arguments[1]):t}function zr(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Hr(t){for(var e=Ji(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Jr(i)]}return e}function Vr(t,e){var n=function(t,e){return null==t?W:t[e]}(t,e);return an(n)?n:W}function qr(t,e,n){for(var r=-1,i=(e=tr(e,t)).length,o=!1;++r<i;){var a=si(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Di(i)&&Kr(a,i)&&(Au(t)||$u(t))}function Wr(t){return"function"!=typeof t.constructor||Xr(t)?{}:Ma(Bo(t))}function Gr(t){return Au(t)||$u(t)||!!(Vo&&t&&t[Vo])}function Kr(t,e){var n=typeof t;return!!(e=null==e?nt:e)&&("number"==n||"symbol"!=n&&se.test(t))&&t>-1&&t%1==0&&t<e}function Yr(t,e,n){if(!Li(n))return!1;var r=typeof e;return!!("number"==r?Ii(n)&&Kr(e,n.length):"string"==r&&e in n)&&Ci(n[e],t)}function Zr(t,e){if(Au(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Hi(t))||Vt.test(t)||!Ht.test(t)||null!=e&&t in _o(e)}function Qr(t){var e=Fr(t),r=n[e];if("function"!=typeof r||!(e in M.prototype))return!1;if(t===r)return!0;var i=ja(r);return!!i&&t===i[0]}function Xr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Mo)}function Jr(t){return t===t&&!Li(t)}function ti(t,e){return function(n){return null!=n&&n[t]===e&&(e!==W||t in _o(n))}}function ei(t,e,n){return e=ia(e===W?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=ia(r.length-e,0),u=go(a);++i<a;)u[i]=r[e+i];i=-1;for(var s=go(e+1);++i<e;)s[i]=r[i];return s[e]=n(u),o(t,this,s)}}function ni(t,e){return e.length<2?t:Fe(t,Ln(e,0,-1))}function ri(t,e){for(var n=t.length,r=oa(e.length,n),i=sr(t);r--;){var o=e[r];t[r]=Kr(o,n)?i[o]:W}return t}function ii(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function oi(t,e,n){var r=e+"";return Ha(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Qt,"{\n/* [wrapped with "+e+"] */\n")}(r,fi(function(t){var e=t.match(Xt);return e?e[1].split(Jt):[]}(r),n)))}function ai(t){var e=0,n=0;return function(){var r=aa(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(W,arguments)}}function ui(t,e){var n=-1,r=t.length,i=r-1;for(e=e===W?r:e;++n<e;){var o=Cn(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function si(t){if("string"==typeof t||Hi(t))return t;var e=t+"";return"0"==e&&1/t==-et?"-0":e}function ci(t){if(null!=t){try{return $o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function fi(t,e){return u(ot,(function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)})),t.sort()}function li(t){if(t instanceof M)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=sr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function di(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=ia(r+i,0)),_(t,Ur(e,3),i)}function hi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==W&&(i=Wi(n),i=n<0?ia(r+i,0):oa(i,r-1)),_(t,Ur(e,3),i,!0)}function pi(t){return null!=t&&t.length?Re(t,1):[]}function gi(t){return t&&t.length?t[0]:W}function mi(t){var e=null==t?0:t.length;return e?t[e-1]:W}function bi(t,e){return t&&t.length&&e&&e.length?An(t,e):t}function vi(t){return null==t?t:ca.call(t)}function yi(t){if(!t||!t.length)return[];var e=0;return t=f(t,(function(t){if(Pi(t))return e=ia(t.length,e),!0})),A(e,(function(e){return h(t,E(e))}))}function _i(t,e){if(!t||!t.length)return[];var n=yi(t);return null==e?n:h(n,(function(t){return o(e,W,t)}))}function wi(t){var e=n(t);return e.__chain__=!0,e}function Si(t,e){return e(t)}function Oi(t,e){return(Au(t)?u:Ta)(t,Ur(e,3))}function xi(t,e){return(Au(t)?s:$a)(t,Ur(e,3))}function Ei(t,e){return(Au(t)?h:Sn)(t,Ur(e,3))}function Mi(t,e,n){return e=n?W:e,e=t&&null==e?t.length:e,Cr(t,J,W,W,W,W,e)}function Ti(t,e){var n;if("function"!=typeof e)throw new Oo(G);return t=Wi(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=W),n}}function $i(t,e,n){function r(e){var n=c,r=f;return c=f=W,g=e,d=t.apply(r,n)}function i(t){return g=t,h=za(a,e),m?r(t):d}function o(t){var n=t-p;return p===W||n>=e||n<0||b&&t-g>=l}function a(){var t=bu();return o(t)?u(t):(h=za(a,function(t){var n=e-(t-p);return b?oa(n,l-(t-g)):n}(t)),W)}function u(t){return h=W,v&&c?r(t):(c=f=W,d)}function s(){var t=bu(),n=o(t);if(c=arguments,f=this,p=t,n){if(h===W)return i(p);if(b)return Na(h),h=za(a,e),r(p)}return h===W&&(h=za(a,e)),d}var c,f,l,d,h,p,g=0,m=!1,b=!1,v=!0;if("function"!=typeof t)throw new Oo(G);return e=Ki(e)||0,Li(n)&&(m=!!n.leading,l=(b="maxWait"in n)?ia(Ki(n.maxWait)||0,e):l,v="trailing"in n?!!n.trailing:v),s.cancel=function(){h!==W&&Na(h),g=0,c=p=f=h=W},s.flush=function(){return h===W?d:u(bu())},s}function Ai(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Oo(G);var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ai.Cache||he),n}function ki(t){if("function"!=typeof t)throw new Oo(G);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)}}function Ci(t,e){return t===e||t!==t&&e!==e}function Ii(t){return null!=t&&Di(t.length)&&!Ri(t)}function Pi(t){return Fi(t)&&Ii(t)}function Ni(t){if(!Fi(t))return!1;var e=Ue(t);return e==ft||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ui(t)}function Ri(t){if(!Li(t))return!1;var e=Ue(t);return e==lt||e==dt||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ji(t){return"number"==typeof t&&t==Wi(t)}function Di(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=nt}function Li(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Fi(t){return null!=t&&"object"==typeof t}function Bi(t){return"number"==typeof t||Fi(t)&&Ue(t)==pt}function Ui(t){if(!Fi(t)||Ue(t)!=gt)return!1;var e=Bo(t);if(null===e)return!0;var n=Ao.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&$o.call(n)==Po}function zi(t){return"string"==typeof t||!Au(t)&&Fi(t)&&Ue(t)==yt}function Hi(t){return"symbol"==typeof t||Fi(t)&&Ue(t)==_t}function Vi(t){if(!t)return[];if(Ii(t))return zi(t)?V(t):sr(t);if(qo&&t[qo])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[qo]());var e=Fa(t);return(e==ht?F:e==vt?z:no)(t)}function qi(t){return t?(t=Ki(t))===et||t===-et?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}function Wi(t){var e=qi(t),n=e%1;return e===e?n?e-n:e:0}function Gi(t){return t?Te(Wi(t),0,it):0}function Ki(t){if("number"==typeof t)return t;if(Hi(t))return rt;if(Li(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Li(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Kt,"");var n=oe.test(t);return n||ue.test(t)?tn(t.slice(2),n?2:8):ie.test(t)?rt:+t}function Yi(t){return cr(t,to(t))}function Zi(t){return null==t?"":Vn(t)}function Qi(t,e,n){var r=null==t?W:Fe(t,e);return r===W?n:r}function Xi(t,e){return null!=t&&qr(t,e,We)}function Ji(t){return Ii(t)?me(t):cn(t)}function to(t){return Ii(t)?me(t,!0):mn(t)}function eo(t,e){if(null==t)return{};var n=h(Lr(t),(function(t){return[t]}));return e=Ur(e),$n(t,n,(function(t,n){return e(t,n[0])}))}function no(t){return null==t?[]:C(t,Ji(t))}function ro(t){return ss(Zi(t).toLowerCase())}function io(t){return(t=Zi(t))&&t.replace(ce,bn).replace(He,"")}function oo(t,e,n){return t=Zi(t),(e=n?W:e)===W?L(t)?q(t):v(t):t.match(e)||[]}function ao(t){return function(){return t}}function uo(t){return t}function so(t){return sn("function"==typeof t?t:$e(t,1))}function co(t,e,n){var r=Ji(e),i=Le(e,r);null!=n||Li(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Le(e,Ji(e)));var o=!(Li(n)&&"chain"in n&&!n.chain),a=Ri(t);return u(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=sr(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,p([this.value()],arguments))})})),t}function fo(){}function lo(t){return Zr(t)?E(si(t)):function(t){return function(e){return Fe(e,t)}}(t)}function ho(){return[]}function po(){return!1}var go=(e=null==e?rn:_n.defaults(rn.Object(),e,_n.pick(rn,Ke))).Array,mo=e.Date,bo=e.Error,vo=e.Function,yo=e.Math,_o=e.Object,wo=e.RegExp,So=e.String,Oo=e.TypeError,xo=go.prototype,Eo=vo.prototype,Mo=_o.prototype,To=e["__core-js_shared__"],$o=Eo.toString,Ao=Mo.hasOwnProperty,ko=0,Co=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Io=Mo.toString,Po=$o.call(_o),No=rn._,Ro=wo("^"+$o.call(Ao).replace(Wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jo=un?e.Buffer:W,Do=e.Symbol,Lo=e.Uint8Array,Fo=jo?jo.allocUnsafe:W,Bo=B(_o.getPrototypeOf,_o),Uo=_o.create,zo=Mo.propertyIsEnumerable,Ho=xo.splice,Vo=Do?Do.isConcatSpreadable:W,qo=Do?Do.iterator:W,Wo=Do?Do.toStringTag:W,Go=function(){try{var t=Vr(_o,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ko=e.clearTimeout!==rn.clearTimeout&&e.clearTimeout,Yo=mo&&mo.now!==rn.Date.now&&mo.now,Zo=e.setTimeout!==rn.setTimeout&&e.setTimeout,Qo=yo.ceil,Xo=yo.floor,Jo=_o.getOwnPropertySymbols,ta=jo?jo.isBuffer:W,ea=e.isFinite,na=xo.join,ra=B(_o.keys,_o),ia=yo.max,oa=yo.min,aa=mo.now,ua=e.parseInt,sa=yo.random,ca=xo.reverse,fa=Vr(e,"DataView"),la=Vr(e,"Map"),da=Vr(e,"Promise"),ha=Vr(e,"Set"),pa=Vr(e,"WeakMap"),ga=Vr(_o,"create"),ma=pa&&new pa,ba={},va=ci(fa),ya=ci(la),_a=ci(da),wa=ci(ha),Sa=ci(pa),Oa=Do?Do.prototype:W,xa=Oa?Oa.valueOf:W,Ea=Oa?Oa.toString:W,Ma=function(){function t(){}return function(e){if(!Li(e))return{};if(Uo)return Uo(e);t.prototype=e;var n=new t;return t.prototype=W,n}}();n.templateSettings={escape:Bt,evaluate:Ut,interpolate:zt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=Ma(r.prototype),i.prototype.constructor=i,M.prototype=Ma(r.prototype),M.prototype.constructor=M,te.prototype.clear=function(){this.__data__=ga?ga(null):{},this.size=0},te.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},te.prototype.get=function(t){var e=this.__data__;if(ga){var n=e[t];return n===K?W:n}return Ao.call(e,t)?e[t]:W},te.prototype.has=function(t){var e=this.__data__;return ga?e[t]!==W:Ao.call(e,t)},te.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ga&&e===W?K:e,this},de.prototype.clear=function(){this.__data__=[],this.size=0},de.prototype.delete=function(t){var e=this.__data__,n=Se(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ho.call(e,n,1),--this.size,!0)},de.prototype.get=function(t){var e=this.__data__,n=Se(e,t);return n<0?W:e[n][1]},de.prototype.has=function(t){return Se(this.__data__,t)>-1},de.prototype.set=function(t,e){var n=this.__data__,r=Se(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},he.prototype.clear=function(){this.size=0,this.__data__={hash:new te,map:new(la||de),string:new te}},he.prototype.delete=function(t){var e=zr(this,t).delete(t);return this.size-=e?1:0,e},he.prototype.get=function(t){return zr(this,t).get(t)},he.prototype.has=function(t){return zr(this,t).has(t)},he.prototype.set=function(t,e){var n=zr(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},pe.prototype.add=pe.prototype.push=function(t){return this.__data__.set(t,K),this},pe.prototype.has=function(t){return this.__data__.has(t)},ge.prototype.clear=function(){this.__data__=new de,this.size=0},ge.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},ge.prototype.get=function(t){return this.__data__.get(t)},ge.prototype.has=function(t){return this.__data__.has(t)},ge.prototype.set=function(t,e){var n=this.__data__;if(n instanceof de){var r=n.__data__;if(!la||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new he(r)}return n.set(t,e),this.size=n.size,this};var Ta=dr(je),$a=dr(De,!0),Aa=hr(),ka=hr(!0),Ca=ma?function(t,e){return ma.set(t,e),t}:uo,Ia=Go?function(t,e){return Go(t,"toString",{configurable:!0,enumerable:!1,value:ao(e),writable:!0})}:uo,Pa=Pn,Na=Ko||function(t){return rn.clearTimeout(t)},Ra=ha&&1/z(new ha([,-0]))[1]==et?function(t){return new ha(t)}:fo,ja=ma?function(t){return ma.get(t)}:fo,Da=Jo?function(t){return null==t?[]:(t=_o(t),f(Jo(t),(function(e){return zo.call(t,e)})))}:ho,La=Jo?function(t){for(var e=[];t;)p(e,Da(t)),t=Bo(t);return e}:ho,Fa=Ue;(fa&&Fa(new fa(new ArrayBuffer(1)))!=Ot||la&&Fa(new la)!=ht||da&&Fa(da.resolve())!=mt||ha&&Fa(new ha)!=vt||pa&&Fa(new pa)!=wt)&&(Fa=function(t){var e=Ue(t),n=e==gt?t.constructor:W,r=n?ci(n):"";if(r)switch(r){case va:return Ot;case ya:return ht;case _a:return mt;case wa:return vt;case Sa:return wt}return e});var Ba=To?Ri:po,Ua=ai(Ca),za=Zo||function(t,e){return rn.setTimeout(t,e)},Ha=ai(Ia),Va=function(t){var e=Ai(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(qt,(function(t,n,r,i){e.push(r?i.replace(ee,"$1"):n||t)})),e})),qa=Pn((function(t,e){return Pi(t)?Ce(t,Re(e,1,Pi,!0)):[]})),Wa=Pn((function(t,e){var n=mi(e);return Pi(n)&&(n=W),Pi(t)?Ce(t,Re(e,1,Pi,!0),Ur(n,2)):[]})),Ga=Pn((function(t,e){var n=mi(e);return Pi(n)&&(n=W),Pi(t)?Ce(t,Re(e,1,Pi,!0),W,n):[]})),Ka=Pn((function(t){var e=h(t,Xn);return e.length&&e[0]===t[0]?Ge(e):[]})),Ya=Pn((function(t){var e=mi(t),n=h(t,Xn);return e===mi(n)?e=W:n.pop(),n.length&&n[0]===t[0]?Ge(n,Ur(e,2)):[]})),Za=Pn((function(t){var e=mi(t),n=h(t,Xn);return(e="function"==typeof e?e:W)&&n.pop(),n.length&&n[0]===t[0]?Ge(n,W,e):[]})),Qa=Pn(bi),Xa=jr((function(t,e){var n=null==t?0:t.length,r=Me(t,e);return kn(t,h(e,(function(t){return Kr(t,n)?+t:t})).sort(or)),r})),Ja=Pn((function(t){return qn(Re(t,1,Pi,!0))})),tu=Pn((function(t){var e=mi(t);return Pi(e)&&(e=W),qn(Re(t,1,Pi,!0),Ur(e,2))})),eu=Pn((function(t){var e=mi(t);return e="function"==typeof e?e:W,qn(Re(t,1,Pi,!0),W,e)})),nu=Pn((function(t,e){return Pi(t)?Ce(t,e):[]})),ru=Pn((function(t){return Zn(f(t,Pi))})),iu=Pn((function(t){var e=mi(t);return Pi(e)&&(e=W),Zn(f(t,Pi),Ur(e,2))})),ou=Pn((function(t){var e=mi(t);return e="function"==typeof e?e:W,Zn(f(t,Pi),W,e)})),au=Pn(yi),uu=Pn((function(t){var e=t.length,n=e>1?t[e-1]:W;return n="function"==typeof n?(t.pop(),n):W,_i(t,n)})),su=jr((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Me(e,t)};return!(e>1||this.__actions__.length)&&r instanceof M&&Kr(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Si,args:[o],thisArg:W}),new i(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(W),t}))):this.thru(o)})),cu=fr((function(t,e,n){Ao.call(t,n)?++t[n]:Ee(t,n,1)})),fu=vr(di),lu=vr(hi),du=fr((function(t,e,n){Ao.call(t,n)?t[n].push(e):Ee(t,n,[e])})),hu=Pn((function(t,e,n){var r=-1,i="function"==typeof e,a=Ii(t)?go(t.length):[];return Ta(t,(function(t){a[++r]=i?o(e,t,n):Xe(t,e,n)})),a})),pu=fr((function(t,e,n){Ee(t,n,e)})),gu=fr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),mu=Pn((function(t,e){if(null==t)return[];var n=e.length;return n>1&&Yr(t,e[0],e[1])?e=[]:n>2&&Yr(e[0],e[1],e[2])&&(e=[e[0]]),Tn(t,Re(e,1),[])})),bu=Yo||function(){return rn.Date.now()},vu=Pn((function(t,e,n){var r=1;if(n.length){var i=U(n,Br(vu));r|=Q}return Cr(t,r,e,n,i)})),yu=Pn((function(t,e,n){var r=3;if(n.length){var i=U(n,Br(yu));r|=Q}return Cr(e,r,t,n,i)})),_u=Pn((function(t,e){return ke(t,1,e)})),wu=Pn((function(t,e,n){return ke(t,Ki(e)||0,n)}));Ai.Cache=he;var Su=Pa((function(t,e){var n=(e=1==e.length&&Au(e[0])?h(e[0],k(Ur())):h(Re(e,1),k(Ur()))).length;return Pn((function(r){for(var i=-1,a=oa(r.length,n);++i<a;)r[i]=e[i].call(this,r[i]);return o(t,this,r)}))})),Ou=Pn((function(t,e){return Cr(t,Q,W,e,U(e,Br(Ou)))})),xu=Pn((function(t,e){return Cr(t,X,W,e,U(e,Br(xu)))})),Eu=jr((function(t,e){return Cr(t,tt,W,W,W,e)})),Mu=Tr(Ve),Tu=Tr((function(t,e){return t>=e})),$u=en(function(){return arguments}())?en:function(t){return Fi(t)&&Ao.call(t,"callee")&&!zo.call(t,"callee")},Au=go.isArray,ku=fn?k(fn):function(t){return Fi(t)&&Ue(t)==St},Cu=ta||po,Iu=ln?k(ln):function(t){return Fi(t)&&Ue(t)==ct},Pu=dn?k(dn):function(t){return Fi(t)&&Fa(t)==ht},Nu=hn?k(hn):function(t){return Fi(t)&&Ue(t)==bt},Ru=pn?k(pn):function(t){return Fi(t)&&Fa(t)==vt},ju=gn?k(gn):function(t){return Fi(t)&&Di(t.length)&&!!Ze[Ue(t)]},Du=Tr(wn),Lu=Tr((function(t,e){return t<=e})),Fu=lr((function(t,e){if(Xr(e)||Ii(e))return cr(e,Ji(e),t),W;for(var n in e)Ao.call(e,n)&&we(t,n,e[n])})),Bu=lr((function(t,e){cr(e,to(e),t)})),Uu=lr((function(t,e,n,r){cr(e,to(e),t,r)})),zu=lr((function(t,e,n,r){cr(e,Ji(e),t,r)})),Hu=jr(Me),Vu=Pn((function(t,e){t=_o(t);var n=-1,r=e.length,i=r>2?e[2]:W;for(i&&Yr(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],a=to(o),u=-1,s=a.length;++u<s;){var c=a[u],f=t[c];(f===W||Ci(f,Mo[c])&&!Ao.call(t,c))&&(t[c]=o[c])}return t})),qu=Pn((function(t){return t.push(W,Pr),o(Zu,W,t)})),Wu=wr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Io.call(e)),t[e]=n}),ao(uo)),Gu=wr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Io.call(e)),Ao.call(t,e)?t[e].push(n):t[e]=[n]}),Ur),Ku=Pn(Xe),Yu=lr((function(t,e,n){En(t,e,n)})),Zu=lr((function(t,e,n,r){En(t,e,n,r)})),Qu=jr((function(t,e){var n={};if(null==t)return n;var r=!1;e=h(e,(function(e){return e=tr(e,t),r||(r=e.length>1),e})),cr(t,Lr(t),n),r&&(n=$e(n,7,Nr));for(var i=e.length;i--;)Wn(n,e[i]);return n})),Xu=jr((function(t,e){return null==t?{}:function(t,e){return $n(t,e,(function(e,n){return Xi(t,n)}))}(t,e)})),Ju=kr(Ji),ts=kr(to),es=gr((function(t,e,n){return e=e.toLowerCase(),t+(n?ro(e):e)})),ns=gr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),rs=gr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),is=pr("toLowerCase"),os=gr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),as=gr((function(t,e,n){return t+(n?" ":"")+ss(e)})),us=gr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),ss=pr("toUpperCase"),cs=Pn((function(t,e){try{return o(t,W,e)}catch(o){return Ni(o)?o:new bo(o)}})),fs=jr((function(t,e){return u(e,(function(e){e=si(e),Ee(t,e,vu(t[e],t))})),t})),ls=yr(),ds=yr(!0),hs=Pn((function(t,e){return function(n){return Xe(n,t,e)}})),ps=Pn((function(t,e){return function(n){return Xe(t,n,e)}})),gs=Or(h),ms=Or(c),bs=Or(b),vs=Mr(),ys=Mr(!0),_s=Sr((function(t,e){return t+e}),0),ws=Ar("ceil"),Ss=Sr((function(t,e){return t/e}),1),Os=Ar("floor"),xs=Sr((function(t,e){return t*e}),1),Es=Ar("round"),Ms=Sr((function(t,e){return t-e}),0);return n.after=function(t,e){if("function"!=typeof e)throw new Oo(G);return t=Wi(t),function(){if(--t<1)return e.apply(this,arguments)}},n.ary=Mi,n.assign=Fu,n.assignIn=Bu,n.assignInWith=Uu,n.assignWith=zu,n.at=Hu,n.before=Ti,n.bind=vu,n.bindAll=fs,n.bindKey=yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Au(t)?t:[t]},n.chain=wi,n.chunk=function(t,e,n){e=(n?Yr(t,e,n):e===W)?1:ia(Wi(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=go(Qo(r/e));i<r;)a[o++]=Ln(t,i,i+=e);return a},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=go(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return p(Au(n)?sr(n):[n],Re(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=Ur();return t=e?h(t,(function(t){if("function"!=typeof t[1])throw new Oo(G);return[n(t[0]),t[1]]})):[],Pn((function(n){for(var r=-1;++r<e;){var i=t[r];if(o(i[0],this,n))return o(i[1],this,n)}}))},n.conforms=function(t){return function(t){var e=Ji(t);return function(n){return Ae(n,t,e)}}($e(t,1))},n.constant=ao,n.countBy=cu,n.create=function(t,e){var n=Ma(t);return null==e?n:xe(n,e)},n.curry=function t(e,n,r){var i=Cr(e,8,W,W,W,W,W,n=r?W:n);return i.placeholder=t.placeholder,i},n.curryRight=function t(e,n,r){var i=Cr(e,Z,W,W,W,W,W,n=r?W:n);return i.placeholder=t.placeholder,i},n.debounce=$i,n.defaults=Vu,n.defaultsDeep=qu,n.defer=_u,n.delay=wu,n.difference=qa,n.differenceBy=Wa,n.differenceWith=Ga,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?Ln(t,(e=n||e===W?1:Wi(e))<0?0:e,r):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Ln(t,0,(e=r-(e=n||e===W?1:Wi(e)))<0?0:e):[]},n.dropRightWhile=function(t,e){return t&&t.length?Kn(t,Ur(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?Kn(t,Ur(e,3),!0):[]},n.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Yr(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=Wi(n))<0&&(n=-n>i?0:i+n),(r=r===W||r>i?i:Wi(r))<0&&(r+=i),r=n>r?0:Gi(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},n.filter=function(t,e){return(Au(t)?f:Ne)(t,Ur(e,3))},n.flatMap=function(t,e){return Re(Ei(t,e),1)},n.flatMapDeep=function(t,e){return Re(Ei(t,e),et)},n.flatMapDepth=function(t,e,n){return n=n===W?1:Wi(n),Re(Ei(t,e),n)},n.flatten=pi,n.flattenDeep=function(t){return null!=t&&t.length?Re(t,et):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?Re(t,e=e===W?1:Wi(e)):[]},n.flip=function(t){return Cr(t,512)},n.flow=ls,n.flowRight=ds,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},n.functions=function(t){return null==t?[]:Le(t,Ji(t))},n.functionsIn=function(t){return null==t?[]:Le(t,to(t))},n.groupBy=du,n.initial=function(t){return null!=t&&t.length?Ln(t,0,-1):[]},n.intersection=Ka,n.intersectionBy=Ya,n.intersectionWith=Za,n.invert=Wu,n.invertBy=Gu,n.invokeMap=hu,n.iteratee=so,n.keyBy=pu,n.keys=Ji,n.keysIn=to,n.map=Ei,n.mapKeys=function(t,e){var n={};return e=Ur(e,3),je(t,(function(t,r,i){Ee(n,e(t,r,i),t)})),n},n.mapValues=function(t,e){var n={};return e=Ur(e,3),je(t,(function(t,r,i){Ee(n,r,e(t,r,i))})),n},n.matches=function(t){return On($e(t,1))},n.matchesProperty=function(t,e){return xn(t,$e(e,1))},n.memoize=Ai,n.merge=Yu,n.mergeWith=Zu,n.method=hs,n.methodOf=ps,n.mixin=co,n.negate=ki,n.nthArg=function(t){return t=Wi(t),Pn((function(e){return Mn(e,t)}))},n.omit=Qu,n.omitBy=function(t,e){return eo(t,ki(Ur(e)))},n.once=function(t){return Ti(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(Au(e)||(e=null==e?[]:[e]),Au(n=r?W:n)||(n=null==n?[]:[n]),Tn(t,e,n))},n.over=gs,n.overArgs=Su,n.overEvery=ms,n.overSome=bs,n.partial=Ou,n.partialRight=xu,n.partition=gu,n.pick=Xu,n.pickBy=eo,n.property=lo,n.propertyOf=function(t){return function(e){return null==t?W:Fe(t,e)}},n.pull=Qa,n.pullAll=bi,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?An(t,e,Ur(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?An(t,e,W,n):t},n.pullAt=Xa,n.range=vs,n.rangeRight=ys,n.rearg=Eu,n.reject=function(t,e){return(Au(t)?f:Ne)(t,ki(Ur(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Ur(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return kn(t,i),n},n.rest=function(t,e){if("function"!=typeof t)throw new Oo(G);return Pn(t,e=e===W?e:Wi(e))},n.reverse=vi,n.sampleSize=function(t,e,n){return e=(n?Yr(t,e,n):e===W)?1:Wi(e),(Au(t)?ve:Rn)(t,e)},n.set=function(t,e,n){return null==t?t:jn(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:W,null==t?t:jn(t,e,n,r)},n.shuffle=function(t){return(Au(t)?ye:Dn)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Yr(t,e,n)?(e=0,n=r):(e=null==e?0:Wi(e),n=n===W?r:Wi(n)),Ln(t,e,n)):[]},n.sortBy=mu,n.sortedUniq=function(t){return t&&t.length?zn(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?zn(t,Ur(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&Yr(t,e,n)&&(e=n=W),(n=n===W?it:n>>>0)?(t=Zi(t))&&("string"==typeof e||null!=e&&!Nu(e))&&(!(e=Vn(e))&&D(t))?er(V(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new Oo(G);return e=null==e?0:ia(Wi(e),0),Pn((function(n){var r=n[e],i=er(n,0,e);return r&&p(i,r),o(t,this,i)}))},n.tail=function(t){var e=null==t?0:t.length;return e?Ln(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?Ln(t,0,(e=n||e===W?1:Wi(e))<0?0:e):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ln(t,(e=r-(e=n||e===W?1:Wi(e)))<0?0:e,r):[]},n.takeRightWhile=function(t,e){return t&&t.length?Kn(t,Ur(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?Kn(t,Ur(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Oo(G);return Li(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),$i(t,e,{leading:r,maxWait:e,trailing:i})},n.thru=Si,n.toArray=Vi,n.toPairs=Ju,n.toPairsIn=ts,n.toPath=function(t){return Au(t)?h(t,si):Hi(t)?[t]:sr(Va(Zi(t)))},n.toPlainObject=Yi,n.transform=function(t,e,n){var r=Au(t),i=r||Cu(t)||ju(t);if(e=Ur(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Li(t)&&Ri(o)?Ma(Bo(t)):{}}return(i?u:je)(t,(function(t,r,i){return e(n,t,r,i)})),n},n.unary=function(t){return Mi(t,1)},n.union=Ja,n.unionBy=tu,n.unionWith=eu,n.uniq=function(t){return t&&t.length?qn(t):[]},n.uniqBy=function(t,e){return t&&t.length?qn(t,Ur(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:W,t&&t.length?qn(t,W,e):[]},n.unset=function(t,e){return null==t||Wn(t,e)},n.unzip=yi,n.unzipWith=_i,n.update=function(t,e,n){return null==t?t:Gn(t,e,Jn(n))},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:W,null==t?t:Gn(t,e,Jn(n),r)},n.values=no,n.valuesIn=function(t){return null==t?[]:C(t,to(t))},n.without=nu,n.words=oo,n.wrap=function(t,e){return Ou(Jn(e),t)},n.xor=ru,n.xorBy=iu,n.xorWith=ou,n.zip=au,n.zipObject=function(t,e){return Qn(t||[],e||[],we)},n.zipObjectDeep=function(t,e){return Qn(t||[],e||[],jn)},n.zipWith=uu,n.entries=Ju,n.entriesIn=ts,n.extend=Bu,n.extendWith=Uu,co(n,n),n.add=_s,n.attempt=cs,n.camelCase=es,n.capitalize=ro,n.ceil=ws,n.clamp=function(t,e,n){return n===W&&(n=e,e=W),n!==W&&(n=(n=Ki(n))===n?n:0),e!==W&&(e=(e=Ki(e))===e?e:0),Te(Ki(t),e,n)},n.clone=function(t){return $e(t,4)},n.cloneDeep=function(t){return $e(t,5)},n.cloneDeepWith=function(t,e){return $e(t,5,e="function"==typeof e?e:W)},n.cloneWith=function(t,e){return $e(t,4,e="function"==typeof e?e:W)},n.conformsTo=function(t,e){return null==e||Ae(t,e,Ji(e))},n.deburr=io,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Ss,n.endsWith=function(t,e,n){t=Zi(t),e=Vn(e);var r=t.length,i=n=n===W?r:Te(Wi(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},n.eq=Ci,n.escape=function(t){return(t=Zi(t))&&Ft.test(t)?t.replace(Dt,vn):t},n.escapeRegExp=function(t){return(t=Zi(t))&&Gt.test(t)?t.replace(Wt,"\\$&"):t},n.every=function(t,e,n){var r=Au(t)?c:Ie;return n&&Yr(t,e,n)&&(e=W),r(t,Ur(e,3))},n.find=fu,n.findIndex=di,n.findKey=function(t,e){return y(t,Ur(e,3),je)},n.findLast=lu,n.findLastIndex=hi,n.findLastKey=function(t,e){return y(t,Ur(e,3),De)},n.floor=Os,n.forEach=Oi,n.forEachRight=xi,n.forIn=function(t,e){return null==t?t:Aa(t,Ur(e,3),to)},n.forInRight=function(t,e){return null==t?t:ka(t,Ur(e,3),to)},n.forOwn=function(t,e){return t&&je(t,Ur(e,3))},n.forOwnRight=function(t,e){return t&&De(t,Ur(e,3))},n.get=Qi,n.gt=Mu,n.gte=Tu,n.has=function(t,e){return null!=t&&qr(t,e,qe)},n.hasIn=Xi,n.head=gi,n.identity=uo,n.includes=function(t,e,n,r){t=Ii(t)?t:no(t),n=n&&!r?Wi(n):0;var i=t.length;return n<0&&(n=ia(i+n,0)),zi(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&w(t,e,n)>-1},n.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=ia(r+i,0)),w(t,e,i)},n.inRange=function(t,e,n){return e=qi(e),n===W?(n=e,e=0):n=qi(n),function(t,e,n){return t>=oa(e,n)&&t<ia(e,n)}(t=Ki(t),e,n)},n.invoke=Ku,n.isArguments=$u,n.isArray=Au,n.isArrayBuffer=ku,n.isArrayLike=Ii,n.isArrayLikeObject=Pi,n.isBoolean=function(t){return!0===t||!1===t||Fi(t)&&Ue(t)==st},n.isBuffer=Cu,n.isDate=Iu,n.isElement=function(t){return Fi(t)&&1===t.nodeType&&!Ui(t)},n.isEmpty=function(t){if(null==t)return!0;if(Ii(t)&&(Au(t)||"string"==typeof t||"function"==typeof t.splice||Cu(t)||ju(t)||$u(t)))return!t.length;var e=Fa(t);if(e==ht||e==vt)return!t.size;if(Xr(t))return!cn(t).length;for(var n in t)if(Ao.call(t,n))return!1;return!0},n.isEqual=function(t,e){return nn(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:W)?n(t,e):W;return r===W?nn(t,e,W,n):!!r},n.isError=Ni,n.isFinite=function(t){return"number"==typeof t&&ea(t)},n.isFunction=Ri,n.isInteger=ji,n.isLength=Di,n.isMap=Pu,n.isMatch=function(t,e){return t===e||on(t,e,Hr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:W,on(t,e,Hr(e),n)},n.isNaN=function(t){return Bi(t)&&t!=+t},n.isNative=function(t){if(Ba(t))throw new bo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return an(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=Bi,n.isObject=Li,n.isObjectLike=Fi,n.isPlainObject=Ui,n.isRegExp=Nu,n.isSafeInteger=function(t){return ji(t)&&t>=-nt&&t<=nt},n.isSet=Ru,n.isString=zi,n.isSymbol=Hi,n.isTypedArray=ju,n.isUndefined=function(t){return t===W},n.isWeakMap=function(t){return Fi(t)&&Fa(t)==wt},n.isWeakSet=function(t){return Fi(t)&&"[object WeakSet]"==Ue(t)},n.join=function(t,e){return null==t?"":na.call(t,e)},n.kebabCase=ns,n.last=mi,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==W&&(i=(i=Wi(n))<0?ia(r+i,0):oa(i,r-1)),e===e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):_(t,O,i,!0)},n.lowerCase=rs,n.lowerFirst=is,n.lt=Du,n.lte=Lu,n.max=function(t){return t&&t.length?Pe(t,uo,Ve):W},n.maxBy=function(t,e){return t&&t.length?Pe(t,Ur(e,2),Ve):W},n.mean=function(t){return x(t,uo)},n.meanBy=function(t,e){return x(t,Ur(e,2))},n.min=function(t){return t&&t.length?Pe(t,uo,wn):W},n.minBy=function(t,e){return t&&t.length?Pe(t,Ur(e,2),wn):W},n.stubArray=ho,n.stubFalse=po,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=xs,n.nth=function(t,e){return t&&t.length?Mn(t,Wi(e)):W},n.noConflict=function(){return rn._===this&&(rn._=No),this},n.noop=fo,n.now=bu,n.pad=function(t,e,n){t=Zi(t);var r=(e=Wi(e))?H(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return xr(Xo(i),n)+t+xr(Qo(i),n)},n.padEnd=function(t,e,n){t=Zi(t);var r=(e=Wi(e))?H(t):0;return e&&r<e?t+xr(e-r,n):t},n.padStart=function(t,e,n){t=Zi(t);var r=(e=Wi(e))?H(t):0;return e&&r<e?xr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),ua(Zi(t).replace(Yt,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Yr(t,e,n)&&(e=n=W),n===W&&("boolean"==typeof e?(n=e,e=W):"boolean"==typeof t&&(n=t,t=W)),t===W&&e===W?(t=0,e=1):(t=qi(t),e===W?(e=t,t=0):e=qi(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=sa();return oa(t+i*(e-t+Je("1e-"+((i+"").length-1))),e)}return Cn(t,e)},n.reduce=function(t,e,n){var r=Au(t)?g:T,i=arguments.length<3;return r(t,Ur(e,4),n,i,Ta)},n.reduceRight=function(t,e,n){var r=Au(t)?m:T,i=arguments.length<3;return r(t,Ur(e,4),n,i,$a)},n.repeat=function(t,e,n){return e=(n?Yr(t,e,n):e===W)?1:Wi(e),In(Zi(t),e)},n.replace=function(){var t=arguments,e=Zi(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var r=-1,i=(e=tr(e,t)).length;for(i||(i=1,t=W);++r<i;){var o=null==t?W:t[si(e[r])];o===W&&(r=i,o=n),t=Ri(o)?o.call(t):o}return t},n.round=Es,n.runInContext=t,n.sample=function(t){return(Au(t)?be:Nn)(t)},n.size=function(t){if(null==t)return 0;if(Ii(t))return zi(t)?H(t):t.length;var e=Fa(t);return e==ht||e==vt?t.size:cn(t).length},n.snakeCase=os,n.some=function(t,e,n){var r=Au(t)?b:Fn;return n&&Yr(t,e,n)&&(e=W),r(t,Ur(e,3))},n.sortedIndex=function(t,e){return Bn(t,e)},n.sortedIndexBy=function(t,e,n){return Un(t,e,Ur(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Bn(t,e);if(r<n&&Ci(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return Bn(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return Un(t,e,Ur(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Bn(t,e,!0)-1;if(Ci(t[n],e))return n}return-1},n.startCase=as,n.startsWith=function(t,e,n){return t=Zi(t),n=null==n?0:Te(Wi(n),0,t.length),e=Vn(e),t.slice(n,n+e.length)==e},n.subtract=Ms,n.sum=function(t){return t&&t.length?$(t,uo):0},n.sumBy=function(t,e){return t&&t.length?$(t,Ur(e,2)):0},n.template=function(t,e,r){var i=n.templateSettings;r&&Yr(t,e,r)&&(e=W),t=Zi(t),e=Uu({},e,i,Ir);var o,a,u=Uu({},e.imports,i.imports,Ir),s=Ji(u),c=C(u,s),f=0,l=e.interpolate||fe,d="__p += '",h=wo((e.escape||fe).source+"|"+l.source+"|"+(l===zt?ne:fe).source+"|"+(e.evaluate||fe).source+"|$","g"),p="//# sourceURL="+(Ao.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ye+"]")+"\n";t.replace(h,(function(e,n,r,i,u,s){return r||(r=i),d+=t.slice(f,s).replace(le,j),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+e.length,e})),d+="';\n";var g=Ao.call(e,"variable")&&e.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(Pt,""):d).replace(Nt,"$1").replace(Rt,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=cs((function(){return vo(s,p+"return "+d).apply(W,c)}));if(m.source=d,Ni(m))throw m;return m},n.times=function(t,e){if((t=Wi(t))<1||t>nt)return[];var n=it,r=oa(t,it);e=Ur(e),t-=it;for(var i=A(r,e);++n<t;)e(n);return i},n.toFinite=qi,n.toInteger=Wi,n.toLength=Gi,n.toLower=function(t){return Zi(t).toLowerCase()},n.toNumber=Ki,n.toSafeInteger=function(t){return t?Te(Wi(t),-nt,nt):0===t?t:0},n.toString=Zi,n.toUpper=function(t){return Zi(t).toUpperCase()},n.trim=function(t,e,n){if((t=Zi(t))&&(n||e===W))return t.replace(Kt,"");if(!t||!(e=Vn(e)))return t;var r=V(t),i=V(e);return er(r,P(r,i),N(r,i)+1).join("")},n.trimEnd=function(t,e,n){if((t=Zi(t))&&(n||e===W))return t.replace(Zt,"");if(!t||!(e=Vn(e)))return t;var r=V(t);return er(r,0,N(r,V(e))+1).join("")},n.trimStart=function(t,e,n){if((t=Zi(t))&&(n||e===W))return t.replace(Yt,"");if(!t||!(e=Vn(e)))return t;var r=V(t);return er(r,P(r,V(e))).join("")},n.truncate=function(t,e){var n=30,r="...";if(Li(e)){var i="separator"in e?e.separator:i;n="length"in e?Wi(e.length):n,r="omission"in e?Vn(e.omission):r}var o=(t=Zi(t)).length;if(D(t)){var a=V(t);o=a.length}if(n>=o)return t;var u=n-H(r);if(u<1)return r;var s=a?er(a,0,u).join(""):t.slice(0,u);if(i===W)return s+r;if(a&&(u+=s.length-u),Nu(i)){if(t.slice(u).search(i)){var c,f=s;for(i.global||(i=wo(i.source,Zi(re.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var l=c.index;s=s.slice(0,l===W?u:l)}}else if(t.indexOf(Vn(i),u)!=u){var d=s.lastIndexOf(i);d>-1&&(s=s.slice(0,d))}return s+r},n.unescape=function(t){return(t=Zi(t))&&Lt.test(t)?t.replace(jt,yn):t},n.uniqueId=function(t){var e=++ko;return Zi(t)+e},n.upperCase=us,n.upperFirst=ss,n.each=Oi,n.eachRight=xi,n.first=gi,co(n,function(){var t={};return je(n,(function(e,r){Ao.call(n.prototype,r)||(t[r]=e)})),t}(),{chain:!1}),n.VERSION="4.17.20",u(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){n[t].placeholder=n})),u(["drop","take"],(function(t,e){M.prototype[t]=function(n){n=n===W?1:ia(Wi(n),0);var r=this.__filtered__&&!e?new M(this):this.clone();return r.__filtered__?r.__takeCount__=oa(n,r.__takeCount__):r.__views__.push({size:oa(n,it),type:t+(r.__dir__<0?"Right":"")}),r},M.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),u(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;M.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ur(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),u(["head","last"],(function(t,e){var n="take"+(e?"Right":"");M.prototype[t]=function(){return this[n](1).value()[0]}})),u(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");M.prototype[t]=function(){return this.__filtered__?new M(this):this[n](1)}})),M.prototype.compact=function(){return this.filter(uo)},M.prototype.find=function(t){return this.filter(t).head()},M.prototype.findLast=function(t){return this.reverse().find(t)},M.prototype.invokeMap=Pn((function(t,e){return"function"==typeof t?new M(this):this.map((function(n){return Xe(n,t,e)}))})),M.prototype.reject=function(t){return this.filter(ki(Ur(t)))},M.prototype.slice=function(t,e){t=Wi(t);var n=this;return n.__filtered__&&(t>0||e<0)?new M(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==W&&(n=(e=Wi(e))<0?n.dropRight(-e):n.take(e-t)),n)},M.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},M.prototype.toArray=function(){return this.take(it)},je(M.prototype,(function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],u=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,s=o?[1]:arguments,c=e instanceof M,f=s[0],l=c||Au(e),d=function(t){var e=a.apply(n,p([t],s));return o&&h?e[0]:e};l&&r&&"function"==typeof f&&1!=f.length&&(c=l=!1);var h=this.__chain__,g=!!this.__actions__.length,m=u&&!h,b=c&&!g;if(!u&&l){e=b?e:new M(this);var v=t.apply(e,s);return v.__actions__.push({func:Si,args:[d],thisArg:W}),new i(v,h)}return m&&b?t.apply(this,s):(v=this.thru(d),m?o?v.value()[0]:v.value():v)})})),u(["pop","push","shift","sort","splice","unshift"],(function(t){var e=xo[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(Au(n)?n:[],t)}return this[r]((function(n){return e.apply(Au(n)?n:[],t)}))}})),je(M.prototype,(function(t,e){var r=n[e];if(r){var i=r.name+"";Ao.call(ba,i)||(ba[i]=[]),ba[i].push({name:e,func:r})}})),ba[_r(W,2).name]=[{name:"wrapper",func:W}],M.prototype.clone=function(){var t=new M(this.__wrapped__);return t.__actions__=sr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=sr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=sr(this.__views__),t},M.prototype.reverse=function(){if(this.__filtered__){var t=new M(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},M.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Au(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=oa(e,t+a);break;case"takeRight":t=ia(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,u=o.end,s=u-a,c=r?u:a-1,f=this.__iteratees__,l=f.length,d=0,h=oa(s,this.__takeCount__);if(!n||!r&&i==s&&h==s)return Yn(t,this.__actions__);var p=[];t:for(;s--&&d<h;){for(var g=-1,m=t[c+=e];++g<l;){var b=f[g],v=b.iteratee,y=b.type,_=v(m);if(2==y)m=_;else if(!_){if(1==y)continue t;break t}}p[d++]=m}return p},n.prototype.at=su,n.prototype.chain=function(){return wi(this)},n.prototype.commit=function(){return new i(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===W&&(this.__values__=Vi(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?W:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var i=li(n);i.__index__=0,i.__values__=W,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof M){var e=t;return this.__actions__.length&&(e=new M(this)),(e=e.reverse()).__actions__.push({func:Si,args:[vi],thisArg:W}),new i(e,this.__chain__)}return this.thru(vi)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return Yn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,qo&&(n.prototype[qo]=function(){return this}),n}();rn._=_n,void 0===(i=function(){return _n}.call(e,n,e,r))||(r.exports=i)}).call(this)}).call(this,n(59),n(94)(t))},function(t,e,n){var r=n(727),i=n(728),o=Array.prototype.push;function a(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function u(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function s(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=e.apply(void 0,r);return t.apply(void 0,r),i}}}t.exports=function t(e,n,c,f){var l="function"==typeof n,d=n===Object(n);if(d&&(f=c,c=n,n=void 0),null==c)throw new TypeError;f||(f={});var h=!("cap"in f)||f.cap,p=!("curry"in f)||f.curry,g=!("fixed"in f)||f.fixed,m=!("immutable"in f)||f.immutable,b=!("rearg"in f)||f.rearg,v=l?c:i,y="curry"in f&&f.curry,_="fixed"in f&&f.fixed,w="rearg"in f&&f.rearg,S=l?c.runInContext():void 0,O=l?c:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},x=O.ary,E=O.assign,M=O.clone,T=O.curry,$=O.forEach,A=O.isArray,k=O.isError,C=O.isFunction,I=O.isWeakMap,P=O.keys,N=O.rearg,R=O.toInteger,j=O.toPath,D=P(r.aryMethod),L={castArray:function(t){return function(){var e=arguments[0];return A(e)?t(u(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return h&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:a(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!C(n))return t(n,Object(e));var r=[];return $(P(e),(function(t){C(e[t])&&r.push([t,n.prototype[t]])})),t(n,Object(e)),$(r,(function(t){var e=t[1];C(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]})),n}},nthArg:function(t){return function(e){var n=e<0?1:R(e)+1;return T(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return T(t(e,n),r)}},runInContext:function(n){return function(r){return t(e,n(r),f)}}};function F(t,e){if(h){var n=r.iterateeRearg[t];if(n)return function(t,e){return V(t,(function(t){var n=e.length;return function(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(N(a(t,n),e),n)}))}(e,n);var i=!l&&r.iterateeAry[t];if(i)return function(t,e){return V(t,(function(t){return"function"==typeof t?a(t,e):t}))}(e,i)}return e}function B(t,e,n){if(g&&(_||!r.skipFixed[t])){var i=r.methodSpread[t],a=i&&i.start;return void 0===a?x(e,n):function(t,e){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var a=i[e],u=i.slice(0,e);return a&&o.apply(u,a),e!=r&&o.apply(u,i.slice(e+1)),t.apply(this,u)}}(e,a)}return e}function U(t,e,n){return b&&n>1&&(w||!r.skipRearg[t])?N(e,r.methodRearg[t]||r.aryRearg[n]):e}function z(t,e){for(var n=-1,r=(e=j(e)).length,i=r-1,o=M(Object(t)),a=o;null!=a&&++n<r;){var u=e[n],s=a[u];null==s||C(s)||k(s)||I(s)||(a[u]=M(n==i?s:Object(s))),a=a[u]}return o}function H(e,n){var i=r.aliasToReal[e]||e,o=r.remap[i]||i,a=f;return function(e){var r=l?S:O,u=l?S[o]:n,s=E(E({},a),e);return t(r,i,u,s)}}function V(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var i=b?0:n-1;return r[i]=e(r[i]),t.apply(void 0,r)}}function q(t,e,n){var i,o=r.aliasToReal[t]||t,a=e,c=L[o];return c?a=c(e):m&&(r.mutate.array[o]?a=s(e,u):r.mutate.object[o]?a=s(e,function(t){return function(e){return t({},e)}}(e)):r.mutate.set[o]&&(a=s(e,z))),$(D,(function(t){return $(r.aryMethod[t],(function(e){if(o==e){var n=r.methodSpread[o],u=n&&n.afterRearg;return i=u?B(o,U(o,a,t),t):U(o,B(o,a,t),t),i=function(t,e,n){return y||p&&n>1?T(e,n):e}(0,i=F(o,i),t),!1}})),!i})),i||(i=a),i==e&&(i=y?T(i,1):function(){return e.apply(this,arguments)}),i.convert=H(o,e),i.placeholder=e.placeholder=n,i}if(!d)return q(n,c,v);var W=c,G=[];return $(D,(function(t){$(r.aryMethod[t],(function(t){var e=W[r.remap[t]||t];e&&G.push([t,q(t,e,W)])}))})),$(P(W),(function(t){var e=W[t];if("function"==typeof e){for(var n=G.length;n--;)if(G[n][0]==t)return;e.convert=H(t,e),G.push([t,e])}})),$(G,(function(t){W[t[0]]=t[1]})),W.convert=function(t){return W.runInContext.convert(t)(void 0)},W.placeholder=W,$(P(W),(function(t){$(r.realToAlias[t]||[],(function(e){W[e]=W[t]}))})),W}},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var i in n){var o=n[i];t.call(r,o)?r[o].push(i):r[o]=[i]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e){t.exports={}},function(t,e,n){var r=n(730),i=n(102),o=n(437),a={BTC:n(731),ETH:n(829),ZEC:n(859),LTC:n(860),DASH:n(861),BCH:n(862),XMR:n(952)},u=n(133).isBech32Address;function s(t){var e=i.find(["cryptoCode",t],c());if(!e)throw new Error("Unsupported crypto: ".concat(t));return e}function c(){return o.CRYPTO_CURRENCIES}function f(){return i.filter((function(t){return"erc-20"===t.type}),o.CRYPTO_CURRENCIES)}function l(t,e){var n=t.code;return r.resolve(e,n)}function d(t){var e="coin"===s(t).type?a[t]:a.ETH;if(!e)throw new Error("Unsupported coin: ".concat(t));return e}function h(t,e){var n=d(t);return n.bech32Opts&&u(e,n.bech32Opts)?e.toLowerCase():e}t.exports={buildUrl:function(t,e){return d(t).buildUrl(e)},cryptoDir:l,configPath:function(t,e){return r.resolve(l(t,e),t.configFile)},cryptoCurrencies:c,erc20Tokens:f,getCryptoCurrency:s,getErc20Token:function(t){var e=i.find(["cryptoCode",t],f());if(!e)throw new Error("Unsupported token: ".concat(t));return e},isErc20Token:function(t){return"erc-20"===s(t).type},toUnit:function(t,e){var n=s(e).unitScale;return t.shiftedBy(-n)},formatCryptoAddress:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"BCH"===t?e.replace("bitcoincash:",""):e},depositUrl:function(t,e,n){return e?d(t).depositUrl(e,n):null},parseUrl:function(t,e,n){return h(t,d(t).parseUrl(e,n))},formatAddress:function(t,e){if(!e)return null;var n=d(t);return n.formatAddress?n.formatAddress(e):e},formatAddressCasing:h,createWallet:function(t){var e=d(t);if(!e.createWallet)throw new Error("".concat(t," paper wallet printing is not supported"));return e.createWallet()}}},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),u=a,s=0;s<a;s++)if(i[s]!==o[s]){u=s;break}var c=[];for(s=u;s<i.length;s++)c.push("..");return(c=c.concat(o.slice(u))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(47!==u)-1===r&&(i=!1,r=a+1),46===u?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(70))},function(t,e,n){var r=n(102),i=n(438),o=n(133).base58Validator,a=n(133).bech32Validator,u=n(133).bech32mValidator,s={bufferLength:21,mainNetPrefix:[[0],[5]],testNetPrefix:[[111],[196]]},c={mainNetPrefix:"bc",testNetPrefix:"tb"};t.exports={depositUrl:function(t,e){var n=r.split(":",t);return"strike"===n[0]?r.nth(3,n):2===r.size(n)?r.nth(1,n):"bitcoin:".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){var n=/^(bitcoin:)?(\w+)/i.exec(e),r=n&&n[2];if(console.log("DEBUG16: [%s] *%s*",t,r),!function(t,e){if(!t)throw new Error("No network supplied.");if(!e)throw new Error("No address supplied.");return!!u(t,e,c)||(!!o(t,e,s)||!!a(t,e,c))}(t,r))throw new Error("Invalid address");return r},buildUrl:function(t){return"bitcoin:".concat(t)},formatAddress:function(t){var e=r.split(":",t);return r.size(e)>=2?"Lightning Network":t},base58Opts:s,bech32Opts:c,createWallet:function(){var t=i.ECPair.makeRandom();return{publicAddress:i.payments.p2wpkh({pubkey:t.publicKey}).address,privateKey:t.toWIF()}}}},function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),a=r[0],u=r[1],s=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,u)),f=0,l=u>0?a-4:a;for(n=0;n<l;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],s[f++]=e>>16&255,s[f++]=e>>8&255,s[f++]=255&e;2===u&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,s[f++]=255&e);1===u&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,s[f++]=e>>8&255,s[f++]=255&e);return s},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=16383,u=0,s=n-i;u<s;u+=a)o.push(f(t,u,u+a>s?s:u+a));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],i[a.charCodeAt(u)]=u;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function f(t,e,n){for(var i,o,a=[],u=e;u<n;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,i){var o,a,u=8*i-r-1,s=(1<<u)-1,c=s>>1,f=-7,l=n?i-1:0,d=n?-1:1,h=t[e+l];for(l+=d,o=h&(1<<-f)-1,h>>=-f,f+=u;f>0;o=256*o+t[e+l],l+=d,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=r;f>0;a=256*a+t[e+l],l+=d,f-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,u,s,c=8*o-i-1,f=(1<<c)-1,l=f>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?d/s:d*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(e*s-1)*Math.pow(2,i),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&u,h+=p,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[n+h]=255&a,h+=p,a/=256,c-=8);t[n+h-p]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},,function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin"]],"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/tiny-secp256k1"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},,,function(t,e,n){"use strict";var r=n(113),i=n(149),o=n(37),a=n(262),u=r.assert;function s(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(s,a),t.exports=s,s.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],u(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},s.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},s.prototype._getEndoBasis=function(t){for(var e,n,r,o,a,u,s,c,f,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,h=this.n.clone(),p=new i(1),g=new i(0),m=new i(0),b=new i(1),v=0;0!==d.cmpn(0);){var y=h.div(d);c=h.sub(y.mul(d)),f=m.sub(y.mul(p));var _=b.sub(y.mul(g));if(!r&&c.cmp(l)<0)e=s.neg(),n=p,r=c.neg(),o=f;else if(r&&2===++v)break;s=c,h=d,d=c,m=p,p=f,b=g,g=_}a=c.neg(),u=f;var w=r.sqr().add(o.sqr());return a.sqr().add(u.sqr()).cmp(w)>=0&&(a=e,u=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),u=u.neg()),[{a:r,b:o},{a:a,b:u}]},s.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),u=o.mul(r.a),s=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(u),k2:s.add(c).neg()}},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},s.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},s.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),u=t[o],s=u._getBeta();a.k1.negative&&(a.k1.ineg(),u=u.neg(!0)),a.k2.negative&&(a.k2.ineg(),s=s.neg(!0)),r[2*o]=u,r[2*o+1]=s,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),f=0;f<2*o;f++)r[f]=null,i[f]=null;return c},o(c,a.BasePoint),s.prototype.point=function(t,e,n){return new c(this,t,e,n)},s.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"===typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(f,a.BasePoint),s.prototype.jpoint=function(t,e,n){return new f(this,t,e,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),u=r.redSub(i),s=o.redSub(a);if(0===u.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=u.redSqr(),f=c.redMul(u),l=r.redMul(c),d=s.redSqr().redIAdd(f).redISub(l).redISub(l),h=s.redMul(l.redISub(d)).redISub(o.redMul(f)),p=this.z.redMul(t.z).redMul(u);return this.curve.jpoint(d,h,p)},f.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),u=i.redSub(o);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=a.redSqr(),c=s.redMul(a),f=n.redMul(s),l=u.redSqr().redIAdd(c).redISub(f).redISub(f),d=u.redMul(f.redISub(l)).redISub(i.redMul(c)),h=this.z.redMul(a);return this.curve.jpoint(l,d,h)},f.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,u=this.z,s=u.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var f=o.redSqr(),l=c.redSqr(),d=l.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(r.redMul(s)),p=o.redMul(l),g=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(g),b=h.redMul(m);b=b.redIAdd(b).redISub(d);var v=c.redMul(u);e+1<t&&(s=s.redMul(d)),o=g,u=v,c=b}return this.curve.jpoint(o,c.redMul(i),u)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r),s=u.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=s,e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),h=this.x.redAdd(l).redSqr().redISub(f).redISub(d);h=h.redIAdd(h);var p=f.redAdd(f).redIAdd(f),g=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),t=g.redISub(h).redISub(h),e=p.redMul(h.redISub(t)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},f.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),s=u.redSqr().redISub(a).redISub(a);t=s;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),h=this.x.redSub(f).redMul(this.x.redAdd(f));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),g=(p=p.redIAdd(p)).redAdd(p);t=h.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(l).redISub(f);var m=l.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),e=h.redMul(p.redISub(t)).redISub(m)}return this.curve.jpoint(t,e,n)},f.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),a=n.redSqr(),u=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),s=e.redAdd(e),c=(s=s.redIAdd(s)).redMul(a),f=u.redSqr().redISub(c.redAdd(c)),l=c.redISub(f),d=a.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=u.redMul(l).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(f,h,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(r),u=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),s=r.redIAdd(r);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var c=i.redIAdd(a).redSqr().redISub(o).redISub(u).redISub(s),f=e.redMul(c);f=(f=f.redIAdd(f)).redIAdd(f);var l=this.x.redMul(u).redISub(f);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.y.redMul(c.redMul(s.redISub(c)).redISub(a.redMul(u)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(a).redSqr().redISub(n).redISub(u);return this.curve.jpoint(l,d,h)},f.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},f.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},f.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,n){"use strict";var r=n(149),i=n(37),o=n(262),a=n(113);function u(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(u,o),t.exports=u,u.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(s,o.BasePoint),u.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},u.prototype.point=function(t,e){return new s(this,t,e)},u.prototype.pointFromJSON=function(t){return s.fromJSON(this,t)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(t,e){return new s(t,e[0],e[1]||t.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),a=i.redMul(r),u=e.z.redMul(o.redAdd(a).redSqr()),s=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(u,s)},s.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,n){"use strict";var r=n(113),i=n(149),o=n(37),a=n(262),u=r.assert;function s(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function c(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(s,a),t.exports=s,s.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},s.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},s.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var s=u.fromRed().isOdd();return(e&&!s||!e&&s)&&(u=u.redNeg()),this.point(t,u)},s.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return u.fromRed().isOdd()!==e&&(u=u.redNeg()),this.point(u,t)},s.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,a.BasePoint),s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},s.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),u=r.redSub(e),s=i.redMul(a),c=o.redMul(u),f=i.redMul(u),l=a.redMul(o);return this.curve.point(s,c,l,f)},c.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),u=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(u)).redAdd(s);this.zOne?(t=a.redSub(u).redSub(s).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(s)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(u).redISub(s).redMul(o),e=c.redMul(r.redSub(s)),n=c.redMul(o))}else r=u.redAdd(s),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(u.redISub(s)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),u=i.redAdd(r),s=n.redAdd(e),c=o.redMul(a),f=u.redMul(s),l=o.redMul(s),d=a.redMul(u);return this.curve.point(c,f,d,l)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),u=this.curve.d.redMul(o).redMul(a),s=i.redSub(u),c=i.redAdd(u),f=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),l=r.redMul(s).redMul(f);return this.curve.twisted?(e=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=s.redMul(c)):(e=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(s).redMul(c)),this.curve.point(l,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(t,e,n){"use strict";e.sha1=n(743),e.sha224=n(744),e.sha256=n(442),e.sha384=n(745),e.sha512=n(443)},function(t,e,n){"use strict";var r=n(131),i=n(235),o=n(441),a=r.rotl32,u=r.sum32,s=r.sum32_5,c=o.ft_1,f=i.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,f),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],f=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),g=s(a(i,5),c(p,o,f,d),h,n[r],l[p]);h=d,d=f,f=a(o,30),o=i,i=g}this.h[0]=u(this.h[0],i),this.h[1]=u(this.h[1],o),this.h[2]=u(this.h[2],f),this.h[3]=u(this.h[3],d),this.h[4]=u(this.h[4],h)},d.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(t,e,n){"use strict";var r=n(131),i=n(442);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},function(t,e,n){"use strict";var r=n(131),i=n(443);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},function(t,e,n){"use strict";var r=n(131),i=n(235),o=r.rotl32,a=r.sum32,u=r.sum32_3,s=r.sum32_4,c=i.BlockHash;function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function l(t,e,n,r){return t<=15?e^n^r:t<=31?e&n|~e&r:t<=47?(e|~n)^r:t<=63?e&r|n&~r:e^(n|~r)}function d(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function h(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}r.inherits(f,c),e.ripemd160=f,f.blockSize=512,f.outSize=160,f.hmacStrength=192,f.padLength=64,f.prototype._update=function(t,e){for(var n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],f=this.h[4],v=n,y=r,_=i,w=c,S=f,O=0;O<80;O++){var x=a(o(s(n,l(O,r,i,c),t[p[O]+e],d(O)),m[O]),f);n=f,f=c,c=o(i,10),i=r,r=x,x=a(o(s(v,l(79-O,y,_,w),t[g[O]+e],h(O)),b[O]),S),v=S,S=w,w=o(_,10),_=y,y=x}x=u(this.h[1],i,w),this.h[1]=u(this.h[2],c,S),this.h[2]=u(this.h[3],f,v),this.h[3]=u(this.h[4],n,y),this.h[4]=u(this.h[0],r,_),this.h[0]=x},f.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],g=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(t,e,n){"use strict";var r=n(131),i=n(95);function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,n){"use strict";var r=n(149),i=n(354),o=n(113),a=n(353),u=n(180),s=o.assert,c=n(750),f=n(751);function l(t){if(!(this instanceof l))return new l(t);"string"===typeof t&&(s(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=l,l.prototype.keyPair=function(t){return new c(this,t)},l.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},l.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},l.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||u(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},l.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},l.prototype.sign=function(t,e,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),u=e.getPrivate().toArray("be",a),s=t.toArray("be",a),c=new i({hash:this.hash,entropy:u,nonce:s,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new r(1)),d=0;;d++){var h=o.k?o.k(d):new r(c.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(l)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var b=h.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(b=b.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return o.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),v^=1),new f({r:m,s:b,recoveryParam:v})}}}}}},l.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var u,s=a.invm(this.n),c=s.mul(t).umod(this.n),l=s.mul(o).umod(this.n);return this.curve._maxwellTrick?!(u=this.g.jmulAdd(c,n.getPublic(),l)).isInfinity()&&u.eqXToP(o):!(u=this.g.mulAdd(c,n.getPublic(),l)).isInfinity()&&0===u.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(t,e,n,i){s((3&n)===n,"The recovery param is more than two bits"),e=new f(e,i);var o=this.n,a=new r(t),u=e.r,c=e.s,l=1&n,d=n>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");u=d?this.curve.pointFromX(u.add(this.curve.n),l):this.curve.pointFromX(u,l);var h=e.r.invm(o),p=o.sub(a).mul(h).umod(o),g=c.mul(h).umod(o);return this.g.mulAdd(p,u,g)},l.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new f(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,n){"use strict";var r=n(149),i=n(113).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,n){"use strict";var r=n(149),i=n(113),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function u(){this.place=0}function s(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o<r;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function f(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new u;if(48!==t[n.place++])return!1;var o=s(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=s(t,n);if(!1===a)return!1;var c=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var f=s(t,n);if(!1===f)return!1;if(t.length!==f+n.place)return!1;var l=t.slice(n.place,f+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new r(c),this.s=new r(l),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];f(r,e.length),(r=r.concat(e)).push(2),f(r,n.length);var o=r.concat(n),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,n){"use strict";var r=n(181),i=n(353),o=n(113),a=o.assert,u=o.parseBytes,s=n(753),c=n(754);function f(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof f))return new f(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=f,f.prototype.sign=function(t,e){t=u(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),s=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},f.prototype.verify=function(t,e,n){t=u(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},f.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(t){return s.fromPublic(this,t)},f.prototype.keyFromSecret=function(t){return s.fromSecret(this,t)},f.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},f.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},f.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!==(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},f.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(t){return o.intFromLE(t)},f.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,n){"use strict";var r=n(113),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function u(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}u.fromPublic=function(t,e){return e instanceof u?e:new u(t,{pub:e})},u.fromSecret=function(t,e){return e instanceof u?e:new u(t,{secret:e})},u.prototype.secret=function(){return this._secret},a(u,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(u,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(u,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(u,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(u,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(u,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),u.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},u.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},u.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},u.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=u},function(t,e,n){"use strict";var r=n(149),i=n(113),o=i.assert,a=i.cachedProperty,u=i.parseBytes;function s(t,e){this.eddsa=t,"object"!==typeof e&&(e=u(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(s,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(s,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(s,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(s,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s},function(t,e,n){(function(e){var r=n(263),i=e.alloc(1,1),o=e.alloc(1,0);t.exports=function(t,n,a,u,s){var c=e.alloc(32,0),f=e.alloc(32,1);c=r("sha256",c).update(f).update(o).update(n).update(t).update(s||"").digest(),f=r("sha256",c).update(f).digest(),c=r("sha256",c).update(f).update(i).update(n).update(t).update(s||"").digest(),f=r("sha256",c).update(f).digest();for(var l=f=r("sha256",c).update(f).digest();!u(l)||!a(l);)c=r("sha256",c).update(f).update(o).digest(),f=r("sha256",c).update(f).digest(),l=f=r("sha256",c).update(f).digest();return l}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(37),i=n(36).Buffer,o=n(156),a=i.alloc(128),u=64;function s(t,e){o.call(this,"digest"),"string"===typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>u?e=t(e):e.length<u&&(e=i.concat([e,a],u));for(var n=this._ipad=i.allocUnsafe(u),r=this._opad=i.allocUnsafe(u),s=0;s<u;s++)n[s]=54^e[s],r[s]=92^e[s];this._hash=[n]}r(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=s},function(t,e,n){t.exports=i;var r=n(236).EventEmitter;function i(){r.call(this)}n(37)(i,r),i.Readable=n(355),i.Writable=n(764),i.Duplex=n(765),i.Transform=n(766),i.PassThrough=n(767),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",u),n.on("close",s));var a=!1;function u(){a||(a=!0,t.end())}function s(){a||(a=!0,"function"===typeof t.destroy&&t.destroy())}function c(t){if(f(),0===r.listenerCount(this,"error"))throw t}function f(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",u),n.removeListener("close",s),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",f),n.removeListener("close",f),t.removeListener("close",f)}return n.on("error",c),t.on("error",c),n.on("end",f),n.on("close",f),t.on("close",f),t.emit("pipe",n),t}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},,function(t,e,n){"use strict";var r=n(356).Buffer,i=n(761);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var e,n,i,o=r.allocUnsafe(t>>>0),a=this.head,u=0;a;)e=a.data,n=o,i=u,e.copy(n,i),u+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i=1,o={},a=!1,u=t.document,s=Object.getPrototypeOf&&Object.getPrototypeOf(t);s=s&&s.setTimeout?s:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){f(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"===typeof n.data&&0===n.data.indexOf(e)&&f(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),r=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){f(t.data)},r=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;r=function(e){var n=u.createElement("script");n.onreadystatechange=function(){f(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():r=function(t){setTimeout(f,0,t)},s.setImmediate=function(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var a={callback:t,args:e};return o[i]=a,r(i),i++},s.clearImmediate=c}function c(t){delete o[t]}function f(t){if(a)setTimeout(f,0,t);else{var e=o[t];if(e){a=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{c(t),a=!1}}}}}("undefined"===typeof self?"undefined"===typeof t?this:t:self)}).call(this,n(59),n(70))},function(t,e,n){"use strict";t.exports=o;var r=n(449),i=Object.create(n(237));function o(t){if(!(this instanceof o))return new o(t);r.call(this,t)}i.inherits=n(37),i.inherits(o,r),o.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){t.exports=n(357)},function(t,e,n){t.exports=n(182)},function(t,e,n){t.exports=n(355).Transform},function(t,e,n){t.exports=n(355).PassThrough},,function(t,e,n){"use strict";function r(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,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=n(29).Buffer,u=n(770).inspect,s=u&&u.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n,c;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,n,r,i=a.allocUnsafe(t>>>0),o=this.head,u=0;o;)e=o.data,n=i,r=u,a.prototype.copy.call(e,n,r),u+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0===(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:s,value:function(t,e){return u(this,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,n),c&&o(e,c),t}()},,function(t,e,n){"use strict";(function(e){var r;function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(359),a=Symbol("lastResolve"),u=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),l=Symbol("handlePromise"),d=Symbol("stream");function h(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[d].read();null!==n&&(t[f]=null,t[a]=null,t[u]=null,e(h(n,!1)))}}function g(t){e.nextTick(p,t)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var t=this,n=this[s];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise((function(n,r){e.nextTick((function(){t[s]?r(t[s]):n(h(void 0,!0))}))}));var r,i=this[f];if(i)r=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(h(void 0,!0)):e[l](n,r)}),r)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[l])}return this[f]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[d].destroy(null,(function(t){t?n(t):e(h(void 0,!0))}))}))})),r),m);t.exports=function(t){var e,n=Object.create(b,(i(e={},d,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,u,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,l,{value:function(t,e){var r=n[d].read();r?(n[f]=null,n[a]=null,n[u]=null,t(h(r,!1))):(n[a]=t,n[u]=e)},writable:!0}),e));return n[f]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[u];return null!==e&&(n[f]=null,n[a]=null,n[u]=null,e(t)),void(n[s]=t)}var r=n[a];null!==r&&(n[f]=null,n[a]=null,n[u]=null,r(h(void 0,!0))),n[c]=!0})),t.on("readable",g.bind(null,n)),n}}).call(this,n(70))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,n){"use strict";t.exports=i;var r=n(457);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(37)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){"use strict";var r;var i=n(199).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function u(t){if(t)throw t}function s(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var u=!1;t.on("close",(function(){u=!0})),void 0===r&&(r=n(359)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);u=!0,o()}));var s=!1;return function(e){if(!u&&!s)return s=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function c(t){t()}function f(t,e){return t.pipe(e)}function l(t){return t.length?"function"!==typeof t[t.length-1]?u:t.pop():u}t.exports=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,i=l(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,n){var o=n<e.length-1;return s(t,o,n>0,(function(t){r||(r=t),t&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return e.reduce(f)}},function(t,e,n){var r=n(37),i=n(201),o=n(36).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],u=new Array(80);function s(){this.init(),this._w=u,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function f(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,u=0|this._d,s=0|this._e,l=0;l<16;++l)n[l]=t.readInt32BE(4*l);for(;l<80;++l)n[l]=n[l-3]^n[l-8]^n[l-14]^n[l-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((e=r)<<5|e>>>27)+f(h,i,o,u)+s+n[d]+a[h];s=u,u=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=u+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=s},function(t,e,n){var r=n(37),i=n(201),o=n(36).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],u=new Array(80);function s(){this.init(),this._w=u,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function f(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,u=0|this._d,s=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var h=0;h<80;++h){var p=~~(h/20),g=c(r)+l(p,i,o,u)+s+n[h]+a[p]|0;s=u,u=o,o=f(i),i=r,r=g}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=u+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=s},function(t,e,n){var r=n(37),i=n(458),o=n(201),a=n(36).Buffer,u=new Array(64);function s(){this.init(),this._w=u,o.call(this,64,56)}r(s,i),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=s},function(t,e,n){var r=n(37),i=n(459),o=n(201),a=n(36).Buffer,u=new Array(160);function s(){this.init(),this._w=u,o.call(this,128,112)}r(s,i),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=s},function(t,e,n){var r=n(67);function i(t){return t<r.OP_PUSHDATA1?1:t<=255?2:t<=65535?3:5}t.exports={encodingLength:i,encode:function(t,e,n){var o=i(e);return 1===o?t.writeUInt8(e,n):2===o?(t.writeUInt8(r.OP_PUSHDATA1,n),t.writeUInt8(e,n+1)):3===o?(t.writeUInt8(r.OP_PUSHDATA2,n),t.writeUInt16LE(e,n+1)):(t.writeUInt8(r.OP_PUSHDATA4,n),t.writeUInt32LE(e,n+1)),o},decode:function(t,e){var n,i,o=t.readUInt8(e);if(o<r.OP_PUSHDATA1)n=o,i=1;else if(o===r.OP_PUSHDATA1){if(e+2>t.length)return null;n=t.readUInt8(e+1),i=2}else if(o===r.OP_PUSHDATA2){if(e+3>t.length)return null;n=t.readUInt16LE(e+1),i=3}else{if(e+5>t.length)return null;if(o!==r.OP_PUSHDATA4)throw new Error("Unexpected opcode");n=t.readUInt32LE(e+1),i=5}return{opcode:o,number:n,size:i}}}},function(t,e,n){(function(e){var r=n(362),i=n(460);function o(t){return e.isBuffer(t)}function a(t){return"string"===typeof t&&/^([0-9a-f]{2})+$/i.test(t)}function u(t,e){var n=t.toJSON();function r(r){if(!t(r))return!1;if(r.length===e)return!0;throw i.tfCustomError(n+"(Length: "+e+")",n+"(Length: "+r.length+")")}return r.toJSON=function(){return n},r}var s=u.bind(null,r.Array),c=u.bind(null,o),f=u.bind(null,a),l=u.bind(null,r.String);var d=Math.pow(2,53)-1;var h={ArrayN:s,Buffer:o,BufferN:c,Finite:function(t){return"number"===typeof t&&isFinite(t)},Hex:a,HexN:f,Int8:function(t){return t<<24>>24===t},Int16:function(t){return t<<16>>16===t},Int32:function(t){return(0|t)===t},Int53:function(t){return"number"===typeof t&&t>=-d&&t<=d&&Math.floor(t)===t},Range:function(t,e,n){function i(r,i){return n(r,i)&&r>t&&r<e}return n=n||r.Number,i.toJSON=function(){return"".concat(n.toJSON()," between [").concat(t,", ").concat(e,"]")},i},StringN:l,UInt8:function(t){return(255&t)===t},UInt16:function(t){return(65535&t)===t},UInt32:function(t){return t>>>0===t},UInt53:function(t){return"number"===typeof t&&t>=0&&t<=d&&Math.floor(t)===t}};for(var p in h)h[p].toJSON=function(t){return t}.bind(null,p);t.exports=h}).call(this,n(29).Buffer)},function(t,e,n){var r=n(67),i={};for(var o in r){i[r[o]]=o}t.exports=i},function(t,e,n){var r=n(439),i=n(36).Buffer,o=n(78),a=n(132),u=i.alloc(1,0);function s(t){for(var e=0;0===t[e];)++e;return e===t.length?u:128&(t=t.slice(e))[0]?i.concat([u,t],1+t.length):t}function c(t){0===t[0]&&(t=t.slice(1));var e=i.alloc(32,0),n=Math.max(0,32-t.length);return t.copy(e,n),e}t.exports={decode:function(t){var e=t.readUInt8(t.length-1),n=-129&e;if(n<=0||n>=4)throw new Error("Invalid hashType "+e);var o=r.decode(t.slice(0,-1)),a=c(o.r),u=c(o.s);return{signature:i.concat([a,u],64),hashType:e}},encode:function(t,e){o({signature:a.BufferN(64),hashType:a.UInt8},{signature:t,hashType:e});var n=-129&e;if(n<=0||n>=4)throw new Error("Invalid hashType "+e);var u=i.allocUnsafe(1);u.writeUInt8(e,0);var c=s(t.slice(0,32)),f=s(t.slice(32,64));return i.concat([r.encode(c,f),u])}}},function(t,e,n){var r=n(36).Buffer,i=n(157),o=n(784),a=n(78),u=n(132),s=n(462),c=n(363);function f(){this.version=1,this.prevHash=null,this.merkleRoot=null,this.timestamp=0,this.bits=0,this.nonce=0}f.fromBuffer=function(t){if(t.length<80)throw new Error("Buffer too small (< 80 bytes)");var e=0;function n(n){return e+=n,t.slice(e-n,e)}function r(){var n=t.readUInt32LE(e);return e+=4,n}var i=new f;if(i.version=function(){var n=t.readInt32LE(e);return e+=4,n}(),i.prevHash=n(32),i.merkleRoot=n(32),i.timestamp=r(),i.bits=r(),i.nonce=r(),80===t.length)return i;function o(){var n=c.fromBuffer(t.slice(e),!0);return e+=n.byteLength(),n}var a=function(){var n=s.decode(t,e);return e+=s.decode.bytes,n}();i.transactions=[];for(var u=0;u<a;++u){var l=o();i.transactions.push(l)}return i},f.prototype.byteLength=function(t){return t||!this.transactions?80:80+s.encodingLength(this.transactions.length)+this.transactions.reduce((function(t,e){return t+e.byteLength()}),0)},f.fromHex=function(t){return f.fromBuffer(r.from(t,"hex"))},f.prototype.getHash=function(){return i.hash256(this.toBuffer(!0))},f.prototype.getId=function(){return this.getHash().reverse().toString("hex")},f.prototype.getUTCDate=function(){var t=new Date(0);return t.setUTCSeconds(this.timestamp),t},f.prototype.toBuffer=function(t){var e,n=r.allocUnsafe(this.byteLength(t)),i=0;function o(t){t.copy(n,i),i+=t.length}function a(t){n.writeUInt32LE(t,i),i+=4}return e=this.version,n.writeInt32LE(e,i),i+=4,o(this.prevHash),o(this.merkleRoot),a(this.timestamp),a(this.bits),a(this.nonce),t||!this.transactions||(s.encode(this.transactions.length,n,i),i+=s.encode.bytes,this.transactions.forEach((function(t){var e=t.byteLength();t.toBuffer(n,i),i+=e}))),n},f.prototype.toHex=function(t){return this.toBuffer(t).toString("hex")},f.calculateTarget=function(t){var e=((4278190080&t)>>24)-3,n=8388607&t,i=r.alloc(32,0);return i.writeUIntBE(n,29-e,3),i},f.calculateMerkleRoot=function(t){if(a([{getHash:u.Function}],t),0===t.length)throw TypeError("Cannot compute merkle root for zero transactions");var e=t.map((function(t){return t.getHash()}));return o(e,i.hash256)},f.prototype.checkMerkleRoot=function(){if(!this.transactions)return!1;var t=f.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(t)},f.prototype.checkProofOfWork=function(){var t=this.getHash().reverse(),e=f.calculateTarget(this.bits);return t.compare(e)<=0},t.exports=f},function(t,e,n){(function(e){t.exports=function(t,n){if(!Array.isArray(t))throw TypeError("Expected values Array");if("function"!==typeof n)throw TypeError("Expected digest Function");for(var r=t.length,i=t.concat();r>1;){for(var o=0,a=0;a<r;a+=2,++o){var u=i[a],s=a+1===r?u:i[a+1],c=e.concat([u,s]);i[o]=n(c)}r=o}return i[0]}}).call(this,n(29).Buffer)},function(t,e){function n(t,e){if("number"!==typeof t)throw new Error("cannot write a non-number as a number");if(t<0)throw new Error("specified a negative value for writing an unsigned value");if(t>e)throw new Error("RangeError: value out of range");if(Math.floor(t)!==t)throw new Error("value has a fractional component")}t.exports={readUInt64LE:function(t,e){var r=t.readUInt32LE(e),i=t.readUInt32LE(e+4);return n((i*=4294967296)+r,9007199254740991),i+r},writeUInt64LE:function(t,e,r){return n(e,9007199254740991),t.writeInt32LE(-1&e,r),t.writeUInt32LE(Math.floor(e/4294967296),r+4),r+8}}},function(t,e,n){"use strict";var r=n(364),i=n(36).Buffer;t.exports=function(t){function e(e){var n=e.slice(0,-4),r=e.slice(-4),i=t(n);if(!(r[0]^i[0]|r[1]^i[1]|r[2]^i[2]|r[3]^i[3]))return n}return{encode:function(e){var n=t(e);return r.encode(i.concat([e,n],e.length+4))},decode:function(t){var n=e(r.decode(t));if(!n)throw new Error("Invalid checksum");return n},decodeUnsafe:function(t){var n=r.decodeUnsafe(t);if(n)return e(n)}}}},function(t,e,n){var r=n(36).Buffer,i=n(466),o=n(157),a=n(60),u=n(123),s=n(67),c=n(366),f=n(78),l=n(132),d=n(795),h=d.types,p=n(463),g=n(363);function m(t,e,n,r){if(0===t.length&&0===e.length)return{};if(!n){var i=d.input(t,!0),o=d.witness(e,!0);i===h.NONSTANDARD&&(i=void 0),o===h.NONSTANDARD&&(o=void 0),n=i||o}switch(n){case h.P2WPKH:var u=c.p2wpkh({witness:e}),s=u.output,f=u.pubkey,l=u.signature;return{prevOutScript:s,prevOutType:h.P2WPKH,pubkeys:[f],signatures:[l]};case h.P2PKH:var p=c.p2pkh({input:t}),g=p.output,b=p.pubkey,v=p.signature;return{prevOutScript:g,prevOutType:h.P2PKH,pubkeys:[b],signatures:[v]};case h.P2PK:var y=c.p2pk({input:t}).signature;return{prevOutType:h.P2PK,pubkeys:[void 0],signatures:[y]};case h.P2MS:var _=c.p2ms({input:t,output:r},{allowIncomplete:!0}),w=_.m,S=_.pubkeys,O=_.signatures;return{prevOutType:h.P2MS,pubkeys:S,signatures:O,maxSignatures:w}}if(n===h.P2SH){var x=c.p2sh({input:t,witness:e}),E=x.output,M=x.redeem,T=d.output(M.output),$=m(M.input,M.witness,T,M.output);return $.prevOutType?{prevOutScript:E,prevOutType:h.P2SH,redeemScript:M.output,redeemScriptType:$.prevOutType,witnessScript:$.witnessScript,witnessScriptType:$.witnessScriptType,pubkeys:$.pubkeys,signatures:$.signatures}:{}}if(n===h.P2WSH){var A,k=c.p2wsh({input:t,witness:e}),C=k.output,I=k.redeem,P=d.output(I.output);return(A=P===h.P2WPKH?m(I.input,I.witness,P):m(a.compile(I.witness),[],P,I.output)).prevOutType?{prevOutScript:C,prevOutType:h.P2WSH,witnessScript:I.output,witnessScriptType:A.prevOutType,pubkeys:A.pubkeys,signatures:A.signatures}:{}}return{prevOutType:h.NONSTANDARD,prevOutScript:t}}function b(t,e){f(l.Buffer,t);var n=d.output(t);switch(n){case h.P2PKH:if(!e)return{type:n};var r=c.p2pkh({output:t}).hash,i=o.hash160(e);return r.equals(i)?{type:n,pubkeys:[e],signatures:[void 0]}:{type:n};case h.P2WPKH:if(!e)return{type:n};var a=c.p2wpkh({output:t}).hash,u=o.hash160(e);return a.equals(u)?{type:n,pubkeys:[e],signatures:[void 0]}:{type:n};case h.P2PK:return{type:n,pubkeys:[c.p2pk({output:t}).pubkey],signatures:[void 0]};case h.P2MS:var s=c.p2ms({output:t});return{type:n,pubkeys:s.pubkeys,signatures:s.pubkeys.map((function(){})),maxSignatures:s.m}}return{type:n}}function v(t,e,n){var r=e.pubkeys||[],i=e.signatures||[];switch(t){case h.P2PKH:if(0===r.length)break;if(0===i.length)break;return c.p2pkh({pubkey:r[0],signature:i[0]});case h.P2WPKH:if(0===r.length)break;if(0===i.length)break;return c.p2wpkh({pubkey:r[0],signature:i[0]});case h.P2PK:if(0===r.length)break;if(0===i.length)break;return c.p2pk({signature:i[0]});case h.P2MS:var o=e.maxSignatures;i=n?i.map((function(t){return t||s.OP_0})):i.filter((function(t){return t}));var a=!n||o===i.length;return c.p2ms({m:o,pubkeys:r,signatures:i},{allowIncomplete:n,validate:a});case h.P2SH:var u=v(e.redeemScriptType,e,n);if(!u)return;return c.p2sh({redeem:{output:u.output||e.redeemScript,input:u.input,witness:u.witness}});case h.P2WSH:var f=v(e.witnessScriptType,e,n);if(!f)return;return c.p2wsh({redeem:{output:e.witnessScript,input:f.input,witness:f.witness}})}}function y(t,e){this.__prevTxSet={},this.network=t||u.bitcoin,this.maximumFeeRate=e||2500,this.__inputs=[],this.__tx=new g,this.__tx.version=2}function _(t){return void 0!==t.signScript&&void 0!==t.signType&&void 0!==t.pubkeys&&void 0!==t.signatures&&t.signatures.length===t.pubkeys.length&&t.pubkeys.length>0&&(!1===t.hasWitness||void 0!==t.value)}function w(t){return t.readUInt8(t.length-1)}y.prototype.setLockTime=function(t){if(f(l.UInt32,t),this.__inputs.some((function(t){return!!t.signatures&&t.signatures.some((function(t){return t}))})))throw new Error("No, this would invalidate signatures");this.__tx.locktime=t},y.prototype.setVersion=function(t){f(l.UInt32,t),this.__tx.version=t},y.fromTransaction=function(t,e){var n=new y(e);return n.setVersion(t.version),n.setLockTime(t.locktime),t.outs.forEach((function(t){n.addOutput(t.script,t.value)})),t.ins.forEach((function(t){n.__addInputUnsafe(t.hash,t.index,{sequence:t.sequence,script:t.script,witness:t.witness})})),n.__inputs.forEach((function(e,n){!function(t,e,n){if(t.redeemScriptType===h.P2MS&&t.redeemScript&&t.pubkeys.length!==t.signatures.length){var r=t.signatures.concat();t.signatures=t.pubkeys.map((function(i){var o,u=p.fromPublicKey(i);return r.some((function(i,s){if(!i)return!1;var c=a.signature.decode(i),f=e.hashForSignature(n,t.redeemScript,c.hashType);return!!u.verify(f,c.signature)&&(r[s]=void 0,o=i,!0)})),o}))}}(e,t,n)})),n},y.prototype.addInput=function(t,e,n,i){if(!this.__canModifyInputs())throw new Error("No, this would invalidate signatures");var o;if("string"===typeof t)t=r.from(t,"hex").reverse();else if(t instanceof g){var a=t.outs[e];i=a.script,o=a.value,t=t.getHash()}return this.__addInputUnsafe(t,e,{sequence:n,prevOutScript:i,value:o})},y.prototype.__addInputUnsafe=function(t,e,n){if(g.isCoinbaseHash(t))throw new Error("coinbase inputs not supported");var r=t.toString("hex")+":"+e;if(void 0!==this.__prevTxSet[r])throw new Error("Duplicate TxOut: "+r);var i={};if(void 0!==n.script&&(i=m(n.script,n.witness||[])),void 0!==n.value&&(i.value=n.value),!i.prevOutScript&&n.prevOutScript){var o;if(!i.pubkeys&&!i.signatures){var a=b(n.prevOutScript);a.pubkeys&&(i.pubkeys=a.pubkeys,i.signatures=a.signatures),o=a.type}i.prevOutScript=n.prevOutScript,i.prevOutType=o||d.output(n.prevOutScript)}var u=this.__tx.addInput(t,e,n.sequence,n.scriptSig);return this.__inputs[u]=i,this.__prevTxSet[r]=!0,u},y.prototype.addOutput=function(t,e){if(!this.__canModifyOutputs())throw new Error("No, this would invalidate signatures");return"string"===typeof t&&(t=i.toOutputScript(t,this.network)),this.__tx.addOutput(t,e)},y.prototype.build=function(){return this.__build(!1)},y.prototype.buildIncomplete=function(){return this.__build(!0)},y.prototype.__build=function(t){if(!t){if(!this.__tx.ins.length)throw new Error("Transaction has no inputs");if(!this.__tx.outs.length)throw new Error("Transaction has no outputs")}var e=this.__tx.clone();if(this.__inputs.forEach((function(n,r){if(!n.prevOutType&&!t)throw new Error("Transaction is not complete");var i=v(n.prevOutType,n,t);if(i)e.setInputScript(r,i.input),e.setWitness(r,i.witness);else{if(!t&&n.prevOutType===h.NONSTANDARD)throw new Error("Unknown input type");if(!t)throw new Error("Not enough information")}})),!t&&this.__overMaximumFees(e.virtualSize()))throw new Error("Transaction has absurd fees");return e},y.prototype.sign=function(t,e,n,r,i,o){if(e.network&&e.network!==this.network)throw new TypeError("Inconsistent network");if(!this.__inputs[t])throw new Error("No input at index: "+t);if(r=r||g.SIGHASH_ALL,this.__needsOutputs(r))throw new Error("Transaction needs outputs");var u=this.__inputs[t];if(void 0!==u.redeemScript&&n&&!u.redeemScript.equals(n))throw new Error("Inconsistent redeemScript");var s,d=e.publicKey||e.getPublicKey();if(!_(u)){if(void 0!==i){if(void 0!==u.value&&u.value!==i)throw new Error("Input didn't match witnessValue");f(l.Satoshi,i),u.value=i}if(!_(u)){var p=function(t,e,n,r){if(n&&r){var i=c.p2wsh({redeem:{output:r}}),o=c.p2wsh({output:n}),u=c.p2sh({redeem:{output:n}}),s=c.p2sh({redeem:i});if(!i.hash.equals(o.hash))throw new Error("Witness script inconsistent with prevOutScript");if(!u.hash.equals(s.hash))throw new Error("Redeem script inconsistent with prevOutScript");var f=b(i.redeem.output,e);if(!f.pubkeys)throw new Error(f.type+" not supported as witnessScript ("+a.toASM(r)+")");t.signatures&&t.signatures.some((function(t){return t}))&&(f.signatures=t.signatures);var l=r;if(f.type===h.P2WPKH)throw new Error("P2SH(P2WSH(P2WPKH)) is a consensus failure");return{redeemScript:n,redeemScriptType:h.P2WSH,witnessScript:r,witnessScriptType:f.type,prevOutType:h.P2SH,prevOutScript:u.output,hasWitness:!0,signScript:l,signType:f.type,pubkeys:f.pubkeys,signatures:f.signatures,maxSignatures:f.maxSignatures}}if(n){var d=c.p2sh({redeem:{output:n}});if(t.prevOutScript){var p;try{p=c.p2sh({output:t.prevOutScript})}catch(E){throw new Error("PrevOutScript must be P2SH")}if(!d.hash.equals(p.hash))throw new Error("Redeem script inconsistent with prevOutScript")}var g=b(d.redeem.output,e);if(!g.pubkeys)throw new Error(g.type+" not supported as redeemScript ("+a.toASM(n)+")");t.signatures&&t.signatures.some((function(t){return t}))&&(g.signatures=t.signatures);var m=n;return g.type===h.P2WPKH&&(m=c.p2pkh({pubkey:g.pubkeys[0]}).output),{redeemScript:n,redeemScriptType:g.type,prevOutType:h.P2SH,prevOutScript:d.output,hasWitness:g.type===h.P2WPKH,signScript:m,signType:g.type,pubkeys:g.pubkeys,signatures:g.signatures,maxSignatures:g.maxSignatures}}if(r){var v=c.p2wsh({redeem:{output:r}});if(t.prevOutScript){var y=c.p2wsh({output:t.prevOutScript});if(!v.hash.equals(y.hash))throw new Error("Witness script inconsistent with prevOutScript")}var _=b(v.redeem.output,e);if(!_.pubkeys)throw new Error(_.type+" not supported as witnessScript ("+a.toASM(r)+")");t.signatures&&t.signatures.some((function(t){return t}))&&(_.signatures=t.signatures);var w=r;if(_.type===h.P2WPKH)throw new Error("P2WSH(P2WPKH) is a consensus failure");return{witnessScript:r,witnessScriptType:_.type,prevOutType:h.P2WSH,prevOutScript:v.output,hasWitness:!0,signScript:w,signType:_.type,pubkeys:_.pubkeys,signatures:_.signatures,maxSignatures:_.maxSignatures}}if(t.prevOutType&&t.prevOutScript){if(t.prevOutType===h.P2SH)throw new Error("PrevOutScript is "+t.prevOutType+", requires redeemScript");if(t.prevOutType===h.P2WSH)throw new Error("PrevOutScript is "+t.prevOutType+", requires witnessScript");if(!t.prevOutScript)throw new Error("PrevOutScript is missing");var S=b(t.prevOutScript,e);if(!S.pubkeys)throw new Error(S.type+" not supported ("+a.toASM(t.prevOutScript)+")");t.signatures&&t.signatures.some((function(t){return t}))&&(S.signatures=t.signatures);var O=t.prevOutScript;return S.type===h.P2WPKH&&(O=c.p2pkh({pubkey:S.pubkeys[0]}).output),{prevOutType:S.type,prevOutScript:t.prevOutScript,hasWitness:S.type===h.P2WPKH,signScript:O,signType:S.type,pubkeys:S.pubkeys,signatures:S.signatures,maxSignatures:S.maxSignatures}}var x=c.p2pkh({pubkey:e}).output;return{prevOutType:h.P2PKH,prevOutScript:x,hasWitness:!1,signScript:x,signType:h.P2PKH,pubkeys:[e],signatures:[void 0]}}(u,d,n,o);Object.assign(u,p)}if(!_(u))throw Error(u.prevOutType+" not supported")}if(s=u.hasWitness?this.__tx.hashForWitnessV0(t,u.signScript,u.value,r):this.__tx.hashForSignature(t,u.signScript,r),!u.pubkeys.some((function(t,n){if(!d.equals(t))return!1;if(u.signatures[n])throw new Error("Signature already exists");if(33!==d.length&&u.hasWitness)throw new Error("BIP143 rejects uncompressed public keys in P2WPKH or P2WSH");var i=e.sign(s);return u.signatures[n]=a.signature.encode(i,r),!0})))throw new Error("Key pair cannot sign for this input")},y.prototype.__canModifyInputs=function(){return this.__inputs.every((function(t){return!t.signatures||t.signatures.every((function(t){return!t||w(t)&g.SIGHASH_ANYONECANPAY}))}))},y.prototype.__needsOutputs=function(t){return t===g.SIGHASH_ALL?0===this.__tx.outs.length:0===this.__tx.outs.length&&this.__inputs.some((function(t){return!!t.signatures&&t.signatures.some((function(t){return!!t&&!(w(t)&g.SIGHASH_NONE)}))}))},y.prototype.__canModifyOutputs=function(){var t=this.__tx.ins.length,e=this.__tx.outs.length;return this.__inputs.every((function(n){return void 0===n.signatures||n.signatures.every((function(n){if(!n)return!0;var r=31&w(n);return r===g.SIGHASH_NONE||(r===g.SIGHASH_SINGLE?t<=e:void 0)}))}))},y.prototype.__overMaximumFees=function(t){return(this.__inputs.reduce((function(t,e){return t+(e.value>>>0)}),0)-this.__tx.outs.reduce((function(t,e){return t+e.value}),0))/t>this.maximumFeeRate},t.exports=y},function(t,e,n){var r=n(184),i=n(78),o=n(67),a=n(60),u=n(123).bitcoin;t.exports=function(t,e){if(!t.data&&!t.output)throw new TypeError("Not enough data");e=Object.assign({validate:!0},e||{}),i({network:i.maybe(i.Object),output:i.maybe(i.Buffer),data:i.maybe(i.arrayOf(i.Buffer))},t);var n={network:t.network||u};if(r.prop(n,"output",(function(){if(t.data)return a.compile([o.OP_RETURN].concat(t.data))})),r.prop(n,"data",(function(){if(t.output)return a.decompile(t.output).slice(1)})),e.validate&&t.output){var s=a.decompile(t.output);if(s[0]!==o.OP_RETURN)throw new TypeError("Output is invalid");if(!s.slice(1).every(i.Buffer))throw new TypeError("Output is invalid");if(t.data&&!function(t,e){return t.length===e.length&&t.every((function(t,n){return t.equals(e[n])}))}(t.data,n.data))throw new TypeError("Data mismatch")}return Object.assign(n,t)}},function(t,e,n){var r=n(184),i=n(78),o=n(67),a=n(179),u=n(60),s=n(123).bitcoin,c=o.OP_RESERVED;function f(t,e){return t.length===e.length&&t.every((function(t,n){return t.equals(e[n])}))}t.exports=function(t,e){if(!t.input&&!t.output&&(!t.pubkeys||void 0===t.m)&&!t.signatures)throw new TypeError("Not enough data");function n(t){return u.isCanonicalScriptSignature(t)||e.allowIncomplete&&t===o.OP_0}e=Object.assign({validate:!0},e||{}),i({network:i.maybe(i.Object),m:i.maybe(i.Number),n:i.maybe(i.Number),output:i.maybe(i.Buffer),pubkeys:i.maybe(i.arrayOf(a.isPoint)),signatures:i.maybe(i.arrayOf(n)),input:i.maybe(i.Buffer)},t);var l,d={network:t.network||s},h=!1;function p(t){h||(h=!0,l=u.decompile(t),d.m=l[0]-c,d.n=l[l.length-2]-c,d.pubkeys=l.slice(1,-2))}if(r.prop(d,"output",(function(){if(t.m&&d.n&&t.pubkeys)return u.compile([].concat(c+t.m,t.pubkeys,c+d.n,o.OP_CHECKMULTISIG))})),r.prop(d,"m",(function(){if(d.output)return p(d.output),d.m})),r.prop(d,"n",(function(){if(d.pubkeys)return d.pubkeys.length})),r.prop(d,"pubkeys",(function(){if(t.output)return p(t.output),d.pubkeys})),r.prop(d,"signatures",(function(){if(t.input)return u.decompile(t.input).slice(1)})),r.prop(d,"input",(function(){if(t.signatures)return u.compile([o.OP_0].concat(t.signatures))})),r.prop(d,"witness",(function(){if(d.input)return[]})),e.validate){if(t.output){if(p(t.output),!i.Number(l[0]))throw new TypeError("Output is invalid");if(!i.Number(l[l.length-2]))throw new TypeError("Output is invalid");if(l[l.length-1]!==o.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(d.m<=0||d.n>16||d.m>d.n||d.n!==l.length-3)throw new TypeError("Output is invalid");if(!d.pubkeys.every((function(t){return a.isPoint(t)})))throw new TypeError("Output is invalid");if(void 0!==t.m&&t.m!==d.m)throw new TypeError("m mismatch");if(void 0!==t.n&&t.n!==d.n)throw new TypeError("n mismatch");if(t.pubkeys&&!f(t.pubkeys,d.pubkeys))throw new TypeError("Pubkeys mismatch")}if(t.pubkeys){if(void 0!==t.n&&t.n!==t.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(d.n=t.pubkeys.length,d.n<d.m)throw new TypeError("Pubkey count cannot be less than m")}if(t.signatures){if(t.signatures.length<d.m)throw new TypeError("Not enough signatures provided");if(t.signatures.length>d.m)throw new TypeError("Too many signatures provided")}if(t.input){if(t.input[0]!==o.OP_0)throw new TypeError("Input is invalid");if(0===d.signatures.length||!d.signatures.every(n))throw new TypeError("Input has invalid signature(s)");if(t.signatures&&!f(t.signatures,d.signatures))throw new TypeError("Signature mismatch");if(void 0!==t.m&&t.m!==t.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(d,t)}},function(t,e,n){var r=n(184),i=n(78),o=n(67),a=n(179),u=n(60),s=n(123).bitcoin;t.exports=function(t,e){if(!t.input&&!t.output&&!t.pubkey&&!t.input&&!t.signature)throw new TypeError("Not enough data");e=Object.assign({validate:!0},e||{}),i({network:i.maybe(i.Object),output:i.maybe(i.Buffer),pubkey:i.maybe(a.isPoint),signature:i.maybe(u.isCanonicalScriptSignature),input:i.maybe(i.Buffer)},t);var n=r.value((function(){return u.decompile(t.input)})),c={network:t.network||s};if(r.prop(c,"output",(function(){if(t.pubkey)return u.compile([t.pubkey,o.OP_CHECKSIG])})),r.prop(c,"pubkey",(function(){if(t.output)return t.output.slice(1,-1)})),r.prop(c,"signature",(function(){if(t.input)return n()[0]})),r.prop(c,"input",(function(){if(t.signature)return u.compile([t.signature])})),r.prop(c,"witness",(function(){if(c.input)return[]})),e.validate){if(t.output){if(t.output[t.output.length-1]!==o.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!a.isPoint(c.pubkey))throw new TypeError("Output pubkey is invalid");if(t.pubkey&&!t.pubkey.equals(c.pubkey))throw new TypeError("Pubkey mismatch")}if(t.signature&&t.input&&!t.input.equals(c.input))throw new TypeError("Signature mismatch");if(t.input){if(1!==n().length)throw new TypeError("Input is invalid");if(!u.isCanonicalScriptSignature(c.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(c,t)}},function(t,e,n){(function(e){var r=n(184),i=n(78),o=n(67),a=n(179),u=n(157),s=n(60),c=n(123).bitcoin,f=n(202);t.exports=function(t,n){if(!t.address&&!t.hash&&!t.output&&!t.pubkey&&!t.input)throw new TypeError("Not enough data");n=Object.assign({validate:!0},n||{}),i({network:i.maybe(i.Object),address:i.maybe(i.String),hash:i.maybe(i.BufferN(20)),output:i.maybe(i.BufferN(25)),pubkey:i.maybe(a.isPoint),signature:i.maybe(s.isCanonicalScriptSignature),input:i.maybe(i.Buffer)},t);var l=r.value((function(){var e=f.decode(t.address);return{version:e.readUInt8(0),hash:e.slice(1)}})),d=r.value((function(){return s.decompile(t.input)})),h=t.network||c,p={network:h};if(r.prop(p,"address",(function(){if(p.hash){var t=e.allocUnsafe(21);return t.writeUInt8(h.pubKeyHash,0),p.hash.copy(t,1),f.encode(t)}})),r.prop(p,"hash",(function(){return t.output?t.output.slice(3,23):t.address?l().hash:t.pubkey||p.pubkey?u.hash160(t.pubkey||p.pubkey):void 0})),r.prop(p,"output",(function(){if(p.hash)return s.compile([o.OP_DUP,o.OP_HASH160,p.hash,o.OP_EQUALVERIFY,o.OP_CHECKSIG])})),r.prop(p,"pubkey",(function(){if(t.input)return d()[1]})),r.prop(p,"signature",(function(){if(t.input)return d()[0]})),r.prop(p,"input",(function(){if(t.pubkey&&t.signature)return s.compile([t.signature,t.pubkey])})),r.prop(p,"witness",(function(){if(p.input)return[]})),n.validate){var g;if(t.address){if(l().version!==h.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(20!==l().hash.length)throw new TypeError("Invalid address");g=l().hash}if(t.hash){if(g&&!g.equals(t.hash))throw new TypeError("Hash mismatch");g=t.hash}if(t.output){if(25!==t.output.length||t.output[0]!==o.OP_DUP||t.output[1]!==o.OP_HASH160||20!==t.output[2]||t.output[23]!==o.OP_EQUALVERIFY||t.output[24]!==o.OP_CHECKSIG)throw new TypeError("Output is invalid");var m=t.output.slice(3,23);if(g&&!g.equals(m))throw new TypeError("Hash mismatch");g=m}if(t.pubkey){var b=u.hash160(t.pubkey);if(g&&!g.equals(b))throw new TypeError("Hash mismatch");g=b}if(t.input){var v=d();if(2!==v.length)throw new TypeError("Input is invalid");if(!s.isCanonicalScriptSignature(v[0]))throw new TypeError("Input has invalid signature");if(!a.isPoint(v[1]))throw new TypeError("Input has invalid pubkey");if(t.signature&&!t.signature.equals(v[0]))throw new TypeError("Signature mismatch");if(t.pubkey&&!t.pubkey.equals(v[1]))throw new TypeError("Pubkey mismatch");var y=u.hash160(v[1]);if(g&&!g.equals(y))throw new TypeError("Hash mismatch")}}return Object.assign(p,t)}}).call(this,n(29).Buffer)},function(t,e,n){(function(e){var r=n(184),i=n(78),o=n(67),a=n(157),u=n(60),s=n(123).bitcoin,c=n(202);t.exports=function(t,n){if(!t.address&&!t.hash&&!t.output&&!t.redeem&&!t.input)throw new TypeError("Not enough data");n=Object.assign({validate:!0},n||{}),i({network:i.maybe(i.Object),address:i.maybe(i.String),hash:i.maybe(i.BufferN(20)),output:i.maybe(i.BufferN(23)),redeem:i.maybe({network:i.maybe(i.Object),output:i.maybe(i.Buffer),input:i.maybe(i.Buffer),witness:i.maybe(i.arrayOf(i.Buffer))}),input:i.maybe(i.Buffer),witness:i.maybe(i.arrayOf(i.Buffer))},t);var f=t.network;f||(f=t.redeem&&t.redeem.network||s);var l={network:f},d=r.value((function(){var e=c.decode(t.address);return{version:e.readUInt8(0),hash:e.slice(1)}})),h=r.value((function(){return u.decompile(t.input)})),p=r.value((function(){var e=h();return{network:f,output:e[e.length-1],input:u.compile(e.slice(0,-1)),witness:t.witness||[]}}));if(r.prop(l,"address",(function(){if(l.hash){var t=e.allocUnsafe(21);return t.writeUInt8(f.scriptHash,0),l.hash.copy(t,1),c.encode(t)}})),r.prop(l,"hash",(function(){return t.output?t.output.slice(2,22):t.address?d().hash:l.redeem&&l.redeem.output?a.hash160(l.redeem.output):void 0})),r.prop(l,"output",(function(){if(l.hash)return u.compile([o.OP_HASH160,l.hash,o.OP_EQUAL])})),r.prop(l,"redeem",(function(){if(t.input)return p()})),r.prop(l,"input",(function(){if(t.redeem&&t.redeem.input&&t.redeem.output)return u.compile([].concat(u.decompile(t.redeem.input),t.redeem.output))})),r.prop(l,"witness",(function(){return l.redeem&&l.redeem.witness?l.redeem.witness:l.input?[]:void 0})),n.validate){var g;if(t.address){if(d().version!==f.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(20!==d().hash.length)throw new TypeError("Invalid address");g=d().hash}if(t.hash){if(g&&!g.equals(t.hash))throw new TypeError("Hash mismatch");g=t.hash}if(t.output){if(23!==t.output.length||t.output[0]!==o.OP_HASH160||20!==t.output[1]||t.output[22]!==o.OP_EQUAL)throw new TypeError("Output is invalid");var m=t.output.slice(2,22);if(g&&!g.equals(m))throw new TypeError("Hash mismatch");g=m}var b=function(t){if(t.output){var e=u.decompile(t.output);if(!e||e.length<1)throw new TypeError("Redeem.output too short");var n=a.hash160(t.output);if(g&&!g.equals(n))throw new TypeError("Hash mismatch");g=n}if(t.input){var r=t.input.length>0,i=t.witness&&t.witness.length>0;if(!r&&!i)throw new TypeError("Empty input");if(r&&i)throw new TypeError("Input and witness provided");if(r){var o=u.decompile(t.input);if(!u.isPushOnly(o))throw new TypeError("Non push-only scriptSig")}}};if(t.input){var v=h();if(!v||v.length<1)throw new TypeError("Input too short");if(!e.isBuffer(p().output))throw new TypeError("Input is invalid");b(p())}if(t.redeem){if(t.redeem.network&&t.redeem.network!==f)throw new TypeError("Network mismatch");if(t.input){var y=p();if(t.redeem.output&&!t.redeem.output.equals(y.output))throw new TypeError("Redeem.output mismatch");if(t.redeem.input&&!t.redeem.input.equals(y.input))throw new TypeError("Redeem.input mismatch")}b(t.redeem)}if(t.witness&&t.redeem&&t.redeem.witness&&!function(t,e){return t.length===e.length&&t.every((function(t,n){return t.equals(e[n])}))}(t.redeem.witness,t.witness))throw new TypeError("Witness and redeem.witness mismatch")}return Object.assign(l,t)}}).call(this,n(29).Buffer)},function(t,e,n){(function(e){var r=n(184),i=n(78),o=n(67),a=n(179),u=n(157),s=n(365),c=n(60),f=n(123).bitcoin,l=e.alloc(0);t.exports=function(t,n){if(!t.address&&!t.hash&&!t.output&&!t.pubkey&&!t.witness)throw new TypeError("Not enough data");n=Object.assign({validate:!0},n||{}),i({address:i.maybe(i.String),hash:i.maybe(i.BufferN(20)),input:i.maybe(i.BufferN(0)),network:i.maybe(i.Object),output:i.maybe(i.BufferN(22)),pubkey:i.maybe(a.isPoint),signature:i.maybe(c.isCanonicalScriptSignature),witness:i.maybe(i.arrayOf(i.Buffer))},t);var d=r.value((function(){var n=s.decode(t.address),r=n.words.shift(),i=s.fromWords(n.words);return{version:r,prefix:n.prefix,data:e.from(i)}})),h=t.network||f,p={network:h};if(r.prop(p,"address",(function(){if(p.hash){var t=s.toWords(p.hash);return t.unshift(0),s.encode(h.bech32,t)}})),r.prop(p,"hash",(function(){return t.output?t.output.slice(2,22):t.address?d().data:t.pubkey||p.pubkey?u.hash160(t.pubkey||p.pubkey):void 0})),r.prop(p,"output",(function(){if(p.hash)return c.compile([o.OP_0,p.hash])})),r.prop(p,"pubkey",(function(){return t.pubkey?t.pubkey:t.witness?t.witness[1]:void 0})),r.prop(p,"signature",(function(){if(t.witness)return t.witness[0]})),r.prop(p,"input",(function(){if(p.witness)return l})),r.prop(p,"witness",(function(){if(t.pubkey&&t.signature)return[t.signature,t.pubkey]})),n.validate){var g;if(t.address){if(h&&h.bech32!==d().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(0!==d().version)throw new TypeError("Invalid address version");if(20!==d().data.length)throw new TypeError("Invalid address data");g=d().data}if(t.hash){if(g&&!g.equals(t.hash))throw new TypeError("Hash mismatch");g=t.hash}if(t.output){if(22!==t.output.length||t.output[0]!==o.OP_0||20!==t.output[1])throw new TypeError("Output is invalid");if(g&&!g.equals(t.output.slice(2)))throw new TypeError("Hash mismatch");g=t.output.slice(2)}if(t.pubkey){var m=u.hash160(t.pubkey);if(g&&!g.equals(m))throw new TypeError("Hash mismatch");g=m}if(t.witness){if(2!==t.witness.length)throw new TypeError("Witness is invalid");if(!c.isCanonicalScriptSignature(t.witness[0]))throw new TypeError("Witness has invalid signature");if(!a.isPoint(t.witness[1]))throw new TypeError("Witness has invalid pubkey");if(t.signature&&!t.signature.equals(t.witness[0]))throw new TypeError("Signature mismatch");if(t.pubkey&&!t.pubkey.equals(t.witness[1]))throw new TypeError("Pubkey mismatch");var b=u.hash160(t.witness[1]);if(g&&!g.equals(b))throw new TypeError("Hash mismatch")}}return Object.assign(p,t)}}).call(this,n(29).Buffer)},function(t,e,n){(function(e){var r=n(184),i=n(78),o=n(67),a=n(365),u=n(157),s=n(60),c=n(123).bitcoin,f=e.alloc(0);t.exports=function(t,n){if(!t.address&&!t.hash&&!t.output&&!t.redeem&&!t.witness)throw new TypeError("Not enough data");n=Object.assign({validate:!0},n||{}),i({network:i.maybe(i.Object),address:i.maybe(i.String),hash:i.maybe(i.BufferN(32)),output:i.maybe(i.BufferN(34)),redeem:i.maybe({input:i.maybe(i.Buffer),network:i.maybe(i.Object),output:i.maybe(i.Buffer),witness:i.maybe(i.arrayOf(i.Buffer))}),input:i.maybe(i.BufferN(0)),witness:i.maybe(i.arrayOf(i.Buffer))},t);var l=r.value((function(){var n=a.decode(t.address),r=n.words.shift(),i=a.fromWords(n.words);return{version:r,prefix:n.prefix,data:e.from(i)}})),d=r.value((function(){return s.decompile(t.redeem.input)})),h=t.network;h||(h=t.redeem&&t.redeem.network||c);var p={network:h};if(r.prop(p,"address",(function(){if(p.hash){var t=a.toWords(p.hash);return t.unshift(0),a.encode(h.bech32,t)}})),r.prop(p,"hash",(function(){return t.output?t.output.slice(2):t.address?l().data:p.redeem&&p.redeem.output?u.sha256(p.redeem.output):void 0})),r.prop(p,"output",(function(){if(p.hash)return s.compile([o.OP_0,p.hash])})),r.prop(p,"redeem",(function(){if(t.witness)return{output:t.witness[t.witness.length-1],input:f,witness:t.witness.slice(0,-1)}})),r.prop(p,"input",(function(){if(p.witness)return f})),r.prop(p,"witness",(function(){if(t.redeem&&t.redeem.input&&t.redeem.input.length>0&&t.redeem.output&&t.redeem.output.length>0){var e=s.toStack(d());return p.redeem=Object.assign({witness:e},t.redeem),p.redeem.input=f,[].concat(e,t.redeem.output)}if(t.redeem&&t.redeem.output&&t.redeem.witness)return[].concat(t.redeem.witness,t.redeem.output)})),n.validate){var g;if(t.address){if(l().prefix!==h.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(0!==l().version)throw new TypeError("Invalid address version");if(32!==l().data.length)throw new TypeError("Invalid address data");g=l().data}if(t.hash){if(g&&!g.equals(t.hash))throw new TypeError("Hash mismatch");g=t.hash}if(t.output){if(34!==t.output.length||t.output[0]!==o.OP_0||32!==t.output[1])throw new TypeError("Output is invalid");var m=t.output.slice(2);if(g&&!g.equals(m))throw new TypeError("Hash mismatch");g=m}if(t.redeem){if(t.redeem.network&&t.redeem.network!==h)throw new TypeError("Network mismatch");if(t.redeem.input&&t.redeem.input.length>0&&t.redeem.witness&&t.redeem.witness.length>0)throw new TypeError("Ambiguous witness source");if(t.redeem.output){if(0===s.decompile(t.redeem.output).length)throw new TypeError("Redeem.output is invalid");var b=u.sha256(t.redeem.output);if(g&&!g.equals(b))throw new TypeError("Hash mismatch");g=b}if(t.redeem.input&&!s.isPushOnly(d()))throw new TypeError("Non push-only scriptSig");if(t.witness&&t.redeem.witness&&!function(t,e){return t.length===e.length&&t.every((function(t,n){return t.equals(e[n])}))}(t.witness,t.redeem.witness))throw new TypeError("Witness and redeem.witness mismatch")}if(t.witness&&t.redeem&&t.redeem.output&&!t.redeem.output.equals(t.witness[t.witness.length-1]))throw new TypeError("Witness and redeem.output mismatch")}return Object.assign(p,t)}}).call(this,n(29).Buffer)},function(t,e,n){var r=n(60).decompile,i=n(367),o=n(798),a=n(368),u=n(369),s=n(803),c=n(806),f=n(808),l=n(810),d={P2MS:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};t.exports={input:function(t,e){var n=r(t);if(!n)throw new TypeError("Invalid script");return u.input.check(n)?d.P2PKH:s.input.check(n,e)?d.P2SH:i.input.check(n,e)?d.P2MS:a.input.check(n)?d.P2PK:d.NONSTANDARD},output:function(t){if(c.output.check(t))return d.P2WPKH;if(f.output.check(t))return d.P2WSH;if(u.output.check(t))return d.P2PKH;if(s.output.check(t))return d.P2SH;var e=r(t);if(!e)throw new TypeError("Invalid script");return i.output.check(e)?d.P2MS:a.output.check(e)?d.P2PK:l.output.check(e)?d.WITNESS_COMMITMENT:o.output.check(e)?d.NULLDATA:d.NONSTANDARD},witness:function(t,e){var n=r(t);if(!n)throw new TypeError("Invalid script");return c.input.check(n)?d.P2WPKH:f.input.check(n,e)?d.P2WSH:d.NONSTANDARD},types:d}},function(t,e,n){var r=n(60),i=n(67);function o(t){return t===i.OP_0||r.isCanonicalScriptSignature(t)}function a(t,e){var n=r.decompile(t);return!(n.length<2)&&(n[0]===i.OP_0&&(e?n.slice(1).every(o):n.slice(1).every(r.isCanonicalScriptSignature)))}a.toJSON=function(){return"multisig input"},t.exports={check:a}},function(t,e,n){var r=n(60),i=n(132),o=n(67),a=o.OP_RESERVED;function u(t,e){var n=r.decompile(t);if(n.length<4)return!1;if(n[n.length-1]!==o.OP_CHECKMULTISIG)return!1;if(!i.Number(n[0]))return!1;if(!i.Number(n[n.length-2]))return!1;var u=n[0]-a,s=n[n.length-2]-a;return!(u<=0)&&(!(s>16)&&(!(u>s)&&(s===n.length-3&&(!!e||n.slice(1,-2).every(r.isCanonicalPubKey)))))}u.toJSON=function(){return"multi-sig output"},t.exports={check:u}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.compile(t);return e.length>1&&e[0]===i.OP_RETURN}o.toJSON=function(){return"null data output"},t.exports={output:{check:o}}},function(t,e,n){var r=n(60);function i(t){var e=r.decompile(t);return 1===e.length&&r.isCanonicalScriptSignature(e[0])}i.toJSON=function(){return"pubKey input"},t.exports={check:i}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.decompile(t);return 2===e.length&&r.isCanonicalPubKey(e[0])&&e[1]===i.OP_CHECKSIG}o.toJSON=function(){return"pubKey output"},t.exports={check:o}},function(t,e,n){var r=n(60);function i(t){var e=r.decompile(t);return 2===e.length&&r.isCanonicalScriptSignature(e[0])&&r.isCanonicalPubKey(e[1])}i.toJSON=function(){return"pubKeyHash input"},t.exports={check:i}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.compile(t);return 25===e.length&&e[0]===i.OP_DUP&&e[1]===i.OP_HASH160&&20===e[2]&&e[23]===i.OP_EQUALVERIFY&&e[24]===i.OP_CHECKSIG}o.toJSON=function(){return"pubKeyHash output"},t.exports={check:o}},function(t,e,n){t.exports={input:n(804),output:n(805)}},function(t,e,n){var r=n(36).Buffer,i=n(60),o=n(367),a=n(368),u=n(369),s=n(467),c=n(468);function f(t,e){var n=i.decompile(t);if(n.length<1)return!1;var f=n[n.length-1];if(!r.isBuffer(f))return!1;var l=i.decompile(i.compile(n.slice(0,-1))),d=i.decompile(f);return!!d&&(!!i.isPushOnly(l)&&(1===n.length?c.check(d)||s.check(d):!(!u.input.check(l)||!u.output.check(d))||(!(!o.input.check(l,e)||!o.output.check(d))||!(!a.input.check(l)||!a.output.check(d)))))}f.toJSON=function(){return"scriptHash input"},t.exports={check:f}},function(t,e,n){var r=n(60),i=n(67);function o(t){var e=r.compile(t);return 23===e.length&&e[0]===i.OP_HASH160&&20===e[1]&&e[22]===i.OP_EQUAL}o.toJSON=function(){return"scriptHash output"},t.exports={check:o}},function(t,e,n){t.exports={input:n(807),output:n(467)}},function(t,e,n){var r=n(60);function i(t){var e,n=r.decompile(t);return 2===n.length&&r.isCanonicalScriptSignature(n[0])&&(e=n[1],r.isCanonicalPubKey(e)&&33===e.length)}i.toJSON=function(){return"witnessPubKeyHash input"},t.exports={check:i}},function(t,e,n){t.exports={input:n(809),output:n(468)}},function(t,e,n){(function(e){var r=n(60),i=n(132),o=n(78),a=n(367),u=n(368),s=n(369);function c(t,n){if(o(i.Array,t),t.length<1)return!1;var c=t[t.length-1];if(!e.isBuffer(c))return!1;var f=r.decompile(c);if(!f||0===f.length)return!1;var l=r.compile(t.slice(0,-1));return!(!s.input.check(l)||!s.output.check(f))||(!(!a.input.check(l,n)||!a.output.check(f))||!(!u.input.check(l)||!u.output.check(f)))}c.toJSON=function(){return"witnessScriptHash input"},t.exports={check:c}}).call(this,n(29).Buffer)},function(t,e,n){t.exports={output:n(811)}},function(t,e,n){var r=n(36).Buffer,i=n(60),o=n(132),a=n(78),u=n(67),s=r.from("aa21a9ed","hex");function c(t){var e=i.compile(t);return e.length>37&&e[0]===u.OP_RETURN&&36===e[1]&&e.slice(2,6).equals(s)}c.toJSON=function(){return"Witness commitment output"},t.exports={check:c,decode:function(t){return a(c,t),i.decompile(t)[1].slice(4,36)},encode:function(t){a(o.Hash256bit,t);var e=r.allocUnsafe(36);return s.copy(e,0),t.copy(e,4),i.compile([u.OP_RETURN,e])}}},function(t,e,n){var r=n(36).Buffer,i=n(202),o=n(813),a=n(179),u=n(78),s=n(464),c=u.BufferN(32),f=u.compile({wif:u.UInt8,bip32:{public:u.UInt32,private:u.UInt32}}),l={wif:128,bip32:{public:76067358,private:76066276}};function d(t,e,n,r){u(f,r),this.__d=t||null,this.__Q=e||null,this.chainCode=n,this.depth=0,this.index=0,this.network=r,this.parentFingerprint=0}Object.defineProperty(d.prototype,"identifier",{get:function(){return o.hash160(this.publicKey)}}),Object.defineProperty(d.prototype,"fingerprint",{get:function(){return this.identifier.slice(0,4)}}),Object.defineProperty(d.prototype,"privateKey",{enumerable:!1,get:function(){return this.__d}}),Object.defineProperty(d.prototype,"publicKey",{get:function(){return this.__Q||(this.__Q=a.pointFromScalar(this.__d,this.compressed)),this.__Q}}),d.prototype.isNeutered=function(){return null===this.__d},d.prototype.neutered=function(){var t=v(this.publicKey,this.chainCode,this.network);return t.depth=this.depth,t.index=this.index,t.parentFingerprint=this.parentFingerprint,t},d.prototype.toBase58=function(){var t=this.network,e=this.isNeutered()?t.bip32.public:t.bip32.private,n=r.allocUnsafe(78);return n.writeUInt32BE(e,0),n.writeUInt8(this.depth,4),n.writeUInt32BE(this.parentFingerprint,5),n.writeUInt32BE(this.index,9),this.chainCode.copy(n,13),this.isNeutered()?this.publicKey.copy(n,45):(n.writeUInt8(0,45),this.privateKey.copy(n,46)),i.encode(n)},d.prototype.toWIF=function(){if(!this.privateKey)throw new TypeError("Missing private key");return s.encode(this.network.wif,this.privateKey,!0)};var h=2147483648;d.prototype.derive=function(t){u(u.UInt32,t);var e=t>=h,n=r.allocUnsafe(37);if(e){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");n[0]=0,this.privateKey.copy(n,1),n.writeUInt32BE(t,33)}else this.publicKey.copy(n,0),n.writeUInt32BE(t,33);var i,s=o.hmacSHA512(this.chainCode,n),c=s.slice(0,32),f=s.slice(32);if(!a.isPrivate(c))return this.derive(t+1);if(this.isNeutered()){var l=a.pointAddScalar(this.publicKey,c,!0);if(null===l)return this.derive(t+1);i=v(l,f,this.network)}else{var d=a.privateAdd(this.privateKey,c);if(null==d)return this.derive(t+1);i=b(d,f,this.network)}return i.depth=this.depth+1,i.index=t,i.parentFingerprint=this.fingerprint.readUInt32BE(0),i};var p=Math.pow(2,31)-1;function g(t){return u.UInt32(t)&&t<=p}function m(t){return u.String(t)&&t.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function b(t,e,n){if(u({privateKey:c,chainCode:c},{privateKey:t,chainCode:e}),n=n||l,!a.isPrivate(t))throw new TypeError("Private key not in range [1, n)");return new d(t,null,e,n)}function v(t,e,n){if(u({publicKey:u.BufferN(33),chainCode:c},{publicKey:t,chainCode:e}),n=n||l,!a.isPoint(t))throw new TypeError("Point is not on the curve");return new d(null,t,e,n)}d.prototype.deriveHardened=function(t){return u(g,t),this.derive(t+h)},d.prototype.derivePath=function(t){u(m,t);var e=t.split("/");if("m"===e[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");e=e.slice(1)}return e.reduce((function(t,e){var n;return"'"===e.slice(-1)?(n=parseInt(e.slice(0,-1),10),t.deriveHardened(n)):(n=parseInt(e,10),t.derive(n))}),this)},d.prototype.sign=function(t){return a.sign(t,this.privateKey)},d.prototype.verify=function(t,e){return a.verify(t,this.publicKey,e)},t.exports={fromBase58:function(t,e){var n=i.decode(t);if(78!==n.length)throw new TypeError("Invalid buffer length");e=e||l;var r=n.readUInt32BE(0);if(r!==e.bip32.private&&r!==e.bip32.public)throw new TypeError("Invalid network version");var o=n[4],a=n.readUInt32BE(5);if(0===o&&0!==a)throw new TypeError("Invalid parent fingerprint");var u=n.readUInt32BE(9);if(0===o&&0!==u)throw new TypeError("Invalid index");var s,c=n.slice(13,45);if(r===e.bip32.private){if(0!==n.readUInt8(45))throw new TypeError("Invalid private key");s=b(n.slice(46,78),c,e)}else{s=v(n.slice(45,78),c,e)}return s.depth=o,s.index=u,s.parentFingerprint=a,s},fromPrivateKey:b,fromPublicKey:v,fromSeed:function(t,e){if(u(u.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");e=e||l;var n=o.hmacSHA512("Bitcoin seed",t);return b(n.slice(0,32),n.slice(32),e)}}},function(t,e,n){var r=n(158),i=n(263);t.exports={hash160:function(t){var e=r("sha256").update(t).digest();try{return r("rmd160").update(e).digest()}catch(n){return r("ripemd160").update(e).digest()}},hmacSHA512:function(t,e){return i("sha512",t).update(e).digest()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bech32m=e.bech32=void 0;for(var r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",i={},o=0;o<r.length;o++){var a=r.charAt(o);i[a]=o}function u(t){var e=t>>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function s(t){for(var e=1,n=0;n<t.length;++n){var r=t.charCodeAt(n);if(r<33||r>126)return"Invalid prefix ("+t+")";e=u(e)^r>>5}e=u(e);for(var i=0;i<t.length;++i){var o=t.charCodeAt(i);e=u(e)^31&o}return e}function c(t,e,n,r){for(var i=0,o=0,a=(1<<n)-1,u=[],s=0;s<t.length;++s)for(i=i<<e|t[s],o+=e;o>=n;)o-=n,u.push(i>>o&a);if(r)o>0&&u.push(i<<n-o&a);else{if(o>=e)return"Excess padding";if(i<<n-o&a)return"Non-zero padding"}return u}function f(t){return c(t,8,5,!0)}function l(t){var e=c(t,5,8,!1);if(Array.isArray(e))return e}function d(t){var e=c(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}function h(t){var e;function n(t,n){if(n=n||90,t.length<8)return t+" too short";if(t.length>n)return"Exceeds length limit";var r=t.toLowerCase(),o=t.toUpperCase();if(t!==r&&t!==o)return"Mixed-case string "+t;var a=(t=r).lastIndexOf("1");if(-1===a)return"No separator character for "+t;if(0===a)return"Missing prefix for "+t;var c=t.slice(0,a),f=t.slice(a+1);if(f.length<6)return"Data too short";var l=s(c);if("string"===typeof l)return l;for(var d=[],h=0;h<f.length;++h){var p=f.charAt(h),g=i[p];if(void 0===g)return"Unknown character "+p;l=u(l)^g,h+6>=f.length||d.push(g)}return l!==e?"Invalid checksum for "+t:{prefix:c,words:d}}return e="bech32"===t?1:734539939,{decodeUnsafe:function(t,e){var r=n(t,e);if("object"===typeof r)return r},decode:function(t,e){var r=n(t,e);if("object"===typeof r)return r;throw new Error(r)},encode:function(t,n,i){if(i=i||90,t.length+7+n.length>i)throw new TypeError("Exceeds length limit");var o=s(t=t.toLowerCase());if("string"===typeof o)throw new Error(o);for(var a=t+"1",c=0;c<n.length;++c){var f=n[c];if(f>>5!==0)throw new Error("Non 5-bit word");o=u(o)^f,a+=r.charAt(f)}for(var l=0;l<6;++l)o=u(o);o^=e;for(var d=0;d<6;++d){a+=r.charAt(o>>5*(5-d)&31)}return a},toWords:f,fromWordsUnsafe:l,fromWords:d}}e.bech32=h("bech32"),e.bech32m=h("bech32m")},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=r(n(816)),o=r(n(29)),a=r(n(818)),u=o.default.Buffer;function s(t){return t=function(t){if(!u.isBuffer(t))if(Array.isArray(t))t=u.from(t);else if("string"===typeof t)t=function(t,e){if("string"!==typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))return!1;if(e&&t.length!==2+2*e)return!1;return!0}(t)?u.from(c(function(t){if("string"!==typeof t)return t;return function(t){if("string"!==typeof t)throw new Error("value must be type 'string', is currently type "+typeof t+", while checking isHexPrefixed.");return"0x"===t.slice(0,2)}(t)?t.slice(2):t}(t)),"hex"):u.from(t);else if("number"===typeof t)t=function(t){var e=function(t){var e=t.toString(16);return"0x".concat(e)}(t);return u.from(c(e.slice(2)),"hex")}(t);else if(null===t||void 0===t)t=u.allocUnsafe(0);else if(i.default.isBN(t))t=t.toArrayLike(u);else{if(!t.toArray)throw new Error("invalid type");t=u.from(t.toArray())}return t}(t),(0,a.default)("keccak256").update(t).digest()}function c(t){if("string"!==typeof t)throw new Error("while padding to even, value must be string, is currently ".concat(typeof t,", while padToEven."));return t.length%2&&(t="0".concat(t)),t}"undefined"!==typeof window&&(window.keccak256=s),t.exports=s},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(817).Buffer}catch($){}function u(t,e){var n=t.charCodeAt(e);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+t)}function s(t,e,n){var r=u(t,n);return n-1>=e&&(r|=u(t,n-1)<<4),r}function c(t,e,n,i){for(var o=0,a=0,u=Math.min(t.length,n),s=e;s<u;s++){var c=t.charCodeAt(s)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<i,"Invalid character"),o+=a}return o}function f(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this._strip()},o.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<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=s(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2===0?e+1:e;r<t.length;r+=2)i=s(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,s=0,f=n;f<u;f+=r)s=c(t,f,f+r,e),this.imuln(i),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s);if(0!==a){var l=1;for(s=c(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){f(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch($){o.prototype.inspect=l}else o.prototype.inspect=l;function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","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"],h=[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],p=[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];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?d[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 c=h[t],f=p[t];n="";var l=this.clone();for(l.negative=0;!l.isZero();){var g=l.modrn(f).toString(t);n=(l=l.idivn(f)).isZero()?g+n:d[c-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function g(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n++]=255&a,n<t.length&&(t[n++]=a>>8&255),n<t.length&&(t[n++]=a>>16&255),6===o?(n<t.length&&(t[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n--]=255&a,n>=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var m=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function b(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function v(t,e,n){return b(t,e,n)}function y(t,e){this.x=t,this.y=e}Math.imul||(m=g),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?g(this,t,e):n<1024?b(this,t,e):v(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},y.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},y.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},y.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},y.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},y.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},y.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},y.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),v(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"===typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this._strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new M(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var _={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function O(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function M(t){if("string"===typeof t){var e=o._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 T(t){M.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(S,w),S.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},S.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(O,w),i(x,w),i(E,w),E.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(_[t])return _[t];var e;if("k256"===t)e=new S;else if("p224"===t)e=new O;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return _[t]=e,e},M.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},M.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")},M.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(f(t,t.umod(this.m)._forceRed(this)),t)},M.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},M.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)},M.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},M.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)},M.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},M.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},M.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},M.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},M.prototype.isqr=function(t){return this.imul(t,t.clone())},M.prototype.sqr=function(t){return this.mul(t,t)},M.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},M.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},M.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},M.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},M.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new T(t)},i(T,M),T.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},T.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},T.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},,function(t,e,n){t.exports=n(819)(n(826))},function(t,e,n){var r=n(820),i=n(825);t.exports=function(t){var e=r(t),n=i(t);return function(t,r){switch("string"===typeof t?t.toLowerCase():t){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+t)}}}},function(t,e,n){(function(e){var r=n(469),i=n(470),o=n(471),a=n(473),u=n(265).Transform;t.exports=function(t){return function(n){"use strict";o(s,n);var u=a(s);function s(e,n,i,o,a){var c;return r(this,s),(c=u.call(this,a))._rate=e,c._capacity=n,c._delimitedSuffix=i,c._hashBitLength=o,c._options=a,c._state=new t,c._state.initialize(e,n),c._finalized=!1,c}return i(s,[{key:"_transform",value:function(t,e,n){var r=null;try{this.update(t,e)}catch(i){r=i}n(r)}},{key:"_flush",value:function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)}},{key:"update",value:function(t,n){if(!e.isBuffer(t)&&"string"!==typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}},{key:"digest",value:function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);var e=this._state.squeeze(this._hashBitLength/8);return void 0!==t&&(e=e.toString(t)),this._resetState(),e}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var t=new s(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}]),s}(u)}}).call(this,n(29).Buffer)},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){var r=n(823),i=n(824);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?i(t):e}},function(t,e){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},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}},function(t,e,n){(function(e){var r=n(469),i=n(470),o=n(471),a=n(473),u=n(265).Transform;t.exports=function(t){return function(n){"use strict";o(s,n);var u=a(s);function s(e,n,i,o){var a;return r(this,s),(a=u.call(this,o))._rate=e,a._capacity=n,a._delimitedSuffix=i,a._options=o,a._state=new t,a._state.initialize(e,n),a._finalized=!1,a}return i(s,[{key:"_transform",value:function(t,e,n){var r=null;try{this.update(t,e)}catch(i){r=i}n(r)}},{key:"_flush",value:function(){}},{key:"_read",value:function(t){this.push(this.squeeze(t))}},{key:"update",value:function(t,n){if(!e.isBuffer(t)&&"string"!==typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}},{key:"squeeze",value:function(t,e){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));var n=this._state.squeeze(t);return void 0!==e&&(n=n.toString(e)),n}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var t=new s(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}]),s}(u)}}).call(this,n(29).Buffer)},function(t,e,n){(function(e){var r=n(827);function i(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}i.prototype.initialize=function(t,e){for(var n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1},i.prototype.absorb=function(t){for(var e=0;e<t.length;++e)this.state[~~(this.count/4)]^=t[e]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(r.p1600(this.state),this.count=0)},i.prototype.absorbLastFewBits=function(t){this.state[~~(this.count/4)]^=t<<this.count%4*8,0!==(128&t)&&this.count===this.blockSize-1&&r.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,r.p1600(this.state),this.count=0,this.squeezing=!0},i.prototype.squeeze=function(t){this.squeezing||this.absorbLastFewBits(1);for(var n=e.alloc(t),i=0;i<t;++i)n[i]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(r.p1600(this.state),this.count=0);return n},i.prototype.copy=function(t){for(var e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing},t.exports=i}).call(this,n(29).Buffer)},function(t,e){var n=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];e.p1600=function(t){for(var e=0;e<24;++e){var r=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],s=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],f=t[7]^t[17]^t[27]^t[37]^t[47],l=t[8]^t[18]^t[28]^t[38]^t[48],d=t[9]^t[19]^t[29]^t[39]^t[49],h=l^(o<<1|a>>>31),p=d^(a<<1|o>>>31),g=t[0]^h,m=t[1]^p,b=t[10]^h,v=t[11]^p,y=t[20]^h,_=t[21]^p,w=t[30]^h,S=t[31]^p,O=t[40]^h,x=t[41]^p;h=r^(u<<1|s>>>31),p=i^(s<<1|u>>>31);var E=t[2]^h,M=t[3]^p,T=t[12]^h,$=t[13]^p,A=t[22]^h,k=t[23]^p,C=t[32]^h,I=t[33]^p,P=t[42]^h,N=t[43]^p;h=o^(c<<1|f>>>31),p=a^(f<<1|c>>>31);var R=t[4]^h,j=t[5]^p,D=t[14]^h,L=t[15]^p,F=t[24]^h,B=t[25]^p,U=t[34]^h,z=t[35]^p,H=t[44]^h,V=t[45]^p;h=u^(l<<1|d>>>31),p=s^(d<<1|l>>>31);var q=t[6]^h,W=t[7]^p,G=t[16]^h,K=t[17]^p,Y=t[26]^h,Z=t[27]^p,Q=t[36]^h,X=t[37]^p,J=t[46]^h,tt=t[47]^p;h=c^(r<<1|i>>>31),p=f^(i<<1|r>>>31);var et=t[8]^h,nt=t[9]^p,rt=t[18]^h,it=t[19]^p,ot=t[28]^h,at=t[29]^p,ut=t[38]^h,st=t[39]^p,ct=t[48]^h,ft=t[49]^p,lt=g,dt=m,ht=v<<4|b>>>28,pt=b<<4|v>>>28,gt=y<<3|_>>>29,mt=_<<3|y>>>29,bt=S<<9|w>>>23,vt=w<<9|S>>>23,yt=O<<18|x>>>14,_t=x<<18|O>>>14,wt=E<<1|M>>>31,St=M<<1|E>>>31,Ot=$<<12|T>>>20,xt=T<<12|$>>>20,Et=A<<10|k>>>22,Mt=k<<10|A>>>22,Tt=I<<13|C>>>19,$t=C<<13|I>>>19,At=P<<2|N>>>30,kt=N<<2|P>>>30,Ct=j<<30|R>>>2,It=R<<30|j>>>2,Pt=D<<6|L>>>26,Nt=L<<6|D>>>26,Rt=B<<11|F>>>21,jt=F<<11|B>>>21,Dt=U<<15|z>>>17,Lt=z<<15|U>>>17,Ft=V<<29|H>>>3,Bt=H<<29|V>>>3,Ut=q<<28|W>>>4,zt=W<<28|q>>>4,Ht=K<<23|G>>>9,Vt=G<<23|K>>>9,qt=Y<<25|Z>>>7,Wt=Z<<25|Y>>>7,Gt=Q<<21|X>>>11,Kt=X<<21|Q>>>11,Yt=tt<<24|J>>>8,Zt=J<<24|tt>>>8,Qt=et<<27|nt>>>5,Xt=nt<<27|et>>>5,Jt=rt<<20|it>>>12,te=it<<20|rt>>>12,ee=at<<7|ot>>>25,ne=ot<<7|at>>>25,re=ut<<8|st>>>24,ie=st<<8|ut>>>24,oe=ct<<14|ft>>>18,ae=ft<<14|ct>>>18;t[0]=lt^~Ot&Rt,t[1]=dt^~xt&jt,t[10]=Ut^~Jt>,t[11]=zt^~te&mt,t[20]=wt^~Pt&qt,t[21]=St^~Nt&Wt,t[30]=Qt^~ht&Et,t[31]=Xt^~pt&Mt,t[40]=Ct^~Ht&ee,t[41]=It^~Vt&ne,t[2]=Ot^~Rt&Gt,t[3]=xt^~jt&Kt,t[12]=Jt^~gt&Tt,t[13]=te^~mt&$t,t[22]=Pt^~qt&re,t[23]=Nt^~Wt&ie,t[32]=ht^~Et&Dt,t[33]=pt^~Mt&Lt,t[42]=Ht^~ee&bt,t[43]=Vt^~ne&vt,t[4]=Rt^~Gt&oe,t[5]=jt^~Kt&ae,t[14]=gt^~Tt&Ft,t[15]=mt^~$t&Bt,t[24]=qt^~re&yt,t[25]=Wt^~ie&_t,t[34]=Et^~Dt&Yt,t[35]=Mt^~Lt&Zt,t[44]=ee^~bt&At,t[45]=ne^~vt&kt,t[6]=Gt^~oe<,t[7]=Kt^~ae&dt,t[16]=Tt^~Ft&Ut,t[17]=$t^~Bt&zt,t[26]=re^~yt&wt,t[27]=ie^~_t&St,t[36]=Dt^~Yt&Qt,t[37]=Lt^~Zt&Xt,t[46]=bt^~At&Ct,t[47]=vt^~kt&It,t[8]=oe^~lt&Ot,t[9]=ae^~dt&xt,t[18]=Ft^~Ut&Jt,t[19]=Bt^~zt&te,t[28]=yt^~wt&Pt,t[29]=_t^~St&Nt,t[38]=Yt^~Qt&ht,t[39]=Zt^~Xt&pt,t[48]=At^~Ct&Ht,t[49]=kt^~It&Vt,t[0]^=n[2*e],t[1]^=n[2*e+1]}}},function(t,e,n){var r=n(475),i=function(){for(var t={},e="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",n=[],i=0;i<e.length;i++)n.push(e.charCodeAt(i));var o=[0,2,3,5,6,7,9,10,11],a=n.length,u=11,s=new r(2).pow(64);function c(t){if(t.length%2!==0)throw"Hex string has invalid length!";for(var e=new Uint8Array(t.length/2),n=0;n<t.length/2;++n)e[n]=parseInt(t.slice(2*n,2*n+2),16);return e}function f(t){for(var e=[],n=0;n<t.length;++n)e.push(("0"+t[n].toString(16)).slice(-2));return e.join("")}function l(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}return this.hextobin=c,t.hextobin=c,this.bintohex=f,t.bintohex=f,this.strtobin=l,t.strtobin=l,t.encode_block=function(t,e,i){if(t.length<1||t.length>u)throw"Invalid block length: "+t.length;for(var s=function(t){if(t.length<1||t.length>8)throw"Invalid input length";var e=r(0),n=new r(2).pow(8),i=0;switch(9-t.length){case 1:e=e.add(t[i++]);case 2:e=e.multiply(n).add(t[i++]);case 3:e=e.multiply(n).add(t[i++]);case 4:e=e.multiply(n).add(t[i++]);case 5:e=e.multiply(n).add(t[i++]);case 6:e=e.multiply(n).add(t[i++]);case 7:e=e.multiply(n).add(t[i++]);case 8:e=e.multiply(n).add(t[i++]);break;default:throw"Impossible condition"}return e}(t),c=o[t.length]-1;1===s.compare(0);){var f=s.divRem(a),l=f[1];s=f[0],e[i+c]=n[parseInt(l.toString(),10)],c--}return e},t.encode=function(e){var r=c(e);if(0===r.length)return"";var i,a=Math.floor(r.length/8),s=r.length%8,f=a*u+o[s],l=new Uint8Array(f);for(i=0;i<f;++i)l[i]=n[0];for(i=0;i<a;i++)l=t.encode_block(r.subarray(8*i,8*i+8),l,i*u);return s>0&&(l=t.encode_block(r.subarray(8*a,8*a+s),l,a*u)),function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}(l)},t.decode_block=function(t,e,i){if(t.length<1||t.length>u)throw"Invalid block length: "+t.length;var c=o.indexOf(t.length);if(c<=0)throw"Invalid block size";for(var f=new r(0),l=new r(1),d=t.length-1;d>=0;d--){var h=n.indexOf(t[d]);if(h<0)throw"Invalid symbol";var p=l.multiply(h).add(f);if(1===p.compare(s))throw"Overflow";f=p,l=l.multiply(a)}if(c<8&&new r(2).pow(8*c).compare(f)<=0)throw"Overflow 2";return e.set(function(t,e){var n=new Uint8Array(e);if(e<1||e>8)throw"Invalid input length";for(var i=new r(2).pow(8),o=e-1;o>=0;o--)n[o]=parseInt(t.remainder(i).toString(),10),t=t.divide(i);return n}(f,c),i),e},t.decode=function(e){if(0===(e=l(e)).length)return"";var n=Math.floor(e.length/u),r=e.length%u,i=o.indexOf(r);if(i<0)throw"Invalid encoded length";for(var a=new Uint8Array(8*n+i),s=0;s<n;s++)a=t.decode_block(e.subarray(s*u,s*u+u),a,8*s);return r>0&&(a=t.decode_block(e.subarray(n*u,n*u+r),a,8*n)),f(a)},t}();t.exports=i},function(t,e,n){var r=n(476),i=n(835),o=n(479),a=n(858);function u(t){return t.toUpperCase()===t||t.toLowerCase()===t?0===t.indexOf("0x"):function(t){for(var e=function(t,e){e&&"hex"===e.encoding&&(t.length>2&&"0x"===t.substr(0,2)&&(t=t.substr(2)),t=i.enc.Hex.parse(t));return o(t,{outputLength:256}).toString()}((t=t.replace("0x","")).toLowerCase()),n=0;n<40;n++)if(parseInt(e[n],16)>7&&t[n].toUpperCase()!==t[n]||parseInt(e[n],16)<=7&&t[n].toLowerCase()!==t[n])return!1;return!0}(t)}t.exports={depositUrl:function(t,e){return"ethereum:".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){try{var n,i=r.parse(e);if("iban:"===i.protocol){var o=i.host.toUpperCase();return a.toAddress(o)}if("ethereum:"===i.protocol)if((n=i.auth)&&u(n))return n;return(n=i.path||i.host)&&u(n)?n:null}catch(s){throw new Error("Invalid address")}},buildUrl:function(t){return"ethereum:".concat(t)}}},function(t,e,n){(function(t,r){var i;!function(o){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var u,s=2147483647,c=36,f=/^xn--/,l=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,g=String.fromCharCode;function m(t){throw new RangeError(h[t])}function b(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function v(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+b((t=t.replace(d,".")).split("."),e).join(".")}function y(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function _(t){return b(t,(function(t){var e="";return t>65535&&(e+=g((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=g(t)})).join("")}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function S(t,e,n){var r=0;for(t=n?p(t/700):t>>1,t+=p(t/e);t>455;r+=c)t=p(t/35);return p(r+36*t/(t+38))}function O(t){var e,n,r,i,o,a,u,f,l,d,h,g=[],b=t.length,v=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&m("not-basic"),g.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<b;){for(o=v,a=1,u=c;i>=b&&m("invalid-input"),((f=(h=t.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:c)>=c||f>p((s-v)/a))&&m("overflow"),v+=f*a,!(f<(l=u<=w?1:u>=w+26?26:u-w));u+=c)a>p(s/(d=c-l))&&m("overflow"),a*=d;w=S(v-o,e=g.length+1,0==o),p(v/e)>s-y&&m("overflow"),y+=p(v/e),v%=e,g.splice(v++,0,y)}return _(g)}function x(t){var e,n,r,i,o,a,u,f,l,d,h,b,v,_,O,x=[];for(b=(t=y(t)).length,e=128,n=0,o=72,a=0;a<b;++a)(h=t[a])<128&&x.push(g(h));for(r=i=x.length,i&&x.push("-");r<b;){for(u=s,a=0;a<b;++a)(h=t[a])>=e&&h<u&&(u=h);for(u-e>p((s-n)/(v=r+1))&&m("overflow"),n+=(u-e)*v,e=u,a=0;a<b;++a)if((h=t[a])<e&&++n>s&&m("overflow"),h==e){for(f=n,l=c;!(f<(d=l<=o?1:l>=o+26?26:l-o));l+=c)O=f-d,_=c-d,x.push(g(w(d+O%_,0))),f=p(O/_);x.push(g(w(f,0))),o=S(n,v,r==i),n=0,++r}++n,++e}return x.join("")}u={version:"1.4.1",ucs2:{decode:y,encode:_},decode:O,encode:x,toASCII:function(t){return v(t,(function(t){return l.test(t)?"xn--"+x(t):t}))},toUnicode:function(t){return v(t,(function(t){return f.test(t)?O(t.slice(4).toLowerCase()):t}))}},void 0===(i=function(){return u}.call(e,n,e,t))||(t.exports=i)}()}).call(this,n(94)(t),n(59))},function(t,e,n){"use strict";t.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){"use strict";e.decode=e.parse=n(833),e.encode=e.stringify=n(834)},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var a={};if("string"!==typeof t||0===t.length)return a;var u=/\+/g;t=t.split(e);var s=1e3;o&&"number"===typeof o.maxKeys&&(s=o.maxKeys);var c=t.length;s>0&&c>s&&(c=s);for(var f=0;f<c;++f){var l,d,h,p,g=t[f].replace(u,"%20"),m=g.indexOf(n);m>=0?(l=g.substr(0,m),d=g.substr(m+1)):(l=g,d=""),h=decodeURIComponent(l),p=decodeURIComponent(d),r(a,h)?i(a[h])?a[h].push(p):a[h]=[a[h],p]:a[h]=p}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,u){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?o(a(t),(function(a){var u=encodeURIComponent(r(a))+n;return i(t[a])?o(t[a],(function(t){return u+encodeURIComponent(r(t))})).join(e):u+encodeURIComponent(r(t[a]))})).join(e):u?encodeURIComponent(r(u))+n+encodeURIComponent(r(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var a=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(266),n(836),n(837),n(203),n(204),n(370),n(477),n(838),n(478),n(839),n(479),n(840),n(371),n(841),n(185),n(83),n(842),n(843),n(844),n(845),n(846),n(847),n(848),n(849),n(850),n(851),n(852),n(853),n(854),n(855),n(856),n(857),o)}()},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(){if("function"==typeof ArrayBuffer){var t=i.lib.WordArray,e=t.init;(t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var n=t.byteLength,r=[],i=0;i<n;i++)r[i>>>2]|=t[i]<<24-i%4*8;e.call(this,r,n)}else e.apply(this,arguments)}).prototype=t}}(),i.lib.WordArray)}()},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(){var t=i,e=t.lib.WordArray,n=t.enc;function r(t){return t<<8&4278255360|t>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i+=2){var o=e[i>>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var n=t.length,r=[],i=0;i<n;i++)r[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return e.create(r,2*n)}},n.Utf16LE={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],o=0;o<n;o+=2){var a=r(e[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(a))}return i.join("")},parse:function(t){for(var n=t.length,i=[],o=0;o<n;o++)i[o>>>1]|=r(t.charCodeAt(o)<<16-o%2*16);return e.create(i,2*n)}}}(),i.enc.Utf16)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(477),function(){var t=o,e=t.lib.WordArray,n=t.algo,r=n.SHA256,i=n.SHA224=r.extend({_doReset:function(){this._hash=new e.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=r._doFinalize.call(this);return t.sigBytes-=4,t}});t.SHA224=r._createHelper(i),t.HmacSHA224=r._createHmacHelper(i)}(),o.SHA224)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(266),n(478),function(){var t=o,e=t.x64,n=e.Word,r=e.WordArray,i=t.algo,a=i.SHA512,u=i.SHA384=a.extend({_doReset:function(){this._hash=new r.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var t=a._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=a._createHelper(u),t.HmacSHA384=a._createHmacHelper(u)}(),o.SHA384)}()},function(t,e,n){!function(e,r){var i;t.exports=(i=n(49),function(t){var e=i,n=e.lib,r=n.WordArray,o=n.Hasher,a=e.algo,u=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),d=r.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,h,_,w,S,O,x,E,M,T,$=this._hash.words,A=l.words,k=d.words,C=u.words,I=s.words,P=c.words,N=f.words;for(S=o=$[0],O=a=$[1],x=h=$[2],E=_=$[3],M=w=$[4],n=0;n<80;n+=1)T=o+t[e+C[n]]|0,T+=n<16?p(a,h,_)+A[0]:n<32?g(a,h,_)+A[1]:n<48?m(a,h,_)+A[2]:n<64?b(a,h,_)+A[3]:v(a,h,_)+A[4],T=(T=y(T|=0,P[n]))+w|0,o=w,w=_,_=y(h,10),h=a,a=T,T=S+t[e+I[n]]|0,T+=n<16?v(O,x,E)+k[0]:n<32?b(O,x,E)+k[1]:n<48?m(O,x,E)+k[2]:n<64?g(O,x,E)+k[3]:p(O,x,E)+k[4],T=(T=y(T|=0,N[n]))+M|0,S=M,M=E,E=y(x,10),x=O,O=T;T=$[1]+h+E|0,$[1]=$[2]+_+M|0,$[2]=$[3]+w+S|0,$[3]=$[4]+o+O|0,$[4]=$[0]+a+x|0,$[0]=T},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var u=o[a];o[a]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return i},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,n){return t^e^n}function g(t,e,n){return t&e|~t&n}function m(t,e,n){return(t|~e)^n}function b(t,e,n){return t&n|e&~n}function v(t,e,n){return t^(e|~n)}function y(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(h),e.HmacRIPEMD160=o._createHmacHelper(h)}(Math),i.RIPEMD160)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(370),n(371),function(){var t=o,e=t.lib,n=e.Base,r=e.WordArray,i=t.algo,a=i.SHA1,u=i.HMAC,s=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=this.cfg,i=u.create(n.hasher,t),o=r.create(),a=r.create([1]),s=o.words,c=a.words,f=n.keySize,l=n.iterations;s.length<f;){var d=i.update(e).finalize(a);i.reset();for(var h=d.words,p=h.length,g=d,m=1;m<l;m++){g=i.finalize(g),i.reset();for(var b=g.words,v=0;v<p;v++)h[v]^=b[v]}o.concat(d),c[0]++}return o.sigBytes=4*f,o}});t.PBKDF2=function(t,e,n){return s.create(n).compute(t,e)}}(),o.PBKDF2)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.mode.CFB=function(){var t=o.lib.BlockCipherMode.extend();function e(t,e,n,r){var i=this._iv;if(i){var o=i.slice(0);this._iv=void 0}else o=this._prevBlock;r.encryptBlock(o,0);for(var a=0;a<n;a++)t[e+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(t,n){var r=this._cipher,i=r.blockSize;e.call(this,t,n,i,r),this._prevBlock=t.slice(n,n+i)}}),t.Decryptor=t.extend({processBlock:function(t,n){var r=this._cipher,i=r.blockSize,o=t.slice(n,n+i);e.call(this,t,n,i,r),this._prevBlock=o}}),t}(),o.mode.CFB)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.mode.CTR=function(){var t=o.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);n.encryptBlock(a,0),o[r-1]=o[r-1]+1|0;for(var u=0;u<r;u++)t[e+u]^=a[u]}});return t.Decryptor=e,t}(),o.mode.CTR)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.mode.CTRGladman=function(){var t=o.lib.BlockCipherMode.extend();function e(t){if(255===(t>>24&255)){var e=t>>16&255,n=t>>8&255,r=255&t;255===e?(e=0,255===n?(n=0,255===r?r=0:++r):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=r}else t+=1<<24;return t}function n(t){return 0===(t[0]=e(t[0]))&&(t[1]=e(t[1])),t}var r=t.Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var u=a.slice(0);r.encryptBlock(u,0);for(var s=0;s<i;s++)t[e+s]^=u[s]}});return t.Decryptor=r,t}(),o.mode.CTRGladman)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.mode.OFB=function(){var t=o.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var a=0;a<r;a++)t[e+a]^=o[a]}});return t.Decryptor=e,t}(),o.mode.OFB)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.mode.ECB=function(){var t=o.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t}(),o.mode.ECB)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.pad.AnsiX923={pad:function(t,e){var n=t.sigBytes,r=4*e,i=r-n%r,o=n+i-1;t.clamp(),t.words[o>>>2]|=i<<24-o%4*8,t.sigBytes+=i},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},o.pad.Ansix923)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.pad.Iso10126={pad:function(t,e){var n=4*e,r=n-t.sigBytes%n;t.concat(o.lib.WordArray.random(r-1)).concat(o.lib.WordArray.create([r<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},o.pad.Iso10126)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.pad.Iso97971={pad:function(t,e){t.concat(o.lib.WordArray.create([2147483648],1)),o.pad.ZeroPadding.pad(t,e)},unpad:function(t){o.pad.ZeroPadding.unpad(t),t.sigBytes--}},o.pad.Iso97971)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.pad.ZeroPadding={pad:function(t,e){var n=4*e;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){for(var e=t.words,n=t.sigBytes-1;!(e[n>>>2]>>>24-n%4*8&255);)n--;t.sigBytes=n+1}},o.pad.ZeroPadding)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),o.pad.NoPadding={pad:function(){},unpad:function(){}},o.pad.NoPadding)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(83),function(t){var e=o,n=e.lib.CipherParams,r=e.enc.Hex;e.format.Hex={stringify:function(t){return t.ciphertext.toString(r)},parse:function(t){var e=r.parse(t);return n.create({ciphertext:e})}}}(),o.format.Hex)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(203),n(204),n(185),n(83),function(){var t=o,e=t.lib.BlockCipher,n=t.algo,r=[],i=[],a=[],u=[],s=[],c=[],f=[],l=[],d=[],h=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var n=0,o=0;for(e=0;e<256;e++){var p=o^o<<1^o<<2^o<<3^o<<4;p=p>>>8^255&p^99,r[n]=p,i[p]=n;var g=t[n],m=t[g],b=t[m],v=257*t[p]^16843008*p;a[n]=v<<24|v>>>8,u[n]=v<<16|v>>>16,s[n]=v<<8|v>>>24,c[n]=v,v=16843009*b^65537*m^257*g^16843008*n,f[p]=v<<24|v>>>8,l[p]=v<<16|v>>>16,d[p]=v<<8|v>>>24,h[p]=v,n?(n=g^t[t[t[b^g]]],o^=t[t[o]]):n=o=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,n=t.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a<i;a++)if(a<n)o[a]=e[a];else{var u=o[a-1];a%n?n>6&&a%n==4&&(u=r[u>>>24]<<24|r[u>>>16&255]<<16|r[u>>>8&255]<<8|r[255&u]):(u=r[(u=u<<8|u>>>24)>>>24]<<24|r[u>>>16&255]<<16|r[u>>>8&255]<<8|r[255&u],u^=p[a/n|0]<<24),o[a]=o[a-n]^u}for(var s=this._invKeySchedule=[],c=0;c<i;c++)a=i-c,u=c%4?o[a]:o[a-4],s[c]=c<4||a<=4?u:f[r[u>>>24]]^l[r[u>>>16&255]]^d[r[u>>>8&255]]^h[r[255&u]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,u,s,c,r)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,f,l,d,h,i),n=t[e+1],t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,r,i,o,a,u){for(var s=this._nRounds,c=t[e]^n[0],f=t[e+1]^n[1],l=t[e+2]^n[2],d=t[e+3]^n[3],h=4,p=1;p<s;p++){var g=r[c>>>24]^i[f>>>16&255]^o[l>>>8&255]^a[255&d]^n[h++],m=r[f>>>24]^i[l>>>16&255]^o[d>>>8&255]^a[255&c]^n[h++],b=r[l>>>24]^i[d>>>16&255]^o[c>>>8&255]^a[255&f]^n[h++],v=r[d>>>24]^i[c>>>16&255]^o[f>>>8&255]^a[255&l]^n[h++];c=g,f=m,l=b,d=v}g=(u[c>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&d])^n[h++],m=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[d>>>8&255]<<8|u[255&c])^n[h++],b=(u[l>>>24]<<24|u[d>>>16&255]<<16|u[c>>>8&255]<<8|u[255&f])^n[h++],v=(u[d>>>24]<<24|u[c>>>16&255]<<16|u[f>>>8&255]<<8|u[255&l])^n[h++],t[e]=g,t[e+1]=m,t[e+2]=b,t[e+3]=v},keySize:8});t.AES=e._createHelper(g)}(),o.AES)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(203),n(204),n(185),n(83),function(){var t=o,e=t.lib,n=e.WordArray,r=e.BlockCipher,i=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=i.DES=r.extend({_doReset:function(){for(var t=this._key.words,e=[],n=0;n<56;n++){var r=a[n]-1;e[n]=t[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var c=i[o]=[],f=s[o];for(n=0;n<24;n++)c[n/6|0]|=e[(u[n]-1+f)%28]<<31-n%6,c[4+(n/6|0)]|=e[28+(u[n+24]-1+f)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var l=this._invSubKeys=[];for(n=0;n<16;n++)l[n]=i[15-n]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,n){this._lBlock=t[e],this._rBlock=t[e+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,a=this._rBlock,u=0,s=0;s<8;s++)u|=c[s][((a^i[s])&f[s])>>>0];this._lBlock=a,this._rBlock=o^u}var l=this._lBlock;this._lBlock=this._rBlock,this._rBlock=l,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(t,e){var n=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=n,this._lBlock^=n<<t}function h(t,e){var n=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=n,this._rBlock^=n<<t}t.DES=r._createHelper(l);var p=i.TripleDES=r.extend({_doReset:function(){var t=this._key.words;this._des1=l.createEncryptor(n.create(t.slice(0,2))),this._des2=l.createEncryptor(n.create(t.slice(2,4))),this._des3=l.createEncryptor(n.create(t.slice(4,6)))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=r._createHelper(p)}(),o.TripleDES)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(203),n(204),n(185),n(83),function(){var t=o,e=t.lib.StreamCipher,n=t.algo,r=n.RC4=e.extend({_doReset:function(){for(var t=this._key,e=t.words,n=t.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var a=i%n,u=e[a>>>2]>>>24-a%4*8&255;o=(o+r[i]+u)%256;var s=r[i];r[i]=r[o],r[o]=s}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+t[e=(e+1)%256])%256;var o=t[e];t[e]=t[n],t[n]=o,r|=t[(t[e]+t[n])%256]<<24-8*i}return this._i=e,this._j=n,r}t.RC4=e._createHelper(r);var a=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});t.RC4Drop=e._createHelper(a)}(),o.RC4)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(203),n(204),n(185),n(83),function(){var t=o,e=t.lib.StreamCipher,n=t.algo,r=[],i=[],a=[],u=n.Rabbit=e.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,n=0;n<4;n++)t[n]=16711935&(t[n]<<8|t[n]>>>24)|4278255360&(t[n]<<24|t[n]>>>8);var r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(e){var o=e.words,a=o[0],u=o[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),l=c>>>16|4294901760&f,d=f<<16|65535&c;for(i[0]^=c,i[1]^=l,i[2]^=f,i[3]^=d,i[4]^=c,i[5]^=l,i[6]^=f,i[7]^=d,n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(t,e){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),t[e+i]^=r[i]},blockSize:4,ivSize:2});function s(){for(var t=this._X,e=this._C,n=0;n<8;n++)i[n]=e[n];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=t[n]+e[n],o=65535&r,u=r>>>16,s=((o*o>>>17)+o*u>>>15)+u*u,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=s^c}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=e._createHelper(u)}(),o.Rabbit)}()},function(t,e,n){!function(e,r,i){var o;t.exports=(o=n(49),n(203),n(204),n(185),n(83),function(){var t=o,e=t.lib.StreamCipher,n=t.algo,r=[],i=[],a=[],u=n.RabbitLegacy=e.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],r=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(e){var o=e.words,a=o[0],u=o[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),l=c>>>16|4294901760&f,d=f<<16|65535&c;for(r[0]^=c,r[1]^=l,r[2]^=f,r[3]^=d,r[4]^=c,r[5]^=l,r[6]^=f,r[7]^=d,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(t,e){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),t[e+i]^=r[i]},blockSize:4,ivSize:2});function s(){for(var t=this._X,e=this._C,n=0;n<8;n++)i[n]=e[n];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=t[n]+e[n],o=65535&r,u=r>>>16,s=((o*o>>>17)+o*u>>>15)+u*u,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=s^c}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=e._createHelper(u)}(),o.RabbitLegacy)}()},function(t,e,n){(function(e){var r=n(465)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"),i={};function o(t){return(t=t.slice(4)+t.slice(0,4)).split("").map((function(t){var e=t.charCodeAt(0);return e>=65&&e<=90?e-65+10:t})).join("")}function a(t){for(var e=0,n=0;n<t.length;n++)e*=10,e+=t.charCodeAt(n)-48,e%=97;return e}i.decodeBBAN=function(t){var e=t.length;if(30===e||31===e){for(var n=r.decode(t).toString("hex");n.length<40;)n="0"+n;return 42===n.length&&"0"===n[0]&&"0"===n[1]&&(n=n.slice(2)),"0x"+n}if(16===e)return{asset:t.slice(0,3),institution:t.slice(3,7),client:t.slice(7,16)};throw new Error("Not a valid Ethereum BBAN")},i.encodeBBAN=function(t){if("object"===typeof t){if(3!==t.asset.length||4!==t.institution.length||9!==t.client.length)throw new Error("Invalid 'indirect' Ethereum BBAN");return[t.asset,t.institution,t.client].join("").toUpperCase()}if(42===t.length&&"0"===t[0]&&"x"===t[1])return t="0"===t[2]&&"0"===t[3]?t.slice(4):t.slice(2),r.encode(e.from(t,"hex"));throw new Error("Not a valid input for Ethereum BBAN")},i.encode=function(t,e){var n=98-a(o("XE00"+(t=i.encodeBBAN(t)))),r="XE"+(n=("0"+n).slice(-2))+t;return!0===e&&(r=r.replace(/(.{4})/g,"$1 ")),r},i.decode=function(t,e){if(t=t.replace(/ /g,""),!e){if("XE"!==t.slice(0,2))throw new Error("Not in ICAP format");if(1!==a(o(t)))throw new Error("Invalid checksum in IBAN")}return i.decodeBBAN(t.slice(4,35))},i.fromAddress=function(t,e,n){var r=i.encode(t,e);if(34!==r.replace(" ","").length&&!0!==n)throw new Error("Supplied address will result in invalid an IBAN");return r},i.fromAsset=function(t,e){return i.encode(t,e)},i.toAddress=function(t){var e=i.decode(t);if("string"!==typeof e)throw new Error("Not an address-encoded ICAP");return e},i.toAsset=function(t){var e=i.decode(t);if("object"!==typeof e)throw new Error("Not an asset-encoded ICAP");return e},i.isICAP=function(t){try{return i.decode(t),!0}catch(e){return!1}},i.isAddress=function(t){try{return i.toAddress(t),!0}catch(e){return!1}},i.isAsset=function(t){try{return i.toAsset(t),!0}catch(e){return!1}},t.exports=i}).call(this,n(29).Buffer)},function(t,e,n){n(102);var r=n(133).base58Validator,i=n(133).zecBech32Validator,o={bufferLength:22,mainNetPrefix:[[28,184],[28,189]],testNetPrefix:[[28,186],[29,37]]},a={mainNetPrefix:"zs",testNetPrefix:"ztestsapling"};t.exports={depositUrl:function(t,e){return"zcash:".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){var n=/^(zcash:\/{0,2})?(\w+)/.exec(e),u=n&&n[2];if(console.log("DEBUG16: *%s*",u),!function(t,e){if(!t)throw new Error("No network supplied.");if(!e)throw new Error("No address supplied.");return!!r(t,e,o)||!!i(t,e,a)}(t,u))throw new Error("Invalid address");return u},buildUrl:function(t){return"zcash:".concat(t)},base58Opts:o,bech32Opts:a}},function(t,e,n){n(102);var r=n(133).base58Validator,i=n(133).bech32Validator,o=n(438),a={bufferLength:21,mainNetPrefix:[[48],[50]],testNetPrefix:[[111],[58]]},u={mainNetPrefix:"ltc",testNetPrefix:"tltc"};t.exports={depositUrl:function(t,e){return"litecoin:".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){var n=/^(litecoin:\/{0,2})?(\w+)/.exec(e),o=n&&n[2];if(console.log("DEBUG16: *%s*",o),!function(t,e){if(!t)throw new Error("No network supplied.");if(!e)throw new Error("No address supplied.");return!!r(t,e,a)||!!i(t,e,u)}(t,o))throw new Error("Invalid address");return o},buildUrl:function(t){return"litecoin:".concat(t)},base58Opts:a,bech32Opts:u,createWallet:function(){var t={messagePrefix:"\x19Litecoin Signed Message:\n",bech32:"ltc",bip32:{public:27108450,private:27106558},pubKeyHash:48,scriptHash:50,wif:176},e=o.ECPair.makeRandom({network:t});return{publicAddress:o.payments.p2wpkh({pubkey:e.publicKey,network:t}).address,privateKey:e.toWIF()}}}},function(t,e,n){n(102);var r=n(133).base58Validator,i={bufferLength:21,mainNetPrefix:[[76],[16]],testNetPrefix:[[140],[19]]};t.exports={depositUrl:function(t,e){return"dash:".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){var n=/^(dash:\/{0,2})?(\w+)/.exec(e),o=n&&n[2];if(console.log("DEBUG16: *%s*",o),!function(t,e){if(!t)throw new Error("No network supplied.");if(!e)throw new Error("No address supplied.");return!!r(t,e,i)}(t,o))throw new Error("Invalid address");return o},buildUrl:function(t){return"dash:".concat(t)},base58Opts:i}},function(t,e,n){var r=n(372),i=n(866),o=(n(102),n(869).PrivateKey),a={main:"bitcoincash:",test:"bchtest:"};t.exports={depositUrl:function(t,e){return"".concat(t,"?amount=").concat(e)},parseUrl:function(t,e){var n=/^(bitcoincash:\/{0,2}|bchtest:\/{0,2})?(\w+)/.exec(e.toLowerCase()),r=n&&n[2],o=a[t]+r;if(console.log("DEBUG16: [%s] *%s*",t,r),!function(t){try{if(!t)throw new Error("No address supplied.");i.decode(t);return!0}catch(e){return console.log(e),console.log("Invalid bitcoin cash address: %s",t),!1}}(o))throw new Error("Invalid address");return o},buildUrl:function(t){return"".concat(t)},formatAddress:function(t){var e=t.split(":"),n=r(e,2)[1];return n||t},createWallet:function(){var t=new o;return{publicAddress:t.toAddress().toString(),privateKey:t.toWIF()}}}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}},function(t,e){t.exports=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(867),i=n(475),o=n(868),a=n(374),u=a.validate;var s=a.ValidationError,c=["bitcoincash","bchtest","bchreg"];function f(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;++n)e[n]=31&t[n].charCodeAt(0);return e}function l(t,e){var n=new Uint8Array(t.length+e.length);return n.set(t),n.set(e,t.length),n}function d(t){for(var e=[656907472481,522768456162,0xf33e5fb3c4,748107326120,130178868336],n=i(1),r=0;r<t.length;++r){var o=t[r],a=n.shiftRight(35);n=n.and(34359738367).shiftLeft(5).xor(o);for(var u=0;u<e.length;++u)a.shiftRight(u).and(1).equals(1)&&(n=n.xor(e[u]))}return n.xor(1)}function h(t){return t===t.toLowerCase()||t===t.toUpperCase()}t.exports={encode:function(t,e,n){u("string"===typeof t&&function(t){return h(t)&&-1!==c.indexOf(t.toLowerCase())}(t),"Invalid prefix: "+t+"."),u("string"===typeof e,"Invalid type: "+e+"."),u(n instanceof Uint8Array,"Invalid hash: "+n+".");var i,a=l(f(t),new Uint8Array(1)),p=function(t){switch(t){case"P2PKH":return 0;case"P2SH":return 8;default:throw new s("Invalid type: "+t+".")}}(e)+function(t){switch(8*t.length){case 160:return 0;case 192:return 1;case 224:return 2;case 256:return 3;case 320:return 4;case 384:return 5;case 448:return 6;case 512:return 7;default:throw new s("Invalid hash size: "+t.length+".")}}(n),g=(i=l(Uint8Array.of(p),n),o(i,8,5)),m=l(l(a,g),new Uint8Array(8)),b=l(g,function(t){for(var e=new Uint8Array(8),n=0;n<8;++n)e[7-n]=t.and(31).toJSNumber(),t=t.shiftRight(5);return e}(d(m)));return t+":"+r.encode(b)},decode:function(t){u("string"===typeof t&&h(t),"Invalid address: "+t+".");var e=t.toLowerCase().split(":");u(2===e.length,"Missing prefix: "+t+".");var n=e[0],i=r.decode(e[1]);u(function(t,e){var n=l(f(t),new Uint8Array(1));return d(l(n,e)).equals(0)}(n,i),"Invalid checksum: "+t+".");var a,c=(a=i.slice(0,-8),o(a,5,8,!0)),p=c[0],g=c.slice(1);return u(function(t){switch(7&t){case 0:return 160;case 1:return 192;case 2:return 224;case 3:return 256;case 4:return 320;case 5:return 384;case 6:return 448;case 7:return 512}}(p)===8*g.length,"Invalid hash size: "+t+"."),{prefix:n,type:function(t){switch(120&t){case 0:return"P2PKH";case 8:return"P2SH";default:throw new s("Invalid address type in version byte: "+t+".")}}(p),hash:g}},ValidationError:s}},function(t,e,n){"use strict";var r=n(374).validate,i={q:0,p:1,z:2,r:3,y:4,9:5,x:6,8:7,g:8,f:9,2:10,t:11,v:12,d:13,w:14,0:15,s:16,3:17,j:18,n:19,5:20,4:21,k:22,h:23,c:24,e:25,6:26,m:27,u:28,a:29,7:30,l:31};t.exports={encode:function(t){r(t instanceof Uint8Array,"Invalid data: "+t+".");for(var e="",n=0;n<t.length;++n){var i=t[n];r(0<=i&&i<32,"Invalid value: "+i+"."),e+="qpzry9x8gf2tvdw0s3jn54khce6mua7l"[i]}return e},decode:function(t){r("string"===typeof t,"Invalid base32-encoded string: "+t+".");for(var e=new Uint8Array(t.length),n=0;n<t.length;++n){var o=t[n];r(o in i,"Invalid value: "+o+"."),e[n]=i[o]}return e}}},function(t,e,n){"use strict";var r=n(374).validate;t.exports=function(t,e,n,i){for(var o=i?Math.floor(t.length*e/n):Math.ceil(t.length*e/n),a=(1<<n)-1,u=new Uint8Array(o),s=0,c=0,f=0,l=0;l<t.length;++l){var d=t[l];for(r(0<=d&&d>>e===0,"Invalid value: "+d+"."),c=c<<e|d,f+=e;f>=n;)f-=n,u[s]=c>>f&a,++s}return i?r(f<e&&0===(c<<n-f&a),"Input cannot be converted to "+n+" bits without padding, but strict mode was used."):f>0&&(u[s]=c<<n-f&a,++s),u}},function(t,e,n){"use strict";(function(e,r){var i=t.exports;i.version="v"+n(870).version,i.versionGuard=function(t){if(void 0!==t){throw new Error("More than one instance of bitcore-lib-cash found. Please make sure to require bitcore-lib and check that submodules do not also include their own bitcore-lib dependency.")}},i.versionGuard(e._bitcoreCash),e._bitcoreCash=i.version,i.crypto={},i.crypto.BN=n(79),i.crypto.ECDSA=n(375),i.crypto.Schnorr=n(386),i.crypto.Hash=n(84),i.crypto.Random=n(242),i.crypto.Point=n(186),i.crypto.Signature=n(100),i.encoding={},i.encoding.Base58=n(274),i.encoding.Base58Check=n(241),i.encoding.BufferReader=n(160),i.encoding.BufferWriter=n(134),i.encoding.Varint=n(948),i.util={},i.util.buffer=n(63),i.util.js=n(80),i.util.preconditions=n(52),i.util.base32=n(510),i.util.convertBits=n(511),i.errors=n(114),i.Address=n(187),i.Block=n(949),i.MerkleBlock=n(517),i.BlockHeader=n(277),i.HDPrivateKey=n(518),i.HDPublicKey=n(519),i.Networks=n(159),i.Opcode=n(275),i.PrivateKey=n(273),i.PublicKey=n(101),i.Script=n(117),i.Transaction=n(276),i.URI=n(951),i.Unit=n(389),i.deps={},i.deps.bnjs=n(112),i.deps.bs58=n(364),i.deps.Buffer=r,i.deps.elliptic=n(352),i.deps._=n(48),i.Transaction.sighash=n(152)}).call(this,n(59),n(29).Buffer)},function(t){t.exports=JSON.parse('{"_from":"bitcore-lib-cash@^8.25.25","_id":"bitcore-lib-cash@8.25.28","_inBundle":false,"_integrity":"sha512-Zaue7z/iDdQDTNsDoX8LkxH04/pCpHKpSgbxJe2D/2n1YLi1JtzOl9Ox4agYQtR/k9SWCg4p8qJ1W7lVWVP8+A==","_location":"/bitcore-lib-cash","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"bitcore-lib-cash@^8.25.25","name":"bitcore-lib-cash","escapedName":"bitcore-lib-cash","rawSpec":"^8.25.25","saveSpec":null,"fetchSpec":"^8.25.25"},"_requiredBy":["/@lamassu/coins"],"_resolved":"https://registry.npmjs.org/bitcore-lib-cash/-/bitcore-lib-cash-8.25.28.tgz","_shasum":"cc14709580432446f28cea793efe42d1d813112b","_spec":"bitcore-lib-cash@^8.25.25","_where":"/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin/node_modules/@lamassu/coins","author":{"name":"BitPay","email":"dev@bitpay.com"},"browser":{"request":"browser-request"},"bundleDependencies":false,"dependencies":{"bitcore-lib":"^8.25.28","bn.js":"=4.11.8","bs58":"^4.0.1","buffer-compare":"=1.1.1","elliptic":"^6.5.3","inherits":"=2.0.1","lodash":"^4.17.20"},"deprecated":false,"description":"A pure and powerful JavaScript Bitcoin Cash library.","devDependencies":{"base-x":"=3.0.4","bitcore-build":"^8.25.10","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"gitHead":"713d540373cd442327f7fed479c2b69dfd239ab7","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"license":"MIT","main":"index.js","name":"bitcore-lib-cash","repository":{"type":"git","url":"https://github.com/bitpay/bitcore/tree/master/packages/bitcore-lib-cash"},"scripts":{"build":"gulp","coverage":"gulp coverage","pub":"npm run build && npm publish","test":"gulp test","test:ci":"npm run test"},"version":"8.25.28"}')},function(t,e,n){"use strict";var r="http://bitcore.io/";t.exports=[{name:"InvalidB58Char",message:"Invalid Base58 character: {0} in {1}"},{name:"InvalidB58Checksum",message:"Invalid Base58 checksum for {0}"},{name:"InvalidNetwork",message:"Invalid version for network: got {0}"},{name:"InvalidState",message:"Invalid state: {0}"},{name:"NotImplemented",message:"Function {0} was not implemented yet"},{name:"InvalidNetworkArgument",message:'Invalid network: must be "livenet" or "testnet", got {0}'},{name:"InvalidArgument",message:function(){return"Invalid Argument"+(arguments[0]?": "+arguments[0]:"")+(arguments[1]?" Documentation: "+r+arguments[1]:"")}},{name:"AbstractMethodInvoked",message:"Abstract Method Invocation: {0}"},{name:"InvalidArgumentType",message:function(){return"Invalid Argument for "+arguments[2]+", expected "+arguments[1]+" but got "+typeof arguments[0]}},{name:"Unit",message:"Internal Error on Unit {0}",errors:[{name:"UnknownCode",message:"Unrecognized unit code: {0}"},{name:"InvalidRate",message:"Invalid exchange rate: {0}"}]},{name:"MerkleBlock",message:"Internal Error on MerkleBlock {0}",errors:[{name:"InvalidMerkleTree",message:"This MerkleBlock contain an invalid Merkle Tree"}]},{name:"Transaction",message:"Internal Error on Transaction {0}",errors:[{name:"Input",message:"Internal Error on Input {0}",errors:[{name:"MissingScript",message:"Need a script to create an input"},{name:"UnsupportedScript",message:"Unsupported input script type: {0}"},{name:"MissingPreviousOutput",message:"No previous output information."},{name:"BlockHeightOutOfRange",message:"Block Height can only be between 0 and 65535"},{name:"LockTimeRange",message:"Seconds needs to be more that 0 and less that 33553920"}]},{name:"NeedMoreInfo",message:"{0}"},{name:"InvalidSorting",message:"The sorting function provided did not return the change output as one of the array elements"},{name:"InvalidOutputAmountSum",message:"{0}"},{name:"MissingSignatures",message:"Some inputs have not been fully signed"},{name:"InvalidIndex",message:"Invalid index: {0} is not between 0, {1}"},{name:"UnableToVerifySignature",message:"Unable to verify signature: {0}"},{name:"DustOutputs",message:"Dust amount detected in one output"},{name:"InvalidSatoshis",message:"Output satoshis are invalid"},{name:"FeeError",message:"Internal Error on Fee {0}",errors:[{name:"TooSmall",message:"Fee is too small: {0}"},{name:"TooLarge",message:"Fee is too large: {0}"},{name:"Different",message:"Unspent value is different from specified fee: {0}"}]},{name:"ChangeAddressMissing",message:"Change address is missing"},{name:"BlockHeightTooHigh",message:"Block Height can be at most 2^32 -1"},{name:"NLockTimeOutOfRange",message:"Block Height can only be between 0 and 499 999 999"},{name:"LockTimeTooEarly",message:"Lock Time can't be earlier than UNIX date 500 000 000"}]},{name:"Script",message:"Internal Error on Script {0}",errors:[{name:"UnrecognizedAddress",message:"Expected argument {0} to be an address"},{name:"CantDeriveAddress",message:"Can't derive address associated with script {0}, needs to be p2pkh in, p2pkh out, p2sh in, or p2sh out."},{name:"InvalidBuffer",message:"Invalid script buffer: can't parse valid script from given buffer {0}"}]},{name:"HDPrivateKey",message:"Internal Error on HDPrivateKey {0}",errors:[{name:"InvalidDerivationArgument",message:"Invalid derivation argument {0}, expected string, or number and boolean"},{name:"InvalidEntropyArgument",message:"Invalid entropy: must be an hexa string or binary buffer, got {0}",errors:[{name:"TooMuchEntropy",message:'Invalid entropy: more than 512 bits is non standard, got "{0}"'},{name:"NotEnoughEntropy",message:'Invalid entropy: at least 128 bits needed, got "{0}"'}]},{name:"InvalidLength",message:"Invalid length for xprivkey string in {0}"},{name:"InvalidPath",message:"Invalid derivation path: {0}"},{name:"UnrecognizedArgument",message:'Invalid argument: creating a HDPrivateKey requires a string, buffer, json or object, got "{0}"'}]},{name:"HDPublicKey",message:"Internal Error on HDPublicKey {0}",errors:[{name:"ArgumentIsPrivateExtended",message:"Argument is an extended private key: {0}"},{name:"InvalidDerivationArgument",message:"Invalid derivation argument: got {0}"},{name:"InvalidLength",message:'Invalid length for xpubkey: got "{0}"'},{name:"InvalidPath",message:'Invalid derivation path, it should look like: "m/1/100", got "{0}"'},{name:"InvalidIndexCantDeriveHardened",message:"Invalid argument: creating a hardened path requires an HDPrivateKey"},{name:"MustSupplyArgument",message:"Must supply an argument to create a HDPublicKey"},{name:"UnrecognizedArgument",message:"Invalid argument for creation, must be string, json, buffer, or object"}]}]},function(t,e,n){t.exports=n(482)},function(t,e,n){(function(e,r){var i,o=n(36).Buffer,a=n(484),u=n(485),s=n(486),c=n(487),f=e.crypto&&e.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(t,e,n,r,i){return f.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return f.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,n,p,g,m,b){"function"===typeof m&&(b=m,m=void 0);var v=l[(m=m||"sha1").toLowerCase()];if(!v||"function"!==typeof e.Promise)return r.nextTick((function(){var e;try{e=s(t,n,p,g,m)}catch(r){return b(r)}b(null,e)}));if(a(p,g),t=c(t,u,"Password"),n=c(n,u,"Salt"),"function"!==typeof b)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){r.nextTick((function(){e(null,t)}))}),(function(t){r.nextTick((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==d[t])return d[t];var n=h(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return d[t]=n,n}(v).then((function(e){return e?h(t,n,p,g,v):s(t,n,p,g,m)})),b)}}).call(this,n(59),n(70))},function(t,e,n){var r=n(875),i=n(377),o=n(378),a=n(888),u=n(269);function s(t,e,n){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function c(t,e,n){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=u(e,!1,n,r);return s(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=s,e.createDecipher=e.Decipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=u(e,!1,n,r);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(t,e,n){var r=n(156),i=n(876),o=n(37),a=n(36).Buffer,u={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function s(t){r.call(this);var e,n=t.mode.toLowerCase(),i=u[n];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var s=t.iv;a.isBuffer(s)||(s=a.from(s)),this._des=i.create({key:o,iv:s,type:e})}u.des=u["des-cbc"],u.des3=u["des-ede3-cbc"],t.exports=s,o(s,r),s.prototype._update=function(t){return a.from(this._des.update(t))},s.prototype._final=function(){return a.from(this._des.final())}},function(t,e,n){"use strict";e.utils=n(488),e.Cipher=n(376),e.DES=n(489),e.CBC=n(877),e.EDE=n(878)},function(t,e,n){"use strict";var r=n(95),i=n(37),o={};function a(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var n=Object.keys(o),r=0;r<n.length;r++){var a=n[r];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var u=0;u<this.blockSize;u++)a[u]^=t[e+u];o._update.call(this,a,0,n,r);for(u=0;u<this.blockSize;u++)a[u]=n[r+u]}else{o._update.call(this,t,e,n,r);for(u=0;u<this.blockSize;u++)n[r+u]^=a[u];for(u=0;u<this.blockSize;u++)a[u]=t[e+u]}}},function(t,e,n){"use strict";var r=n(95),i=n(37),o=n(376),a=n(489);function u(t,e){r.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function s(t){o.call(this,t);var e=new u(this.type,this.options.key);this._edeState=e}i(s,o),t.exports=s,s.create=function(t){return new s(t)},s.prototype._update=function(t,e,n,r){var i=this._edeState;i.ciphers[0]._update(t,e,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},s.prototype._pad=a.prototype._pad,s.prototype._unpad=a.prototype._unpad},function(t,e,n){var r=n(378),i=n(493),o=n(36).Buffer,a=n(494),u=n(156),s=n(268),c=n(269);function f(t,e,n){u.call(this),this._cache=new d,this._cipher=new s.AES(e),this._prev=o.from(n),this._mode=t,this._autopadding=!0}n(37)(f,u),f.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get();)n=this._mode.encrypt(this,e),r.push(n);return o.concat(r)};var l=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function h(t,e,n){var u=r[t.toLowerCase()];if(!u)throw new TypeError("invalid suite type");if("string"===typeof e&&(e=o.from(e)),e.length!==u.key/8)throw new TypeError("invalid key length "+e.length);if("string"===typeof n&&(n=o.from(n)),"GCM"!==u.mode&&n.length!==u.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===u.type?new a(u.module,e,n):"auth"===u.type?new i(u.module,e,n):new f(u.module,e,n)}f.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},d.prototype.add=function(t){this.cache=o.concat([this.cache,t])},d.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},d.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return o.concat([this.cache,e])},e.createCipheriv=h,e.createCipher=function(t,e){var n=r[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(e,!1,n.key,n.iv);return h(t,i.key,i.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,n){var r=n(239);e.encrypt=function(t,e){var n=r(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return r(i,n)}},function(t,e,n){var r=n(36).Buffer,i=n(239);function o(t,e,n){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:a]),a}e.encrypt=function(t,e,n){for(var i,a=r.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){a=r.concat([a,o(t,e,n)]);break}i=t._cache.length,a=r.concat([a,o(t,e.slice(0,i),n)]),e=e.slice(i)}return a}},function(t,e,n){var r=n(36).Buffer;function i(t,e,n){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=r.concat([t._prev.slice(1),r.from([n?e:i])]),i}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),u=-1;++u<o;)a[u]=i(t,e[u],n);return a}},function(t,e,n){var r=n(36).Buffer;function i(t,e,n){for(var r,i,a=-1,u=0;++a<8;)r=e&1<<7-a?128:0,u+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^r))>>a%8,t._prev=o(t._prev,n?r:i);return u}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);for(t=r.concat([t,r.from([e])]);++i<n;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),u=-1;++u<o;)a[u]=i(t,e[u],n);return a}},function(t,e,n){(function(t){var r=n(239);function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),r(n,o)}}).call(this,n(29).Buffer)},function(t,e,n){var r=n(36).Buffer,i=r.alloc(16,0);function o(t){var e=r.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,n,r=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!==(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!==(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=r.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},function(t,e,n){var r=n(493),i=n(36).Buffer,o=n(378),a=n(494),u=n(156),s=n(268),c=n(269);function f(t,e,n){u.call(this),this._cache=new l,this._last=void 0,this._cipher=new s.AES(e),this._prev=i.from(n),this._mode=t,this._autopadding=!0}function l(){this.cache=i.allocUnsafe(0)}function d(t,e,n){var u=o[t.toLowerCase()];if(!u)throw new TypeError("invalid suite type");if("string"===typeof n&&(n=i.from(n)),"GCM"!==u.mode&&n.length!==u.iv)throw new TypeError("invalid iv length "+n.length);if("string"===typeof e&&(e=i.from(e)),e.length!==u.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===u.type?new a(u.module,e,n,!0):"auth"===u.type?new r(u.module,e,n,!0):new f(u.module,e,n)}n(37)(f,u),f.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),r.push(n);return i.concat(r)},f.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},l.prototype.add=function(t){this.cache=i.concat([this.cache,t])},l.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},l.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(e,!1,n.key,n.iv);return d(t,r.key,r.iv)},e.createDecipheriv=d},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,n){(function(t){var r=n(495),i=n(890),o=n(891);var a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new o(n,r)},e.createDiffieHellman=e.DiffieHellman=function e(n,i,u,s){return t.isBuffer(i)||void 0===a[i]?e(n,"binary",i,u):(i=i||"binary",s=s||"binary",u=u||new t([2]),t.isBuffer(u)||(u=new t(u,s)),"number"===typeof n?new o(r(n,u),u,!0):(t.isBuffer(n)||(n=new t(n,i)),new o(n,u,!0)))}}).call(this,n(29).Buffer)},function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,n){(function(e){var r=n(112),i=new(n(496)),o=new r(24),a=new r(11),u=new r(10),s=new r(3),c=new r(7),f=n(495),l=n(183);function d(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._pub=new r(t),this}function h(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._priv=new r(t),this}t.exports=g;var p={};function g(t,e,n){this.setGenerator(e),this.__prime=new r(t),this._prime=r.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(t,n){var r=new e(t.toArray());return n?r.toString(n):r}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),r=[n,t.toString(16)].join("_");if(r in p)return p[r];var l,d=0;if(t.isEven()||!f.simpleSieve||!f.fermatTest(t)||!i.test(t))return d+=1,d+="02"===n||"05"===n?8:4,p[r]=d,d;switch(i.test(t.shrn(1))||(d+=2),n){case"02":t.mod(o).cmp(a)&&(d+=8);break;case"05":(l=t.mod(u)).cmp(s)&&l.cmp(c)&&(d+=8);break;default:d+=4}return p[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new r(l(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(t){var n=(t=(t=new r(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(n.toArray()),o=this.getPrime();if(i.length<o.length){var a=new e(o.length-i.length);a.fill(0),i=e.concat([a,i])}return i},g.prototype.getPublicKey=function(t){return m(this._pub,t)},g.prototype.getPrivateKey=function(t){return m(this._priv,t)},g.prototype.getPrime=function(t){return m(this.__prime,t)},g.prototype.getGenerator=function(t){return m(this._gen,t)},g.prototype.setGenerator=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.__gen=t,this._gen=new r(t),this}}).call(this,n(29).Buffer)},function(t,e,n){var r=n(36).Buffer,i=n(158),o=n(265),a=n(37),u=n(893),s=n(918),c=n(482);function f(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function l(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function d(t){return new f(t)}function h(t){return new l(t)}Object.keys(c).forEach((function(t){c[t].id=r.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),a(f,o.Writable),f.prototype._write=function(t,e,n){this._hash.update(t),n()},f.prototype.update=function(t,e){return"string"===typeof t&&(t=r.from(t,e)),this._hash.update(t),this},f.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=u(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},a(l,o.Writable),l.prototype._write=function(t,e,n){this._hash.update(t),n()},l.prototype.update=function(t,e){return"string"===typeof t&&(t=r.from(t,e)),this._hash.update(t),this},l.prototype.verify=function(t,e,n){"string"===typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return s(e,i,t,this._signType,this._tag)},t.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},function(t,e,n){var r=n(36).Buffer,i=n(263),o=n(379),a=n(497).ec,u=n(499),s=n(271),c=n(505);function f(t,e,n,o){if((t=r.from(t.toArray())).length<e.byteLength()){var a=r.alloc(e.byteLength()-t.length);t=r.concat([a,t])}var u=n.length,s=function(t,e){t=(t=l(t,e)).mod(e);var n=r.from(t.toArray());if(n.length<e.byteLength()){var i=r.alloc(e.byteLength()-n.length);n=r.concat([i,n])}return n}(n,e),c=r.alloc(u);c.fill(1);var f=r.alloc(u);return f=i(o,f).update(c).update(r.from([0])).update(t).update(s).digest(),c=i(o,f).update(c).digest(),{k:f=i(o,f).update(c).update(r.from([1])).update(t).update(s).digest(),v:c=i(o,f).update(c).digest()}}function l(t,e){var n=new u(t),r=(t.length<<3)-e.bitLength();return r>0&&n.ishrn(r),n}function d(t,e,n){var o,a;do{for(o=r.alloc(0);8*o.length<t.bitLength();)e.v=i(n,e.k).update(e.v).digest(),o=r.concat([o,e.v]);a=l(o,t),e.k=i(n,e.k).update(e.v).update(r.from([0])).digest(),e.v=i(n,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function h(t,e,n,r){return t.toRed(u.mont(n)).redPow(e).fromRed().mod(r)}t.exports=function(t,e,n,i,p){var g=s(e);if(g.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var n=c[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var i=new a(n).keyFromPrivate(e.privateKey).sign(t);return r.from(i.toDER())}(t,g)}if("dsa"===g.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,n){var i,o=e.params.priv_key,a=e.params.p,s=e.params.q,c=e.params.g,p=new u(0),g=l(t,s).mod(s),m=!1,b=f(o,s,t,n);for(;!1===m;)p=h(c,i=d(s,b,n),a,s),0===(m=i.invm(s).imul(g.add(o.mul(p))).mod(s)).cmpn(0)&&(m=!1,p=new u(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t));128&e[0]&&(e=[0].concat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),r.from(n)}(p,m)}(t,g,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=r.concat([p,t]);for(var m=g.modulus.byteLength(),b=[0,1];t.length+b.length+1<m;)b.push(255);b.push(0);for(var v=-1;++v<t.length;)b.push(t[v]);return o(b,g)},t.exports.getKey=f,t.exports.makeKey=d},function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=n(895).Buffer}catch(T){}function u(t,e,n){for(var i=0,o=Math.min(t.length,n),a=0,u=e;u<o;u++){var s,c=t.charCodeAt(u)-48;i<<=4,i|=s=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=s}return r(!(240&a),"Invalid character in "+t),i}function s(t,e,n,i){for(var o=0,a=0,u=Math.min(t.length,n),s=e;s<u;s++){var c=t.charCodeAt(s)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.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 i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,u=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<u&67108863,this.words[o+1]=a>>>26-u&67108863,(u+=24)>=26&&(u-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=u(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=u(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,u=Math.min(o,o-a)+n,c=0,f=n;f<u;f+=r)c=s(t,f,f+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var l=1;for(c=s(t,f,t.length,e),f=0;f<a;f++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){c(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(T){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l=["","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"],d=[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],h=[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];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var u=this.words[a],s=(16777215&(u<<i|o)).toString(16);n=0!==(o=u>>>24-i&16777215)||a!==this.length-1?l[6-s.length]+s+n:s+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.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 c=d[t],f=h[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(f).toString(t);n=(p=p.idivn(f)).isZero()?g+n:l[c-g.length]+g+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")},o.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},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,u=67108863&a,s=a/67108864|0;n.words[0]=u;for(var c=1;c<r;c++){for(var f=s>>>26,l=67108863&s,d=Math.min(c,e.length-1),h=Math.max(0,c-t.length+1);h<=d;h++){var p=c-h|0;f+=(a=(i=0|t.words[p])*(o=0|e.words[h])+l)/67108864|0,l=67108863&a}n.words[c]=0|l,s=0|f}return 0!==s?n.words[c]=0|s:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n++]=255&a,n<t.length&&(t[n++]=a>>8&255),n<t.length&&(t[n++]=a>>16&255),6===o?(n<t.length&&(t[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n--]=255&a,n>=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=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},o.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},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.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 i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.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,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,e,n){var r,i,o,a=t.words,u=e.words,s=n.words,c=0,f=0|a[0],l=8191&f,d=f>>>13,h=0|a[1],p=8191&h,g=h>>>13,m=0|a[2],b=8191&m,v=m>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],O=8191&S,x=S>>>13,E=0|a[5],M=8191&E,T=E>>>13,$=0|a[6],A=8191&$,k=$>>>13,C=0|a[7],I=8191&C,P=C>>>13,N=0|a[8],R=8191&N,j=N>>>13,D=0|a[9],L=8191&D,F=D>>>13,B=0|u[0],U=8191&B,z=B>>>13,H=0|u[1],V=8191&H,q=H>>>13,W=0|u[2],G=8191&W,K=W>>>13,Y=0|u[3],Z=8191&Y,Q=Y>>>13,X=0|u[4],J=8191&X,tt=X>>>13,et=0|u[5],nt=8191&et,rt=et>>>13,it=0|u[6],ot=8191&it,at=it>>>13,ut=0|u[7],st=8191&ut,ct=ut>>>13,ft=0|u[8],lt=8191&ft,dt=ft>>>13,ht=0|u[9],pt=8191&ht,gt=ht>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,z))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,z))+Math.imul(g,U)|0,o=Math.imul(g,z);var bt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,q)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,z))+Math.imul(v,U)|0,o=Math.imul(v,z),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,q)|0;var vt=(c+(r=r+Math.imul(l,G)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,U),i=(i=Math.imul(_,z))+Math.imul(w,U)|0,o=Math.imul(w,z),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,q)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0;var yt=(c+(r=r+Math.imul(l,Z)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,Q)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,z))+Math.imul(x,U)|0,o=Math.imul(x,z),r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Q)|0;var _t=(c+(r=r+Math.imul(l,J)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,J)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(T,U)|0,o=Math.imul(T,z),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,q)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,Q)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(k,U)|0,o=Math.imul(k,z),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(O,G)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(v,J)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,rt)|0;var St=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,U),i=(i=Math.imul(I,z))+Math.imul(P,U)|0,o=Math.imul(P,z),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,q)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,Q)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0;var Ot=(c+(r=r+Math.imul(l,st)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,st)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,o=Math.imul(j,z),r=r+Math.imul(I,V)|0,i=(i=i+Math.imul(I,q)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,q)|0,r=r+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(x,J)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,st)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(g,st)|0,o=o+Math.imul(g,ct)|0;var xt=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(L,U),i=(i=Math.imul(L,z))+Math.imul(F,U)|0,o=Math.imul(F,z),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,q)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,Q)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(b,st)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(v,st)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,dt)|0;var Et=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,gt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,gt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,q))+Math.imul(F,V)|0,o=Math.imul(F,q),r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,K)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,Q)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(_,st)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,st)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var Mt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,gt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,gt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(L,G),i=(i=Math.imul(L,K))+Math.imul(F,G)|0,o=Math.imul(F,K),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,Q)|0)+Math.imul(j,Z)|0,o=o+Math.imul(j,Q)|0,r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(O,st)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(x,st)|0,o=o+Math.imul(x,ct)|0,r=r+Math.imul(_,lt)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Tt=(c+(r=r+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,gt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(L,Z),i=(i=Math.imul(L,Q))+Math.imul(F,Z)|0,o=Math.imul(F,Q),r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(M,st)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(T,st)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,dt)|0;var $t=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,gt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,gt)|0)+(i>>>13)|0)+($t>>>26)|0,$t&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,tt))+Math.imul(F,J)|0,o=Math.imul(F,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(j,nt)|0,o=o+Math.imul(j,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(A,st)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(k,st)|0,o=o+Math.imul(k,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,dt)|0;var At=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,gt)|0)+Math.imul(x,pt)|0))<<13)|0;c=((o=o+Math.imul(x,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,nt),i=(i=Math.imul(L,rt))+Math.imul(F,nt)|0,o=Math.imul(F,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,r=r+Math.imul(I,st)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(P,st)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(k,lt)|0,o=o+Math.imul(k,dt)|0;var kt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,gt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,gt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(L,ot),i=(i=Math.imul(L,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),r=r+Math.imul(R,st)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(j,st)|0,o=o+Math.imul(j,ct)|0,r=r+Math.imul(I,lt)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,gt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,gt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(L,st),i=(i=Math.imul(L,ct))+Math.imul(F,st)|0,o=Math.imul(F,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(j,lt)|0,o=o+Math.imul(j,dt)|0;var It=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,gt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,gt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(L,lt),i=(i=Math.imul(L,dt))+Math.imul(F,lt)|0,o=Math.imul(F,dt);var Pt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var Nt=(c+(r=Math.imul(L,pt))|0)+((8191&(i=(i=Math.imul(L,gt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,gt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,s[0]=mt,s[1]=bt,s[2]=vt,s[3]=yt,s[4]=_t,s[5]=wt,s[6]=St,s[7]=Ot,s[8]=xt,s[9]=Et,s[10]=Mt,s[11]=Tt,s[12]=$t,s[13]=At,s[14]=kt,s[15]=Ct,s[16]=It,s[17]=Pt,s[18]=Nt,0!==c&&(s[19]=c,n.length++),n};function m(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var u=67108863&r,s=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=s;c++){var f=o-c,l=(0|t.words[f])*(0|e.words[c]),d=67108863&l;u=67108863&(d=d+u|0),i+=(a=(a=a+(l/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=u,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function b(t,e,n){return m(t,e,n)}function v(t,e){this.x=t,this.y=e}Math.imul||(g=p),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):n<63?p(this,t,e):n<1024?m(this,t,e):b(this,t,e)},v.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},v.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},v.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},v.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var u=a<<1,s=Math.cos(2*Math.PI/u),c=Math.sin(2*Math.PI/u),f=0;f<i;f+=u)for(var l=s,d=c,h=0;h<a;h++){var p=n[f+h],g=r[f+h],m=n[f+h+a],b=r[f+h+a],v=l*m-d*b;b=l*b+d*m,m=v,n[f+h]=p+m,r[f+h]=g+b,n[f+h+a]=p-m,r[f+h+a]=g-b,h!==u&&(v=s*l-c*d,d=s*d+c*l,l=v)}},v.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},v.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},v.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},v.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0===(-8192&o))},v.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},v.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),u=new Array(r),s=new Array(r),c=new Array(r),f=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,u,s,r,i),this.transform(c,o,f,l,r,i);for(var h=0;h<r;h++){var p=u[h]*f[h]-s[h]*l[h];s[h]=u[h]*l[h]+s[h]*f[h],u[h]=p}return this.conjugate(u,s,r),this.transform(u,s,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),b(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"===typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"===typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var u=this.words[e]&o,s=(0|this.words[e])-u<<n;this.words[e]=s|a,a=u>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),u=67108863^67108863>>>o<<o,s=n;if(i-=a,i=Math.max(0,i),s){for(var c=0;c<a;c++)s.words[c]=this.words[c];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var f=0;for(c=this.length-1;c>=0&&(0!==f||c>=i);c--){var l=0|this.words[c];this.words[c]=f<<26-o|l>>>o,f=l&u}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"===typeof t&&t>=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 i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"===typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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},o.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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var u=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+u;var s=(0|t.words[i])*e;u=((o-=67108863&s)>>26)-(s/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)u=(o=(0|this.words[i+n])+u)>>26,this.words[i+n]=67108863&o;if(0===u)return this._strip();for(r(-1===u),u=0,i=0;i<this.length;i++)u=(o=-(0|this.words[i])+u)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,s=r.length-i.length;if("mod"!==e){(u=new o(null)).length=s+1,u.words=new Array(u.length);for(var c=0;c<u.length;c++)u.words[c]=0}var f=r.clone()._ishlnsubmul(i,1,s);0===f.negative&&(r=f,u&&(u.words[s]=1));for(var l=s-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);u&&(u.words[l]=d)}return u&&u._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(u=this.neg().divmod(t,e),"mod"!==e&&(i=u.div.neg()),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(u=this.divmod(t.neg(),e),"mod"!==e&&(i=u.div.neg()),{div:i,mod:u.mod}):0!==(this.negative&t.negative)?(u=this.neg().divmod(t.neg(),e),"div"!==e&&(a=u.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:u.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,u},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.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),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.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 i=new o(1),a=new o(0),u=new o(0),s=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var f=n.clone(),l=e.clone();!e.isZero();){for(var d=0,h=1;0===(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(l)),i.iushrn(1),a.iushrn(1);for(var p=0,g=1;0===(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(u.isOdd()||s.isOdd())&&(u.iadd(f),s.isub(l)),u.iushrn(1),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(u),a.isub(s)):(n.isub(e),u.isub(i),s.isub(a))}return{a:u,b:s,gcd:n.iushln(c)}},o.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 i,a=new o(1),u=new o(0),s=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,f=1;0===(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);for(var l=0,d=1;0===(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)u.isOdd()&&u.iadd(s),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(u)):(n.isub(e),u.isub(a))}return(i=0===e.cmpn(1)?a:u).cmpn(0)<0&&i.iadd(t),i},o.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 i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var u=0|this.words[a];o=(u+=o)>>>26,u&=67108863,this.words[a]=u}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.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 i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new E(t)},o.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)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function _(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"===typeof t){var e=o._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 M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}_.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},_.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=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(t,e){t.iushrn(this.n,0,e)},_.prototype.imulK=function(t){return t.imul(this.k)},i(w,_),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.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<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(S,_),i(O,_),i(x,_),x.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new S;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new x}return y[t]=e,e},E.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},E.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")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.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)},E.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},E.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)},E.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.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 o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var u=new o(1).toRed(this),s=u.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(s);)f.redIAdd(s);for(var l=this.pow(f,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),p=a;0!==h.cmp(u);){for(var g=h,m=0;0!==g.cmp(u);m++)g=g.redSqr();r(m<p);var b=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(b),l=b.redSqr(),h=h.redMul(l),p=m}return d},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,u=0,s=e.bitLength()%26;for(0===s&&(s=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],f=s-1;f>=0;f--){var l=c>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++u||0===r&&0===f)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}s=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.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),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(94)(t))},,function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin"]],"_development":true,"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/browserify-sign/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/browserify-sign"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},,function(t,e,n){"use strict";var r=n(115),i=n(150),o=n(37),a=n(270),u=r.assert;function s(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(s,a),t.exports=s,s.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],u(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},s.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},s.prototype._getEndoBasis=function(t){for(var e,n,r,o,a,u,s,c,f,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,h=this.n.clone(),p=new i(1),g=new i(0),m=new i(0),b=new i(1),v=0;0!==d.cmpn(0);){var y=h.div(d);c=h.sub(y.mul(d)),f=m.sub(y.mul(p));var _=b.sub(y.mul(g));if(!r&&c.cmp(l)<0)e=s.neg(),n=p,r=c.neg(),o=f;else if(r&&2===++v)break;s=c,h=d,d=c,m=p,p=f,b=g,g=_}a=c.neg(),u=f;var w=r.sqr().add(o.sqr());return a.sqr().add(u.sqr()).cmp(w)>=0&&(a=e,u=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),u=u.neg()),[{a:r,b:o},{a:a,b:u}]},s.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),u=o.mul(r.a),s=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(u),k2:s.add(c).neg()}},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},s.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},s.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),u=t[o],s=u._getBeta();a.k1.negative&&(a.k1.ineg(),u=u.neg(!0)),a.k2.negative&&(a.k2.ineg(),s=s.neg(!0)),r[2*o]=u,r[2*o+1]=s,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),f=0;f<2*o;f++)r[f]=null,i[f]=null;return c},o(c,a.BasePoint),s.prototype.point=function(t,e,n){return new c(this,t,e,n)},s.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"===typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(f,a.BasePoint),s.prototype.jpoint=function(t,e,n){return new f(this,t,e,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),u=r.redSub(i),s=o.redSub(a);if(0===u.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=u.redSqr(),f=c.redMul(u),l=r.redMul(c),d=s.redSqr().redIAdd(f).redISub(l).redISub(l),h=s.redMul(l.redISub(d)).redISub(o.redMul(f)),p=this.z.redMul(t.z).redMul(u);return this.curve.jpoint(d,h,p)},f.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),u=i.redSub(o);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=a.redSqr(),c=s.redMul(a),f=n.redMul(s),l=u.redSqr().redIAdd(c).redISub(f).redISub(f),d=u.redMul(f.redISub(l)).redISub(i.redMul(c)),h=this.z.redMul(a);return this.curve.jpoint(l,d,h)},f.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,u=this.z,s=u.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var f=o.redSqr(),l=c.redSqr(),d=l.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(r.redMul(s)),p=o.redMul(l),g=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(g),b=h.redMul(m);b=b.redIAdd(b).redISub(d);var v=c.redMul(u);e+1<t&&(s=s.redMul(d)),o=g,u=v,c=b}return this.curve.jpoint(o,c.redMul(i),u)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r),s=u.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=s,e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),h=this.x.redAdd(l).redSqr().redISub(f).redISub(d);h=h.redIAdd(h);var p=f.redAdd(f).redIAdd(f),g=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),t=g.redISub(h).redISub(h),e=p.redMul(h.redISub(t)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},f.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),s=u.redSqr().redISub(a).redISub(a);t=s;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),h=this.x.redSub(f).redMul(this.x.redAdd(f));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),g=(p=p.redIAdd(p)).redAdd(p);t=h.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(l).redISub(f);var m=l.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),e=h.redMul(p.redISub(t)).redISub(m)}return this.curve.jpoint(t,e,n)},f.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),a=n.redSqr(),u=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),s=e.redAdd(e),c=(s=s.redIAdd(s)).redMul(a),f=u.redSqr().redISub(c.redAdd(c)),l=c.redISub(f),d=a.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=u.redMul(l).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(f,h,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(r),u=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),s=r.redIAdd(r);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var c=i.redIAdd(a).redSqr().redISub(o).redISub(u).redISub(s),f=e.redMul(c);f=(f=f.redIAdd(f)).redIAdd(f);var l=this.x.redMul(u).redISub(f);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.y.redMul(c.redMul(s.redISub(c)).redISub(a.redMul(u)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(a).redSqr().redISub(n).redISub(u);return this.curve.jpoint(l,d,h)},f.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},f.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},f.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,n){"use strict";var r=n(150),i=n(37),o=n(270),a=n(115);function u(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(u,o),t.exports=u,u.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(s,o.BasePoint),u.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},u.prototype.point=function(t,e){return new s(this,t,e)},u.prototype.pointFromJSON=function(t){return s.fromJSON(this,t)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(t,e){return new s(t,e[0],e[1]||t.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),a=i.redMul(r),u=e.z.redMul(o.redAdd(a).redSqr()),s=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(u,s)},s.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,n){"use strict";var r=n(115),i=n(150),o=n(37),a=n(270),u=r.assert;function s(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function c(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(s,a),t.exports=s,s.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},s.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},s.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var s=u.fromRed().isOdd();return(e&&!s||!e&&s)&&(u=u.redNeg()),this.point(t,u)},s.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return u.fromRed().isOdd()!==e&&(u=u.redNeg()),this.point(u,t)},s.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,a.BasePoint),s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},s.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),u=r.redSub(e),s=i.redMul(a),c=o.redMul(u),f=i.redMul(u),l=a.redMul(o);return this.curve.point(s,c,l,f)},c.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),u=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(u)).redAdd(s);this.zOne?(t=a.redSub(u).redSub(s).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(s)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(u).redISub(s).redMul(o),e=c.redMul(r.redSub(s)),n=c.redMul(o))}else r=u.redAdd(s),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(u.redISub(s)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),u=i.redAdd(r),s=n.redAdd(e),c=o.redMul(a),f=u.redMul(s),l=o.redMul(s),d=a.redMul(u);return this.curve.point(c,f,d,l)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),u=this.curve.d.redMul(o).redMul(a),s=i.redSub(u),c=i.redAdd(u),f=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),l=r.redMul(s).redMul(f);return this.curve.twisted?(e=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=s.redMul(c)):(e=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(s).redMul(c)),this.curve.point(l,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,n){"use strict";var r=n(150),i=n(354),o=n(115),a=n(380),u=n(180),s=o.assert,c=n(903),f=n(904);function l(t){if(!(this instanceof l))return new l(t);"string"===typeof t&&(s(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=l,l.prototype.keyPair=function(t){return new c(this,t)},l.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},l.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},l.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||u(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},l.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},l.prototype.sign=function(t,e,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),u=e.getPrivate().toArray("be",a),s=t.toArray("be",a),c=new i({hash:this.hash,entropy:u,nonce:s,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new r(1)),d=0;;d++){var h=o.k?o.k(d):new r(c.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(l)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var b=h.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(b=b.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return o.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),v^=1),new f({r:m,s:b,recoveryParam:v})}}}}}},l.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var u,s=a.invm(this.n),c=s.mul(t).umod(this.n),l=s.mul(o).umod(this.n);return this.curve._maxwellTrick?!(u=this.g.jmulAdd(c,n.getPublic(),l)).isInfinity()&&u.eqXToP(o):!(u=this.g.mulAdd(c,n.getPublic(),l)).isInfinity()&&0===u.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(t,e,n,i){s((3&n)===n,"The recovery param is more than two bits"),e=new f(e,i);var o=this.n,a=new r(t),u=e.r,c=e.s,l=1&n,d=n>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");u=d?this.curve.pointFromX(u.add(this.curve.n),l):this.curve.pointFromX(u,l);var h=e.r.invm(o),p=o.sub(a).mul(h).umod(o),g=c.mul(h).umod(o);return this.g.mulAdd(p,u,g)},l.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new f(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,n){"use strict";var r=n(150),i=n(115).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,n){"use strict";var r=n(150),i=n(115),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function u(){this.place=0}function s(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o<r;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function f(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new u;if(48!==t[n.place++])return!1;var o=s(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=s(t,n);if(!1===a)return!1;var c=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var f=s(t,n);if(!1===f)return!1;if(t.length!==f+n.place)return!1;var l=t.slice(n.place,f+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new r(c),this.s=new r(l),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];f(r,e.length),(r=r.concat(e)).push(2),f(r,n.length);var o=r.concat(n),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,n){"use strict";var r=n(181),i=n(380),o=n(115),a=o.assert,u=o.parseBytes,s=n(906),c=n(907);function f(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof f))return new f(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=f,f.prototype.sign=function(t,e){t=u(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),s=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},f.prototype.verify=function(t,e,n){t=u(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},f.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(t){return s.fromPublic(this,t)},f.prototype.keyFromSecret=function(t){return s.fromSecret(this,t)},f.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},f.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},f.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!==(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},f.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(t){return o.intFromLE(t)},f.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,n){"use strict";var r=n(115),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function u(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}u.fromPublic=function(t,e){return e instanceof u?e:new u(t,{pub:e})},u.fromSecret=function(t,e){return e instanceof u?e:new u(t,{secret:e})},u.prototype.secret=function(){return this._secret},a(u,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(u,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(u,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(u,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(u,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(u,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),u.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},u.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},u.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},u.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=u},function(t,e,n){"use strict";var r=n(150),i=n(115),o=i.assert,a=i.cachedProperty,u=i.parseBytes;function s(t,e){this.eddsa=t,"object"!==typeof e&&(e=u(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(s,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(s,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(s,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(s,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s},,function(t,e,n){"use strict";var r=n(500);e.certificate=n(915);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(u),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var u=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),s=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(u),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=s;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var f=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=f,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var l=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=l;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},function(t,e,n){"use strict";var r=n(501),i=n(503),o=n(37);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function n(t){this._initNamed(t,e)}return o(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},a.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},function(t,e,n){"use strict";var r=n(37),i=n(502);function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var n=i.prototype.encode.call(this,t).toString("base64"),r=["-----BEGIN "+e.label+"-----"],o=0;o<n.length;o+=64)r.push(n.slice(o,o+64));return r.push("-----END "+e.label+"-----"),r.join("\n")}},function(t,e,n){"use strict";var r=n(37),i=n(381).Buffer,o=n(504);function a(t){o.call(this,t),this.enc="pem"}r(a,o),t.exports=a,a.prototype.decode=function(t,e){for(var n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,u=-1,s=-1,c=0;c<n.length;c++){var f=n[c].match(a);if(null!==f&&f[2]===r){if(-1!==u){if("END"!==f[1])break;s=c;break}if("BEGIN"!==f[1])break;u=c}}if(-1===u||-1===s)throw new Error("PEM section not found for: "+r);var l=n.slice(u+1,s).join("");l.replace(/[^a-z0-9+/=]+/gi,"");var d=i.from(l,"base64");return o.prototype.decode.call(this,d,e)}},function(t,e,n){"use strict";var r=e;r.Reporter=n(383).Reporter,r.DecoderBuffer=n(240).DecoderBuffer,r.EncoderBuffer=n(240).EncoderBuffer,r.Node=n(382)},function(t,e,n){"use strict";var r=e;r._reverse=function(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);var r=t[n];e[r]=n})),e},r.der=n(384)},function(t,e,n){"use strict";var r=n(500),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),u=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),s=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(s)})),f=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),l=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(f),this.key("validity").use(l),this.key("subject").use(f),this.key("subjectPublicKeyInfo").use(u),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(t,e,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=n(269),u=n(377),s=n(36).Buffer;t.exports=function(t,e){var n,c=t.toString(),f=c.match(r);if(f){var l="aes"+f[1],d=s.from(f[2],"hex"),h=s.from(f[3].replace(/[\r\n]/g,""),"base64"),p=a(e,d.slice(0,8),parseInt(f[1],10)).key,g=[],m=u.createDecipheriv(l,p,d);g.push(m.update(h)),g.push(m.final()),n=s.concat(g)}else{var b=c.match(o);n=s.from(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},function(t,e,n){var r=n(36).Buffer,i=n(499),o=n(497).ec,a=n(271),u=n(505);function s(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,c,f){var l=a(n);if("ec"===l.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=u[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,l)}if("dsa"===l.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,u=n.data.g,c=n.data.pub_key,f=a.signature.decode(t,"der"),l=f.s,d=f.r;s(l,o),s(d,o);var h=i.mont(r),p=l.invm(o);return 0===u.toRed(h).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(h).redPow(d.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(d)}(t,e,l)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=r.concat([f,e]);for(var d=l.modulus.byteLength(),h=[1],p=0;e.length+h.length+2<d;)h.push(255),p++;h.push(0);for(var g=-1;++g<e.length;)h.push(e[g]);h=r.from(h);var m=i.mont(l.modulus);t=(t=new i(t).toRed(m)).redPow(new i(l.publicExponent)),t=r.from(t.fromRed().toArray());var b=p<8?1:0;for(d=Math.min(t.length,h.length),t.length!==h.length&&(b=1),g=-1;++g<d;)b|=t[g]^h[g];return 0===b}},function(t,e,n){(function(e){var r=n(920),i=n(112);t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function u(t,n,r){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(r&&i.length<r){var o=new e(r-i.length);o.fill(0),i=e.concat([o,i])}return n?i.toString(n):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,n,r){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),u(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[n.length-1]%2?n[0]=7:n[0]=6),u(n,t)},a.prototype.getPrivateKey=function(t){return u(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,n){n=n||"utf8",e.isBuffer(t)||(t=new e(t,n));var r=new i(t);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=e;r.version=n(921).version,r.utils=n(116),r.rand=n(180),r.curve=n(506),r.curves=n(385),r.ec=n(927),r.eddsa=n(930)},function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin"]],"_development":true,"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/create-ecdh/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"/home/taranto/projects/lamassu/lamassu-server/new-lamassu-admin","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},,function(t,e,n){"use strict";var r=n(116),i=n(151),o=n(37),a=n(272),u=r.assert;function s(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(s,a),t.exports=s,s.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],u(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},s.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},s.prototype._getEndoBasis=function(t){for(var e,n,r,o,a,u,s,c,f,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,h=this.n.clone(),p=new i(1),g=new i(0),m=new i(0),b=new i(1),v=0;0!==d.cmpn(0);){var y=h.div(d);c=h.sub(y.mul(d)),f=m.sub(y.mul(p));var _=b.sub(y.mul(g));if(!r&&c.cmp(l)<0)e=s.neg(),n=p,r=c.neg(),o=f;else if(r&&2===++v)break;s=c,h=d,d=c,m=p,p=f,b=g,g=_}a=c.neg(),u=f;var w=r.sqr().add(o.sqr());return a.sqr().add(u.sqr()).cmp(w)>=0&&(a=e,u=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),u=u.neg()),[{a:r,b:o},{a:a,b:u}]},s.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),u=o.mul(r.a),s=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(u),k2:s.add(c).neg()}},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},s.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},s.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),u=t[o],s=u._getBeta();a.k1.negative&&(a.k1.ineg(),u=u.neg(!0)),a.k2.negative&&(a.k2.ineg(),s=s.neg(!0)),r[2*o]=u,r[2*o+1]=s,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),f=0;f<2*o;f++)r[f]=null,i[f]=null;return c},o(c,a.BasePoint),s.prototype.point=function(t,e,n){return new c(this,t,e,n)},s.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"===typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(f,a.BasePoint),s.prototype.jpoint=function(t,e,n){return new f(this,t,e,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),u=r.redSub(i),s=o.redSub(a);if(0===u.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=u.redSqr(),f=c.redMul(u),l=r.redMul(c),d=s.redSqr().redIAdd(f).redISub(l).redISub(l),h=s.redMul(l.redISub(d)).redISub(o.redMul(f)),p=this.z.redMul(t.z).redMul(u);return this.curve.jpoint(d,h,p)},f.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),u=i.redSub(o);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=a.redSqr(),c=s.redMul(a),f=n.redMul(s),l=u.redSqr().redIAdd(c).redISub(f).redISub(f),d=u.redMul(f.redISub(l)).redISub(i.redMul(c)),h=this.z.redMul(a);return this.curve.jpoint(l,d,h)},f.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,u=this.z,s=u.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var f=o.redSqr(),l=c.redSqr(),d=l.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(r.redMul(s)),p=o.redMul(l),g=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(g),b=h.redMul(m);b=b.redIAdd(b).redISub(d);var v=c.redMul(u);e+1<t&&(s=s.redMul(d)),o=g,u=v,c=b}return this.curve.jpoint(o,c.redMul(i),u)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r),s=u.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=s,e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),h=this.x.redAdd(l).redSqr().redISub(f).redISub(d);h=h.redIAdd(h);var p=f.redAdd(f).redIAdd(f),g=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),t=g.redISub(h).redISub(h),e=p.redMul(h.redISub(t)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},f.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var u=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),s=u.redSqr().redISub(a).redISub(a);t=s;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=u.redMul(a.redISub(s)).redISub(c),n=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),h=this.x.redSub(f).redMul(this.x.redAdd(f));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),g=(p=p.redIAdd(p)).redAdd(p);t=h.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(l).redISub(f);var m=l.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),e=h.redMul(p.redISub(t)).redISub(m)}return this.curve.jpoint(t,e,n)},f.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),a=n.redSqr(),u=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),s=e.redAdd(e),c=(s=s.redIAdd(s)).redMul(a),f=u.redSqr().redISub(c.redAdd(c)),l=c.redISub(f),d=a.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=u.redMul(l).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(f,h,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(r),u=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),s=r.redIAdd(r);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var c=i.redIAdd(a).redSqr().redISub(o).redISub(u).redISub(s),f=e.redMul(c);f=(f=f.redIAdd(f)).redIAdd(f);var l=this.x.redMul(u).redISub(f);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.y.redMul(c.redMul(s.redISub(c)).redISub(a.redMul(u)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(a).redSqr().redISub(n).redISub(u);return this.curve.jpoint(l,d,h)},f.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},f.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},f.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,n){"use strict";var r=n(151),i=n(37),o=n(272),a=n(116);function u(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(u,o),t.exports=u,u.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(s,o.BasePoint),u.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},u.prototype.point=function(t,e){return new s(this,t,e)},u.prototype.pointFromJSON=function(t){return s.fromJSON(this,t)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(t,e){return new s(t,e[0],e[1]||t.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),a=i.redMul(r),u=e.z.redMul(o.redAdd(a).redSqr()),s=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(u,s)},s.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,n){"use strict";var r=n(116),i=n(151),o=n(37),a=n(272),u=r.assert;function s(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function c(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(s,a),t.exports=s,s.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},s.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},s.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},s.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var s=u.fromRed().isOdd();return(e&&!s||!e&&s)&&(u=u.redNeg()),this.point(t,u)},s.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var u=a.redSqrt();if(0!==u.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return u.fromRed().isOdd()!==e&&(u=u.redNeg()),this.point(u,t)},s.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,a.BasePoint),s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},s.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),u=r.redSub(e),s=i.redMul(a),c=o.redMul(u),f=i.redMul(u),l=a.redMul(o);return this.curve.point(s,c,l,f)},c.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),u=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(u)).redAdd(s);this.zOne?(t=a.redSub(u).redSub(s).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(s)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(u).redISub(s).redMul(o),e=c.redMul(r.redSub(s)),n=c.redMul(o))}else r=u.redAdd(s),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(u.redISub(s)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),u=i.redAdd(r),s=n.redAdd(e),c=o.redMul(a),f=u.redMul(s),l=o.redMul(s),d=a.redMul(u);return this.curve.point(c,f,d,l)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),u=this.curve.d.redMul(o).redMul(a),s=i.redSub(u),c=i.redAdd(u),f=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),l=r.redMul(s).redMul(f);return this.curve.twisted?(e=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=s.redMul(c)):(e=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(s).redMul(c)),this.curve.point(l,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,n){"use strict";var r=n(151),i=n(354),o=n(116),a=n(385),u=n(180),s=o.assert,c=n(928),f=n(929);function l(t){if(!(this instanceof l))return new l(t);"string"===typeof t&&(s(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=l,l.prototype.keyPair=function(t){return new c(this,t)},l.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},l.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},l.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||u(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},l.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},l.prototype.sign=function(t,e,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),u=e.getPrivate().toArray("be",a),s=t.toArray("be",a),c=new i({hash:this.hash,entropy:u,nonce:s,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new r(1)),d=0;;d++){var h=o.k?o.k(d):new r(c.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(l)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var b=h.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(b=b.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return o.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),v^=1),new f({r:m,s:b,recoveryParam:v})}}}}}},l.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var u,s=a.invm(this.n),c=s.mul(t).umod(this.n),l=s.mul(o).umod(this.n);return this.curve._maxwellTrick?!(u=this.g.jmulAdd(c,n.getPublic(),l)).isInfinity()&&u.eqXToP(o):!(u=this.g.mulAdd(c,n.getPublic(),l)).isInfinity()&&0===u.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(t,e,n,i){s((3&n)===n,"The recovery param is more than two bits"),e=new f(e,i);var o=this.n,a=new r(t),u=e.r,c=e.s,l=1&n,d=n>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");u=d?this.curve.pointFromX(u.add(this.curve.n),l):this.curve.pointFromX(u,l);var h=e.r.invm(o),p=o.sub(a).mul(h).umod(o),g=c.mul(h).umod(o);return this.g.mulAdd(p,u,g)},l.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new f(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,n){"use strict";var r=n(151),i=n(116).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,n){"use strict";var r=n(151),i=n(116),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function u(){this.place=0}function s(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o<r;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function f(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new u;if(48!==t[n.place++])return!1;var o=s(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=s(t,n);if(!1===a)return!1;var c=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var f=s(t,n);if(!1===f)return!1;if(t.length!==f+n.place)return!1;var l=t.slice(n.place,f+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new r(c),this.s=new r(l),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];f(r,e.length),(r=r.concat(e)).push(2),f(r,n.length);var o=r.concat(n),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,n){"use strict";var r=n(181),i=n(385),o=n(116),a=o.assert,u=o.parseBytes,s=n(931),c=n(932);function f(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof f))return new f(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=f,f.prototype.sign=function(t,e){t=u(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),s=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},f.prototype.verify=function(t,e,n){t=u(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},f.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(t){return s.fromPublic(this,t)},f.prototype.keyFromSecret=function(t){return s.fromSecret(this,t)},f.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},f.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},f.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!==(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},f.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(t){return o.intFromLE(t)},f.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,n){"use strict";var r=n(116),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function u(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}u.fromPublic=function(t,e){return e instanceof u?e:new u(t,{pub:e})},u.fromSecret=function(t,e){return e instanceof u?e:new u(t,{secret:e})},u.prototype.secret=function(){return this._secret},a(u,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(u,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(u,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(u,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(u,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(u,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),u.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},u.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},u.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},u.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=u},function(t,e,n){"use strict";var r=n(151),i=n(116),o=i.assert,a=i.cachedProperty,u=i.parseBytes;function s(t,e){this.eddsa=t,"object"!==typeof e&&(e=u(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(s,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(s,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(s,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(s,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s},function(t,e,n){e.publicEncrypt=n(934),e.privateDecrypt=n(935),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},function(t,e,n){var r=n(271),i=n(183),o=n(158),a=n(507),u=n(508),s=n(112),c=n(509),f=n(379),l=n(36).Buffer;t.exports=function(t,e,n){var d;d=t.padding?t.padding:n?1:4;var h,p=r(t);if(4===d)h=function(t,e){var n=t.modulus.byteLength(),r=e.length,c=o("sha1").update(l.alloc(0)).digest(),f=c.length,d=2*f;if(r>n-d-2)throw new Error("message too long");var h=l.alloc(n-r-d-2),p=n-f-1,g=i(f),m=u(l.concat([c,h,l.alloc(1,1),e],p),a(g,p)),b=u(g,a(m,f));return new s(l.concat([l.alloc(1),b,m],n))}(p,e);else if(1===d)h=function(t,e,n){var r,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");r=n?l.alloc(a-o-3,255):function(t){var e,n=l.allocUnsafe(t),r=0,o=i(2*t),a=0;for(;r<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(n[r++]=e);return n}(a-o-3);return new s(l.concat([l.from([0,n?1:2]),r,l.alloc(1),e],a))}(p,e,n);else{if(3!==d)throw new Error("unknown padding");if((h=new s(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?f(h,p):c(h,p)}},function(t,e,n){var r=n(271),i=n(507),o=n(508),a=n(112),u=n(379),s=n(158),c=n(509),f=n(36).Buffer;t.exports=function(t,e,n){var l;l=t.padding?t.padding:n?1:4;var d,h=r(t),p=h.modulus.byteLength();if(e.length>p||new a(e).cmp(h.modulus)>=0)throw new Error("decryption error");d=n?c(new a(e),h):u(e,h);var g=f.alloc(p-d.length);if(d=f.concat([g,d],p),4===l)return function(t,e){var n=t.modulus.byteLength(),r=s("sha1").update(f.alloc(0)).digest(),a=r.length;if(0!==e[0])throw new Error("decryption error");var u=e.slice(1,a+1),c=e.slice(a+1),l=o(u,i(c,a)),d=o(c,i(l,n-a-1));if(function(t,e){t=f.from(t),e=f.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));var i=-1;for(;++i<r;)n+=t[i]^e[i];return n}(r,d.slice(0,a)))throw new Error("decryption error");var h=a;for(;0===d[h];)h++;if(1!==d[h++])throw new Error("decryption error");return d.slice(h)}(h,d);if(1===l)return function(t,e,n){var r=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,d,n);if(3===l)return d;throw new Error("unknown padding")}},function(t,e,n){"use strict";(function(t,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n(36),a=n(183),u=o.Buffer,s=o.kMaxLength,c=t.crypto||t.msCrypto,f=Math.pow(2,32)-1;function l(t,e){if("number"!==typeof t||t!==t)throw new TypeError("offset must be a number");if(t>f||t<0)throw new TypeError("offset must be a uint32");if(t>s||t>e)throw new RangeError("offset out of range")}function d(t,e,n){if("number"!==typeof t||t!==t)throw new TypeError("size must be a number");if(t>f||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>s)throw new RangeError("buffer too small")}function h(t,e,n,i){if(r.browser){var o=t.buffer,u=new Uint8Array(o,e,n);return c.getRandomValues(u),i?void r.nextTick((function(){i(null,t)})):t}if(!i)return a(n).copy(t,e),t;a(n,(function(n,r){if(n)return i(n);r.copy(t,e),i(null,t)}))}c&&c.getRandomValues||!r.browser?(e.randomFill=function(e,n,r,i){if(!u.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof n)i=n,n=0,r=e.length;else if("function"===typeof r)i=r,r=e.length-n;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return l(n,e.length),d(r,n,e.length),h(e,n,r,i)},e.randomFillSync=function(e,n,r){"undefined"===typeof n&&(n=0);if(!u.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');l(n,e.length),void 0===r&&(r=e.length-n);return d(r,n,e.length),h(e,n,r)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,n(59),n(70))},function(t,e,n){(function(e){var r=n(513),i=n(48),o=n(84),a=n(275),u=n(101),s={},c=function(t){return Math.ceil(Math.log2(t))};s.getMerkleRoot=function t(n){return 1===n.length?n[0]:t(i.chunk(n,2).map((function(t){return o.sha256ripemd160(e.concat(t))})))},s.generateMerkleRootFromPublicKeys=function(t){var n=c(t.length),r=Math.pow(2,n),i=t.map((function(t){return t.toString("hex")})).sort().map((function(t){return u.fromString(t).toBuffer()})),a=Array(r-t.length).fill(e.alloc(0)),f=i.concat(a).map((function(t){return o.sha256ripemd160(t)}));return s.getMerkleRoot(f)};s.generateInputPublicKeyValidationOperations=function(t){return 1===t.length?function(t){var e=o.sha256ripemd160(t.toBuffer());return[a.OP_DUP,a.OP_HASH160,e,a.OP_EQUALVERIFY]}(t[0]):function(t){var e,n=c(t.length),i=s.generateMerkleRootFromPublicKeys(t),o=Array(n).fill([a.OP_FROMALTSTACK,a.OP_IF,a.OP_SWAP,a.OP_ENDIF,a.OP_CAT,a.OP_HASH160]).reduce((function(t,e){return t.concat(e)}),[]);return[].concat(r(Array(n).fill(a.OP_TOALTSTACK)),[(e=n,{0:a.OP_0,1:a.OP_1,2:a.OP_2,3:a.OP_3,4:a.OP_4,5:a.OP_5,6:a.OP_6,7:a.OP_7,8:a.OP_8,9:a.OP_9,10:a.OP_10,11:a.OP_11,12:a.OP_12,13:a.OP_13,14:a.OP_14,15:a.OP_15,16:a.OP_16}[e]),a.OP_PICK,a.OP_HASH160],r(o),[i,a.OP_EQUALVERIFY])}(t)},s.generateRedeemScriptOperations=function(t,e){var n=[a.OP_DUP,a.OP_HASH160,o.sha256ripemd160(e.toBuffer()),a.OP_EQUAL,a.OP_IF,a.OP_CHECKSIG,a.OP_ELSE],i=s.generateInputPublicKeyValidationOperations(t),u=[a.OP_OVER,a.OP_4,a.OP_PICK,a.OP_EQUAL,a.OP_NOT,a.OP_VERIFY],c=[a.OP_DUP,a.OP_TOALTSTACK,a.OP_CHECKDATASIGVERIFY,a.OP_FROMALTSTACK,a.OP_CHECKDATASIG,a.OP_ENDIF];return[].concat(n,r(i),u,c)},t.exports=s}).call(this,n(29).Buffer)},function(t,e,n){var r=n(480);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){var r=n(472),i=n(474);function o(e,n,a){return i()?t.exports=o=Reflect.construct:t.exports=o=function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}t.exports=o},function(t,e){t.exports=function(t,e){if("function"===typeof t.compare)return t.compare(e);if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o&&t[i]===e[i];)++i;return i!==o&&(n=t[i],r=e[i]),n<r?-1:r<n?1:0}},function(t,e,n){"use strict";var r=n(206),i=n(52),o=(n(63),n(205)),a=n(153),u=n(152),s=n(117),c=n(100),f=n(207);function l(){o.apply(this,arguments)}r(l,o),l.prototype.getSignatures=function(t,e,n,r,o,s){i.checkState(this.output instanceof a),r=r||c.SIGHASH_ALL|c.SIGHASH_FORKID;var l=e.toPublicKey();return l.toString()===this.output.script.getPublicKey().toString("hex")?[new f({publicKey:l,prevTxId:this.prevTxId,outputIndex:this.outputIndex,inputIndex:n,signature:u.sign(t,e,r,n,this.output.script,this.output.satoshisBN,void 0,s),sigtype:r})]:[]},l.prototype.addSignature=function(t,e,n){return i.checkState(this.isValidSignature(t,e,n),"Signature is invalid"),this.setScript(s.buildPublicKeyIn(e.signature.toDER(n),e.sigtype)),this},l.prototype.clearSignatures=function(){return this.setScript(s.empty()),this},l.prototype.isFullySigned=function(){return this.script.isPublicKeyIn()},l.SCRIPT_MAX_SIZE=73,l.prototype._estimateSize=function(){return l.SCRIPT_MAX_SIZE},t.exports=l},function(t,e,n){"use strict";var r=n(206),i=n(52),o=n(63),a=n(84),u=n(205),s=n(153),c=n(152),f=n(117),l=n(100),d=n(207);function h(){u.apply(this,arguments)}r(h,u),h.prototype.getSignatures=function(t,e,n,r,u,f){return i.checkState(this.output instanceof s),u=u||a.sha256ripemd160(e.publicKey.toBuffer()),r=r||l.SIGHASH_ALL|l.SIGHASH_FORKID,o.equals(u,this.output.script.getPublicKeyHash())?[new d({publicKey:e.publicKey,prevTxId:this.prevTxId,outputIndex:this.outputIndex,inputIndex:n,signature:c.sign(t,e,r,n,this.output.script,this.output.satoshisBN,void 0,f),sigtype:r})]:[]},h.prototype.addSignature=function(t,e,n){return i.checkState(this.isValidSignature(t,e,n),"Signature is invalid"),this.setScript(f.buildPublicKeyHashIn(e.publicKey,e.signature.toDER(n),e.sigtype)),this},h.prototype.clearSignatures=function(){return this.setScript(f.empty()),this},h.prototype.isFullySigned=function(){return this.script.isPublicKeyHashIn()},h.SCRIPT_MAX_SIZE=107,h.prototype._estimateSize=function(){return h.SCRIPT_MAX_SIZE},t.exports=h},function(t,e,n){"use strict";var r=n(48),i=n(206),o=(n(387),n(205)),a=n(153),u=n(52),s=n(117),c=n(100),f=n(152),l=(n(101),n(63)),d=n(207);function h(t,e,n,i,a){a=a||{},o.apply(this,arguments);var c=this;e=e||t.publicKeys,n=n||t.threshold,i=i||t.signatures,a.noSorting?this.publicKeys=e:this.publicKeys=r.sortBy(e,(function(t){return t.toString("hex")})),u.checkState(s.buildMultisigOut(this.publicKeys,n).equals(this.output.script),"Provided public keys don't match to the provided output script"),this.publicKeyIndex={},r.each(this.publicKeys,(function(t,e){c.publicKeyIndex[t.toString()]=e})),this.threshold=n,this.signatures=i?this._deserializeSignatures(i):new Array(this.publicKeys.length)}i(h,o),h.prototype.toObject=function(){var t=o.prototype.toObject.apply(this,arguments);return t.threshold=this.threshold,t.publicKeys=r.map(this.publicKeys,(function(t){return t.toString()})),t.signatures=this._serializeSignatures(),t},h.prototype._deserializeSignatures=function(t){return r.map(t,(function(t){if(t)return new d(t)}))},h.prototype._serializeSignatures=function(){return r.map(this.signatures,(function(t){if(t)return t.toObject()}))},h.prototype.getSignatures=function(t,e,n,i,o,s){u.checkState(this.output instanceof a),i=i||c.SIGHASH_ALL|c.SIGHASH_FORKID;var l=this,h=[];return r.each(this.publicKeys,(function(r){r.toString()===e.publicKey.toString()&&h.push(new d({publicKey:e.publicKey,prevTxId:l.prevTxId,outputIndex:l.outputIndex,inputIndex:n,signature:f.sign(t,e,i,n,l.output.script,l.output.satoshisBN,void 0,s),sigtype:i}))})),h},h.prototype.addSignature=function(t,e,n){return u.checkState(!this.isFullySigned(),"All needed signatures have already been added"),u.checkArgument(!r.isUndefined(this.publicKeyIndex[e.publicKey.toString()]),"Signature has no matching public key"),u.checkState(this.isValidSignature(t,e,n)),this.signatures[this.publicKeyIndex[e.publicKey.toString()]]=e,this._updateScript(n),this},h.prototype._updateScript=function(t){return this.setScript(s.buildMultisigIn(this.publicKeys,this.threshold,this._createSignatures(t))),this},h.prototype._createSignatures=function(t){return r.map(r.filter(this.signatures,(function(t){return!r.isUndefined(t)})),(function(e){return l.concat([e.signature.toDER(t),l.integerAsSingleByteBuffer(e.sigtype)])}))},h.prototype.clearSignatures=function(){this.signatures=new Array(this.publicKeys.length),this._updateScript()},h.prototype.isFullySigned=function(){return this.countSignatures()===this.threshold},h.prototype.countMissingSignatures=function(){return this.threshold-this.countSignatures()},h.prototype.countSignatures=function(){return r.reduce(this.signatures,(function(t,e){return t+!!e}),0)},h.prototype.publicKeysWithoutSignature=function(){var t=this;return r.filter(this.publicKeys,(function(e){return!t.signatures[t.publicKeyIndex[e.toString()]]}))},h.prototype.isValidSignature=function(t,e,n){return e.signature.nhashtype=e.sigtype,f.verify(t,e.signature,e.publicKey,e.inputIndex,this.output.script,this.output.satoshisBN,void 0,n)},h.normalizeSignatures=function(t,e,n,r,i,o){return i.map((function(i){var a=null;return r=r.filter((function(r){if(a)return!0;var u=new d({signature:c.fromTxFormat(r),publicKey:i,prevTxId:e.prevTxId,outputIndex:e.outputIndex,inputIndex:n,sigtype:c.SIGHASH_ALL});return u.signature.nhashtype=u.sigtype,!f.verify(t,u.signature,u.publicKey,u.inputIndex,e.output.script,void 0,o)||(a=u,!1)})),a||null}))},h.OPCODES_SIZE=1,h.SIGNATURE_SIZE=73,h.prototype._estimateSize=function(){return h.OPCODES_SIZE+this.threshold*h.SIGNATURE_SIZE},t.exports=h},function(t,e,n){"use strict";var r=n(48),i=n(206),o=n(205),a=n(153),u=n(52),s=n(117),c=n(100),f=n(152),l=(n(101),n(63)),d=n(207);function h(t,e,n,i,a){a=a||{},o.apply(this,arguments);var c=this;e=e||t.publicKeys,n=n||t.threshold,i=i||t.signatures,a.noSorting?this.publicKeys=e:this.publicKeys=r.sortBy(e,(function(t){return t.toString("hex")})),this.redeemScript=s.buildMultisigOut(this.publicKeys,n,a),u.checkState(s.buildScriptHashOut(this.redeemScript).equals(this.output.script),"Provided public keys don't hash to the provided output"),this.publicKeyIndex={},r.each(this.publicKeys,(function(t,e){c.publicKeyIndex[t.toString()]=e})),this.threshold=n,this.signatures=i?this._deserializeSignatures(i):new Array(this.publicKeys.length),this.checkBitsField=new Uint8Array(this.publicKeys.length)}i(h,o),h.prototype.toObject=function(){var t=o.prototype.toObject.apply(this,arguments);return t.threshold=this.threshold,t.publicKeys=r.map(this.publicKeys,(function(t){return t.toString()})),t.signatures=this._serializeSignatures(),t},h.prototype._deserializeSignatures=function(t){return r.map(t,(function(t){if(t)return new d(t)}))},h.prototype._serializeSignatures=function(){return r.map(this.signatures,(function(t){if(t)return t.toObject()}))},h.prototype.getSignatures=function(t,e,n,i,o,s){u.checkState(this.output instanceof a),i=i||c.SIGHASH_ALL|c.SIGHASH_FORKID;var l=this,h=[];return r.each(this.publicKeys,(function(r){r.toString()===e.publicKey.toString()&&h.push(new d({publicKey:e.publicKey,prevTxId:l.prevTxId,outputIndex:l.outputIndex,inputIndex:n,signature:f.sign(t,e,i,n,l.redeemScript,l.output.satoshisBN,void 0,s),sigtype:i}))})),h},h.prototype.addSignature=function(t,e,n){return u.checkState(!this.isFullySigned(),"All needed signatures have already been added"),u.checkArgument(!r.isUndefined(this.publicKeyIndex[e.publicKey.toString()]),"Signature has no matching public key"),u.checkState(this.isValidSignature(t,e,n)),this.signatures[this.publicKeyIndex[e.publicKey.toString()]]=e,this.checkBitsField[this.publicKeyIndex[e.publicKey.toString()]]=void 0!==e?1:0,this._updateScript(n,this.checkBitsField),this},h.prototype._updateScript=function(t,e){return this.setScript(s.buildP2SHMultisigIn(this.publicKeys,this.threshold,this._createSignatures(t),{cachedMultisig:this.redeemScript,checkBits:e,signingMethod:t})),this},h.prototype._createSignatures=function(t){return r.map(r.filter(this.signatures,(function(t){return!r.isUndefined(t)})),(function(e){return l.concat([e.signature.toDER(t),l.integerAsSingleByteBuffer(e.sigtype)])}))},h.prototype.clearSignatures=function(){this.signatures=new Array(this.publicKeys.length),this._updateScript()},h.prototype.isFullySigned=function(){return this.countSignatures()===this.threshold},h.prototype.countMissingSignatures=function(){return this.threshold-this.countSignatures()},h.prototype.countSignatures=function(){return r.reduce(this.signatures,(function(t,e){return t+!!e}),0)},h.prototype.publicKeysWithoutSignature=function(){var t=this;return r.filter(this.publicKeys,(function(e){return!t.signatures[t.publicKeyIndex[e.toString()]]}))},h.prototype.isValidSignature=function(t,e,n){return n=n||"ecdsa",e.signature.nhashtype=e.sigtype,f.verify(t,e.signature,e.publicKey,e.inputIndex,this.redeemScript,this.output.satoshisBN,void 0,n)},h.OPCODES_SIZE=7,h.SIGNATURE_SIZE=74,h.PUBKEY_SIZE=34,h.prototype._estimateSize=function(){return h.OPCODES_SIZE+this.threshold*h.SIGNATURE_SIZE+this.publicKeys.length*h.PUBKEY_SIZE},t.exports=h},function(t,e,n){"use strict";var r=n(206),i=n(52),o=n(205),a=n(153),u=n(117),s=n(152),c=n(100),f=n(207);function l(t,e,n,r){o.apply(this,arguments),r=r||t.signatures||[],this.inputPublicKeys=e,this.reclaimPublicKey=n,this.redeemScript=u.buildEscrowOut(e,n),i.checkState(u.buildScriptHashOut(this.redeemScript).equals(this.output.script),"Provided public keys don't hash to the provided output"),this.signatures=this._deserializeSignatures(r)}r(l,o),l.prototype.getSignatures=function(t,e,n,r,o,u){return this.reclaimPublicKey.toString()!==e.publicKey.toString()?[]:(i.checkState(this.output instanceof a),r=r||c.SIGHASH_ALL|c.SIGHASH_FORKID,[new f({publicKey:e.publicKey,prevTxId:this.prevTxId,outputIndex:this.outputIndex,inputIndex:n,signature:s.sign(t,e,r,n,this.redeemScript,this.output.satoshisBN,void 0,u),sigtype:r})])},l.prototype.addSignature=function(t,e,n){i.checkState(this.isValidSignature(t,e,n));var r=u.buildEscrowIn(this.reclaimPublicKey,e.signature,this.redeemScript);this.setScript(r),this.signatures=[e]},l.prototype.isValidSignature=function(t,e,n){return n=n||"ecdsa",e.signature.nhashtype=e.sigtype,s.verify(t,e.signature,e.publicKey,e.inputIndex,this.redeemScript,this.output.satoshisBN,void 0,n)},l.prototype.clearSignatures=function(){this.signatures=[]},l.prototype.isFullySigned=function(){return 1===this.signatures.length},l.prototype._deserializeSignatures=function(t){return t.map((function(t){return new f(t)}))},t.exports=l},function(t,e,n){"use strict";(function(e){var r=n(134),i=n(160),o=n(79),a=function t(n){if(!(this instanceof t))return new t(n);if(e.isBuffer(n))this.buf=n;else if("number"===typeof n){var r=n;this.fromNumber(r)}else if(n instanceof o){var i=n;this.fromBN(i)}else if(n){var a=n;this.set(a)}};a.prototype.set=function(t){return this.buf=t.buf||this.buf,this},a.prototype.fromString=function(t){return this.set({buf:e.from(t,"hex")}),this},a.prototype.toString=function(){return this.buf.toString("hex")},a.prototype.fromBuffer=function(t){return this.buf=t,this},a.prototype.fromBufferReader=function(t){return this.buf=t.readVarintBuf(),this},a.prototype.fromBN=function(t){return this.buf=r().writeVarintBN(t).concat(),this},a.prototype.fromNumber=function(t){return this.buf=r().writeVarintNum(t).concat(),this},a.prototype.toBuffer=function(){return this.buf},a.prototype.toBN=function(){return i(this.buf).readVarintBN()},a.prototype.toNumber=function(){return i(this.buf).readVarintNum()},t.exports=a}).call(this,n(29).Buffer)},function(t,e,n){t.exports=n(950),t.exports.BlockHeader=n(277),t.exports.MerkleBlock=n(517)},function(t,e,n){"use strict";(function(e){var r=n(48),i=n(277),o=n(79),a=n(63),u=n(160),s=n(134),c=n(84),f=n(276),l=n(52);function d(t){return this instanceof d?(r.extend(this,d._from(t)),this):new d(t)}d.MAX_BLOCK_SIZE=1e6,d._from=function(t){var e={};if(a.isBuffer(t))e=d._fromBufferReader(u(t));else{if(!r.isObject(t))throw new TypeError("Unrecognized argument for Block");e=d._fromObject(t)}return e},d._fromObject=function(t){var e=[];return t.transactions.forEach((function(t){t instanceof f?e.push(t):e.push(f().fromObject(t))})),{header:i.fromObject(t.header),transactions:e}},d.fromObject=function(t){var e=d._fromObject(t);return new d(e)},d._fromBufferReader=function(t){var e={};l.checkState(!t.finished(),"No block data received"),e.header=i.fromBufferReader(t);var n=t.readVarintNum();e.transactions=[];for(var r=0;r<n;r++)e.transactions.push(f().fromBufferReader(t));return e},d.fromBufferReader=function(t){l.checkArgument(t,"br is required");var e=d._fromBufferReader(t);return new d(e)},d.fromBuffer=function(t){return d.fromBufferReader(new u(t))},d.fromString=function(t){var n=e.from(t,"hex");return d.fromBuffer(n)},d.fromRawBlock=function(t){a.isBuffer(t)||(t=e.from(t,"binary"));var n=u(t);n.pos=d.Values.START_OF_BLOCK;var r=d._fromBufferReader(n);return new d(r)},d.prototype.toObject=d.prototype.toJSON=function(){var t=[];return this.transactions.forEach((function(e){t.push(e.toObject())})),{header:this.header.toObject(),transactions:t}},d.prototype.toBuffer=function(){return this.toBufferWriter().concat()},d.prototype.toString=function(){return this.toBuffer().toString("hex")},d.prototype.toBufferWriter=function(t){t||(t=new s),t.write(this.header.toBuffer()),t.writeVarintNum(this.transactions.length);for(var e=0;e<this.transactions.length;e++)this.transactions[e].toBufferWriter(t);return t},d.prototype.getTransactionHashes=function(){var t=[];if(0===this.transactions.length)return[d.Values.NULL_HASH];for(var e=0;e<this.transactions.length;e++)t.push(this.transactions[e]._getHash());return t},d.prototype.getMerkleTree=function(){for(var t=this.getTransactionHashes(),n=0,r=this.transactions.length;r>1;r=Math.floor((r+1)/2)){for(var i=0;i<r;i+=2){var o=Math.min(i+1,r-1),a=e.concat([t[n+i],t[n+o]]);t.push(c.sha256sha256(a))}n+=r}return t},d.prototype.getMerkleRoot=function(){var t=this.getMerkleTree();return t[t.length-1]},d.prototype.validMerkleRoot=function(){var t=new o(this.header.merkleRoot.toString("hex"),"hex"),e=new o(this.getMerkleRoot().toString("hex"),"hex");return 0===t.cmp(e)},d.prototype._getHash=function(){return this.header._getHash()};var h={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=this.header.id),this._id},set:r.noop};Object.defineProperty(d.prototype,"id",h),Object.defineProperty(d.prototype,"hash",h),d.prototype.inspect=function(){return"<Block "+this.id+">"},d.Values={START_OF_BLOCK:8,NULL_HASH:e.from("0000000000000000000000000000000000000000000000000000000000000000","hex")},t.exports=d}).call(this,n(29).Buffer)},function(t,e,n){"use strict";var r=n(48),i=n(476),o=n(187),a=n(159),u=n(389),s=function t(e,n){if(!(this instanceof t))return new t(e,n);if(this.extras={},this.knownParams=n||[],this.address=this.network=this.amount=this.message=null,"string"===typeof e){var r=t.parse(e);r.amount&&(r.amount=this._parseAmount(r.amount)),this._fromObject(r)}else{if("object"!==typeof e)throw new TypeError("Unrecognized data format.");this._fromObject(e)}};s.fromString=function(t){if("string"!==typeof t)throw new TypeError("Expected a string");return new s(t)},s.fromObject=function(t){return new s(t)},s.isValid=function(t,e){try{new s(t,e)}catch(n){return!1}return!0},s.parse=function(t){var e=i.parse(t,!0);if(a.get(e.protocol.replace(":",""),"prefix")){var n=/[^:]*:\/?\/?([^?]*)/.exec(t);return e.query.address=n&&n[1]||void 0,e.query}throw new TypeError("Invalid bitcoin URI")},s.Members=["address","amount","message","label","r"],s.prototype._fromObject=function(t){if(!o.isValid(t.address))throw new TypeError("Invalid bitcoin address");for(var e in this.address=new o(t.address),this.network=this.address.network,this.amount=t.amount,t)if("address"!==e&&"amount"!==e){if(/^req-/.exec(e)&&-1===this.knownParams.indexOf(e))throw Error("Unknown required argument "+e);(s.Members.indexOf(e)>-1?this:this.extras)[e]=t[e]}},s.prototype._parseAmount=function(t){if(t=Number(t),isNaN(t))throw new TypeError("Invalid amount");return u.fromBTC(t).toSatoshis()},s.prototype.toObject=s.prototype.toJSON=function(){for(var t={},e=0;e<s.Members.length;e++){var n=s.Members[e];this.hasOwnProperty(n)&&"undefined"!==typeof this[n]&&(t[n]=this[n].toString())}return r.extend(t,this.extras),t},s.prototype.toString=function(){var t={};return this.amount&&(t.amount=u.fromSatoshis(this.amount).toBTC()),this.message&&(t.message=this.message),this.label&&(t.label=this.label),this.r&&(t.r=this.r),r.extend(t,this.extras),i.format({protocol:a.get(this.network,"name").prefix+":",host:this.address.toString(!0),query:t})},s.prototype.inspect=function(){return"<URI: "+this.toString()+">"},t.exports=s},function(t,e,n){n(102);var r=n(133).xmrValidator,i={mainNetPublicAddrPrefix:"12",mainNetIntegratedAddrPrefix:"13",mainNetSubAddrPrefix:"2a",testNetPublicAddrPrefix:"35",testNetIntegratedAddrPrefix:"35",testNetSubAddrPrefix:"3f"};t.exports={opts:i,parseUrl:function(t,e){var n=/^(monero:\/{0,2})?(\w+)/.exec(e),o=n&&n[2];if(console.log("DEBUG16: *%s*",o),!function(t,e){if(!t)throw new Error("No network supplied.");if(!e)throw new Error("No address supplied.");return!!r(t,e,i)}(t,o))throw new Error("Invalid address");return o},depositUrl:function(t,e){return"monero:".concat(t,"?amount=").concat(e)},buildUrl:function(t){return"monero:".concat(t)}}},function(t,e,n){"use strict";n.r(e);var r=n(390);n.d(e,"ReactNativeFile",(function(){return r}));var i=n(520);n.d(e,"extractFiles",(function(){return i}));var o=n(391);n.d(e,"isExtractableFile",(function(){return o}))},function(t,e){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}},function(t,e,n){var r=n(521);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}},function(t,e){t.exports=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";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(1),a=m(o),u=m(n(278)),s=m(n(279)),c=m(n(392)),f=n(26),l=m(n(964)),d=m(n(965)),h=m(n(966)),p=m(n(243)),g=n(967);function m(t){return t&&t.__esModule?t:{default:t}}var b=function(t){return void 0!==t?{style:void 0!==t.style?t.style:{},className:void 0!==t.className?t.className:""}:{style:{},className:""}},v=function(t){var e=void 0!==t.animation?t.animation:"fade",n=void 0!==t.timeout?t.timeout:"fade"===e?500:200;return{className:void 0!==t.className?t.className:"",children:t.children?t.children:[],index:void 0!==t.index?t.index:0,strictIndexing:void 0===t.strictIndexing||t.strictIndexing,autoPlay:void 0===t.autoPlay||t.autoPlay,stopAutoPlayOnHover:void 0===t.stopAutoPlayOnHover||t.stopAutoPlayOnHover,interval:void 0!==t.interval?t.interval:4e3,animation:e,timeout:n,swipe:void 0===t.swipe||t.swipe,navButtonsAlwaysInvisible:void 0!==t.navButtonsAlwaysInvisible&&t.navButtonsAlwaysInvisible,navButtonsAlwaysVisible:void 0!==t.navButtonsAlwaysVisible&&t.navButtonsAlwaysVisible,cycleNavigation:void 0===t.cycleNavigation||t.cycleNavigation,fullHeightHover:void 0===t.fullHeightHover||t.fullHeightHover,navButtonsWrapperProps:b(t.navButtonsWrapperProps),navButtonsProps:b(t.navButtonsProps),NavButton:t.NavButton,NextIcon:void 0!==t.NextIcon?t.NextIcon:a.default.createElement(p.default,null),PrevIcon:void 0!==t.PrevIcon?t.PrevIcon:a.default.createElement(h.default,null),indicators:void 0===t.indicators||t.indicators,indicatorContainerProps:b(t.indicatorContainerProps),indicatorIconButtonProps:b(t.indicatorIconButtonProps),activeIndicatorIconButtonProps:b(t.activeIndicatorIconButtonProps),IndicatorIcon:t.IndicatorIcon,onChange:void 0!==t.onChange?t.onChange:function(){},changeOnFirstRender:void 0!==t.changeOnFirstRender&&t.changeOnFirstRender,next:void 0!==t.next?t.next:function(){},prev:void 0!==t.prev?t.prev:function(){}}},y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return(0,l.default)(n),n.state={active:0,prevActive:0,displayed:0},n.timer=null,n}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),i(e,[{key:"componentDidMount",value:function(){var t=v(this.props),e=t.index,n=t.changeOnFirstRender;this.setActive(e,void 0,n),this.start()}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentDidUpdate",value:function(t,e){t=v(t);var n=v(this.props),r=n.autoPlay,i=n.interval,o=n.children,a=n.index;r===t.autoPlay&&i===t.interval||this.reset(),o.length!==t.children.length&&this.setActive(a),t.index!==a&&this.setActive(a)}},{key:"stop",value:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},{key:"start",value:function(){var t=v(this.props),e=t.autoPlay,n=t.interval;e&&(this.timer=setInterval(this.next,n))}},{key:"reset",value:function(){var t=v(this.props).autoPlay;this.stop(),t&&this.start()}},{key:"setActive",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=v(this.props),o=i.onChange,a=i.timeout,u=i.children,s=i.strictIndexing;Array.isArray(u)?(s&&t>u.length-1&&(t=u.length-1),s&&t<0&&(t=0)):t=0;var c=this.state.active;this.setState({active:t,prevActive:c,displayed:c},this.reset),setTimeout((function(){e.setState({displayed:t},(function(){r&&(n(t,c),o(t,c))}))}),a.exit?a.exit:a)}},{key:"next",value:function(t){var e=v(this.props),n=e.children,r=e.next,i=e.cycleNavigation,o=this.state.active+1>n.length-1?i?0:this.state.active:this.state.active+1;this.setActive(o,r),t&&t.stopPropagation()}},{key:"prev",value:function(t){var e=v(this.props),n=e.children,r=e.prev,i=e.cycleNavigation,o=this.state.active-1<0?i?n.length-1:this.state.active:this.state.active-1;this.setActive(o,r),t&&t.stopPropagation()}},{key:"render",value:function(){var t=this,e=v(this.props),n=e.children,r=e.className,i=e.stopAutoPlayOnHover,o=e.animation,u=e.timeout,s=e.swipe,f=e.navButtonsAlwaysInvisible,l=e.navButtonsAlwaysVisible,d=e.cycleNavigation,h=e.fullHeightHover,p=e.navButtonsProps,g=e.navButtonsWrapperProps,m=e.NavButton,b=e.NextIcon,y=e.PrevIcon,S=e.indicators,O=e.indicatorContainerProps,x=e.indicatorIconButtonProps,E=e.activeIndicatorIconButtonProps,M=e.IndicatorIcon,T=this.props.classes,$=""+(l?T.buttonVisible:T.buttonHidden),A=T.button+" "+$+" "+(h?T.fullHeightHoverButton:"")+" "+p.className,k=T.buttonWrapper+" "+(h?T.fullHeightHoverWrapper:"")+" "+g.className,C=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!!d||!(e&&t.state.active+1>n.length-1)&&!(!e&&t.state.active-1<0)};return a.default.createElement("div",{className:T.root+" "+(r||""),onMouseOver:function(){i&&t.stop()},onMouseOut:function(){i&&t.reset()}},Array.isArray(n)?n.map((function(e,r){return a.default.createElement(_,{key:"carousel-item"+r,display:r===t.state.displayed,active:r===t.state.active,isNext:(0!==t.state.active||t.state.prevActive!==n.length-1)&&(t.state.active===n.length-1&&0===t.state.prevActive||t.state.active>t.state.prevActive),child:e,animation:o,timeout:u,swipe:s,next:t.next,prev:t.prev})})):a.default.createElement(_,{key:"carousel-item0",display:!0,active:!0,child:n,animation:o,timeout:u}),!f&&C(!0)&&a.default.createElement("div",{className:k+" "+T.next,style:g.style},void 0!==m?m({onClick:this.next,className:A,style:p.style,next:!0,prev:!1}):a.default.createElement(c.default,{className:""+A,onClick:this.next,"aria-label":"Next",style:p.style},b)),!f&&C(!1)&&a.default.createElement("div",{className:k+" "+T.prev,style:g.style},void 0!==m?m({onClick:this.prev,className:A,style:p.style,next:!1,prev:!0}):a.default.createElement(c.default,{className:""+A,onClick:this.prev,"aria-label":"Previous",style:p.style},y)),S?a.default.createElement(w,{classes:T,length:n.length,active:this.state.active,press:this.setActive,indicatorContainerProps:O,indicatorIconButtonProps:x,activeIndicatorIconButtonProps:E,IndicatorIcon:M}):null)}}]),e}(o.Component);function _(t){var e=(0,g.useSwipeable)({onSwipedLeft:function(){return t.next()},onSwipedRight:function(){return t.prev()}});return e=t.swipe?e:{},t.display?a.default.createElement("div",r({},e,{className:"CarouselItem"}),"slide"===t.animation?a.default.createElement(s.default,{direction:t.active?t.isNext?"left":"right":t.isNext?"right":"left",in:t.active,timeout:t.timeout},a.default.createElement("div",null,t.child)):a.default.createElement(u.default,{in:t.active,timeout:t.timeout},a.default.createElement("div",null,t.child))):null}function w(t){for(var e=t.classes,n=void 0!==t.IndicatorIcon?t.IndicatorIcon:a.default.createElement(d.default,{size:"small",className:e.indicatorIcon}),r=[],i=function(i){var o=i===t.active?e.indicator+" "+t.indicatorIconButtonProps.className+" "+e.active+" "+t.activeIndicatorIconButtonProps.className:e.indicator+" "+t.indicatorIconButtonProps.className,u=i===t.active?Object.assign({},t.indicatorIconButtonProps.style,t.activeIndicatorIconButtonProps.style):t.indicatorIconButtonProps.style,s=a.default.createElement(c.default,{key:i,className:o,style:u,onClick:function(){t.press(i)},size:"small"},n);r.push(s)},o=0;o<t.length;o++)i(o);var u=void 0!==t.indicatorContainerProps?t.indicatorContainerProps.style:void 0,s=void 0!==t.indicatorContainerProps?t.indicatorContainerProps.className:"";return a.default.createElement("div",{className:e.indicators+" "+s,style:u},r)}e.default=(0,f.withStyles)({root:{position:"relative",overflow:"hidden"},indicators:{width:"100%",marginTop:"10px",textAlign:"center"},indicator:{cursor:"pointer",transition:"200ms",padding:0,color:"#afafaf","&:hover":{color:"#1f1f1f"},"&:active":{color:"#1f1f1f"}},indicatorIcon:{fontSize:"15px"},active:{color:"#494949"},buttonWrapper:{position:"absolute",height:"100px",backgroundColor:"transparent",top:"calc(50% - 70px)","&:hover":{"& $button":{backgroundColor:"black",filter:"brightness(120%)",opacity:"0.4"}}},fullHeightHoverWrapper:{height:"100%",top:"0"},buttonVisible:{opacity:"1"},buttonHidden:{opacity:"0"},button:{margin:"0 10px",position:"relative",backgroundColor:"#494949",top:"calc(50% - 20px) !important",color:"white",fontSize:"30px",transition:"200ms",cursor:"pointer","&:hover":{opacity:"0.6 !important"}},next:{right:0},prev:{left:0}})(y)},function(t,e,n){"use strict";var r=n(372),i=n(515);t.exports=function(t,e){e=Object.assign({},e);var n,o=function(t){var n=function(e){return"string"===typeof e?t===e:e.test(t)};return e.include?e.include.some(n):!e.exclude||!e.exclude.some(n)},a=i(function(t){var e=new Set;do{var n,r=i(Reflect.ownKeys(t));try{for(r.s();!(n=r.n()).done;){var o=n.value;e.add([t,o])}}catch(a){r.e(a)}finally{r.f()}}while((t=Reflect.getPrototypeOf(t))&&t!==Object.prototype);return e}(t.constructor.prototype));try{for(a.s();!(n=a.n()).done;){var u=r(n.value,2),s=u[0],c=u[1];if("constructor"!==c&&o(c)){var f=Reflect.getOwnPropertyDescriptor(s,c);f&&"function"===typeof f.value&&(t[c]=t[c].bind(t))}}}catch(l){a.e(l)}finally{a.f()}return t};var o=["componentWillMount","UNSAFE_componentWillMount","render","getSnapshotBeforeUpdate","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount","componentDidCatch","setState","forceUpdate"];t.exports.react=function(e,n){return(n=Object.assign({},n)).exclude=(n.exclude||[]).concat(o),t.exports(e,n)}},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(1)),o=(0,r(n(233)).default)(i.default.createElement("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");e.default=o},function(t,e,n){"use strict";var r=n(178);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(1)),o=(0,r(n(233)).default)(i.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");e.default=o},function(t,e,n){!function(t,e){function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var r="Left",i="Right",o="Up",a="Down",u={delta:10,preventDefaultTouchmoveEvent:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0},s={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},c="mousemove",f="mouseup",l="touchend",d="touchmove",h="touchstart";function p(t,e,n,u){return t>e?n>0?i:r:u>0?a:o}function g(t,e){if(0===e)return t;var n=Math.PI/180*e;return[t[0]*Math.cos(n)+t[1]*Math.sin(n),t[1]*Math.cos(n)-t[0]*Math.sin(n)]}function m(t,e){var r=function(e){e&&"touches"in e&&e.touches.length>1||t((function(t,r){r.trackMouse&&(document.addEventListener(c,i),document.addEventListener(f,u));var o="touches"in e?e.touches[0]:e,a=g([o.clientX,o.clientY],r.rotationAngle);return n({},t,s,{initial:[].concat(a),xy:a,start:e.timeStamp||0})}))},i=function(e){t((function(t,r){if("touches"in e&&e.touches.length>1)return t;var i="touches"in e?e.touches[0]:e,o=g([i.clientX,i.clientY],r.rotationAngle),a=o[0],u=o[1],s=a-t.xy[0],c=u-t.xy[1],f=Math.abs(s),l=Math.abs(c),d=(e.timeStamp||0)-t.start,h=Math.sqrt(f*f+l*l)/(d||1),m=[s/(d||1),c/(d||1)];if(f<r.delta&&l<r.delta&&!t.swiping)return t;var b=p(f,l,s,c),v={absX:f,absY:l,deltaX:s,deltaY:c,dir:b,event:e,first:t.first,initial:t.initial,velocity:h,vxvy:m};v.first&&r.onSwipeStart&&r.onSwipeStart(v),r.onSwiping&&r.onSwiping(v);var y=!1;return(r.onSwiping||r.onSwiped||"onSwiped"+b in r)&&(y=!0),y&&r.preventDefaultTouchmoveEvent&&r.trackTouch&&e.cancelable&&e.preventDefault(),n({},t,{first:!1,eventData:v,swiping:!0})}))},o=function(e){t((function(t,r){var i;if(t.swiping&&t.eventData){i=n({},t.eventData,{event:e}),r.onSwiped&&r.onSwiped(i);var o="onSwiped"+i.dir;o in r&&r[o](i)}else r.onTap&&r.onTap({event:e});return n({},t,s,{eventData:i})}))},a=function(){document.removeEventListener(c,i),document.removeEventListener(f,u)},u=function(t){a(),o(t)},m=function(t,e){var n=function(){};if(t&&t.addEventListener){var a=[[h,r],[d,i],[l,o]];a.forEach((function(n){var r=n[0],i=n[1];return t.addEventListener(r,i,{passive:e})})),n=function(){return a.forEach((function(e){var n=e[0],r=e[1];return t.removeEventListener(n,r)}))}}return n},b={ref:function(e){null!==e&&t((function(t,r){if(t.el===e)return t;var i={};return t.el&&t.el!==e&&t.cleanUpTouch&&(t.cleanUpTouch(),i.cleanUpTouch=void 0),r.trackTouch&&e&&(i.cleanUpTouch=m(e,!r.preventDefaultTouchmoveEvent)),n({},t,{el:e},i)}))}};return e.trackMouse&&(b.onMouseDown=r),[b,m]}function b(t,e,r){var i={};return!e.trackTouch&&t.cleanUpTouch?(t.cleanUpTouch(),i.cleanUpTouch=void 0):e.trackTouch&&!t.cleanUpTouch&&t.el&&(i.cleanUpTouch=r(t.el,!e.preventDefaultTouchmoveEvent)),n({},t,i)}function v(t){var r=t.trackMouse,i=e.useRef(n({},s)),o=e.useRef(n({},u));o.current=n({},u,t);var a=e.useMemo((function(){return m((function(t){return i.current=t(i.current,o.current)}),{trackMouse:r})}),[r]),c=a[0],f=a[1];return i.current=b(i.current,o.current,f),c}t.DOWN=a,t.LEFT=r,t.RIGHT=i,t.UP=o,t.useSwipeable=v}(e,n(1))},,function(t,e,n){"use strict";n.r(e),n.d(e,"parse",(function(){return A})),n.d(e,"parseValue",(function(){return k})),n.d(e,"parseType",(function(){return C}));var r=n(287);function i(t,e){if(!Boolean(t))throw new Error(e)}var o=n(246);function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.prototype.toString;t.prototype.toJSON=e,t.prototype.inspect=e,o.a&&(t.prototype[o.a]=e)}function u(t){return(u="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 s(t,e){for(var n,r=/\r\n|[\n\r]/g,i=1,o=e+1;(n=r.exec(t.body))&&n.index<e;)i+=1,o=e+1-(n.index+n[0].length);return{line:i,column:o}}function c(t){return f(t.source,s(t.source,t.start))}function f(t,e){var n=t.locationOffset.column-1,r=d(n)+t.body,i=e.line-1,o=t.locationOffset.line-1,a=e.line+o,u=1===e.line?n:0,s=e.column+u,c="".concat(t.name,":").concat(a,":").concat(s,"\n"),f=r.split(/\r\n|[\n\r]/g),h=f[i];if(h.length>120){for(var p=Math.floor(s/80),g=s%80,m=[],b=0;b<h.length;b+=80)m.push(h.slice(b,b+80));return c+l([["".concat(a),m[0]]].concat(m.slice(1,p+1).map((function(t){return["",t]})),[[" ",d(g-1)+"^"],["",m[p+1]]]))}return c+l([["".concat(a-1),f[i-1]],["".concat(a),h],["",d(s-1)+"^"],["".concat(a+1),f[i+1]]])}function l(t){var e=t.filter((function(t){t[0];return void 0!==t[1]})),n=Math.max.apply(Math,e.map((function(t){return t[0].length})));return e.map((function(t){var e,r=t[0],i=t[1];return d(n-(e=r).length)+e+(i?" | "+i:" |")})).join("\n")}function d(t){return Array(t+1).join(" ")}function h(t,e,n,r,i,o,a){var c=Array.isArray(e)?0!==e.length?e:void 0:e?[e]:void 0,f=n;if(!f&&c){var l=c[0];f=l&&l.loc&&l.loc.source}var d,p=r;!p&&c&&(p=c.reduce((function(t,e){return e.loc&&t.push(e.loc.start),t}),[])),p&&0===p.length&&(p=void 0),r&&n?d=r.map((function(t){return s(n,t)})):c&&(d=c.reduce((function(t,e){return e.loc&&t.push(s(e.loc.source,e.loc.start)),t}),[]));var g,m=a;if(null==m&&null!=o){var b=o.extensions;"object"==u(g=b)&&null!==g&&(m=b)}Object.defineProperties(this,{message:{value:t,enumerable:!0,writable:!0},locations:{value:d||void 0,enumerable:Boolean(d)},path:{value:i||void 0,enumerable:Boolean(i)},nodes:{value:c||void 0},source:{value:f||void 0},positions:{value:p||void 0},originalError:{value:o},extensions:{value:m||void 0,enumerable:Boolean(m)}}),o&&o.stack?Object.defineProperty(this,"stack",{value:o.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,h):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function p(t,e,n){return new h("Syntax Error: ".concat(n),void 0,t,[e])}h.prototype=Object.create(Error.prototype,{constructor:{value:h},name:{value:"GraphQLError"},toString:{value:function(){return function(t){var e=t.message;if(t.nodes)for(var n=0,r=t.nodes;n<r.length;n++){var i=r[n];i.loc&&(e+="\n\n"+c(i.loc))}else if(t.source&&t.locations)for(var o=0,a=t.locations;o<a.length;o++){var u=a[o];e+="\n\n"+f(t.source,u)}return e}(this)}}});var g=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var m,b=function(t,e,n){this.body=t,this.name=e||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||i(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||i(0,"column in locationOffset is 1-indexed and must be positive")};m=b,"function"===typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}});var v=n(288),y=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function _(){return this.lastToken=this.token,this.token=this.lookahead()}function w(){var t=this.token;if(t.kind!==y.EOF)do{t=t.next||(t.next=x(this,t))}while(t.kind===y.COMMENT);return t}function S(t,e,n,r,i,o,a){this.kind=t,this.start=e,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function O(t){return isNaN(t)?y.EOF:t<127?JSON.stringify(String.fromCharCode(t)):'"\\u'.concat(("00"+t.toString(16).toUpperCase()).slice(-4),'"')}function x(t,e){var n=t.source,r=n.body,i=r.length,o=function(t,e,n){var r=t.length,i=e;for(;i<r;){var o=t.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===t.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,e.end,t),a=t.line,u=1+o-t.lineStart;if(o>=i)return new S(y.EOF,i,i,a,u,e);var s=r.charCodeAt(o);switch(s){case 33:return new S(y.BANG,o,o+1,a,u,e);case 35:return function(t,e,n,r,i){var o,a=t.body,u=e;do{o=a.charCodeAt(++u)}while(!isNaN(o)&&(o>31||9===o));return new S(y.COMMENT,e,u,n,r,i,a.slice(e+1,u))}(n,o,a,u,e);case 36:return new S(y.DOLLAR,o,o+1,a,u,e);case 38:return new S(y.AMP,o,o+1,a,u,e);case 40:return new S(y.PAREN_L,o,o+1,a,u,e);case 41:return new S(y.PAREN_R,o,o+1,a,u,e);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new S(y.SPREAD,o,o+3,a,u,e);break;case 58:return new S(y.COLON,o,o+1,a,u,e);case 61:return new S(y.EQUALS,o,o+1,a,u,e);case 64:return new S(y.AT,o,o+1,a,u,e);case 91:return new S(y.BRACKET_L,o,o+1,a,u,e);case 93:return new S(y.BRACKET_R,o,o+1,a,u,e);case 123:return new S(y.BRACE_L,o,o+1,a,u,e);case 124:return new S(y.PIPE,o,o+1,a,u,e);case 125:return new S(y.BRACE_R,o,o+1,a,u,e);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(t,e,n,r,i){var o=t.body,a=o.length,u=e+1,s=0;for(;u!==a&&!isNaN(s=o.charCodeAt(u))&&(95===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122);)++u;return new S(y.NAME,e,u,n,r,i,o.slice(e,u))}(n,o,a,u,e);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(t,e,n,r,i,o){var a=t.body,u=n,s=e,c=!1;45===u&&(u=a.charCodeAt(++s));if(48===u){if((u=a.charCodeAt(++s))>=48&&u<=57)throw p(t,s,"Invalid number, unexpected digit after 0: ".concat(O(u),"."))}else s=E(t,s,u),u=a.charCodeAt(s);46===u&&(c=!0,u=a.charCodeAt(++s),s=E(t,s,u),u=a.charCodeAt(s));69!==u&&101!==u||(c=!0,43!==(u=a.charCodeAt(++s))&&45!==u||(u=a.charCodeAt(++s)),s=E(t,s,u),u=a.charCodeAt(s));if(46===u||69===u||101===u)throw p(t,s,"Invalid number, expected digit but got: ".concat(O(u),"."));return new S(c?y.FLOAT:y.INT,e,s,r,i,o,a.slice(e,s))}(n,o,s,a,u,e);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(t,e,n,r,i,o){var a=t.body,u=e+3,s=u,c=0,f="";for(;u<a.length&&!isNaN(c=a.charCodeAt(u));){if(34===c&&34===a.charCodeAt(u+1)&&34===a.charCodeAt(u+2))return f+=a.slice(s,u),new S(y.BLOCK_STRING,e,u+3,n,r,i,Object(v.a)(f));if(c<32&&9!==c&&10!==c&&13!==c)throw p(t,u,"Invalid character within String: ".concat(O(c),"."));10===c?(++u,++o.line,o.lineStart=u):13===c?(10===a.charCodeAt(u+1)?u+=2:++u,++o.line,o.lineStart=u):92===c&&34===a.charCodeAt(u+1)&&34===a.charCodeAt(u+2)&&34===a.charCodeAt(u+3)?(f+=a.slice(s,u)+'"""',s=u+=4):++u}throw p(t,u,"Unterminated string.")}(n,o,a,u,e,t):function(t,e,n,r,i){var o=t.body,a=e+1,u=a,s=0,c="";for(;a<o.length&&!isNaN(s=o.charCodeAt(a))&&10!==s&&13!==s;){if(34===s)return c+=o.slice(u,a),new S(y.STRING,e,a+1,n,r,i,c);if(s<32&&9!==s)throw p(t,a,"Invalid character within String: ".concat(O(s),"."));if(++a,92===s){switch(c+=o.slice(u,a-1),s=o.charCodeAt(a)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var f=M(o.charCodeAt(a+1),o.charCodeAt(a+2),o.charCodeAt(a+3),o.charCodeAt(a+4));if(f<0){var l=o.slice(a+1,a+5);throw p(t,a,"Invalid character escape sequence: \\u".concat(l,"."))}c+=String.fromCharCode(f),a+=4;break;default:throw p(t,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(s),"."))}u=++a}}throw p(t,a,"Unterminated string.")}(n,o,a,u,e)}throw p(n,o,function(t){if(t<32&&9!==t&&10!==t&&13!==t)return"Cannot contain the invalid character ".concat(O(t),".");if(39===t)return"Unexpected single quote character ('), did you mean to use a double quote (\")?";return"Cannot parse the unexpected character ".concat(O(t),".")}(s))}function E(t,e,n){var r=t.body,i=e,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw p(t,i,"Invalid number, expected digit but got: ".concat(O(o),"."))}function M(t,e,n,r){return T(t)<<12|T(e)<<8|T(n)<<4|T(r)}function T(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}a(S,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}));var $=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function A(t,e){return new I(t,e).parseDocument()}function k(t,e){var n=new I(t,e);n.expectToken(y.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(y.EOF),r}function C(t,e){var n=new I(t,e);n.expectToken(y.SOF);var r=n.parseTypeReference();return n.expectToken(y.EOF),r}var I=function(){function t(t,e){var n="string"===typeof t?new b(t):t;n instanceof b||i(0,"Must provide Source. Received: ".concat(Object(r.a)(n))),this._lexer=function(t,e){var n=new S(y.SOF,0,0,0,0,null);return{source:t,options:e,lastToken:n,token:n,line:1,lineStart:0,advance:_,lookahead:w}}(n),this._options=e||{}}var e=t.prototype;return e.parseName=function(){var t=this.expectToken(y.NAME);return{kind:g.NAME,value:t.value,loc:this.loc(t)}},e.parseDocument=function(){var t=this._lexer.token;return{kind:g.DOCUMENT,definitions:this.many(y.SOF,this.parseDefinition,y.EOF),loc:this.loc(t)}},e.parseDefinition=function(){if(this.peek(y.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(y.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},e.parseOperationDefinition=function(){var t=this._lexer.token;if(this.peek(y.BRACE_L))return{kind:g.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var e,n=this.parseOperationType();return this.peek(y.NAME)&&(e=this.parseName()),{kind:g.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseOperationType=function(){var t=this.expectToken(y.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)},e.parseVariableDefinitions=function(){return this.optionalMany(y.PAREN_L,this.parseVariableDefinition,y.PAREN_R)},e.parseVariableDefinition=function(){var t=this._lexer.token;return{kind:g.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(y.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(t)}},e.parseVariable=function(){var t=this._lexer.token;return this.expectToken(y.DOLLAR),{kind:g.VARIABLE,name:this.parseName(),loc:this.loc(t)}},e.parseSelectionSet=function(){var t=this._lexer.token;return{kind:g.SELECTION_SET,selections:this.many(y.BRACE_L,this.parseSelection,y.BRACE_R),loc:this.loc(t)}},e.parseSelection=function(){return this.peek(y.SPREAD)?this.parseFragment():this.parseField()},e.parseField=function(){var t,e,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(y.COLON)?(t=r,e=this.parseName()):e=r,{kind:g.FIELD,alias:t,name:e,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(y.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},e.parseArguments=function(t){var e=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(y.PAREN_L,e,y.PAREN_R)},e.parseArgument=function(){var t=this._lexer.token,e=this.parseName();return this.expectToken(y.COLON),{kind:g.ARGUMENT,name:e,value:this.parseValueLiteral(!1),loc:this.loc(t)}},e.parseConstArgument=function(){var t=this._lexer.token;return{kind:g.ARGUMENT,name:this.parseName(),value:(this.expectToken(y.COLON),this.parseValueLiteral(!0)),loc:this.loc(t)}},e.parseFragment=function(){var t=this._lexer.token;this.expectToken(y.SPREAD);var e=this.expectOptionalKeyword("on");return!e&&this.peek(y.NAME)?{kind:g.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(t)}:{kind:g.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseFragmentDefinition=function(){var t=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:g.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:g.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},e.parseValueLiteral=function(t){var e=this._lexer.token;switch(e.kind){case y.BRACKET_L:return this.parseList(t);case y.BRACE_L:return this.parseObject(t);case y.INT:return this._lexer.advance(),{kind:g.INT,value:e.value,loc:this.loc(e)};case y.FLOAT:return this._lexer.advance(),{kind:g.FLOAT,value:e.value,loc:this.loc(e)};case y.STRING:case y.BLOCK_STRING:return this.parseStringLiteral();case y.NAME:return"true"===e.value||"false"===e.value?(this._lexer.advance(),{kind:g.BOOLEAN,value:"true"===e.value,loc:this.loc(e)}):"null"===e.value?(this._lexer.advance(),{kind:g.NULL,loc:this.loc(e)}):(this._lexer.advance(),{kind:g.ENUM,value:e.value,loc:this.loc(e)});case y.DOLLAR:if(!t)return this.parseVariable()}throw this.unexpected()},e.parseStringLiteral=function(){var t=this._lexer.token;return this._lexer.advance(),{kind:g.STRING,value:t.value,block:t.kind===y.BLOCK_STRING,loc:this.loc(t)}},e.parseList=function(t){var e=this,n=this._lexer.token;return{kind:g.LIST,values:this.any(y.BRACKET_L,(function(){return e.parseValueLiteral(t)}),y.BRACKET_R),loc:this.loc(n)}},e.parseObject=function(t){var e=this,n=this._lexer.token;return{kind:g.OBJECT,fields:this.any(y.BRACE_L,(function(){return e.parseObjectField(t)}),y.BRACE_R),loc:this.loc(n)}},e.parseObjectField=function(t){var e=this._lexer.token,n=this.parseName();return this.expectToken(y.COLON),{kind:g.OBJECT_FIELD,name:n,value:this.parseValueLiteral(t),loc:this.loc(e)}},e.parseDirectives=function(t){for(var e=[];this.peek(y.AT);)e.push(this.parseDirective(t));return e},e.parseDirective=function(t){var e=this._lexer.token;return this.expectToken(y.AT),{kind:g.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(e)}},e.parseTypeReference=function(){var t,e=this._lexer.token;return this.expectOptionalToken(y.BRACKET_L)?(t=this.parseTypeReference(),this.expectToken(y.BRACKET_R),t={kind:g.LIST_TYPE,type:t,loc:this.loc(e)}):t=this.parseNamedType(),this.expectOptionalToken(y.BANG)?{kind:g.NON_NULL_TYPE,type:t,loc:this.loc(e)}:t},e.parseNamedType=function(){var t=this._lexer.token;return{kind:g.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}},e.parseTypeSystemDefinition=function(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===y.NAME)switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(t)},e.peekDescription=function(){return this.peek(y.STRING)||this.peek(y.BLOCK_STRING)},e.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},e.parseSchemaDefinition=function(){var t=this._lexer.token;this.expectKeyword("schema");var e=this.parseDirectives(!0),n=this.many(y.BRACE_L,this.parseOperationTypeDefinition,y.BRACE_R);return{kind:g.SCHEMA_DEFINITION,directives:e,operationTypes:n,loc:this.loc(t)}},e.parseOperationTypeDefinition=function(){var t=this._lexer.token,e=this.parseOperationType();this.expectToken(y.COLON);var n=this.parseNamedType();return{kind:g.OPERATION_TYPE_DEFINITION,operation:e,type:n,loc:this.loc(t)}},e.parseScalarTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:g.SCALAR_TYPE_DEFINITION,description:e,name:n,directives:r,loc:this.loc(t)}},e.parseObjectTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:g.OBJECT_TYPE_DEFINITION,description:e,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(t)}},e.parseImplementsInterfaces=function(){var t=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(y.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(y.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(y.NAME))}return t},e.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(y.BRACE_L)&&this._lexer.lookahead().kind===y.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(y.BRACE_L,this.parseFieldDefinition,y.BRACE_R)},e.parseFieldDefinition=function(){var t=this._lexer.token,e=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(y.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:g.FIELD_DEFINITION,description:e,name:n,arguments:r,type:i,directives:o,loc:this.loc(t)}},e.parseArgumentDefs=function(){return this.optionalMany(y.PAREN_L,this.parseInputValueDef,y.PAREN_R)},e.parseInputValueDef=function(){var t=this._lexer.token,e=this.parseDescription(),n=this.parseName();this.expectToken(y.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(y.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:g.INPUT_VALUE_DEFINITION,description:e,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(t)}},e.parseInterfaceTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:g.INTERFACE_TYPE_DEFINITION,description:e,name:n,directives:r,fields:i,loc:this.loc(t)}},e.parseUnionTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:g.UNION_TYPE_DEFINITION,description:e,name:n,directives:r,types:i,loc:this.loc(t)}},e.parseUnionMemberTypes=function(){var t=[];if(this.expectOptionalToken(y.EQUALS)){this.expectOptionalToken(y.PIPE);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(y.PIPE))}return t},e.parseEnumTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:g.ENUM_TYPE_DEFINITION,description:e,name:n,directives:r,values:i,loc:this.loc(t)}},e.parseEnumValuesDefinition=function(){return this.optionalMany(y.BRACE_L,this.parseEnumValueDefinition,y.BRACE_R)},e.parseEnumValueDefinition=function(){var t=this._lexer.token,e=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:g.ENUM_VALUE_DEFINITION,description:e,name:n,directives:r,loc:this.loc(t)}},e.parseInputObjectTypeDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:g.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:n,directives:r,fields:i,loc:this.loc(t)}},e.parseInputFieldsDefinition=function(){return this.optionalMany(y.BRACE_L,this.parseInputValueDef,y.BRACE_R)},e.parseTypeSystemExtension=function(){var t=this._lexer.lookahead();if(t.kind===y.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)},e.parseSchemaExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var e=this.parseDirectives(!0),n=this.optionalMany(y.BRACE_L,this.parseOperationTypeDefinition,y.BRACE_R);if(0===e.length&&0===n.length)throw this.unexpected();return{kind:g.SCHEMA_EXTENSION,directives:e,operationTypes:n,loc:this.loc(t)}},e.parseScalarTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var e=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:g.SCALAR_TYPE_EXTENSION,name:e,directives:n,loc:this.loc(t)}},e.parseObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var e=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:g.OBJECT_TYPE_EXTENSION,name:e,interfaces:n,directives:r,fields:i,loc:this.loc(t)}},e.parseInterfaceTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var e=this.parseName(),n=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:g.INTERFACE_TYPE_EXTENSION,name:e,directives:n,fields:r,loc:this.loc(t)}},e.parseUnionTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var e=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:g.UNION_TYPE_EXTENSION,name:e,directives:n,types:r,loc:this.loc(t)}},e.parseEnumTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var e=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:g.ENUM_TYPE_EXTENSION,name:e,directives:n,values:r,loc:this.loc(t)}},e.parseInputObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var e=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:g.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:n,fields:r,loc:this.loc(t)}},e.parseDirectiveDefinition=function(){var t=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(y.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:g.DIRECTIVE_DEFINITION,description:e,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(t)}},e.parseDirectiveLocations=function(){this.expectOptionalToken(y.PIPE);var t=[];do{t.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(y.PIPE));return t},e.parseDirectiveLocation=function(){var t=this._lexer.token,e=this.parseName();if(void 0!==$[e.value])return e;throw this.unexpected(t)},e.loc=function(t){if(!this._options.noLocation)return new P(t,this._lexer.lastToken,this._lexer.source)},e.peek=function(t){return this._lexer.token.kind===t},e.expectToken=function(t){var e=this._lexer.token;if(e.kind===t)return this._lexer.advance(),e;throw p(this._lexer.source,e.start,"Expected ".concat(t,", found ").concat(N(e)))},e.expectOptionalToken=function(t){var e=this._lexer.token;if(e.kind===t)return this._lexer.advance(),e},e.expectKeyword=function(t){var e=this._lexer.token;if(e.kind!==y.NAME||e.value!==t)throw p(this._lexer.source,e.start,'Expected "'.concat(t,'", found ').concat(N(e)));this._lexer.advance()},e.expectOptionalKeyword=function(t){var e=this._lexer.token;return e.kind===y.NAME&&e.value===t&&(this._lexer.advance(),!0)},e.unexpected=function(t){var e=t||this._lexer.token;return p(this._lexer.source,e.start,"Unexpected ".concat(N(e)))},e.any=function(t,e,n){this.expectToken(t);for(var r=[];!this.expectOptionalToken(n);)r.push(e.call(this));return r},e.optionalMany=function(t,e,n){if(this.expectOptionalToken(t)){var r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(n));return r}return[]},e.many=function(t,e,n){this.expectToken(t);var r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(n));return r},t}();function P(t,e,n){this.start=t.start,this.end=e.end,this.startToken=t,this.endToken=e,this.source=n}function N(t){var e=t.value;return e?"".concat(t.kind,' "').concat(e,'"'):t.kind}a(P,(function(){return{start:this.start,end:this.end}}))},function(t,e,n){"use strict";n.r(e),n.d(e,"checkFetcher",(function(){return y})),n.d(e,"createSignalIfSupported",(function(){return _})),n.d(e,"fallbackHttpConfig",(function(){return m})),n.d(e,"parseAndCheckHttpResponse",(function(){return v})),n.d(e,"selectHttpOptionsAndBody",(function(){return w})),n.d(e,"selectURI",(function(){return O})),n.d(e,"serializeFetchParameter",(function(){return S})),n.d(e,"throwServerError",(function(){return b}));var r=n(14),i=n(99),o=n(288);function a(t){return Object(i.b)(t,{leave:u})}var u={Name:function(t){return t.value},Variable:function(t){return"$"+t.name},Document:function(t){return c(t.definitions,"\n\n")+"\n"},OperationDefinition:function(t){var e=t.operation,n=t.name,r=l("(",c(t.variableDefinitions,", "),")"),i=c(t.directives," "),o=t.selectionSet;return n||i||r||"query"!==e?c([e,c([n,r]),i,o]," "):o},VariableDefinition:function(t){var e=t.variable,n=t.type,r=t.defaultValue,i=t.directives;return e+": "+n+l(" = ",r)+l(" ",c(i," "))},SelectionSet:function(t){return f(t.selections)},Field:function(t){var e=t.alias,n=t.name,r=t.arguments,i=t.directives,o=t.selectionSet;return c([l("",e,": ")+n+l("(",c(r,", "),")"),c(i," "),o]," ")},Argument:function(t){return t.name+": "+t.value},FragmentSpread:function(t){return"..."+t.name+l(" ",c(t.directives," "))},InlineFragment:function(t){var e=t.typeCondition,n=t.directives,r=t.selectionSet;return c(["...",l("on ",e),c(n," "),r]," ")},FragmentDefinition:function(t){var e=t.name,n=t.typeCondition,r=t.variableDefinitions,i=t.directives,o=t.selectionSet;return"fragment ".concat(e).concat(l("(",c(r,", "),")")," ")+"on ".concat(n," ").concat(l("",c(i," ")," "))+o},IntValue:function(t){return t.value},FloatValue:function(t){return t.value},StringValue:function(t,e){var n=t.value;return t.block?Object(o.b)(n,"description"===e?"":" "):JSON.stringify(n)},BooleanValue:function(t){return t.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(t){return t.value},ListValue:function(t){return"["+c(t.values,", ")+"]"},ObjectValue:function(t){return"{"+c(t.fields,", ")+"}"},ObjectField:function(t){return t.name+": "+t.value},Directive:function(t){return"@"+t.name+l("(",c(t.arguments,", "),")")},NamedType:function(t){return t.name},ListType:function(t){return"["+t.type+"]"},NonNullType:function(t){return t.type+"!"},SchemaDefinition:function(t){var e=t.directives,n=t.operationTypes;return c(["schema",c(e," "),f(n)]," ")},OperationTypeDefinition:function(t){return t.operation+": "+t.type},ScalarTypeDefinition:s((function(t){return c(["scalar",t.name,c(t.directives," ")]," ")})),ObjectTypeDefinition:s((function(t){var e=t.name,n=t.interfaces,r=t.directives,i=t.fields;return c(["type",e,l("implements ",c(n," & ")),c(r," "),f(i)]," ")})),FieldDefinition:s((function(t){var e=t.name,n=t.arguments,r=t.type,i=t.directives;return e+(p(n)?l("(\n",d(c(n,"\n")),"\n)"):l("(",c(n,", "),")"))+": "+r+l(" ",c(i," "))})),InputValueDefinition:s((function(t){var e=t.name,n=t.type,r=t.defaultValue,i=t.directives;return c([e+": "+n,l("= ",r),c(i," ")]," ")})),InterfaceTypeDefinition:s((function(t){var e=t.name,n=t.directives,r=t.fields;return c(["interface",e,c(n," "),f(r)]," ")})),UnionTypeDefinition:s((function(t){var e=t.name,n=t.directives,r=t.types;return c(["union",e,c(n," "),r&&0!==r.length?"= "+c(r," | "):""]," ")})),EnumTypeDefinition:s((function(t){var e=t.name,n=t.directives,r=t.values;return c(["enum",e,c(n," "),f(r)]," ")})),EnumValueDefinition:s((function(t){return c([t.name,c(t.directives," ")]," ")})),InputObjectTypeDefinition:s((function(t){var e=t.name,n=t.directives,r=t.fields;return c(["input",e,c(n," "),f(r)]," ")})),DirectiveDefinition:s((function(t){var e=t.name,n=t.arguments,r=t.repeatable,i=t.locations;return"directive @"+e+(p(n)?l("(\n",d(c(n,"\n")),"\n)"):l("(",c(n,", "),")"))+(r?" repeatable":"")+" on "+c(i," | ")})),SchemaExtension:function(t){var e=t.directives,n=t.operationTypes;return c(["extend schema",c(e," "),f(n)]," ")},ScalarTypeExtension:function(t){return c(["extend scalar",t.name,c(t.directives," ")]," ")},ObjectTypeExtension:function(t){var e=t.name,n=t.interfaces,r=t.directives,i=t.fields;return c(["extend type",e,l("implements ",c(n," & ")),c(r," "),f(i)]," ")},InterfaceTypeExtension:function(t){var e=t.name,n=t.directives,r=t.fields;return c(["extend interface",e,c(n," "),f(r)]," ")},UnionTypeExtension:function(t){var e=t.name,n=t.directives,r=t.types;return c(["extend union",e,c(n," "),r&&0!==r.length?"= "+c(r," | "):""]," ")},EnumTypeExtension:function(t){var e=t.name,n=t.directives,r=t.values;return c(["extend enum",e,c(n," "),f(r)]," ")},InputObjectTypeExtension:function(t){var e=t.name,n=t.directives,r=t.fields;return c(["extend input",e,c(n," "),f(r)]," ")}};function s(t){return function(e){return c([e.description,t(e)],"\n")}}function c(t,e){return t?t.filter((function(t){return t})).join(e||""):""}function f(t){return t&&0!==t.length?"{\n"+d(c(t,"\n"))+"\n}":""}function l(t,e,n){return e?t+e+(n||""):""}function d(t){return t&&" "+t.replace(/\n/g,"\n ")}function h(t){return-1!==t.indexOf("\n")}function p(t){return t&&t.some(h)}var g=n(31),m={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},b=function(t,e,n){var r=new Error(n);throw r.name="ServerError",r.response=t,r.statusCode=t.status,r.result=e,r},v=function(t){return function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(r){var n=r;return n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,Promise.reject(n)}})).then((function(n){return e.status>=300&&b(e,n,"Response not successful: Received status code "+e.status),Array.isArray(n)||n.hasOwnProperty("data")||n.hasOwnProperty("errors")||b(e,n,"Server response was missing for query '"+(Array.isArray(t)?t.map((function(t){return t.operationName})):t.operationName)+"'."),n}))}},y=function(t){if(!t&&"undefined"===typeof fetch){throw"undefined"===typeof window&&"node-fetch",new g.a(1)}},_=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var t=new AbortController;return{controller:t,signal:t.signal}},w=function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=Object(r.a)({},e.options,{headers:e.headers,credentials:e.credentials}),u=e.http;n.forEach((function(t){o=Object(r.a)({},o,t.options,{headers:Object(r.a)({},o.headers,t.headers)}),t.credentials&&(o.credentials=t.credentials),u=Object(r.a)({},u,t.http)}));var s=t.operationName,c=t.extensions,f=t.variables,l=t.query,d={operationName:s,variables:f};return u.includeExtensions&&(d.extensions=c),u.includeQuery&&(d.query=a(l)),{options:o,body:d}},S=function(t,e){var n;try{n=JSON.stringify(t)}catch(i){var r=new g.a(2);throw r.parseError=i,r}return n},O=function(t,e){var n=t.getContext().uri;return n||("function"===typeof e?e(t):e||"/graphql")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(283),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,n=void 0!==e&&e,o=t.productionPrefix,a=void 0===o?"jss":o,u=t.seed,s=void 0===u?"":u,c=""===s?"":"".concat(s,"-"),f=0,l=function(){return f+=1};return function(t,e){var o=e.options.name;if(o&&0===o.indexOf("Mui")&&!e.options.link&&!n){if(-1!==i.indexOf(t.key))return"Mui-".concat(t.key);var u="".concat(c).concat(o,"-").concat(t.key);return e.options.theme[r.a]&&""===s?"".concat(u,"-").concat(l()):u}return"".concat(c).concat(a).concat(l())}}},function(t,e,n){"use strict";var r=n(1),i=n(47),o=(n(13),n(139)),a=n(44);var u="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,s=r.forwardRef((function(t,e){var n=t.children,s=t.container,c=t.disablePortal,f=void 0!==c&&c,l=t.onRendered,d=r.useState(null),h=d[0],p=d[1],g=Object(a.a)(r.isValidElement(n)?n.ref:null,e);return u((function(){f||p(function(t){return t="function"===typeof t?t():t,i.findDOMNode(t)}(s)||document.body)}),[s,f]),u((function(){if(h&&!f)return Object(o.a)(e,h),function(){Object(o.a)(e,null)}}),[e,h,f]),u((function(){l&&(h||f)&&l()}),[l,h,f]),f?r.isValidElement(n)?r.cloneElement(n,{ref:g}):n:h?i.createPortal(n,h):h}));e.a=s},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(337),c=n(227),f=n(44),l=n(228),d=n(47),h="undefined"===typeof window?o.useEffect:o.useLayoutEffect,p=o.forwardRef((function(t,e){var n=t.alignItems,u=void 0===n?"center":n,p=t.autoFocus,g=void 0!==p&&p,m=t.button,b=void 0!==m&&m,v=t.children,y=t.classes,_=t.className,w=t.component,S=t.ContainerComponent,O=void 0===S?"li":S,x=t.ContainerProps,E=(x=void 0===x?{}:x).className,M=Object(i.a)(x,["className"]),T=t.dense,$=void 0!==T&&T,A=t.disabled,k=void 0!==A&&A,C=t.disableGutters,I=void 0!==C&&C,P=t.divider,N=void 0!==P&&P,R=t.focusVisibleClassName,j=t.selected,D=void 0!==j&&j,L=Object(i.a)(t,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),F=o.useContext(l.a),B={dense:$||F.dense||!1,alignItems:u},U=o.useRef(null);h((function(){g&&U.current&&U.current.focus()}),[g]);var z=o.Children.toArray(v),H=z.length&&Object(c.a)(z[z.length-1],["ListItemSecondaryAction"]),V=o.useCallback((function(t){U.current=d.findDOMNode(t)}),[]),q=Object(f.a)(V,e),W=Object(r.a)({className:Object(a.a)(y.root,_,B.dense&&y.dense,!I&&y.gutters,N&&y.divider,k&&y.disabled,b&&y.button,"center"!==u&&y.alignItemsFlexStart,H&&y.secondaryAction,D&&y.selected),disabled:k},L),G=w||"li";return b&&(W.component=w||"div",W.focusVisibleClassName=Object(a.a)(y.focusVisible,R),G=s.a),H?(G=W.component||w?G:"div","li"===O&&("li"===G?G="div":"li"===W.component&&(W.component="div")),o.createElement(l.a.Provider,{value:B},o.createElement(O,Object(r.a)({className:Object(a.a)(y.container,E),ref:q},M),o.createElement(G,W,z),z.pop()))):o.createElement(l.a.Provider,{value:B},o.createElement(G,Object(r.a)({ref:q},W),z))}));e.a=Object(u.a)((function(t){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:t.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:t.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(p)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(33),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},f=o.forwardRef((function(t,e){var n=t.align,u=void 0===n?"inherit":n,f=t.classes,l=t.className,d=t.color,h=void 0===d?"initial":d,p=t.component,g=t.display,m=void 0===g?"initial":g,b=t.gutterBottom,v=void 0!==b&&b,y=t.noWrap,_=void 0!==y&&y,w=t.paragraph,S=void 0!==w&&w,O=t.variant,x=void 0===O?"body1":O,E=t.variantMapping,M=void 0===E?c:E,T=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),$=p||(S?"p":M[x]||c[x])||"span";return o.createElement($,Object(r.a)({className:Object(a.a)(f.root,l,"inherit"!==x&&f[x],"initial"!==h&&f["color".concat(Object(s.a)(h))],_&&f.noWrap,v&&f.gutterBottom,S&&f.paragraph,"inherit"!==u&&f["align".concat(Object(s.a)(u))],"initial"!==m&&f["display".concat(Object(s.a)(m))]),ref:e},T))}));e.a=Object(u.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(f)},function(t,e,n){"use strict";n.d(e,"a",(function(){return S}));var r=n(17),i=n(4),o=n(1),a=n.n(o),u=n(73),s=n(1007),c={set:function(t,e,n,r){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:function(t,e,n){var r=t.get(e);return r?r.get(n):void 0},delete:function(t,e,n){t.get(e).delete(n)}},f=n(401),l=n(1008),d=-1e9;function h(){return d+=1}n(135);var p=n(393);function g(t){var e="function"===typeof t;return{create:function(n,r){var o;try{o=e?t(n):t}catch(s){throw s}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],u=Object(i.a)({},o);return Object.keys(a).forEach((function(t){u[t]=Object(p.a)(u[t],a[t])})),u},options:{}}}var m={};function b(t,e,n){var r=t.state;if(t.stylesOptions.disableGeneration)return e||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),e!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=e,i=!0),i&&(r.cacheClasses.value=Object(s.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:e,Component:n})),r.cacheClasses.value}function v(t,e){var n=t.state,r=t.theme,o=t.stylesOptions,a=t.stylesCreator,f=t.name;if(!o.disableGeneration){var l=c.get(o.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},c.set(o.sheetsManager,a,r,l));var d=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"===typeof o.flip?o.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var h=o.sheetsRegistry;if(0===l.refs){var p;o.sheetsCache&&(p=c.get(o.sheetsCache,a,r));var g=a.create(r,f);p||((p=o.jss.createStyleSheet(g,Object(i.a)({link:!1},d))).attach(),o.sheetsCache&&c.set(o.sheetsCache,a,r,p)),h&&h.add(p),l.staticSheet=p,l.dynamicStyles=Object(u.e)(g)}if(l.dynamicStyles){var m=o.jss.createStyleSheet(l.dynamicStyles,Object(i.a)({link:!0},d));m.update(e),m.attach(),n.dynamicSheet=m,n.classes=Object(s.a)({baseClasses:l.staticSheet.classes,newClasses:m.classes}),h&&h.add(m)}else n.classes=l.staticSheet.classes;l.refs+=1}}function y(t,e){var n=t.state;n.dynamicSheet&&n.dynamicSheet.update(e)}function _(t){var e=t.state,n=t.theme,r=t.stylesOptions,i=t.stylesCreator;if(!r.disableGeneration){var o=c.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(c.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function w(t,e){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),e);r.current!==i&&(r.current=i,n=t()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,o=e.classNamePrefix,u=e.Component,s=e.defaultTheme,c=void 0===s?m:s,d=Object(r.a)(e,["name","classNamePrefix","Component","defaultTheme"]),p=g(t),S=n||o||"makeStyles";p.options={index:h(),name:n,meta:S,classNamePrefix:S};var O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(f.a)()||c,r=Object(i.a)({},a.a.useContext(l.a),d),o=a.a.useRef(),s=a.a.useRef();w((function(){var i={name:n,state:{},stylesCreator:p,stylesOptions:r,theme:e};return v(i,t),s.current=!1,o.current=i,function(){_(i)}}),[e,p]),a.a.useEffect((function(){s.current&&y(o.current,t),s.current=!0}));var h=b(o.current,t.classes,u);return h};return O}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(4);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,n=t.newClasses;t.Component;if(!n)return e;var i=Object(r.a)({},e);return Object.keys(n).forEach((function(t){n[t]&&(i[t]="".concat(e[t]," ").concat(n[t]))})),i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p}));var r,i=n(4),o=n(17),a=n(1),u=n.n(a),s=(n(13),n(971)),c=n(73),f=n(574),l=Object(c.c)(Object(f.a)()),d={disableGeneration:!1,generateClassName:Object(s.a)(),jss:l,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},h=u.a.createContext(d);function p(t){var e=t.children,n=t.injectFirst,a=void 0!==n&&n,s=t.disableGeneration,l=void 0!==s&&s,d=Object(o.a)(t,["children","injectFirst","disableGeneration"]),p=u.a.useContext(h),g=Object(i.a)({},p,{disableGeneration:l},d);if(!g.jss.options.insertionPoint&&a&&"undefined"!==typeof window){if(!r){var m=document.head;r=document.createComment("mui-inject-first"),m.insertBefore(r,m.firstChild)}g.jss=Object(c.c)({plugins:Object(f.a)().plugins,insertionPoint:r})}return u.a.createElement(h.Provider,{value:g},e)}},function(t,e,n){"use strict";var r=n(328),i=Object(r.a)((function(t,e){return e}),null);e.a=i},function(t,e,n){"use strict";var r=n(41),i=n(119),o=Object(r.a)((function(t,e,n){return Object(i.a)(e,n[t])}));e.a=o},function(t,e,n){"use strict";var r=n(214),i=n(16),o=Object(i.a)((function(t,e){return Object(r.a)({},t,e)}));e.a=o},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(542)),u=n(401),s=n(972),c=n(140),f=n(139),l=n(44);function d(t){return"function"===typeof t?t():t}var h="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,p={},g=o.forwardRef((function(t,e){var n=t.anchorEl,g=t.children,m=t.container,b=t.disablePortal,v=void 0!==b&&b,y=t.keepMounted,_=void 0!==y&&y,w=t.modifiers,S=t.open,O=t.placement,x=void 0===O?"bottom":O,E=t.popperOptions,M=void 0===E?p:E,T=t.popperRef,$=t.style,A=t.transition,k=void 0!==A&&A,C=Object(i.a)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),I=o.useRef(null),P=Object(l.a)(I,e),N=o.useRef(null),R=Object(l.a)(N,T),j=o.useRef(R);h((function(){j.current=R}),[R]),o.useImperativeHandle(T,(function(){return N.current}),[]);var D=o.useState(!0),L=D[0],F=D[1],B=function(t,e){if("ltr"===(e&&e.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(x,Object(u.a)()),U=o.useState(B),z=U[0],H=U[1];o.useEffect((function(){N.current&&N.current.update()}));var V=o.useCallback((function(){if(I.current&&n&&S){N.current&&(N.current.destroy(),j.current(null));var t=function(t){H(t.placement)},e=(d(n),new a.a(d(n),I.current,Object(r.a)({placement:B},M,{modifiers:Object(r.a)({},v?{}:{preventOverflow:{boundariesElement:"window"}},w,M.modifiers),onCreate:Object(c.a)(t,M.onCreate),onUpdate:Object(c.a)(t,M.onUpdate)})));j.current(e)}}),[n,v,w,S,B,M]),q=o.useCallback((function(t){Object(f.a)(P,t),V()}),[P,V]),W=function(){N.current&&(N.current.destroy(),j.current(null))};if(o.useEffect((function(){return function(){W()}}),[]),o.useEffect((function(){S||k||W()}),[S,k]),!_&&!S&&(!k||L))return null;var G={placement:z};return k&&(G.TransitionProps={in:S,onEnter:function(){F(!1)},onExited:function(){F(!0),W()}}),o.createElement(s.a,{disablePortal:v,container:m},o.createElement("div",Object(r.a)({ref:q,role:"tooltip"},C,{style:Object(r.a)({position:"fixed",top:0,left:0,display:S||!_||k?null:"none"},$)}),"function"===typeof g?g(G):g))}));e.a=g},function(t,e,n){"use strict";function r(t){var e=t.theme,n=t.name,r=t.props;if(!e||!e.props||!e.props[n])return r;var i,o=e.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(1),i=n(47),o=(n(13),n(74)),a=n(44),u=n(120);function s(t){return t.substring(2).toLowerCase()}e.a=function(t){var e=t.children,n=t.disableReactTree,c=void 0!==n&&n,f=t.mouseEvent,l=void 0===f?"onClick":f,d=t.onClickAway,h=t.touchEvent,p=void 0===h?"onTouchEnd":h,g=r.useRef(!1),m=r.useRef(null),b=r.useRef(!1),v=r.useRef(!1);r.useEffect((function(){return b.current=!0,function(){b.current=!1}}),[]);var y=r.useCallback((function(t){m.current=i.findDOMNode(t)}),[]),_=Object(a.a)(e.ref,y),w=Object(u.a)((function(t){var e=v.current;if(v.current=!1,b.current&&m.current&&!function(t){return document.documentElement.clientWidth<t.clientX||document.documentElement.clientHeight<t.clientY}(t))if(g.current)g.current=!1;else{var n;if(t.composedPath)n=t.composedPath().indexOf(m.current)>-1;else n=!Object(o.a)(m.current).documentElement.contains(t.target)||m.current.contains(t.target);n||!c&&e||d(t)}})),S=function(t){return function(n){v.current=!0;var r=e.props[t];r&&r(n)}},O={ref:_};return!1!==p&&(O[p]=S(p)),r.useEffect((function(){if(!1!==p){var t=s(p),e=Object(o.a)(m.current),n=function(){g.current=!0};return e.addEventListener(t,w),e.addEventListener("touchmove",n),function(){e.removeEventListener(t,w),e.removeEventListener("touchmove",n)}}}),[w,p]),!1!==l&&(O[l]=S(l)),r.useEffect((function(){if(!1!==l){var t=s(l),e=Object(o.a)(m.current);return e.addEventListener(t,w),function(){e.removeEventListener(t,w)}}}),[w,l]),r.createElement(r.Fragment,null,r.cloneElement(e,O))}},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(576),s=n(24),c=o.forwardRef((function(t,e){var n=t.disableUnderline,s=t.classes,c=t.fullWidth,f=void 0!==c&&c,l=t.inputComponent,d=void 0===l?"input":l,h=t.multiline,p=void 0!==h&&h,g=t.type,m=void 0===g?"text":g,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(u.a,Object(r.a)({classes:Object(r.a)({},s,{root:Object(a.a)(s.root,!n&&s.underline),underline:null}),fullWidth:f,inputComponent:d,multiline:p,ref:e,type:m},b))}));c.muiName="Input",e.a=Object(s.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(e),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(t.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(e)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(576),s=n(24),c=o.forwardRef((function(t,e){var n=t.disableUnderline,s=t.classes,c=t.fullWidth,f=void 0!==c&&c,l=t.inputComponent,d=void 0===l?"input":l,h=t.multiline,p=void 0!==h&&h,g=t.type,m=void 0===g?"text":g,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(u.a,Object(r.a)({classes:Object(r.a)({},s,{root:Object(a.a)(s.root,!n&&s.underline),underline:null}),fullWidth:f,inputComponent:d,multiline:p,ref:e,type:m},b))}));c.muiName="Input",e.a=Object(s.a)((function(t){var e="light"===t.palette.type,n=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:e?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(t.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(192),s=n(24),c=n(33),f=n(227),l=n(191),d=o.forwardRef((function(t,e){var n=t.children,s=t.classes,d=t.className,h=t.color,p=void 0===h?"primary":h,g=t.component,m=void 0===g?"div":g,b=t.disabled,v=void 0!==b&&b,y=t.error,_=void 0!==y&&y,w=t.fullWidth,S=void 0!==w&&w,O=t.focused,x=t.hiddenLabel,E=void 0!==x&&x,M=t.margin,T=void 0===M?"none":M,$=t.required,A=void 0!==$&&$,k=t.size,C=t.variant,I=void 0===C?"standard":C,P=Object(i.a)(t,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),N=o.useState((function(){var t=!1;return n&&o.Children.forEach(n,(function(e){if(Object(f.a)(e,["Input","Select"])){var n=Object(f.a)(e,["Select"])?e.props.input:e;n&&Object(u.a)(n.props)&&(t=!0)}})),t})),R=N[0],j=N[1],D=o.useState((function(){var t=!1;return n&&o.Children.forEach(n,(function(e){Object(f.a)(e,["Input","Select"])&&Object(u.b)(e.props,!0)&&(t=!0)})),t})),L=D[0],F=D[1],B=o.useState(!1),U=B[0],z=B[1],H=void 0!==O?O:U;v&&H&&z(!1);var V=o.useCallback((function(){F(!0)}),[]),q={adornedStart:R,setAdornedStart:j,color:p,disabled:v,error:_,filled:L,focused:H,fullWidth:S,hiddenLabel:E,margin:("small"===k?"dense":void 0)||T,onBlur:function(){z(!1)},onEmpty:o.useCallback((function(){F(!1)}),[]),onFilled:V,onFocus:function(){z(!0)},registerEffect:undefined,required:A,variant:I};return o.createElement(l.a.Provider,{value:q},o.createElement(m,Object(r.a)({className:Object(a.a)(s.root,d,"none"!==T&&s["margin".concat(Object(c.a)(T))],S&&s.fullWidth),ref:e},P),n))}));e.a=Object(s.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(d)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(228),c=o.forwardRef((function(t,e){var n=t.children,u=t.classes,c=t.className,f=t.component,l=void 0===f?"ul":f,d=t.dense,h=void 0!==d&&d,p=t.disablePadding,g=void 0!==p&&p,m=t.subheader,b=Object(i.a)(t,["children","classes","className","component","dense","disablePadding","subheader"]),v=o.useMemo((function(){return{dense:h}}),[h]);return o.createElement(s.a.Provider,{value:v},o.createElement(l,Object(r.a)({className:Object(a.a)(u.root,c,h&&u.dense,!g&&u.padding,m&&u.subheader),ref:e},b),m,n))}));e.a=Object(u.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},function(t,e,n){"use strict";var r=n(137),i=n(16),o=n(533),a=n(330),u=Object(i.a)(Object(o.a)(a.a,r.a));e.a=u},function(t,e,n){"use strict";var r=n(41),i=n(119),o=Object(r.a)((function(t,e,n){return Object(i.a)(e[t],n[t])}));e.a=o},function(t,e,n){"use strict";var r=n(17),i=n(58),o=n(4),a=n(1),u=(n(13),n(15)),s=n(24),c=n(973),f=a.forwardRef((function(t,e){var n,i=t.classes,s=t.className,f=t.component,l=void 0===f?"li":f,d=t.disableGutters,h=void 0!==d&&d,p=t.ListItemClasses,g=t.role,m=void 0===g?"menuitem":g,b=t.selected,v=t.tabIndex,y=Object(r.a)(t,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return t.disabled||(n=void 0!==v?v:-1),a.createElement(c.a,Object(o.a)({button:!0,role:m,tabIndex:n,component:l,selected:b,disableGutters:h,classes:Object(o.a)({dense:i.dense},p),className:Object(u.a)(i.root,s,b&&i.selected,!h&&i.gutters),ref:e},y))}));e.a=Object(s.a)((function(t){return{root:Object(o.a)({},t.typography.body1,Object(i.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},t.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(o.a)({},t.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(f)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(105),s=n(24),c=n(974),f=n(33),l=o.forwardRef((function(t,e){t.checked;var n=t.classes,s=t.className,l=t.control,d=t.disabled,h=(t.inputRef,t.label),p=t.labelPlacement,g=void 0===p?"end":p,m=(t.name,t.onChange,t.value,Object(i.a)(t,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),b=Object(u.a)(),v=d;"undefined"===typeof v&&"undefined"!==typeof l.props.disabled&&(v=l.props.disabled),"undefined"===typeof v&&b&&(v=b.disabled);var y={disabled:v};return["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof l.props[e]&&"undefined"!==typeof t[e]&&(y[e]=t[e])})),o.createElement("label",Object(r.a)({className:Object(a.a)(n.root,s,"end"!==g&&n["labelPlacement".concat(Object(f.a)(g))],v&&n.disabled),ref:e},m),o.cloneElement(l,y),o.createElement(c.a,{component:"span",className:Object(a.a)(n.label,v&&n.disabled)},h))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:t.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(l)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(35),c=n(33),f=n(217),l=o.forwardRef((function(t,e){var n=t.classes,u=t.className,s=t.color,l=void 0===s?"secondary":s,d=t.edge,h=void 0!==d&&d,p=t.size,g=void 0===p?"medium":p,m=Object(i.a)(t,["classes","className","color","edge","size"]),b=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Object(a.a)(n.root,u,{start:n.edgeStart,end:n.edgeEnd}[h],"small"===g&&n["size".concat(Object(c.a)(g))])},o.createElement(f.a,Object(r.a)({type:"checkbox",icon:b,checkedIcon:b,classes:{root:Object(a.a)(n.switchBase,n["color".concat(Object(c.a)(l))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:e},m)),o.createElement("span",{className:n.track}))}));e.a=Object(u.a)((function(t){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.type?t.palette.grey[50]:t.palette.grey[400],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===t.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.type?.38:.3}}}),{name:"MuiSwitch"})(l)},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(35),s=n(24),c=n(337),f=n(33),l=o.forwardRef((function(t,e){var n=t.children,u=t.classes,s=t.className,l=t.disabled,d=void 0!==l&&l,h=t.disableFocusRipple,p=void 0!==h&&h,g=t.onChange,m=t.onClick,b=t.selected,v=t.size,y=void 0===v?"medium":v,_=t.value,w=Object(r.a)(t,["children","classes","className","disabled","disableFocusRipple","onChange","onClick","selected","size","value"]);return o.createElement(c.a,Object(i.a)({className:Object(a.a)(u.root,s,d&&u.disabled,b&&u.selected,"medium"!==y&&u["size".concat(Object(f.a)(y))]),disabled:d,focusRipple:!p,ref:e,onClick:function(t){m&&(m(t,_),t.isDefaultPrevented())||g&&g(t,_)},onChange:g,value:_,"aria-pressed":b},w),o.createElement("span",{className:u.label},n))}));e.a=Object(s.a)((function(t){return{root:Object(i.a)({},t.typography.button,{boxSizing:"border-box",borderRadius:t.shape.borderRadius,padding:11,border:"1px solid ".concat(Object(u.d)(t.palette.action.active,.12)),color:Object(u.d)(t.palette.action.active,.38),"&$selected":{color:t.palette.action.active,backgroundColor:Object(u.d)(t.palette.action.active,.12),"&:hover":{backgroundColor:Object(u.d)(t.palette.action.active,.15)},"& + &":{borderLeft:0,marginLeft:0}},"&$disabled":{color:Object(u.d)(t.palette.action.disabled,.12)},"&:hover":{textDecoration:"none",backgroundColor:Object(u.d)(t.palette.text.primary,.05),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}}}),disabled:{},selected:{},label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},sizeSmall:{padding:7,fontSize:t.typography.pxToRem(13)},sizeLarge:{padding:15,fontSize:t.typography.pxToRem(15)}}}),{name:"MuiToggleButton"})(l)},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return null!=e&&e.constructor===t||e instanceof t}));e.a=i},function(t,e,n){"use strict";var r=n(327),i=n(552),o=Object(r.a)(i.a);e.a=o},function(t,e,n){"use strict";var r=n(41),i=n(546),o=n(210),a=Object(r.a)((function(t,e,n){return Object(i.a)(t,Object(o.a)(e,n))}));e.a=a},function(t,e,n){"use strict";var r=n(168),i=Object(r.a)(0,"toLowerCase");e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(58),a=n(1),u=(n(13),n(15)),s=n(24),c=n(33),f=n(575),l=n(573),d=n(304),h=n(90),p=n(402),g={enter:h.b.enteringScreen,exit:h.b.leavingScreen},m=a.forwardRef((function(t,e){var n=t.BackdropProps,o=t.children,s=t.classes,h=t.className,m=t.disableBackdropClick,b=void 0!==m&&m,v=t.disableEscapeKeyDown,y=void 0!==v&&v,_=t.fullScreen,w=void 0!==_&&_,S=t.fullWidth,O=void 0!==S&&S,x=t.maxWidth,E=void 0===x?"sm":x,M=t.onBackdropClick,T=t.onClose,$=t.onEnter,A=t.onEntered,k=t.onEntering,C=t.onEscapeKeyDown,I=t.onExit,P=t.onExited,N=t.onExiting,R=t.open,j=t.PaperComponent,D=void 0===j?p.a:j,L=t.PaperProps,F=void 0===L?{}:L,B=t.scroll,U=void 0===B?"paper":B,z=t.TransitionComponent,H=void 0===z?d.a:z,V=t.transitionDuration,q=void 0===V?g:V,W=t.TransitionProps,G=t["aria-describedby"],K=t["aria-labelledby"],Y=Object(i.a)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),Z=a.useRef();return a.createElement(f.a,Object(r.a)({className:Object(u.a)(s.root,h),BackdropComponent:l.a,BackdropProps:Object(r.a)({transitionDuration:q},n),closeAfterTransition:!0,disableBackdropClick:b,disableEscapeKeyDown:y,onEscapeKeyDown:C,onClose:T,open:R,ref:e},Y),a.createElement(H,Object(r.a)({appear:!0,in:R,timeout:q,onEnter:$,onEntering:k,onEntered:A,onExit:I,onExiting:N,onExited:P,role:"none presentation"},W),a.createElement("div",{className:Object(u.a)(s.container,s["scroll".concat(Object(c.a)(U))]),onMouseUp:function(t){t.target===t.currentTarget&&t.target===Z.current&&(Z.current=null,M&&M(t),!b&&T&&T(t,"backdropClick"))},onMouseDown:function(t){Z.current=t.target}},a.createElement(D,Object(r.a)({elevation:24,role:"dialog","aria-describedby":G,"aria-labelledby":K},F,{className:Object(u.a)(s.paper,s["paperScroll".concat(Object(c.a)(U))],s["paperWidth".concat(Object(c.a)(String(E)))],F.className,w&&s.paperFullScreen,O&&s.paperFullWidth)}),o))))}));e.a=Object(s.a)((function(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(m)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=o.forwardRef((function(t,e){var n=t.classes,u=t.className,s=t.dividers,c=void 0!==s&&s,f=Object(i.a)(t,["classes","className","dividers"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(n.root,u,c&&n.dividers),ref:e},f))}));e.a=Object(u.a)((function(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(s)},function(t,e,n){"use strict";var r=n(106),i=n(16),o=Object(i.a)(r.a);e.a=o},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(24),s=[0,1,2,3,4,5,6,7,8,9,10],c=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(t);return"".concat(n/e).concat(String(t).replace(String(n),"")||"px")}var l=o.forwardRef((function(t,e){var n=t.alignContent,u=void 0===n?"stretch":n,s=t.alignItems,c=void 0===s?"stretch":s,f=t.classes,l=t.className,d=t.component,h=void 0===d?"div":d,p=t.container,g=void 0!==p&&p,m=t.direction,b=void 0===m?"row":m,v=t.item,y=void 0!==v&&v,_=t.justify,w=void 0===_?"flex-start":_,S=t.lg,O=void 0!==S&&S,x=t.md,E=void 0!==x&&x,M=t.sm,T=void 0!==M&&M,$=t.spacing,A=void 0===$?0:$,k=t.wrap,C=void 0===k?"wrap":k,I=t.xl,P=void 0!==I&&I,N=t.xs,R=void 0!==N&&N,j=t.zeroMinWidth,D=void 0!==j&&j,L=Object(r.a)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),F=Object(a.a)(f.root,l,g&&[f.container,0!==A&&f["spacing-xs-".concat(String(A))]],y&&f.item,D&&f.zeroMinWidth,"row"!==b&&f["direction-xs-".concat(String(b))],"wrap"!==C&&f["wrap-xs-".concat(String(C))],"stretch"!==c&&f["align-items-xs-".concat(String(c))],"stretch"!==u&&f["align-content-xs-".concat(String(u))],"flex-start"!==w&&f["justify-xs-".concat(String(w))],!1!==R&&f["grid-xs-".concat(String(R))],!1!==T&&f["grid-sm-".concat(String(T))],!1!==E&&f["grid-md-".concat(String(E))],!1!==O&&f["grid-lg-".concat(String(O))],!1!==P&&f["grid-xl-".concat(String(P))]);return o.createElement(h,Object(i.a)({className:F,ref:e},L))})),d=Object(u.a)((function(t){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var n={};return s.forEach((function(r){var i=t.spacing(r);0!==i&&(n["spacing-".concat(e,"-").concat(r)]={margin:"-".concat(f(i,2)),width:"calc(100% + ".concat(f(i),")"),"& > $item":{padding:f(i,2)}})})),n}(t,"xs"),t.breakpoints.keys.reduce((function(e,n){return function(t,e,n){var r={};c.forEach((function(t){var e="grid-".concat(n,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");r[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(i.a)(t,r):t[e.breakpoints.up(n)]=r}(e,t,n),e}),{}))}),{name:"MuiGrid"})(l);e.a=d},function(t,e,n){"use strict";var r=n(32),i=n(85),o=Object(r.a)((function(t){return Object(i.a)(t.length,t)}));e.a=o},function(t,e,n){"use strict";var r=n(32),i=Object(r.a)((function(t){for(var e={},n=0;n<t.length;)e[t[n][0]]=t[n][1],n+=1;return e}));e.a=i},function(t,e,n){"use strict";var r=n(32),i=n(61),o=Object(r.a)((function(t){var e=[];for(var n in t)Object(i.a)(n,t)&&(e[e.length]=[n,t[n]]);return e}));e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(119),o=n(331),a=Object(r.a)((function(t,e){return Object(i.a)(Object(o.a)(t.length,e),t)}));e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(224);function i(t,e){return-Object(r.a)(t,e)}},function(t,e,n){"use strict";var r=n(326),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";var r=n(32),i=n(98),o=Object(r.a)((function(t){for(var e=Object(i.a)(t),n=e.length,r=[],o=0;o<n;)r[o]=t[e[o]],o+=1;return r}));e.a=o},function(t,e,n){"use strict";var r=n(137),i=n(16),o=Object(i.a)((function(t,e){return Object(r.a)(e,[t])}));e.a=o},function(t,e,n){"use strict";var r=n(176),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";var r=n(556),i=n(163),o=Object(i.a)(r.a,0);e.a=o},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(24),s=n(35),c=n(337),f=n(33),l=o.forwardRef((function(t,e){var n=t.children,u=t.classes,s=t.className,l=t.color,d=void 0===l?"default":l,h=t.component,p=void 0===h?"button":h,g=t.disabled,m=void 0!==g&&g,b=t.disableElevation,v=void 0!==b&&b,y=t.disableFocusRipple,_=void 0!==y&&y,w=t.endIcon,S=t.focusVisibleClassName,O=t.fullWidth,x=void 0!==O&&O,E=t.size,M=void 0===E?"medium":E,T=t.startIcon,$=t.type,A=void 0===$?"button":$,k=t.variant,C=void 0===k?"text":k,I=Object(r.a)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),P=T&&o.createElement("span",{className:Object(a.a)(u.startIcon,u["iconSize".concat(Object(f.a)(M))])},T),N=w&&o.createElement("span",{className:Object(a.a)(u.endIcon,u["iconSize".concat(Object(f.a)(M))])},w);return o.createElement(c.a,Object(i.a)({className:Object(a.a)(u.root,u[C],s,"inherit"===d?u.colorInherit:"default"!==d&&u["".concat(C).concat(Object(f.a)(d))],"medium"!==M&&[u["".concat(C,"Size").concat(Object(f.a)(M))],u["size".concat(Object(f.a)(M))]],v&&u.disableElevation,m&&u.disabled,x&&u.fullWidth),component:p,disabled:m,focusRipple:!_,focusVisibleClassName:Object(a.a)(u.focusVisible,S),ref:e,type:A},I),o.createElement("span",{className:u.label},P,n,N))}));e.a=Object(u.a)((function(t){return{root:Object(i.a)({},t.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,color:t.palette.text.primary,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(s.d)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:t.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(s.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(Object(s.d)(t.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.primary.main),backgroundColor:Object(s.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(Object(s.d)(t.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.secondary.main),backgroundColor:Object(s.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(t.palette.action.disabled)}},contained:{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2],"&:hover":{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:t.shadows[6]},"&:active":{boxShadow:t.shadows[8]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}},containedPrimary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},containedSecondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(l)},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(24),s=n(33),c=n(35),f=n(317),l=n(169),d=o.forwardRef((function(t,e){var n,u,c=t.align,d=void 0===c?"inherit":c,h=t.classes,p=t.className,g=t.component,m=t.padding,b=t.scope,v=t.size,y=t.sortDirection,_=t.variant,w=Object(r.a)(t,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),S=o.useContext(f.a),O=o.useContext(l.a),x=O&&"head"===O.variant;g?(u=g,n=x?"columnheader":"cell"):u=x?"th":"td";var E=b;!E&&x&&(E="col");var M=m||(S&&S.padding?S.padding:"default"),T=v||(S&&S.size?S.size:"medium"),$=_||O&&O.variant,A=null;return y&&(A="asc"===y?"ascending":"descending"),o.createElement(u,Object(i.a)({ref:e,className:Object(a.a)(h.root,h[$],p,"inherit"!==d&&h["align".concat(Object(s.a)(d))],"default"!==M&&h["padding".concat(Object(s.a)(M))],"medium"!==T&&h["size".concat(Object(s.a)(T))],"head"===$&&S&&S.stickyHeader&&h.stickyHeader),"aria-sort":A,role:n,scope:E},w))}));e.a=Object(u.a)((function(t){return{root:Object(i.a)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===t.palette.type?Object(c.i)(Object(c.d)(t.palette.divider,1),.88):Object(c.a)(Object(c.d)(t.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:t.palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},body:{color:t.palette.text.primary},footer:{color:t.palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:t.palette.background.default}}}),{name:"MuiTableCell"})(d)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=o.forwardRef((function(t,e){var n=t.classes,u=t.className,s=t.component,c=void 0===s?"div":s,f=Object(i.a)(t,["classes","className","component"]);return o.createElement(c,Object(r.a)({ref:e,className:Object(a.a)(n.root,u)},f))}));e.a=Object(u.a)({root:{width:"100%",overflowX:"auto"}},{name:"MuiTableContainer"})(s)},function(t,e,n){"use strict";var r=n(17),i=n(4),o=n(1),a=(n(13),n(15)),u=n(24),s=n(317),c="table",f=o.forwardRef((function(t,e){var n=t.classes,u=t.className,f=t.component,l=void 0===f?c:f,d=t.padding,h=void 0===d?"default":d,p=t.size,g=void 0===p?"medium":p,m=t.stickyHeader,b=void 0!==m&&m,v=Object(r.a)(t,["classes","className","component","padding","size","stickyHeader"]),y=o.useMemo((function(){return{padding:h,size:g,stickyHeader:b}}),[h,g,b]);return o.createElement(s.a.Provider,{value:y},o.createElement(l,Object(i.a)({role:l===c?null:"table",ref:e,className:Object(a.a)(n.root,u,b&&n.stickyHeader)},v)))}));e.a=Object(u.a)((function(t){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},t.typography.body2,{padding:t.spacing(2),color:t.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(f)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(169),c={variant:"head"},f="thead",l=o.forwardRef((function(t,e){var n=t.classes,u=t.className,l=t.component,d=void 0===l?f:l,h=Object(i.a)(t,["classes","className","component"]);return o.createElement(s.a.Provider,{value:c},o.createElement(d,Object(r.a)({className:Object(a.a)(n.root,u),ref:e,role:d===f?null:"rowgroup"},h)))}));e.a=Object(u.a)({root:{display:"table-header-group"}},{name:"MuiTableHead"})(l)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(169),c=n(35),f=o.forwardRef((function(t,e){var n=t.classes,u=t.className,c=t.component,f=void 0===c?"tr":c,l=t.hover,d=void 0!==l&&l,h=t.selected,p=void 0!==h&&h,g=Object(i.a)(t,["classes","className","component","hover","selected"]),m=o.useContext(s.a);return o.createElement(f,Object(r.a)({ref:e,className:Object(a.a)(n.root,u,m&&{head:n.head,footer:n.footer}[m.variant],d&&n.hover,p&&n.selected),role:"tr"===f?null:"row"},g))}));e.a=Object(u.a)((function(t){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$hover:hover":{backgroundColor:t.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:Object(c.d)(t.palette.secondary.main,t.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(f)},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){var n,r=Number(e),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=t(i),i+=1;return n}));e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=n(169),c={variant:"body"},f="tbody",l=o.forwardRef((function(t,e){var n=t.classes,u=t.className,l=t.component,d=void 0===l?f:l,h=Object(i.a)(t,["classes","className","component"]);return o.createElement(s.a.Provider,{value:c},o.createElement(d,Object(r.a)({className:Object(a.a)(n.root,u),ref:e,role:d===f?null:"rowgroup"},h)))}));e.a=Object(u.a)({root:{display:"table-row-group"}},{name:"MuiTableBody"})(l)},function(t,e,n){"use strict";var r=n(16),i=n(249),o=Object(r.a)((function(t,e){if(!Object(i.a)(t)||!Object(i.a)(e))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=t;r<e;)n.push(r),r+=1;return n}));e.a=o},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(402),s=n(24),c=o.forwardRef((function(t,e){var n=t.classes,s=t.className,c=t.raised,f=void 0!==c&&c,l=Object(i.a)(t,["classes","className","raised"]);return o.createElement(u.a,Object(r.a)({className:Object(a.a)(n.root,s),elevation:f?8:1,ref:e},l))}));e.a=Object(s.a)({root:{overflow:"hidden"}},{name:"MuiCard"})(c)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=o.forwardRef((function(t,e){var n=t.classes,u=t.className,s=t.component,c=void 0===s?"div":s,f=Object(i.a)(t,["classes","className","component"]);return o.createElement(c,Object(r.a)({className:Object(a.a)(n.root,u),ref:e},f))}));e.a=Object(u.a)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(s)},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){return n.replace(t,e)}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=n(300),o=n(93),a=Object(r.a)((function(t,e){return"function"!==typeof e.indexOf||Object(o.a)(e)?Object(i.a)(e,t,0):e.indexOf(t)}));e.a=a},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){t=t<n.length&&t>=0?t:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(t,0,e),r}));e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(24),s=o.forwardRef((function(t,e){var n=t.disableSpacing,u=void 0!==n&&n,s=t.classes,c=t.className,f=Object(i.a)(t,["disableSpacing","classes","className"]);return o.createElement("div",Object(r.a)({className:Object(a.a)(s.root,c,!u&&s.spacing),ref:e},f))}));e.a=Object(u.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(s)},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){for(var n={},r=0;r<t.length;)t[r]in e&&(n[t[r]]=e[t[r]]),r+=1;return n}));e.a=i},function(t,e,n){"use strict";var r=n(137),i=n(16),o=Object(i.a)((function(t,e){return Object(r.a)([t],e)}));e.a=o},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return Array.prototype.slice.call(e,0).sort((function(e,n){for(var r=0,i=0;0===r&&i<t.length;)r=t[i](e,n),i+=1;return r}))}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){for(var n={},r={},i=0,o=t.length;i<o;)r[t[i]]=1,i+=1;for(var a in e)r.hasOwnProperty(a)||(n[a]=e[a]);return n}));e.a=i},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){if(t>e)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<t?t:n>e?e:n}));e.a=i},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){for(var r=n;!t(r);)r=e(r);return r}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return t>e}));e.a=i},function(t,e,n){"use strict";e.a={"@@functional/placeholder":!0}},function(t,e,n){"use strict";var r=n(16),i=n(93),o=n(193),a=n(124),u=n(229),s=Object(r.a)((function(t,e){if(Object(i.a)(t)){if(Object(i.a)(e))return t.concat(e);throw new TypeError(Object(u.a)(e)+" is not an array")}if(Object(a.a)(t)){if(Object(a.a)(e))return t+e;throw new TypeError(Object(u.a)(e)+" is not a string")}if(null!=t&&Object(o.a)(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&Object(o.a)(t.concat))return t.concat(e);throw new TypeError(Object(u.a)(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));e.a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(126),i=n(222),o=n(309),a=n(170),u=n(25),s=n(312),c=n(108),f=n(22),l=1440,d=43200;function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object(f.a)(2,arguments);var h=n.locale||a.a;if(!h.formatDistance)throw new RangeError("locale must contain formatDistance property");var p=Object(r.a)(t,e);if(isNaN(p))throw new RangeError("Invalid time value");var g,m,b=Object(s.a)(n);b.addSuffix=Boolean(n.addSuffix),b.comparison=p,p>0?(g=Object(u.a)(e),m=Object(u.a)(t)):(g=Object(u.a)(t),m=Object(u.a)(e));var v,y=Object(o.a)(m,g),_=(Object(c.a)(m)-Object(c.a)(g))/1e3,w=Math.round((y-_)/60);if(w<2)return n.includeSeconds?y<5?h.formatDistance("lessThanXSeconds",5,b):y<10?h.formatDistance("lessThanXSeconds",10,b):y<20?h.formatDistance("lessThanXSeconds",20,b):y<40?h.formatDistance("halfAMinute",null,b):y<60?h.formatDistance("lessThanXMinutes",1,b):h.formatDistance("xMinutes",1,b):0===w?h.formatDistance("lessThanXMinutes",1,b):h.formatDistance("xMinutes",w,b);if(w<45)return h.formatDistance("xMinutes",w,b);if(w<90)return h.formatDistance("aboutXHours",1,b);if(w<l){var S=Math.round(w/60);return h.formatDistance("aboutXHours",S,b)}if(w<2520)return h.formatDistance("xDays",1,b);if(w<d){var O=Math.round(w/l);return h.formatDistance("xDays",O,b)}if(w<86400)return v=Math.round(w/d),h.formatDistance("aboutXMonths",v,b);if((v=Object(i.a)(m,g))<12){var x=Math.round(w/d);return h.formatDistance("xMonths",x,b)}var E=v%12,M=Math.floor(v/12);return E<3?h.formatDistance("aboutXYears",M,b):E<9?h.formatDistance("overXYears",M,b):h.formatDistance("almostXYears",M+1,b)}},function(t,e,n){"use strict";var r=n(32),i=n(85),o=n(315),a=n(316),u=n(163),s=Object(r.a)((function(t){return Object(i.a)(Object(u.a)(o.a,0,Object(a.a)("length",t)),(function(){for(var e=0,n=t.length;e<n;){if(!t[e].apply(this,arguments))return!1;e+=1}return!0}))}));e.a=s},function(t,e,n){"use strict";var r=n(168),i=Object(r.a)(1,"join");e.a=i},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){return t(e(n))}));e.a=i},function(t,e,n){"use strict";var r=n(168),i=Object(r.a)(0,"toUpperCase");e.a=i},function(t,e,n){"use strict";var r=n(321),i=Object(r.a)(0);e.a=i},function(t,e,n){"use strict";var r=n(332),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";var r=n(32),i=n(323),o=Object(r.a)(Object(i.a)(!0));e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(299),o=Object(r.a)((function(t,e){for(var n=[],r=0,o=t.length,a=e.length,u=new i.a,s=0;s<a;s+=1)u.add(e[s]);for(;r<o;)u.add(t[r])&&(n[n.length]=t[r]),r+=1;return n}));e.a=o},function(t,e,n){"use strict";var r=n(106),i=n(16),o=n(290),a=n(324),u=n(330),s=Object(i.a)((function(t,e){var n,i;return t.length>e.length?(n=t,i=e):(n=e,i=t),Object(u.a)(Object(o.a)(Object(a.a)(r.a)(n),i))}));e.a=s},function(t,e,n){"use strict";var r=n(106),i=n(16),o=Object(i.a)(r.a);e.a=o},function(t,e,n){"use strict";var r=n(225),i=n(41),o=Object(i.a)((function(t,e,n){for(var i=[],o=0,a=e.length;o<a;)Object(r.a)(t,e[o],n)||Object(r.a)(t,e[o],i)||i.push(e[o]),o+=1;return i}));e.a=o},function(t,e,n){"use strict";var r=n(214),i=n(32),o=Object(i.a)((function(t){return r.a.apply(null,[{}].concat(t))}));e.a=o},function(t,e,n){"use strict";var r=n(214),i=n(16),o=Object(i.a)((function(t,e){return Object(r.a)({},t,e)}));e.a=o},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){var r=Array.prototype.slice.call(n,0);return r.splice(t,e),r}));e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(575),s=n(573),c=n(24),f=n(395),l=n(402),d=n(33),h=n(90),p=n(96),g={left:"right",right:"left",top:"down",bottom:"up"};var m={enter:h.b.enteringScreen,exit:h.b.leavingScreen},b=o.forwardRef((function(t,e){var n=t.anchor,c=void 0===n?"left":n,h=t.BackdropProps,b=t.children,v=t.classes,y=t.className,_=t.elevation,w=void 0===_?16:_,S=t.ModalProps,O=(S=void 0===S?{}:S).BackdropProps,x=Object(i.a)(S,["BackdropProps"]),E=t.onClose,M=t.open,T=void 0!==M&&M,$=t.PaperProps,A=void 0===$?{}:$,k=t.SlideProps,C=t.TransitionComponent,I=void 0===C?f.a:C,P=t.transitionDuration,N=void 0===P?m:P,R=t.variant,j=void 0===R?"temporary":R,D=Object(i.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),L=Object(p.a)(),F=o.useRef(!1);o.useEffect((function(){F.current=!0}),[]);var B=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?g[e]:e}(L,c),U=o.createElement(l.a,Object(r.a)({elevation:"temporary"===j?w:0,square:!0},A,{className:Object(a.a)(v.paper,v["paperAnchor".concat(Object(d.a)(B))],A.className,"temporary"!==j&&v["paperAnchorDocked".concat(Object(d.a)(B))])}),b);if("permanent"===j)return o.createElement("div",Object(r.a)({className:Object(a.a)(v.root,v.docked,y),ref:e},D),U);var z=o.createElement(I,Object(r.a)({in:T,direction:g[B],timeout:N,appear:F.current},k),U);return"persistent"===j?o.createElement("div",Object(r.a)({className:Object(a.a)(v.root,v.docked,y),ref:e},D),z):o.createElement(u.a,Object(r.a)({BackdropProps:Object(r.a)({},h,O,{transitionDuration:N}),BackdropComponent:s.a,className:Object(a.a)(v.root,v.modal,y),open:T,onClose:E,ref:e},D,x),z)}));e.a=Object(c.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(b)},function(t,e,n){"use strict";var r=n(174),i=n(39),o=Object(i.a)(r.a,1);e.a=o},function(t,e,n){"use strict";var r=n(104),i=Object(r.a)(0,-1);e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return Array.prototype.slice.call(e,0).sort(t)}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return t<e}));e.a=i},function(t,e,n){"use strict";var r=n(306),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(308);function i(){return Object(r.a)(Date.now())}},function(t,e,n){"use strict";var r=n(164),i=n(16),o=Object(i.a)(Object(r.a)("forEach",(function(t,e){for(var n=e.length,r=0;r<n;)t(e[r]),r+=1;return e})));e.a=o},function(t,e,n){"use strict";var r=n(164),i=n(16),o=n(328),a=Object(i.a)(Object(r.a)("groupBy",Object(o.a)((function(t,e){return null==t&&(t=[]),t.push(e),t}),null)));e.a=a},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){return Array.prototype.slice.call(e,0).sort((function(e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0}))}));e.a=i},function(t,e,n){"use strict";var r=n(16),i=Object(r.a)((function(t,e){for(var n,r=0,i=t.length,o=e.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[t[r],e[n]],n+=1;r+=1}return a}));e.a=i},function(t,e,n){"use strict";var r=n(106),i=n(16),o=n(324),a=n(223),u=Object(i.a)((function(t,e){return Object(a.a)(Object(o.a)(r.a)(t),e)}));e.a=u},function(t,e,n){"use strict";var r=n(194),i=n(39),o=Object(i.a)(r.a,1);e.a=o},function(t,e,n){"use strict";var r=n(4),i=n(1),o=n.n(i),a=(n(13),n(281)),u=n(401),s=n(283);e.a=function(t){var e=t.children,n=t.theme,i=Object(u.a)(),c=o.a.useMemo((function(){var t=null===i?n:function(t,e){return"function"===typeof e?e(t):Object(r.a)({},t,e)}(i,n);return null!=t&&(t[s.a]=null!==i),t}),[n,i]);return o.a.createElement(a.a.Provider,{value:c},e)}},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){var r=t(e),i=t(n);return r>i?-1:r<i?1:0}));e.a=i},function(t,e,n){"use strict";var r=n(321),i=Object(r.a)(-1);e.a=i},function(t,e,n){"use strict";var r=n(168),i=Object(r.a)(1,"split");e.a=i},function(t,e,n){"use strict";var r=n(568),i=n(39),o=Object(i.a)(r.a,1);e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(553),o=n(104),a=Object(r.a)((function(t,e){return[Object(o.a)(0,t,e),Object(o.a)(t,Object(i.a)(e),e)]}));e.a=a},function(t,e,n){"use strict";var r=n(325),i=n(39),o=Object(i.a)(r.a,1);e.a=o},function(t,e,n){"use strict";var r=n(222),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";var r=n(333),i=n(39),o=Object(i.a)(r.a,2);e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(76),o=n(98),a=Object(r.a)((function(t,e){return Object(i.a)((function(n,r){return n[r]=t(e[r],r,e),n}),{},Object(o.a)(e))}));e.a=a},function(t,e,n){"use strict";var r=n(16),i=n(104),o=Object(r.a)((function(t,e){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<e.length;)n.push(Object(i.a)(r,r+=t,e));return n}));e.a=o},function(t,e,n){"use strict";var r=n(16),i=function(t){return{value:t,"fantasy-land/map":function(){return this}}},o=Object(r.a)((function(t,e){return t(i)(e).value}));e.a=o},function(t,e,n){"use strict";var r=n(41),i=n(319),o=Object(r.a)((function(t,e,n){return Object(i.a)((function(e,n,r){return t(n,r)}),e,n)}));e.a=o},function(t,e,n){"use strict";var r=n(32),i=Object(r.a)((function(t){return function(e,n){return t(e,n)?-1:t(n,e)?1:0}}));e.a=i},function(t,e,n){"use strict";var r=n(41),i=Object(r.a)((function(t,e,n){return t(n)?e(n):n}));e.a=i},function(t,e,n){"use strict";var r=n(4),i=n(1),o=(n(13),n(24)),a={WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},u=function(t){return Object(r.a)({color:t.palette.text.primary},t.typography.body2,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};e.a=Object(o.a)((function(t){return{"@global":{html:a,"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(r.a)({margin:0},u(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})}}}),{name:"MuiCssBaseline"})((function(t){var e=t.children,n=void 0===e?null:e;return t.classes,i.createElement(i.Fragment,null,n)}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return vt}));var r={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([457]\\d{6})$","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2457]\\d{6})$","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","11\\d{8}|(?:[2368]|9\\d)\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"1|([267]\\d{6})$","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7,8}|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"0|(183[12])",0,0,0,[["8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-7]|3[2-4]|[4-6]\\d))|91(?:[0-57-9]\\d|6[0135-9])\\d)\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365|46","1[28]|2|365(?:[0-46-9]|5[0-35-9])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","246$1",0,"246"],BD:["880","00","1\\d{9}|2\\d{7,8}|88\\d{4,6}|(?:8[0-79]|9\\d)\\d{4,8}|(?:[346]\\d|[57])\\d{5,8}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:[2689]\\d|51)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]]],BL:["590","00","(?:590|69\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[29]|3[0-5]))\\d{4}"],0,0,0,0,0,0,["976[01]\\d{5}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([3-8]\\d{6})$","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}",[10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[57])|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}"],0,0,0,["600[2-9]\\d{6}"]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|118)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}|[02-9]\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[03-9]|2(?:[02-4]|1[023578])","[03-9]|2(?:[02-4]|1(?:[02357]|80))"]],["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","(?:[26]\\d\\d|88)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"0|(1(?:[12]\\d|79)\\d\\d)",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:1\\d|3)\\d{9}|[124-8]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1 $2",["[14][2-9]|[25-8]"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["5"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d|8[0-24-9])\\d{7}|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|235)|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:83[0-38]|93[0-4])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",[6,8,10]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:[12]\\d|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-59]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],0,0,"0(11\\d{6}|6[256]\\d{6}|7[47]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[03])|4(?:[0-5]\\d\\d|69[7-9])|(?:5[0-26-9]|6[0-4]|[78][0-49])\\d\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[02]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94|976)\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"0|([25-9]\\d{5})$","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d\\d|606)\\d{5}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-689]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590|69\\d|976)\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[29]|3[0-5]))\\d{4}"],0,0,0,0,0,0,["976[01]\\d{5}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,10}|(?:[269]\\d|70)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"1|([3-9]\\d{6})$","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:862\\d|9008)\\d{3}|(?:[2-46]\\d|77)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4}(?:\\d(?:\\d(?:\\d{4})?)?)?|(?:[235-79]\\d|46)\\d{6}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-489]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"0|([5-8]\\d{5})$","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1[4679]|[38]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d\\d|89(?:2|4[5-9]\\d))\\d{3}|89[45][0-4]\\d\\d|(?:1(?:44|6[346])|89(?:5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"0|([0-24-8]\\d{5})$","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|(?:[235-8]\\d|99)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","(?:18|[2569]\\d\\d)\\d{5}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[25]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","345$1",0,"345"],KZ:["7","810","33622\\d{5}|(?:7\\d|80)\\d{8}",[10],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[7-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","758$1",0,"758"],LI:["423","00","90\\d{5}|(?:[2378]|6\\d\\d)\\d{6}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"0|(1001)"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:29(?:[189][05]|2[29]|3[01])|38[89][05])\\d{4}|5(?:2(?:[015-7]\\d|2[02-9]|3[0-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0[0-8]|6[1267]|7[0-37]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","870\\d{5}|(?:[349]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[39]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590|69\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[29]|3[0-5]))\\d{4}"],0,0,0,0,0,0,["976[01]\\d{5}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"0|([24-9]\\d{6})$","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[57-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[57-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","(?:28|[68]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","670$1",0,"670"],MQ:["596","00","69\\d{7}|(?:59|97)6\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"1|([34]\\d{6})$","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[2-468]|5\\d)\\d{6}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["5"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","1\\d{6}(?:\\d{2})?|(?:[23]1|77|88|99)\\d{7}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","(?:1(?:[01467]\\d|[2359][1-9]|8[1-79])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","[2-57-9]\\d{5}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|[89]\\d{6,9}|1\\d{4,5}",[5,6,7,8,9,10],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|5[89]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","8\\d{9}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,0," Anexo "],PF:["689","00","[48]\\d{7}|4\\d{5}",[6,8],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[48]"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","1800\\d{7,9}|(?:2|[89]\\d{4})\\d{5}|[2-8]\\d{8}|[28]\\d{7}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","6\\d{5}(?:\\d{2})?|8\\d{9}|[1-9]\\d{6}(?:\\d{2})?",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","[2-7]\\d{7}|(?:2\\d\\d|800)\\d{4}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]]],RE:["262","00","9769\\d{5}|(?:26|[68]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,"26[23]|69|[89]"],RO:["40","00","(?:[237]\\d|[89]0)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","[347-9]\\d{9}",[10],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"],"8 ($1)",1]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","8000\\d{3}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-3]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[4589]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[2378]\\d|66|99)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d{4}|93330)\\d{4}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["24|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[1-35-9]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|(5\\d{6})$","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"1|([2-479]\\d{6})$","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","1\\d{9}|[1689]\\d{8}|[1-57]\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[02]0|11|[3-57-9]\\d)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"],0,1],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],0,1],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3"],0,1],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02457-9]|11"],0,1]],"8",0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-46-8]\\d{6})$","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[26-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["[3-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}",[10],[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[0179]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","4\\d{9}|[249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[24]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","55501\\d{4}|(?:33|[679]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-578]\\d{6})$","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[48]8\\d{3}|(?:[23]|[579]\\d\\d)\\d{4}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[579]"]]]],WF:["681","00","(?:[45]0|68|72|8\\d)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[4-8]"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","80\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,"269|63"],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","(?:63|80)0\\d{6}|(?:21|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,["[1-9]\\d{7}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|[19]\\d{7}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],0,0,0,0,0,0,[0,["3(?:37\\d\\d|42)\\d{4}|3(?:2|47|7\\d{3})\\d{7}",[7,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}"]]],883:["883",0,"51\\d{7}(?:\\d{3})?",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["5"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["51[013]0\\d{8}|5100\\d{5}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function i(t,e){var n=Array.prototype.slice.call(e);return n.push(r),t.apply(this,n)}var o="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",a="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");var u=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.name=this.constructor.name,this.message=e,this.stack=new Error(e).stack};(u.prototype=Object.create(Error.prototype)).constructor=u;var s=function(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0};function c(t){return(c="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 f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}var h=" ext. ",p=/^\d+$/,g=function(){function t(e){f(this,t),function(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!w(t)||!w(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(w(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+S(t)+": "+t,"."))}(e),this.metadata=e,x.call(this,e)}return d(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(t){return"001"!==t}))}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,e){if(t&&p.test(t)&&(e=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new m(this.getCountryMetadata(t),this)}else if(e){if(!this.hasCallingCode(e))throw new Error("Unknown calling code: ".concat(e));this.numberingPlan=new m(this.getNumberingPlanMetadata(e),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),t}(),m=function(){function t(e,n){f(this,t),this.globalMetadataObject=n,this.metadata=e,x.call(this,n.metadata)}return d(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,e=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return e.map((function(e){return new b(e,t)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&_(this.types(),t))return new y(_(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?h:this.metadata[13]||h}}]),t}(),b=function(){function t(e,n){f(this,t),this._format=e,this.metadata=n}return d(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||v.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),t}(),v=/^\(?\$1\)?$/,y=function(){function t(e,n){f(this,t),this.type=e,this.metadata=n}return d(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),t}();function _(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}var w=function(t){return"object"===c(t)},S=function(t){return c(t)};function O(t,e){if((e=new g(e)).hasCountry(t))return e.country(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function x(t){var e=t.version;"number"===typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===s(e,"1.2.0")?this.v2=!0:-1===s(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var E=function(t){return"([".concat(o,"]{1,").concat(t,"})")};function M(t){var e="#?";return";ext="+E("20")+"|"+("[ \xa0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)[:\\.\uff0e]?[ \xa0\\t,-]*"+E("20")+e)+"|"+("[ \xa0\\t,]*(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \xa0\\t,-]*"+E("9")+e)+"|"+("[- ]+"+E("6")+"#")+"|"+("[ \xa0\\t]*(?:,{2}|;)[:\\.\uff0e]?[ \xa0\\t,-]*"+E("15")+e)+"|"+("[ \xa0\\t]*(?:,)+[:\\.\uff0e]?[ \xa0\\t,-]*"+E("9")+e)}var T="[+\uff0b]{0,1}(?:["+a+"]*["+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]){3,}["+a+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]*"+"(?:"+M()+")?",$=new RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^"+T+"$","i");function A(t){return t.length>=2&&$.test(t)}var k=new RegExp("(?:"+M()+")$","i");var C={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function I(t){return C[t]}function P(t){var e="",n=t.split(""),r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}e+=N(o,e)||""}return e}function N(t,e){if("+"===t){if(e)return;return"+"}return I(t)}function R(t,e){return j(t,void 0,e)}function j(t,e,n){var r=n.type(e),i=r&&r.possibleLengths()||n.possibleLengths();if(!i)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===e){if(!n.type("FIXED_LINE"))return j(t,"MOBILE",n);var o=n.type("MOBILE");o&&(i=function(t,e){var n=t.slice(),r=e,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var u=a;t.indexOf(u)<0&&n.push(u)}return n.sort((function(t,e){return t-e}))}(i,o.possibleLengths()))}else if(e&&!r)return"INVALID_LENGTH";var a=t.length,u=i[0];return u===a?"IS_POSSIBLE":u>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function D(t,e){switch(R(t,e)){case"IS_POSSIBLE":return!0;default:return!1}}function L(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function F(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}var B=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function U(t,e,n){if(e=e||{},t.country){(n=new g(n)).selectNumberingPlan(t.country,t.countryCallingCode);var r=e.v2?t.nationalNumber:t.phone;if(F(r,n.nationalNumberPattern())){if(z(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?z(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i=0,o=B;i<o.length;i++){var a=o[i];if(z(r,a,n))return a}}}}function z(t,e,n){return!(!(e=n.type(e))||!e.pattern())&&(!(e.possibleLengths()&&e.possibleLengths().indexOf(t.length)<0)&&F(t,e.pattern()))}var H=/(\$\d)/;function V(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=(n.carrierCode,n.metadata,t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(H,e.nationalPrefixFormattingRule()):e.format()));return r?function(t){return t.replace(new RegExp("[".concat(a,"]+"),"g")," ").trim()}(o):o}var q=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var G={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}};function K(t,e,n,r){if(n=n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){W(t,e,n[e])}))}return t}({},G,n):G,r=new g(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return a?Z(i=Y(a,t.carrierCode,"NATIONAL",r,n),t.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=Y(a,null,"INTERNATIONAL",r,n),Z(i="+".concat(o," ").concat(i),t.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:t.ext});case"IDD":if(!n.fromCountry)return;return Z(function(t,e,n,r,i){if(O(r,i.metadata)===n){var o=Y(t,e,"NATIONAL",i);return"1"===n?n+" "+o:o}var a=function(t,e,n){var r=new g(n);return r.selectNumberingPlan(t,e),q.test(r.IDDPrefix())?r.IDDPrefix():r.defaultIDDPrefix()}(r,void 0,i.metadata);if(a)return"".concat(a," ").concat(n," ").concat(Y(t,null,"INTERNATIONAL",i))}(a,t.carrierCode,o,n.fromCountry,r),t.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function Y(t,e,n,r,i){var o=function(t,e){var n=t,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;if(a.leadingDigitsPatterns().length>0){var u=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(0!==e.search(u))continue}if(F(e,a.pattern()))return a}}(r.formats(),t);return o?V(t,o,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:e,metadata:r}):t}function Z(t,e,n,r){return e?r(t,e,n):t}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var J=function(){function t(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");var i=new g(r);tt(e)&&(this.country=e,i.country(e),e=i.countryCallingCode()),this.countryCallingCode=e,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=r}var e,n,r;return e=t,(n=[{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new g(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return D(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return t=this,e={v2:!0},n=this.metadata,e=e||{},n=new g(n),!!t.country&&(n.selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes()?void 0!==U(t,e,n.metadata):F(e.v2?t.nationalNumber:t.phone,n.nationalNumberPattern()));var t,e,n}},{key:"isNonGeographic",value:function(){return new g(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return U(this,{v2:!0},this.metadata)}},{key:"format",value:function(t,e){return K(this,t,e?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){Q(t,e,n[e])}))}return t}({},e,{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}])&&X(e.prototype,n),r&&X(e,r),t}(),tt=function(t){return/^[A-Z]{2}$/.test(t)},et=new RegExp("([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])");function nt(t,e){var n=function(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,a,u=r.length-1,s=u>0&&r[u];if(e.nationalPrefixTransformRule()&&s)i=t.replace(n,e.nationalPrefixTransformRule()),u>1&&(o=r[1]);else{var c=r[0];i=t.slice(c.length),s&&(o=r[1])}if(s){var f=t.indexOf(r[1]);t.slice(0,f)===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:t}}(t,e),r=n.nationalNumber,i=n.carrierCode;if(!function(t,e,n){if(F(t,n.nationalNumberPattern())&&!F(e,n.nationalNumberPattern()))return!1;return!0}(t,r,e))return{nationalNumber:t};if(t.length!==r.length+(i?i.length:0)&&e.possibleLengths())switch(R(r,e)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:t}}return{nationalNumber:r,carrierCode:i}}function rt(t,e,n,r){if(!t)return{};if("+"!==t[0]){var i=function(t,e,n,r){if(e){var i=new g(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(0===t.search(o)){var a=(t=t.slice(t.match(o)[0].length)).match(et);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}(t,e,n,r);if(!i||i===t){if(e||n){var o=function(t,e,n,r){var i=e?O(e,r):n;if(0===t.indexOf(i)){(r=new g(r)).selectNumberingPlan(e,n);var o=t.slice(i.length),a=nt(o,r).nationalNumber,u=nt(t,r).nationalNumber;if(!F(u,r.nationalNumberPattern())&&F(a,r.nationalNumberPattern())||"TOO_LONG"===R(u,r))return{countryCallingCode:i,number:o}}return{number:t}}(t,e,n,r),a=o.countryCallingCode,u=o.number;if(a)return{countryCallingCode:a,number:u}}return{number:t}}t="+"+i}if("0"===t[1])return{};r=new g(r);for(var s=2;s-1<=3&&s<=t.length;){var c=t.slice(1,s);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCode:c,number:t.slice(s)};s++}return{}}function it(t,e,n){var r=n.getCountryCodesForCallingCode(t);if(r)return 1===r.length?r[0]:function(t,e,n){n=new g(n);var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var u=a;if(n.country(u),n.leadingDigits()){if(e&&0===e.search(n.leadingDigits()))return u}else if(U({phone:e,country:u},void 0,n.metadata))return u}}(r,e,n.metadata)}var ot=new RegExp("[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]"),at=new RegExp("[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9#]+$");function ut(t,e,n){if(e=e||{},n=new g(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry)){if(e.v2)throw new u("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var r=function(t,e){if(t&&0===t.indexOf("tel:"))return function(t){var e,n,r=(t=t.replace(/^tel:/,"tel=")).split(";"),i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var u=L(a.split("="),2),s=u[0],c=u[1];switch(s){case"tel":e=c;break;case"ext":n=c;break;case"phone-context":"+"===c[0]&&(e=c+e)}}if(!A(e))return{};var f={number:e};return n&&(f.ext=n),f}(t);var n=function(t,e){if(!t)return;if(t.length>250){if(e)throw new u("TOO_LONG");return}var n=t.search(ot);if(n<0)return;return t.slice(n).replace(at,"")}(t,e);if(!n||!A(n))return{};var r=function(t){var e=t.search(k);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(k),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(n);if(r.ext)return r;return{number:n}}(t,e.v2),i=r.number,o=r.ext;if(!i){if(e.v2)throw new u("NOT_A_NUMBER");return{}}var a=function(t,e,n,r){var i,o=rt(P(t),e,n,r.metadata),a=o.countryCallingCode,u=o.number;if(a)r.selectNumberingPlan(a);else{if(!u||!e&&!n)return{};r.selectNumberingPlan(e,n),e&&(i=e),a=n||O(e,r.metadata)}if(!u)return{countryCallingCode:a};var s=nt(P(u),r),c=s.nationalNumber,f=s.carrierCode,l=it(a,c,r);l&&(i=l,"001"===l||r.country(i));return{country:i,countryCallingCode:a,nationalNumber:c,carrierCode:f}}(i,e.defaultCountry,e.defaultCallingCode,n),s=a.country,c=a.nationalNumber,f=a.countryCallingCode,l=a.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new u("INVALID_COUNTRY");return{}}if(!c||c.length<2){if(e.v2)throw new u("TOO_SHORT");return{}}if(c.length>17){if(e.v2)throw new u("TOO_LONG");return{}}if(e.v2){var d=new J(f,c,n.metadata);return s&&(d.country=s),l&&(d.carrierCode=l),o&&(d.ext=o),d}var h=!!(e.extended?n.hasSelectedNumberingPlan():s)&&F(c,n.nationalNumberPattern());return e.extended?{country:s,countryCallingCode:f,carrierCode:l,valid:h,possible:!!h||!(!0!==e.extended||!n.possibleLengths()||!D(c,n)),phone:c,ext:o}:h?function(t,e,n){var r={country:t,phone:e};n&&(r.ext=n);return r}(s,c,o):{}}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return ut(t,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){st(t,e,n[e])}))}return t}({},e,{v2:!0}),n)}function ft(t){return(ft="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 lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ht(t){var e,n,r,i=dt(Array.prototype.slice.call(t),4),o=i[0],a=i[1],u=i[2],s=i[3];if("string"!==typeof o)throw new TypeError("A text for parsing must be a string.");if(e=o,a&&"string"!==typeof a){if(!pt(a))throw new Error("Invalid second argument: ".concat(a));u?(n=a,r=u):r=a}else s?(n=u,r=s):(n=void 0,r=u),a&&(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){lt(t,e,n[e])}))}return t}({defaultCountry:a},n));return{text:e,options:n,metadata:r}}var pt=function(t){return"object"===ft(t)};function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mt(t,e,n){e&&e.defaultCountry&&!function(t,e){return void 0!==e.countries[t]}(e.defaultCountry,n)&&(e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){gt(t,e,n[e])}))}return t}({},e,{defaultCountry:void 0}));try{return ct(t,e,n)}catch(r){if(!(r instanceof u))throw r}}function bt(){var t=ht(arguments),e=t.text,n=t.options,r=t.metadata;return mt(e,n,r)}function vt(){return i(bt,arguments)}},function(t,e,n){"use strict";var r=n(107),i=n(4),o=(n(13),n(161));var a=function(t){var e=function(e){var n=t(e);return e.css?Object(i.a)({},Object(o.a)(n,t(Object(i.a)({theme:e.theme},e.css))),function(t,e){var n={};return Object.keys(t).forEach((function(r){-1===e.indexOf(r)&&(n[r]=t[r])})),n}(e.css,[t.filterProps])):n};return e.propTypes={},e.filterProps=["css"].concat(Object(r.a)(t.filterProps)),e};var u=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=function(t){return e.reduce((function(e,n){var r=n(t);return r?Object(o.a)(e,r):e}),{})};return r.propTypes={},r.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),r},s=n(58),c=n(285);function f(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}var l=function(t){var e=t.prop,n=t.cssProperty,r=void 0===n?t.prop:n,i=t.themeKey,o=t.transform,a=function(t){if(null==t[e])return null;var n=t[e],a=f(t.theme,i)||{};return Object(c.a)(t,n,(function(t){var e;return"function"===typeof a?e=a(t):Array.isArray(a)?e=a[t]||t:(e=f(a,t)||t,o&&(e=o(e))),!1===r?e:Object(s.a)({},r,e)}))};return a.propTypes={},a.filterProps=[e],a};function d(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var h=u(l({prop:"border",themeKey:"borders",transform:d}),l({prop:"borderTop",themeKey:"borders",transform:d}),l({prop:"borderRight",themeKey:"borders",transform:d}),l({prop:"borderBottom",themeKey:"borders",transform:d}),l({prop:"borderLeft",themeKey:"borders",transform:d}),l({prop:"borderColor",themeKey:"palette"}),l({prop:"borderRadius",themeKey:"shape"})),p=u(l({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),l({prop:"display"}),l({prop:"overflow"}),l({prop:"textOverflow"}),l({prop:"visibility"}),l({prop:"whiteSpace"})),g=u(l({prop:"flexBasis"}),l({prop:"flexDirection"}),l({prop:"flexWrap"}),l({prop:"justifyContent"}),l({prop:"alignItems"}),l({prop:"alignContent"}),l({prop:"order"}),l({prop:"flex"}),l({prop:"flexGrow"}),l({prop:"flexShrink"}),l({prop:"alignSelf"}),l({prop:"justifyItems"}),l({prop:"justifySelf"})),m=u(l({prop:"gridGap"}),l({prop:"gridColumnGap"}),l({prop:"gridRowGap"}),l({prop:"gridColumn"}),l({prop:"gridRow"}),l({prop:"gridAutoFlow"}),l({prop:"gridAutoColumns"}),l({prop:"gridAutoRows"}),l({prop:"gridTemplateColumns"}),l({prop:"gridTemplateRows"}),l({prop:"gridTemplateAreas"}),l({prop:"gridArea"})),b=u(l({prop:"position"}),l({prop:"zIndex",themeKey:"zIndex"}),l({prop:"top"}),l({prop:"right"}),l({prop:"bottom"}),l({prop:"left"})),v=u(l({prop:"color",themeKey:"palette"}),l({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),y=l({prop:"boxShadow",themeKey:"shadows"});function _(t){return t<=1?"".concat(100*t,"%"):t}var w=l({prop:"width",transform:_}),S=l({prop:"maxWidth",transform:_}),O=l({prop:"minWidth",transform:_}),x=l({prop:"height",transform:_}),E=l({prop:"maxHeight",transform:_}),M=l({prop:"minHeight",transform:_}),T=(l({prop:"size",cssProperty:"width",transform:_}),l({prop:"size",cssProperty:"height",transform:_}),u(w,S,O,x,E,M,l({prop:"boxSizing"}))),$=n(1144),A=u(l({prop:"fontFamily",themeKey:"typography"}),l({prop:"fontSize",themeKey:"typography"}),l({prop:"fontStyle",themeKey:"typography"}),l({prop:"fontWeight",themeKey:"typography"}),l({prop:"letterSpacing"}),l({prop:"lineHeight"}),l({prop:"textAlign"})),k=n(280),C=a(u(h,p,g,m,b,v,y,T,$.b,A)),I=Object(k.a)("div")(C,{name:"MuiBox"});e.a=I},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(1007)),u=n(91),s=n(135),c=n(284),f=(n(103),n(15)),l=n(74),d=n(33),h=n(24),p=n(47),g=n(215),m=n(296),b=n(140),v=n(575),y=n(577),_=n(96),w=n(121),S=n(44);function O(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var x={entering:{opacity:1,transform:O(1)},entered:{opacity:1,transform:"none"}},E=o.forwardRef((function(t,e){var n=t.children,a=t.disableStrictModeCompat,s=void 0!==a&&a,c=t.in,f=t.onEnter,l=t.onEntered,d=t.onEntering,h=t.onExit,p=t.onExited,g=t.onExiting,m=t.style,b=t.timeout,v=void 0===b?"auto":b,E=t.TransitionComponent,M=void 0===E?y.a:E,T=Object(i.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),$=o.useRef(),A=o.useRef(),k=Object(_.a)(),C=k.unstable_strictMode&&!s,I=o.useRef(null),P=Object(S.a)(n.ref,e),N=Object(S.a)(C?I:void 0,P),R=function(t){return function(e,n){if(t){var r=C?[I.current,e]:[e,n],i=Object(u.a)(r,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},j=R(d),D=R((function(t,e){Object(w.b)(t);var n,r=Object(w.a)({style:m,timeout:v},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===v?(n=k.transitions.getAutoHeightDuration(t.clientHeight),A.current=n):n=i,t.style.transition=[k.transitions.create("opacity",{duration:n,delay:o}),k.transitions.create("transform",{duration:.666*n,delay:o})].join(","),f&&f(t,e)})),L=R(l),F=R(g),B=R((function(t){var e,n=Object(w.a)({style:m,timeout:v},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===v?(e=k.transitions.getAutoHeightDuration(t.clientHeight),A.current=e):e=r,t.style.transition=[k.transitions.create("opacity",{duration:e,delay:i}),k.transitions.create("transform",{duration:.666*e,delay:i||.333*e})].join(","),t.style.opacity="0",t.style.transform=O(.75),h&&h(t)})),U=R(p);return o.useEffect((function(){return function(){clearTimeout($.current)}}),[]),o.createElement(M,Object(r.a)({appear:!0,in:c,nodeRef:C?I:void 0,onEnter:D,onEntered:L,onEntering:j,onExit:B,onExited:U,onExiting:F,addEndListener:function(t,e){var n=C?t:e;"auto"===v&&($.current=setTimeout(n,A.current||0))},timeout:"auto"===v?null:v},T),(function(t,e){return o.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:O(.75),visibility:"exited"!==t||c?void 0:"hidden"},x[t],m,n.props.style),ref:N},e))}))}));E.muiSupportAuto=!0;var M=E,T=n(402);function $(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.height/2:"bottom"===e&&(n=t.height),n}function A(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.width/2:"right"===e&&(n=t.width),n}function k(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function C(t){return"function"===typeof t?t():t}var I=o.forwardRef((function(t,e){var n=t.action,a=t.anchorEl,u=t.anchorOrigin,s=void 0===u?{vertical:"top",horizontal:"left"}:u,c=t.anchorPosition,d=t.anchorReference,h=void 0===d?"anchorEl":d,y=t.children,_=t.classes,w=t.className,S=t.container,O=t.elevation,x=void 0===O?8:O,E=t.getContentAnchorEl,I=t.marginThreshold,P=void 0===I?16:I,N=t.onEnter,R=t.onEntered,j=t.onEntering,D=t.onExit,L=t.onExited,F=t.onExiting,B=t.open,U=t.PaperProps,z=void 0===U?{}:U,H=t.transformOrigin,V=void 0===H?{vertical:"top",horizontal:"left"}:H,q=t.TransitionComponent,W=void 0===q?M:q,G=t.transitionDuration,K=void 0===G?"auto":G,Y=t.TransitionProps,Z=void 0===Y?{}:Y,Q=Object(i.a)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),X=o.useRef(),J=o.useCallback((function(t){if("anchorPosition"===h)return c;var e=C(a),n=(e&&1===e.nodeType?e:Object(l.a)(X.current).body).getBoundingClientRect(),r=0===t?s.vertical:"center";return{top:n.top+$(n,r),left:n.left+A(n,s.horizontal)}}),[a,s.horizontal,s.vertical,c,h]),tt=o.useCallback((function(t){var e=0;if(E&&"anchorEl"===h){var n=E(t);if(n&&t.contains(n)){var r=function(t,e){for(var n=e,r=0;n&&n!==t;)r+=(n=n.parentElement).scrollTop;return r}(t,n);e=n.offsetTop+n.clientHeight/2-r||0}0}return e}),[s.vertical,h,E]),et=o.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:$(t,V.vertical)+e,horizontal:A(t,V.horizontal)}}),[V.horizontal,V.vertical]),nt=o.useCallback((function(t){var e=tt(t),n={width:t.offsetWidth,height:t.offsetHeight},r=et(n,e);if("none"===h)return{top:null,left:null,transformOrigin:k(r)};var i=J(e),o=i.top-r.vertical,u=i.left-r.horizontal,s=o+n.height,c=u+n.width,f=Object(m.a)(C(a)),l=f.innerHeight-P,d=f.innerWidth-P;if(o<P){var p=o-P;o-=p,r.vertical+=p}else if(s>l){var g=s-l;o-=g,r.vertical+=g}if(u<P){var b=u-P;u-=b,r.horizontal+=b}else if(c>d){var v=c-d;u-=v,r.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(u),"px"),transformOrigin:k(r)}}),[a,h,J,tt,et,P]),rt=o.useCallback((function(){var t=X.current;if(t){var e=nt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[nt]),it=o.useCallback((function(t){X.current=p.findDOMNode(t)}),[]);o.useEffect((function(){B&&rt()})),o.useImperativeHandle(n,(function(){return B?{updatePosition:function(){rt()}}:null}),[B,rt]),o.useEffect((function(){if(B){var t=Object(g.a)((function(){rt()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[B,rt]);var ot=K;"auto"!==K||W.muiSupportAuto||(ot=void 0);var at=S||(a?Object(l.a)(C(a)).body:void 0);return o.createElement(v.a,Object(r.a)({container:at,open:B,ref:e,BackdropProps:{invisible:!0},className:Object(f.a)(_.root,w)},Q),o.createElement(W,Object(r.a)({appear:!0,in:B,onEnter:N,onEntered:R,onExit:D,onExited:L,onExiting:F,timeout:ot},Z,{onEntering:Object(b.a)((function(t,e){j&&j(t,e),rt()}),Z.onEntering)}),o.createElement(T.a,Object(r.a)({elevation:x,ref:it},z,{className:Object(f.a)(_.paper,z.className)}),y)))})),P=Object(h.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(I),N=n(1018),R=n(298);function j(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function D(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function L(t,e){if(void 0===e)return!0;var n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(e.repeating?n[0]===e.keys[0]:0===n.indexOf(e.keys.join("")))}function F(t,e,n,r,i,o){for(var a=!1,u=i(t,e,!!e&&n);u;){if(u===t.firstChild){if(a)return;a=!0}var s=!r&&(u.disabled||"true"===u.getAttribute("aria-disabled"));if(u.hasAttribute("tabindex")&&L(u,o)&&!s)return void u.focus();u=i(t,u,n)}}var B="undefined"===typeof window?o.useEffect:o.useLayoutEffect,U=o.forwardRef((function(t,e){var n=t.actions,a=t.autoFocus,u=void 0!==a&&a,s=t.autoFocusItem,c=void 0!==s&&s,f=t.children,d=t.className,h=t.disabledItemsFocusable,g=void 0!==h&&h,m=t.disableListWrap,b=void 0!==m&&m,v=t.onKeyDown,y=t.variant,_=void 0===y?"selectedMenu":y,w=Object(i.a)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),O=o.useRef(null),x=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});B((function(){u&&O.current.focus()}),[u]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(t,e){var n=!O.current.style.width;if(t.clientHeight<O.current.clientHeight&&n){var r="".concat(Object(R.a)(!0),"px");O.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=r,O.current.style.width="calc(100% + ".concat(r,")")}return O.current}}}),[]);var E=o.useCallback((function(t){O.current=p.findDOMNode(t)}),[]),M=Object(S.a)(E,e),T=-1;o.Children.forEach(f,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===_&&t.props.selected||-1===T)&&(T=e))}));var $=o.Children.map(f,(function(t,e){if(e===T){var n={};return c&&(n.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===_&&(n.tabIndex=0),o.cloneElement(t,n)}return t}));return o.createElement(N.a,Object(r.a)({role:"menu",ref:M,className:d,onKeyDown:function(t){var e=O.current,n=t.key,r=Object(l.a)(e).activeElement;if("ArrowDown"===n)t.preventDefault(),F(e,r,b,g,j);else if("ArrowUp"===n)t.preventDefault(),F(e,r,b,g,D);else if("Home"===n)t.preventDefault(),F(e,null,b,g,j);else if("End"===n)t.preventDefault(),F(e,null,b,g,D);else if(1===n.length){var i=x.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var u=r&&!i.repeating&&L(r,i);i.previousKeyMatched&&(u||F(e,r,!1,g,j,i))?t.preventDefault():i.previousKeyMatched=!1}v&&v(t)},tabIndex:u?0:-1},w),$)})),z=n(139),H={vertical:"top",horizontal:"right"},V={vertical:"top",horizontal:"left"},q=o.forwardRef((function(t,e){var n=t.autoFocus,a=void 0===n||n,u=t.children,s=t.classes,c=t.disableAutoFocusItem,l=void 0!==c&&c,d=t.MenuListProps,h=void 0===d?{}:d,g=t.onClose,m=t.onEntering,b=t.open,v=t.PaperProps,y=void 0===v?{}:v,w=t.PopoverClasses,S=t.transitionDuration,O=void 0===S?"auto":S,x=t.variant,E=void 0===x?"selectedMenu":x,M=Object(i.a)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),T=Object(_.a)(),$=a&&!l&&b,A=o.useRef(null),k=o.useRef(null),C=-1;o.Children.map(u,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("menu"!==E&&t.props.selected||-1===C)&&(C=e))}));var I=o.Children.map(u,(function(t,e){return e===C?o.cloneElement(t,{ref:function(e){k.current=p.findDOMNode(e),Object(z.a)(t.ref,e)}}):t}));return o.createElement(P,Object(r.a)({getContentAnchorEl:function(){return k.current},classes:w,onClose:g,onEntering:function(t,e){A.current&&A.current.adjustStyleForScrollbar(t,T),m&&m(t,e)},anchorOrigin:"rtl"===T.direction?H:V,transformOrigin:"rtl"===T.direction?H:V,PaperProps:Object(r.a)({},y,{classes:Object(r.a)({},y.classes,{root:s.paper})}),open:b,ref:e,transitionDuration:O},M),o.createElement(U,Object(r.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),g&&g(t,"tabKeyDown"))},actions:A,autoFocus:a&&(-1===C||l),autoFocusItem:$,variant:E},h,{className:Object(f.a)(s.list,h.className)}),I))})),W=Object(h.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(q),G=n(192),K=n(216);function Y(t,e){return"object"===Object(s.a)(e)&&null!==e?t===e:String(t)===String(e)}var Z=o.forwardRef((function(t,e){var n=t["aria-label"],a=t.autoFocus,s=t.autoWidth,h=t.children,p=t.classes,g=t.className,m=t.defaultValue,b=t.disabled,v=t.displayEmpty,y=t.IconComponent,_=t.inputRef,w=t.labelId,O=t.MenuProps,x=void 0===O?{}:O,E=t.multiple,M=t.name,T=t.onBlur,$=t.onChange,A=t.onClose,k=t.onFocus,C=t.onOpen,I=t.open,P=t.readOnly,N=t.renderValue,R=t.SelectDisplayProps,j=void 0===R?{}:R,D=t.tabIndex,L=(t.type,t.value),F=t.variant,B=void 0===F?"standard":F,U=Object(i.a)(t,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),z=Object(K.a)({controlled:L,default:m,name:"Select"}),H=Object(u.a)(z,2),V=H[0],q=H[1],Z=o.useRef(null),Q=o.useState(null),X=Q[0],J=Q[1],tt=o.useRef(null!=I).current,et=o.useState(),nt=et[0],rt=et[1],it=o.useState(!1),ot=it[0],at=it[1],ut=Object(S.a)(e,_);o.useImperativeHandle(ut,(function(){return{focus:function(){X.focus()},node:Z.current,value:V}}),[X,V]),o.useEffect((function(){a&&X&&X.focus()}),[a,X]),o.useEffect((function(){if(X){var t=Object(l.a)(X).getElementById(w);if(t){var e=function(){getSelection().isCollapsed&&X.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}}),[w,X]);var st,ct,ft=function(t,e){t?C&&C(e):A&&A(e),tt||(rt(s?null:X.clientWidth),at(t))},lt=o.Children.toArray(h),dt=function(t){return function(e){var n;if(E||ft(!1,e),E){n=Array.isArray(V)?V.slice():[];var r=V.indexOf(t.props.value);-1===r?n.push(t.props.value):n.splice(r,1)}else n=t.props.value;t.props.onClick&&t.props.onClick(e),V!==n&&(q(n),$&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:n,name:M}}),$(e,t)))}},ht=null!==X&&(tt?I:ot);delete U["aria-invalid"];var pt=[],gt=!1;(Object(G.b)({value:V})||v)&&(N?st=N(V):gt=!0);var mt=lt.map((function(t){if(!o.isValidElement(t))return null;var e;if(E){if(!Array.isArray(V))throw new Error(Object(c.a)(2));(e=V.some((function(e){return Y(e,t.props.value)})))&>&&pt.push(t.props.children)}else(e=Y(V,t.props.value))&>&&(ct=t.props.children);return e&&!0,o.cloneElement(t,{"aria-selected":e?"true":void 0,onClick:dt(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));gt&&(st=E?pt.join(", "):ct);var bt,vt=nt;!s&&tt&&X&&(vt=X.clientWidth),bt="undefined"!==typeof D?D:b?null:0;var yt=j.id||(M?"mui-component-select-".concat(M):void 0);return o.createElement(o.Fragment,null,o.createElement("div",Object(r.a)({className:Object(f.a)(p.root,p.select,p.selectMenu,p[B],g,b&&p.disabled),ref:J,tabIndex:bt,role:"button","aria-disabled":b?"true":void 0,"aria-expanded":ht?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[w,yt].filter(Boolean).join(" ")||void 0,onKeyDown:function(t){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),ft(!0,t))}},onMouseDown:b||P?null:function(t){0===t.button&&(t.preventDefault(),X.focus(),ft(!0,t))},onBlur:function(t){!ht&&T&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:V,name:M}}),T(t))},onFocus:k},j,{id:yt}),function(t){return null==t||"string"===typeof t&&!t.trim()}(st)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):st),o.createElement("input",Object(r.a)({value:Array.isArray(V)?V.join(","):V,name:M,ref:Z,"aria-hidden":!0,onChange:function(t){var e=lt.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var n=lt[e];q(n.props.value),$&&$(t,n)}},tabIndex:-1,className:p.nativeInput,autoFocus:a},U)),o.createElement(y,{className:Object(f.a)(p.icon,p["icon".concat(Object(d.a)(B))],ht&&p.iconOpen,b&&p.disabled)}),o.createElement(W,Object(r.a)({id:"menu-".concat(M||""),anchorEl:X,open:ht,onClose:function(t){ft(!1,t)}},x,{MenuListProps:Object(r.a)({"aria-labelledby":w,role:"listbox",disableListWrap:!0},x.MenuListProps),PaperProps:Object(r.a)({},x.PaperProps,{style:Object(r.a)({minWidth:vt},null!=x.PaperProps?x.PaperProps.style:null)})}),mt))})),Q=n(118),X=n(105),J=n(89),tt=Object(J.a)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),et=n(1015),nt=o.forwardRef((function(t,e){var n=t.classes,a=t.className,u=t.disabled,s=t.IconComponent,c=t.inputRef,l=t.variant,h=void 0===l?"standard":l,p=Object(i.a)(t,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",Object(r.a)({className:Object(f.a)(n.root,n.select,n[h],a,u&&n.disabled),disabled:u,ref:c||e},p)),t.multiple?null:o.createElement(s,{className:Object(f.a)(n.icon,n["icon".concat(Object(d.a)(h))],u&&n.disabled)}))})),rt=function(t){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:t.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:t.palette.action.active,"&$disabled":{color:t.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},it=o.createElement(et.a,null),ot=o.forwardRef((function(t,e){var n=t.children,a=t.classes,u=t.IconComponent,s=void 0===u?tt:u,c=t.input,f=void 0===c?it:c,l=t.inputProps,d=(t.variant,Object(i.a)(t,["children","classes","IconComponent","input","inputProps","variant"])),h=Object(X.a)(),p=Object(Q.a)({props:t,muiFormControl:h,states:["variant"]});return o.cloneElement(f,Object(r.a)({inputComponent:nt,inputProps:Object(r.a)({children:n,classes:a,IconComponent:s,variant:p.variant,type:void 0},l,f?f.props.inputProps:{}),ref:e},d))}));ot.muiName="Select";Object(h.a)(rt,{name:"MuiNativeSelect"})(ot);var at=n(1016),ut=n(1140),st=rt,ct=o.createElement(et.a,null),ft=o.createElement(at.a,null),lt=o.forwardRef((function t(e,n){var u=e.autoWidth,s=void 0!==u&&u,c=e.children,f=e.classes,l=e.displayEmpty,d=void 0!==l&&l,h=e.IconComponent,p=void 0===h?tt:h,g=e.id,m=e.input,b=e.inputProps,v=e.label,y=e.labelId,_=e.labelWidth,w=void 0===_?0:_,S=e.MenuProps,O=e.multiple,x=void 0!==O&&O,E=e.native,M=void 0!==E&&E,T=e.onClose,$=e.onOpen,A=e.open,k=e.renderValue,C=e.SelectDisplayProps,I=e.variant,P=void 0===I?"standard":I,N=Object(i.a)(e,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),R=M?nt:Z,j=Object(X.a)(),D=Object(Q.a)({props:e,muiFormControl:j,states:["variant"]}).variant||P,L=m||{standard:ct,outlined:o.createElement(ut.a,{label:v,labelWidth:w}),filled:ft}[D];return o.cloneElement(L,Object(r.a)({inputComponent:R,inputProps:Object(r.a)({children:c,IconComponent:p,variant:D,type:void 0,multiple:x},M?{id:g}:{autoWidth:s,displayEmpty:d,labelId:y,MenuProps:S,onClose:T,onOpen:$,open:A,renderValue:k,SelectDisplayProps:Object(r.a)({id:g},C)},b,{classes:b?Object(a.a)({baseClasses:f,newClasses:b.classes,Component:t}):f},m?m.props.inputProps:{}),ref:n},N))}));lt.muiName="Select";e.a=Object(h.a)(st,{name:"MuiSelect"})(lt)},function(t,e,n){"use strict";var r=n(170),i=n(334),o=n(25),a=n(313),u=n(310),s=n(108),c=n(143),f=n(30),l=n(221),d=n(22);function h(t,e,n){Object(d.a)(2,arguments);var r=n||{},i=r.locale,a=i&&i.options&&i.options.weekStartsOn,u=null==a?0:Object(f.a)(a),s=null==r.weekStartsOn?u:Object(f.a)(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(o.a)(t),l=Object(f.a)(e),h=c.getUTCDay(),p=l%7,g=(p+7)%7,m=(g<s?7:0)+l-h;return c.setUTCDate(c.getUTCDate()+m),c}var p=n(336);var g=n(335);var m=n(142),b=n(127),v=/^(1[0-2]|0?\d)/,y=/^(3[0-1]|[0-2]?\d)/,_=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,w=/^(5[0-3]|[0-4]?\d)/,S=/^(2[0-3]|[0-1]?\d)/,O=/^(2[0-4]|[0-1]?\d)/,x=/^(1[0-1]|0?\d)/,E=/^(1[0-2]|0?\d)/,M=/^[0-5]?\d/,T=/^[0-5]?\d/,$=/^\d/,A=/^\d{1,2}/,k=/^\d{1,3}/,C=/^\d{1,4}/,I=/^-?\d+/,P=/^-?\d/,N=/^-?\d{1,2}/,R=/^-?\d{1,3}/,j=/^-?\d{1,4}/,D=/^([+-])(\d{2})(\d{2})?|Z/,L=/^([+-])(\d{2})(\d{2})|Z/,F=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,B=/^([+-])(\d{2}):(\d{2})|Z/,U=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function z(t,e,n){var r=e.match(t);if(!r)return null;var i=parseInt(r[0],10);return{value:n?n(i):i,rest:e.slice(r[0].length)}}function H(t,e){var n=e.match(t);return n?"Z"===n[0]?{value:0,rest:e.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:e.slice(n[0].length)}:null}function V(t,e){return z(I,t,e)}function q(t,e,n){switch(t){case 1:return z($,e,n);case 2:return z(A,e,n);case 3:return z(k,e,n);case 4:return z(C,e,n);default:return z(new RegExp("^\\d{1,"+t+"}"),e,n)}}function W(t,e,n){switch(t){case 1:return z(P,e,n);case 2:return z(N,e,n);case 3:return z(R,e,n);case 4:return z(j,e,n);default:return z(new RegExp("^-?\\d{1,"+t+"}"),e,n)}}function G(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function K(t,e){var n,r=e>0,i=r?e:1-e;if(i<=50)n=t||100;else{var o=i+50;n=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return r?n:1-n}var Y=[31,28,31,30,31,30,31,31,30,31,30,31],Z=[31,29,31,30,31,30,31,31,30,31,30,31];function Q(t){return t%400===0||t%4===0&&t%100!==0}var X={G:{priority:140,parse:function(t,e,n,r){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}},set:function(t,e,n,r){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(t,e,n,r){var i=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return q(4,t,i);case"yo":return n.ordinalNumber(t,{unit:"year",valueCallback:i});default:return q(e.length,t,i)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var i=t.getUTCFullYear();if(n.isTwoDigitYear){var o=K(n.year,i);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(t,e,n,r){var i=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return q(4,t,i);case"Yo":return n.ordinalNumber(t,{unit:"year",valueCallback:i});default:return q(e.length,t,i)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var i=Object(l.a)(t,r);if(n.isTwoDigitYear){var o=K(n.year,i);return t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(b.a)(t,r)}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(b.a)(t,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(t,e,n,r){return W("R"===e?4:e.length,t)},set:function(t,e,n,r){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),Object(m.a)(i)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(t,e,n,r){return W("u"===e?4:e.length,t)},set:function(t,e,n,r){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(t,e,n,r){switch(e){case"Q":case"QQ":return q(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(t,e,n,r){switch(e){case"q":case"qq":return q(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(t,e,n,r){var i=function(t){return t-1};switch(e){case"M":return z(v,t,i);case"MM":return q(2,t,i);case"Mo":return n.ordinalNumber(t,{unit:"month",valueCallback:i});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(t,e,n,r){var i=function(t){return t-1};switch(e){case"L":return z(v,t,i);case"LL":return q(2,t,i);case"Lo":return n.ordinalNumber(t,{unit:"month",valueCallback:i});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(t,e,n,r){switch(e){case"w":return z(w,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return Object(b.a)(function(t,e,n){Object(d.a)(2,arguments);var r=Object(o.a)(t),i=Object(f.a)(e),a=Object(g.a)(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(t,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(t,e,n,r){switch(e){case"I":return z(w,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return Object(m.a)(function(t,e){Object(d.a)(2,arguments);var n=Object(o.a)(t),r=Object(f.a)(e),i=Object(p.a)(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(t,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"d":return z(y,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return q(e.length,t)}},validate:function(t,e,n){var r=Q(t.getUTCFullYear()),i=t.getUTCMonth();return r?e>=1&&e<=Z[i]:e>=1&&e<=Y[i]},set:function(t,e,n,r){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"D":case"DD":return z(_,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return q(e.length,t)}},validate:function(t,e,n){return Q(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,n,r){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(t,e,n,r){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=h(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return q(e.length,t,i);case"eo":return n.ordinalNumber(t,{unit:"day",valueCallback:i});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=h(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return q(e.length,t,i);case"co":return n.ordinalNumber(t,{unit:"day",valueCallback:i});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=h(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(t,e,n,r){var i=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return q(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i});case"iiiii":return n.day(t,{width:"narrow",context:"formatting",valueCallback:i});case"iiiiii":return n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i});case"iiii":default:return n.day(t,{width:"wide",context:"formatting",valueCallback:i})||n.day(t,{width:"abbreviated",context:"formatting",valueCallback:i})||n.day(t,{width:"short",context:"formatting",valueCallback:i})||n.day(t,{width:"narrow",context:"formatting",valueCallback:i})}},validate:function(t,e,n){return e>=1&&e<=7},set:function(t,e,n,r){return(t=function(t,e){Object(d.a)(2,arguments);var n=Object(f.a)(e);n%7===0&&(n-=7);var r=1,i=Object(o.a)(t),a=i.getUTCDay(),u=((n%7+7)%7<r?7:0)+n-a;return i.setUTCDate(i.getUTCDate()+u),i}(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(t,e,n,r){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(G(n),0,0,0),t},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(t,e,n,r){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(G(n),0,0,0),t},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(t,e,n,r){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(G(n),0,0,0),t},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(t,e,n,r){switch(e){case"h":return z(E,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=12},set:function(t,e,n,r){var i=t.getUTCHours()>=12;return i&&n<12?t.setUTCHours(n+12,0,0,0):i||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(t,e,n,r){switch(e){case"H":return z(S,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=23},set:function(t,e,n,r){return t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(t,e,n,r){switch(e){case"K":return z(x,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(t,e,n,r){switch(e){case"k":return z(O,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=24},set:function(t,e,n,r){var i=n<=24?n%24:n;return t.setUTCHours(i,0,0,0),t},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(t,e,n,r){switch(e){case"m":return z(M,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCMinutes(n,0,0),t},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(t,e,n,r){switch(e){case"s":return z(T,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return q(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCSeconds(n,0),t},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(t,e,n,r){return q(e.length,t,(function(t){return Math.floor(t*Math.pow(10,3-e.length))}))},set:function(t,e,n,r){return t.setUTCMilliseconds(n),t},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(t,e,n,r){switch(e){case"X":return H(D,t);case"XX":return H(L,t);case"XXXX":return H(F,t);case"XXXXX":return H(U,t);case"XXX":default:return H(B,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(t,e,n,r){switch(e){case"x":return H(D,t);case"xx":return H(L,t);case"xxxx":return H(F,t);case"xxxxx":return H(U,t);case"xxx":default:return H(B,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(t,e,n,r){return V(t)},set:function(t,e,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(t,e,n,r){return V(t)},set:function(t,e,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},J=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,et=/^'([^]*?)'?$/,nt=/''/g,rt=/\S/,it=/[a-zA-Z]/;function ot(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}function at(t){return t.match(et)[1].replace(nt,"'")}var ut=n(39),st=Object(ut.a)((function(t,e,n,l){Object(d.a)(3,arguments);var h=String(t),p=String(e),g=l||{},m=g.locale||r.a;if(!m.match)throw new RangeError("locale must contain match property");var b=m.options&&m.options.firstWeekContainsDate,v=null==b?1:Object(f.a)(b),y=null==g.firstWeekContainsDate?v:Object(f.a)(g.firstWeekContainsDate);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=m.options&&m.options.weekStartsOn,w=null==_?0:Object(f.a)(_),S=null==g.weekStartsOn?w:Object(f.a)(g.weekStartsOn);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===p)return""===h?Object(o.a)(n):new Date(NaN);var O,x={firstWeekContainsDate:y,weekStartsOn:S,locale:m},E=[{priority:10,subPriority:-1,set:ot,index:0}],M=p.match(tt).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,u.a[e])(t,m.formatLong,x):t})).join("").match(J),T=[];for(O=0;O<M.length;O++){var $=M[O];!g.useAdditionalWeekYearTokens&&Object(c.b)($)&&Object(c.c)($,p,t),!g.useAdditionalDayOfYearTokens&&Object(c.a)($)&&Object(c.c)($,p,t);var A=$[0],k=X[A];if(k){var C=k.incompatibleTokens;if(Array.isArray(C)){for(var I=void 0,P=0;P<T.length;P++){var N=T[P].token;if(-1!==C.indexOf(N)||N===A){I=T[P];break}}if(I)throw new RangeError("The format string mustn't contain `".concat(I.fullToken,"` and `").concat($,"` at the same time"))}else if("*"===k.incompatibleTokens&&T.length)throw new RangeError("The format string mustn't contain `".concat($,"` and any other token at the same time"));T.push({token:A,fullToken:$});var R=k.parse(h,$,m.match,x);if(!R)return new Date(NaN);E.push({priority:k.priority,subPriority:k.subPriority||0,set:k.set,validate:k.validate,value:R.value,index:E.length}),h=R.rest}else{if(A.match(it))throw new RangeError("Format string contains an unescaped latin alphabet character `"+A+"`");if("''"===$?$="'":"'"===A&&($=at($)),0!==h.indexOf($))return new Date(NaN);h=h.slice($.length)}}if(h.length>0&&rt.test(h))return new Date(NaN);var j=E.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return E.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),D=Object(o.a)(n);if(isNaN(D))return new Date(NaN);var L=Object(i.a)(D,Object(s.a)(D)),F={};for(O=0;O<j.length;O++){var B=j[O];if(B.validate&&!B.validate(L,B.value,x))return new Date(NaN);var U=B.set(L,F,B.value,x);U[0]?(L=U[0],Object(a.a)(F,U[1])):L=U}return L}),3);e.a=st},function(t,e,n){"use strict";var r=n(302),i=n(16),o=n(72),a=n(323);var u=n(211),s=n(76),c=n(64),f=function(t){var e=function(t){return{"@@transducer/init":c.a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){var r=t["@@transducer/step"](e,n);return r["@@transducer/reduced"]?{"@@transducer/value":r,"@@transducer/reduced":!0}:r}}}(t);return{"@@transducer/init":c.a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){return Object(u.a)(n)?Object(s.a)(e,t,n):Object(s.a)(e,t,[n])}}},l=n(97),d=Object(i.a)((function(t,e){return Object(l.a)(t,f(e))})),h=Object(i.a)(Object(o.a)(["fantasy-land/chain","chain"],d,(function(t,e){return"function"===typeof e?function(n){return t(e(n))(n)}:Object(a.a)(!1)(Object(l.a)(t,e))})))(r.a);e.a=h},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(217),s=n(89),c=Object(s.a)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=Object(s.a)(o.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),l=n(24);var d=Object(l.a)((function(t){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(t){var e=t.checked,n=t.classes,r=t.fontSize;return o.createElement("div",{className:Object(a.a)(n.root,e&&n.checked)},o.createElement(c,{fontSize:r}),o.createElement(f,{fontSize:r,className:n.layer}))})),h=n(35),p=n(33),g=n(140),m=n(303);var b=o.createElement(d,{checked:!0}),v=o.createElement(d,null),y=o.forwardRef((function(t,e){var n=t.checked,s=t.classes,c=t.color,f=void 0===c?"secondary":c,l=t.name,d=t.onChange,h=t.size,y=void 0===h?"medium":h,_=Object(i.a)(t,["checked","classes","color","name","onChange","size"]),w=o.useContext(m.a),S=n,O=Object(g.a)(d,w&&w.onChange),x=l;return w&&("undefined"===typeof S&&(S=w.value===t.value),"undefined"===typeof x&&(x=w.name)),o.createElement(u.a,Object(r.a)({color:f,type:"radio",icon:o.cloneElement(v,{fontSize:"small"===y?"small":"default"}),checkedIcon:o.cloneElement(b,{fontSize:"small"===y?"small":"default"}),classes:{root:Object(a.a)(s.root,s["color".concat(Object(p.a)(f))]),checked:s.checked,disabled:s.disabled},name:x,checked:S,onChange:O,ref:e},_))}));e.a=Object(l.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(h.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(h.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiRadio"})(y)},function(t,e,n){"use strict";var r=n(17),i=n(58),o=n(4),a=n(1),u=(n(13),n(15)),s=n(24),c=n(1012),f=n(33),l=a.forwardRef((function(t,e){var n=t.classes,i=t.className,s=t.color,c=void 0===s?"default":s,l=t.component,d=void 0===l?"li":l,h=t.disableGutters,p=void 0!==h&&h,g=t.disableSticky,m=void 0!==g&&g,b=t.inset,v=void 0!==b&&b,y=Object(r.a)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return a.createElement(d,Object(o.a)({className:Object(u.a)(n.root,i,"default"!==c&&n["color".concat(Object(f.a)(c))],v&&n.inset,!m&&n.sticky,!p&&n.gutters),ref:e},y))})),d=Object(s.a)((function(t){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:t.palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},colorPrimary:{color:t.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(l),h=n(402),p=n(394),g=n(1142),m=n(89),b=Object(m.a)(a.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),v=Object(m.a)(a.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),y=n(91),_=(n(135),n(547)),w=n(216),S=n(120),O=n(139);function x(t){return"undefined"!==typeof t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function E(t,e){for(var n=0;n<t.length;n+=1)if(e(t[n]))return n;return-1}var M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.ignoreAccents,n=void 0===e||e,r=t.ignoreCase,i=void 0===r||r,o=t.limit,a=t.matchFrom,u=void 0===a?"any":a,s=t.stringify,c=t.trim,f=void 0!==c&&c;return function(t,e){var r=e.inputValue,a=e.getOptionLabel,c=f?r.trim():r;i&&(c=c.toLowerCase()),n&&(c=x(c));var l=t.filter((function(t){var e=(s||a)(t);return i&&(e=e.toLowerCase()),n&&(e=x(e)),"start"===u?0===e.indexOf(c):e.indexOf(c)>-1}));return"number"===typeof o?l.slice(0,o):l}}();function T(t){var e=t.autoComplete,n=void 0!==e&&e,r=t.autoHighlight,i=void 0!==r&&r,u=t.autoSelect,s=void 0!==u&&u,c=t.blurOnSelect,f=void 0!==c&&c,l=t.clearOnBlur,d=void 0===l?!t.freeSolo:l,h=t.clearOnEscape,p=void 0!==h&&h,g=t.componentName,m=void 0===g?"useAutocomplete":g,b=t.debug,v=void 0!==b&&b,x=t.defaultValue,T=void 0===x?t.multiple?[]:null:x,$=t.disableClearable,A=void 0!==$&&$,k=t.disableCloseOnSelect,C=void 0!==k&&k,I=t.disabledItemsFocusable,P=void 0!==I&&I,N=t.disableListWrap,R=void 0!==N&&N,j=t.filterOptions,D=void 0===j?M:j,L=t.filterSelectedOptions,F=void 0!==L&&L,B=t.freeSolo,U=void 0!==B&&B,z=t.getOptionDisabled,H=t.getOptionLabel,V=void 0===H?function(t){return t}:H,q=t.getOptionSelected,W=void 0===q?function(t,e){return t===e}:q,G=t.groupBy,K=t.handleHomeEndKeys,Y=void 0===K?!t.freeSolo:K,Z=t.id,Q=t.includeInputInList,X=void 0!==Q&&Q,J=t.inputValue,tt=t.multiple,et=void 0!==tt&&tt,nt=t.onChange,rt=t.onClose,it=t.onHighlightChange,ot=t.onInputChange,at=t.onOpen,ut=t.open,st=t.openOnFocus,ct=void 0!==st&&st,ft=t.options,lt=t.selectOnFocus,dt=void 0===lt?!t.freeSolo:lt,ht=t.value,pt=Object(_.a)(Z),gt=V;var mt=a.useRef(!1),bt=a.useRef(!0),vt=a.useRef(null),yt=a.useRef(null),_t=a.useState(null),wt=_t[0],St=_t[1],Ot=a.useState(-1),xt=Ot[0],Et=Ot[1],Mt=i?0:-1,Tt=a.useRef(Mt),$t=Object(w.a)({controlled:ht,default:T,name:m}),At=Object(y.a)($t,2),kt=At[0],Ct=At[1],It=Object(w.a)({controlled:J,default:"",name:m,state:"inputValue"}),Pt=Object(y.a)(It,2),Nt=Pt[0],Rt=Pt[1],jt=a.useState(!1),Dt=jt[0],Lt=jt[1],Ft=Object(S.a)((function(t,e){var n;if(et)n="";else if(null==e)n="";else{var r=gt(e);n="string"===typeof r?r:""}Nt!==n&&(Rt(n),ot&&ot(t,n,"reset"))}));a.useEffect((function(){Ft(null,kt)}),[kt,Ft]);var Bt=Object(w.a)({controlled:ut,default:!1,name:m,state:"open"}),Ut=Object(y.a)(Bt,2),zt=Ut[0],Ht=Ut[1],Vt=!et&&null!=kt&&Nt===gt(kt),qt=zt,Wt=qt?D(ft.filter((function(t){return!F||!(et?kt:[kt]).some((function(e){return null!==e&&W(t,e)}))})),{inputValue:Vt?"":Nt,getOptionLabel:gt}):[],Gt=Object(S.a)((function(t){-1===t?vt.current.focus():wt.querySelector('[data-tag-index="'.concat(t,'"]')).focus()}));a.useEffect((function(){et&&xt>kt.length-1&&(Et(-1),Gt(-1))}),[kt,et,xt,Gt]);var Kt=Object(S.a)((function(t){var e=t.event,n=t.index,r=t.reason,i=void 0===r?"auto":r;if(Tt.current=n,-1===n?vt.current.removeAttribute("aria-activedescendant"):vt.current.setAttribute("aria-activedescendant","".concat(pt,"-option-").concat(n)),it&&it(e,-1===n?null:Wt[n],i),yt.current){var o=yt.current.querySelector("[data-focus]");o&&o.removeAttribute("data-focus");var a=yt.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==n){var u=yt.current.querySelector('[data-option-index="'.concat(n,'"]'));if(u&&(u.setAttribute("data-focus","true"),a.scrollHeight>a.clientHeight&&"mouse"!==i)){var s=u,c=a.clientHeight+a.scrollTop,f=s.offsetTop+s.offsetHeight;f>c?a.scrollTop=f-a.clientHeight:s.offsetTop-s.offsetHeight*(G?1.3:0)<a.scrollTop&&(a.scrollTop=s.offsetTop-s.offsetHeight*(G?1.3:0))}}else a.scrollTop=0}})),Yt=Object(S.a)((function(t){var e=t.event,r=t.diff,i=t.direction,o=void 0===i?"next":i,a=t.reason,u=void 0===a?"auto":a;if(qt){var s=function(t,e){if(!yt.current||-1===t)return-1;for(var n=t;;){if("next"===e&&n===Wt.length||"previous"===e&&-1===n)return-1;var r=yt.current.querySelector('[data-option-index="'.concat(n,'"]')),i=!P&&r&&(r.disabled||"true"===r.getAttribute("aria-disabled"));if(!(r&&!r.hasAttribute("tabindex")||i))return n;n+="next"===e?1:-1}}(function(){var t=Wt.length-1;if("reset"===r)return Mt;if("start"===r)return 0;if("end"===r)return t;var e=Tt.current+r;return e<0?-1===e&&X?-1:R&&-1!==Tt.current||Math.abs(r)>1?0:t:e>t?e===t+1&&X?-1:R||Math.abs(r)>1?t:0:e}(),o);if(Kt({index:s,reason:u,event:e}),n&&"reset"!==r)if(-1===s)vt.current.value=Nt;else{var c=gt(Wt[s]);vt.current.value=c,0===c.toLowerCase().indexOf(Nt.toLowerCase())&&Nt.length>0&&vt.current.setSelectionRange(Nt.length,c.length)}}})),Zt=a.useCallback((function(){if(qt){var t=et?kt[0]:kt;if(0!==Wt.length&&null!=t){if(yt.current)if(F||null==t)Tt.current>=Wt.length-1?Kt({index:Wt.length-1}):Kt({index:Tt.current});else{var e=Wt[Tt.current];if(et&&e&&-1!==E(kt,(function(t){return W(e,t)})))return;var n=E(Wt,(function(e){return W(e,t)}));-1===n?Yt({diff:"reset"}):Kt({index:n})}}else Yt({diff:"reset"})}}),[0===Wt.length,!et&&kt,F,Yt,Kt,qt,Nt,et]),Qt=Object(S.a)((function(t){Object(O.a)(yt,t),t&&Zt()}));a.useEffect((function(){Zt()}),[Zt]);var Xt=function(t){zt||(Ht(!0),at&&at(t))},Jt=function(t,e){zt&&(Ht(!1),rt&&rt(t,e))},te=function(t,e,n,r){kt!==e&&(nt&&nt(t,e,n,r),Ct(e))},ee=a.useRef(!1),ne=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",i=n,o=e;if(et){var a=E(o=Array.isArray(kt)?kt.slice():[],(function(t){return W(e,t)}));-1===a?o.push(e):"freeSolo"!==r&&(o.splice(a,1),i="remove-option")}Ft(t,o),te(t,o,i,{option:e}),C||Jt(t,i),(!0===f||"touch"===f&&ee.current||"mouse"===f&&!ee.current)&&vt.current.blur()};var re=function(t,e){if(et){Jt(t,"toggleInput");var n=xt;-1===xt?""===Nt&&"previous"===e&&(n=kt.length-1):((n+="next"===e?1:-1)<0&&(n=0),n===kt.length&&(n=-1)),n=function(t,e){if(-1===t)return-1;for(var n=t;;){if("next"===e&&n===kt.length||"previous"===e&&-1===n)return-1;var r=wt.querySelector('[data-tag-index="'.concat(n,'"]'));if(!r||r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===e?1:-1}}(n,e),Et(n),Gt(n)}},ie=function(t){mt.current=!0,Rt(""),ot&&ot(t,"","clear"),te(t,et?[]:null,"clear")},oe=function(t){return function(e){switch(-1!==xt&&-1===["ArrowLeft","ArrowRight"].indexOf(e.key)&&(Et(-1),Gt(-1)),e.key){case"Home":qt&&Y&&(e.preventDefault(),Yt({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":qt&&Y&&(e.preventDefault(),Yt({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),Yt({diff:-5,direction:"previous",reason:"keyboard",event:e}),Xt(e);break;case"PageDown":e.preventDefault(),Yt({diff:5,direction:"next",reason:"keyboard",event:e}),Xt(e);break;case"ArrowDown":e.preventDefault(),Yt({diff:1,direction:"next",reason:"keyboard",event:e}),Xt(e);break;case"ArrowUp":e.preventDefault(),Yt({diff:-1,direction:"previous",reason:"keyboard",event:e}),Xt(e);break;case"ArrowLeft":re(e,"previous");break;case"ArrowRight":re(e,"next");break;case"Enter":if(229===e.which)break;if(-1!==Tt.current&&qt){var r=Wt[Tt.current],i=!!z&&z(r);if(e.preventDefault(),i)return;ne(e,r,"select-option"),n&&vt.current.setSelectionRange(vt.current.value.length,vt.current.value.length)}else U&&""!==Nt&&!1===Vt&&(et&&e.preventDefault(),ne(e,Nt,"create-option","freeSolo"));break;case"Escape":qt?(e.preventDefault(),e.stopPropagation(),Jt(e,"escape")):p&&(""!==Nt||et&&kt.length>0)&&(e.preventDefault(),e.stopPropagation(),ie(e));break;case"Backspace":if(et&&""===Nt&&kt.length>0){var o=-1===xt?kt.length-1:xt,a=kt.slice();a.splice(o,1),te(e,a,"remove-option",{option:kt[o]})}}t.onKeyDown&&t.onKeyDown(e)}},ae=function(t){Lt(!0),ct&&!mt.current&&Xt(t)},ue=function(t){null===yt.current||document.activeElement!==yt.current.parentElement?(Lt(!1),bt.current=!0,mt.current=!1,v&&""!==Nt||(s&&-1!==Tt.current&&qt?ne(t,Wt[Tt.current],"blur"):s&&U&&""!==Nt?ne(t,Nt,"blur","freeSolo"):d&&Ft(t,kt),Jt(t,"blur"))):vt.current.focus()},se=function(t){var e=t.target.value;Nt!==e&&(Rt(e),ot&&ot(t,e,"input")),""===e?A||et||te(t,null,"clear"):Xt(t)},ce=function(t){Kt({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},fe=function(){ee.current=!0},le=function(t){var e=Number(t.currentTarget.getAttribute("data-option-index"));ne(t,Wt[e],"select-option"),ee.current=!1},de=function(t){return function(e){var n=kt.slice();n.splice(t,1),te(e,n,"remove-option",{option:kt[t]})}},he=function(t){zt?Jt(t,"toggleInput"):Xt(t)},pe=function(t){t.target.getAttribute("id")!==pt&&t.preventDefault()},ge=function(){vt.current.focus(),dt&&bt.current&&vt.current.selectionEnd-vt.current.selectionStart===0&&vt.current.select(),bt.current=!1},me=function(t){""!==Nt&&zt||he(t)},be=U&&Nt.length>0;be=be||(et?kt.length>0:null!==kt);var ve=Wt;if(G){new Map;ve=Wt.reduce((function(t,e,n){var r=G(e);return t.length>0&&t[t.length-1].group===r?t[t.length-1].options.push(e):t.push({key:n,index:n,group:r,options:[e]}),t}),[])}return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({"aria-owns":qt?"".concat(pt,"-popup"):null,role:"combobox","aria-expanded":qt},t,{onKeyDown:oe(t),onMouseDown:pe,onClick:ge})},getInputLabelProps:function(){return{id:"".concat(pt,"-label"),htmlFor:pt}},getInputProps:function(){return{id:pt,value:Nt,onBlur:ue,onFocus:ae,onChange:se,onMouseDown:me,"aria-activedescendant":qt?"":null,"aria-autocomplete":n?"both":"list","aria-controls":qt?"".concat(pt,"-popup"):null,autoComplete:"off",ref:vt,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function(){return{tabIndex:-1,onClick:ie}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:he}},getTagProps:function(t){var e=t.index;return{key:e,"data-tag-index":e,tabIndex:-1,onDelete:de(e)}},getListboxProps:function(){return{role:"listbox",id:"".concat(pt,"-popup"),"aria-labelledby":"".concat(pt,"-label"),ref:Qt,onMouseDown:function(t){t.preventDefault()}}},getOptionProps:function(t){var e=t.index,n=t.option,r=(et?kt:[kt]).some((function(t){return null!=t&&W(n,t)})),i=!!z&&z(n);return{key:e,tabIndex:-1,role:"option",id:"".concat(pt,"-option-").concat(e),onMouseOver:ce,onClick:le,onTouchStart:fe,"data-option-index":e,"aria-disabled":i,"aria-selected":r}},id:pt,inputValue:Nt,value:kt,dirty:be,popupOpen:qt,focused:Dt||-1!==xt,anchorEl:wt,setAnchorEl:St,focusedTag:xt,groupedOptions:ve}}function $(t){t.anchorEl,t.open;var e=Object(r.a)(t,["anchorEl","open"]);return a.createElement("div",e)}var A=a.createElement(b,{fontSize:"small"}),k=a.createElement(v,null),C=a.forwardRef((function(t,e){t.autoComplete,t.autoHighlight,t.autoSelect,t.blurOnSelect;var n,i=t.ChipProps,s=t.classes,f=t.className,l=t.clearOnBlur,m=(void 0===l&&t.freeSolo,t.clearOnEscape,t.clearText),b=void 0===m?"Clear":m,v=t.closeIcon,y=void 0===v?A:v,_=t.closeText,w=void 0===_?"Close":_,S=(t.debug,t.defaultValue),O=(void 0===S&&t.multiple,t.disableClearable),x=void 0!==O&&O,E=(t.disableCloseOnSelect,t.disabled),M=void 0!==E&&E,C=(t.disabledItemsFocusable,t.disableListWrap,t.disablePortal),I=void 0!==C&&C,P=(t.filterOptions,t.filterSelectedOptions,t.forcePopupIcon),N=void 0===P?"auto":P,R=t.freeSolo,j=void 0!==R&&R,D=t.fullWidth,L=void 0!==D&&D,F=t.getLimitTagsText,B=void 0===F?function(t){return"+".concat(t)}:F,U=(t.getOptionDisabled,t.getOptionLabel),z=void 0===U?function(t){return t}:U,H=(t.getOptionSelected,t.groupBy),V=t.handleHomeEndKeys,q=(void 0===V&&t.freeSolo,t.id,t.includeInputInList,t.inputValue,t.limitTags),W=void 0===q?-1:q,G=t.ListboxComponent,K=void 0===G?"ul":G,Y=t.ListboxProps,Z=t.loading,Q=void 0!==Z&&Z,X=t.loadingText,J=void 0===X?"Loading\u2026":X,tt=t.multiple,et=void 0!==tt&&tt,nt=t.noOptionsText,rt=void 0===nt?"No options":nt,it=(t.onChange,t.onClose,t.onHighlightChange,t.onInputChange,t.onOpen,t.open,t.openOnFocus,t.openText),ot=void 0===it?"Open":it,at=(t.options,t.PaperComponent),ut=void 0===at?h.a:at,st=t.PopperComponent,ct=void 0===st?c.a:st,ft=t.popupIcon,lt=void 0===ft?k:ft,dt=t.renderGroup,ht=t.renderInput,pt=t.renderOption,gt=t.renderTags,mt=t.selectOnFocus,bt=(void 0===mt&&t.freeSolo,t.size),vt=void 0===bt?"medium":bt,yt=(t.value,Object(r.a)(t,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),_t=I?$:ct,wt=T(Object(o.a)({},t,{componentName:"Autocomplete"})),St=wt.getRootProps,Ot=wt.getInputProps,xt=wt.getInputLabelProps,Et=wt.getPopupIndicatorProps,Mt=wt.getClearProps,Tt=wt.getTagProps,$t=wt.getListboxProps,At=wt.getOptionProps,kt=wt.value,Ct=wt.dirty,It=wt.id,Pt=wt.popupOpen,Nt=wt.focused,Rt=wt.focusedTag,jt=wt.anchorEl,Dt=wt.setAnchorEl,Lt=wt.inputValue,Ft=wt.groupedOptions;if(et&&kt.length>0){var Bt=function(t){return Object(o.a)({className:Object(u.a)(s.tag,"small"===vt&&s.tagSizeSmall),disabled:M},Tt(t))};n=gt?gt(kt,Bt):kt.map((function(t,e){return a.createElement(g.a,Object(o.a)({label:z(t),size:vt},Bt({index:e}),i))}))}if(W>-1&&Array.isArray(n)){var Ut=n.length-W;!Nt&&Ut>0&&(n=n.splice(0,W)).push(a.createElement("span",{className:s.tag,key:n.length},B(Ut)))}var zt=dt||function(t){return a.createElement("li",{key:t.key},a.createElement(d,{className:s.groupLabel,component:"div"},t.group),a.createElement("ul",{className:s.groupUl},t.children))},Ht=pt||z,Vt=function(t,e){var n=At({option:t,index:e});return a.createElement("li",Object(o.a)({},n,{className:s.option}),Ht(t,{selected:n["aria-selected"],inputValue:Lt}))},qt=!x&&!M,Wt=(!j||!0===N)&&!1!==N;return a.createElement(a.Fragment,null,a.createElement("div",Object(o.a)({ref:e,className:Object(u.a)(s.root,f,Nt&&s.focused,L&&s.fullWidth,qt&&s.hasClearIcon,Wt&&s.hasPopupIcon)},St(yt)),ht({id:It,disabled:M,fullWidth:!0,size:"small"===vt?"small":void 0,InputLabelProps:xt(),InputProps:{ref:Dt,className:s.inputRoot,startAdornment:n,endAdornment:a.createElement("div",{className:s.endAdornment},qt?a.createElement(p.a,Object(o.a)({},Mt(),{"aria-label":b,title:b,className:Object(u.a)(s.clearIndicator,Ct&&s.clearIndicatorDirty)}),y):null,Wt?a.createElement(p.a,Object(o.a)({},Et(),{disabled:M,"aria-label":Pt?w:ot,title:Pt?w:ot,className:Object(u.a)(s.popupIndicator,Pt&&s.popupIndicatorOpen)}),lt):null)},inputProps:Object(o.a)({className:Object(u.a)(s.input,-1===Rt&&s.inputFocused),disabled:M},Ot())})),Pt&&jt?a.createElement(_t,{className:Object(u.a)(s.popper,I&&s.popperDisablePortal),style:{width:jt?jt.clientWidth:null},role:"presentation",anchorEl:jt,open:!0},a.createElement(ut,{className:s.paper},Q&&0===Ft.length?a.createElement("div",{className:s.loading},J):null,0!==Ft.length||j||Q?null:a.createElement("div",{className:s.noOptions},rt),Ft.length>0?a.createElement(K,Object(o.a)({className:s.listbox},$t(),Y),Ft.map((function(t,e){return H?zt({key:t.key,group:t.group,children:t.options.map((function(e,n){return Vt(e,t.index+n)}))}):Vt(t,e)}))):null)):null)}));e.a=Object(s.a)((function(t){var e;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0},inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:t.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:Object(o.a)({},t.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:t.palette.text.secondary,padding:"14px 16px"},noOptions:{color:t.palette.text.secondary,padding:"14px 16px"},option:(e={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},Object(i.a)(e,t.breakpoints.up("sm"),{minHeight:"auto"}),Object(i.a)(e,'&[aria-selected="true"]',{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[data-focus="true"]',{backgroundColor:t.palette.action.hover}),Object(i.a)(e,"&:active",{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[aria-disabled="true"]',{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"}),e),groupLabel:{backgroundColor:t.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(C)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(217),s=n(89),c=Object(s.a)(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),f=Object(s.a)(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),l=n(35),d=Object(s.a)(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),h=n(33),p=n(24),g=o.createElement(f,null),m=o.createElement(c,null),b=o.createElement(d,null),v=o.forwardRef((function(t,e){var n=t.checkedIcon,s=void 0===n?g:n,c=t.classes,f=t.color,l=void 0===f?"secondary":f,d=t.icon,p=void 0===d?m:d,v=t.indeterminate,y=void 0!==v&&v,_=t.indeterminateIcon,w=void 0===_?b:_,S=t.inputProps,O=t.size,x=void 0===O?"medium":O,E=Object(i.a)(t,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),M=y?w:p,T=y?w:s;return o.createElement(u.a,Object(r.a)({type:"checkbox",classes:{root:Object(a.a)(c.root,c["color".concat(Object(h.a)(l))],y&&c.indeterminate),checked:c.checked,disabled:c.disabled},color:l,inputProps:Object(r.a)({"data-indeterminate":y},S),icon:o.cloneElement(M,{fontSize:void 0===M.props.fontSize&&"small"===x?x:M.props.fontSize}),checkedIcon:o.cloneElement(T,{fontSize:void 0===T.props.fontSize&&"small"===x?x:T.props.fontSize}),ref:e},E))}));e.a=Object(p.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(l.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(l.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiCheckbox"})(v)},function(t,e,n){"use strict";var r=n(329),i=n(32),o=n(16),a=n(138),u=n(85),s=n(315),c=n(316),f=n(163),l=Object(o.a)((function(t,e){return Object(u.a)(Object(f.a)(s.a,0,Object(c.a)("length",e)),(function(){var n=arguments,r=this;return t.apply(r,Object(a.a)((function(t){return t.apply(r,n)}),e))}))})),d=Object(i.a)((function(t){return l((function(){return Array.prototype.slice.call(arguments,0)}),t)})),h=n(223),p=d([r.a,h.a]);e.a=p},function(t,e,n){"use strict";var r=n(247);function i(t,e,n,o){var a,u=function(r){for(var a=e.length,u=0;u<a;){if(t===e[u])return n[u];u+=1}for(var s in e[u+1]=t,n[u+1]=r,t)r[s]=o?i(t[s],e,n,!0):t[s];return r};switch(Object(r.a)(t)){case"Object":return u({});case"Array":return u([]);case"Date":return new Date(t.valueOf());case"RegExp":return a=t,new RegExp(a.source,(a.global?"g":"")+(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.sticky?"y":"")+(a.unicode?"u":""));default:return t}}var o=n(32),a=Object(o.a)((function(t){return null!=t&&"function"===typeof t.clone?t.clone():i(t,[],[],!0)}));e.a=a},function(t,e,n){"use strict";var r=n(138),i=n(301),o=n(16),a=Object(o.a)((function(t,e){for(var n={},r=0,i=t.length;r<i;){var o=t[r];n[o]=e[o],r+=1}return n})),u=n(85),s=Object(o.a)((function(t,e){return Object(u.a)(e.length,(function(){for(var n=[],r=0;r<e.length;)n.push(e[r].call(this,arguments[r])),r+=1;return t.apply(this,n.concat(Array.prototype.slice.call(arguments,e.length)))}))}))(r.a,[a,i.a]);e.a=s},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(331);function a(t,e){return Object(o.a)(t<e.length?e.length-t:0,e)}var u=n(64),s=function(){function t(t,e){this.xf=e,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=u.a.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(e),t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},t}(),c=Object(r.a)((function(t,e){return new s(t,e)})),f=Object(r.a)(Object(i.a)([],c,a));e.a=f},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(104);function a(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return Object(o.a)(0,n+1,e)}var u=n(76),s=n(64),c=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=Object(u.a)(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},t}(),f=Object(r.a)((function(t,e){return new c(t,e)})),l=Object(r.a)(Object(i.a)([],f,a));e.a=l},function(t,e,n){"use strict";var r=n(4),i=n(107),o=n(17),a=n(1),u=(n(103),n(13),n(15)),s=n(24),c=n(974),f=n(35),l=n(89),d=Object(l.a)(a.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),h=n(337);var p=Object(s.a)((function(t){return{root:{display:"flex",marginLeft:t.spacing(.5),marginRight:t.spacing(.5),backgroundColor:t.palette.grey[100],color:t.palette.grey[700],borderRadius:2,cursor:"pointer","&:hover, &:focus":{backgroundColor:t.palette.grey[200]},"&:active":{boxShadow:t.shadows[0],backgroundColor:Object(f.c)(t.palette.grey[200],.12)}},icon:{width:24,height:16}}}),{name:"PrivateBreadcrumbCollapsed"})((function(t){var e=t.classes,n=Object(o.a)(t,["classes"]);return a.createElement(h.a,Object(r.a)({component:"li",className:e.root,focusRipple:!0},n),a.createElement(d,{className:e.icon}))}));var g=a.forwardRef((function(t,e){var n=t.children,s=t.classes,f=t.className,l=t.component,d=void 0===l?"nav":l,h=t.expandText,g=void 0===h?"Show path":h,m=t.itemsAfterCollapse,b=void 0===m?1:m,v=t.itemsBeforeCollapse,y=void 0===v?1:v,_=t.maxItems,w=void 0===_?8:_,S=t.separator,O=void 0===S?"/":S,x=Object(o.a)(t,["children","classes","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),E=a.useState(!1),M=E[0],T=E[1],$=a.Children.toArray(n).filter((function(t){return a.isValidElement(t)})).map((function(t,e){return a.createElement("li",{className:s.li,key:"child-".concat(e)},t)}));return a.createElement(c.a,Object(r.a)({ref:e,component:d,color:"textSecondary",className:Object(u.a)(s.root,f)},x),a.createElement("ol",{className:s.ol},function(t,e,n){return t.reduce((function(r,i,o){return o<t.length-1?r=r.concat(i,a.createElement("li",{"aria-hidden":!0,key:"separator-".concat(o),className:e},n)):r.push(i),r}),[])}(M||w&&$.length<=w?$:function(t){return y+b>=t.length?t:[].concat(Object(i.a)(t.slice(0,y)),[a.createElement(p,{"aria-label":g,key:"ellipsis",onClick:function(t){T(!0);var e=t.currentTarget.parentNode.querySelector("a[href],button,[tabindex]");e&&e.focus()}})],Object(i.a)(t.slice(t.length-b,t.length)))}($),s.separator,O)))}));e.a=Object(s.a)({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"},li:{},separator:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"MuiBreadcrumbs"})(g)},function(t,e,n){"use strict";var r=n(25),i=n(30),o=n(325),a=n(22);function u(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(t),u=Object(i.a)(e),s=n.getFullYear(),c=n.getDate(),f=new Date(0);f.setFullYear(s,u,15),f.setHours(0,0,0,0);var l=Object(o.a)(f);return n.setMonth(u,Math.min(c,l)),n}var s=n(39),c=Object(s.a)((function(t,e){if(Object(a.a)(2,arguments),"object"!==typeof e||null===e)throw new RangeError("values parameter must be an object");var n=Object(r.a)(t);return isNaN(n.getTime())?new Date(NaN):(null!=e.year&&n.setFullYear(e.year),null!=e.month&&(n=u(n,e.month)),null!=e.date&&n.setDate(Object(i.a)(e.date)),null!=e.hours&&n.setHours(Object(i.a)(e.hours)),null!=e.minutes&&n.setMinutes(Object(i.a)(e.minutes)),null!=e.seconds&&n.setSeconds(Object(i.a)(e.seconds)),null!=e.milliseconds&&n.setMilliseconds(Object(i.a)(e.milliseconds)),n)}),2);e.a=c},function(t,e,n){"use strict";var r,i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var a=n(572),u=[],s=0;s<256;++s)u.push((s+256).toString(16).substr(1));var c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[t[e+0]]+u[t[e+1]]+u[t[e+2]]+u[t[e+3]]+"-"+u[t[e+4]]+u[t[e+5]]+"-"+u[t[e+6]]+u[t[e+7]]+"-"+u[t[e+8]]+u[t[e+9]]+"-"+u[t[e+10]]+u[t[e+11]]+u[t[e+12]]+u[t[e+13]]+u[t[e+14]]+u[t[e+15]]).toLowerCase();if(!Object(a.a)(n))throw TypeError("Stringified UUID is invalid");return n};e.a=function(t,e,n){var r=(t=t||{}).random||(t.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return c(r)}},function(t,e,n){"use strict";var r=n(32),i=n(289),o=n(93),a=n(188),u=n(124),s=Object(r.a)((function(t){return null!=t&&"function"===typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"===typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"===typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"===typeof t.constructor.empty?t.constructor.empty():Object(o.a)(t)?[]:Object(u.a)(t)?"":Object(a.a)(t)?{}:Object(i.a)(t)?function(){return arguments}():void 0})),c=n(119),f=Object(r.a)((function(t){return null!=t&&Object(c.a)(t,s(t))}));e.a=f},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(167),a=n(64),u=function(){function t(t,e){this.xf=e,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=a.a.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.found=!0,t=Object(o.a)(this.xf["@@transducer/step"](t,e))),t},t}(),s=Object(r.a)((function(t,e){return new u(t,e)})),c=Object(r.a)(Object(i.a)(["find"],s,(function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return e[n];n+=1}})));e.a=c},function(t,e,n){"use strict";var r=n(16),i=n(193),o=Object(r.a)((function(t,e){return t&&e})),a=n(327),u=Object(r.a)((function(t,e){return Object(i.a)(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:Object(a.a)(o)(t,e)}));e.a=u},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(167),a=n(64),u=function(){function t(t,e){this.xf=e,this.f=t,this.any=!1}return t.prototype["@@transducer/init"]=a.a.init,t.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.any=!0,t=Object(o.a)(this.xf["@@transducer/step"](t,!0))),t},t}(),s=Object(r.a)((function(t,e){return new u(t,e)})),c=Object(r.a)(Object(i.a)(["any"],s,(function(t,e){for(var n=0;n<e.length;){if(t(e[n]))return!0;n+=1}return!1})));e.a=c},function(t,e,n){"use strict";var r=n(16),i=n(72),o=n(167),a=n(64),u=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=a.a.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.found=!0,t=Object(o.a)(this.xf["@@transducer/step"](t,this.idx))),t},t}(),s=Object(r.a)((function(t,e){return new u(t,e)})),c=Object(r.a)(Object(i.a)([],s,(function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return n;n+=1}return-1})));e.a=c},function(t,e,n){"use strict";var r=n(16),i=n(61),o=Object(r.a)((function(t,e){if(0===t.length)return!1;for(var n=e,r=0;r<t.length;){if(!Object(i.a)(t[r],n))return!1;n=n[t[r]],r+=1}return!0})),a=Object(r.a)((function(t,e){return o([t],e)}));e.a=a},function(t,e,n){"use strict";var r=n(41),i=n(555),o=n(32),a=Object(o.a)((function(t){return function(){return t}})),u=Object(r.a)((function(t,e,n){return Object(i.a)(t,a(e),n)}));e.a=u},function(t,e,n){"use strict";var r=n(16),i=n(41),o=n(188),a=n(319),u=Object(i.a)((function t(e,n,r){return Object(a.a)((function(n,r,i){return Object(o.a)(r)&&Object(o.a)(i)?t(e,r,i):e(n,r,i)}),n,r)})),s=Object(r.a)((function(t,e){return u((function(t,e,n){return n}),t,e)}));e.a=s},function(t,e,n){"use strict";var r=n(32);function i(t){return[t]}var o=Object(r.a)(i);e.a=o},function(t,e,n){"use strict";var r=n(16),i=n(119),o=n(97),a=n(61),u=Object(r.a)((function(t,e){for(var n in t)if(Object(a.a)(n,t)&&!t[n](e[n]))return!1;return!0})),s=Object(r.a)((function(t,e){return u(Object(o.a)(i.a,t),e)}));e.a=s},function(t,e,n){"use strict";var r=n(32),i=n(571),o=n(16),a=n(97),u=Object(o.a)((function(t,e){return function(n){return function(r){return Object(a.a)((function(t){return e(t,r)}),n(t(r)))}}})),s=n(210),c=Object(r.a)((function(t){return u(Object(s.a)(t),Object(i.a)(t))}));e.a=c},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(1015),s=n(1016),c=n(1140),f=n(1141),l=n(1017),d=n(118),h=n(105),p=n(24),g=o.forwardRef((function(t,e){var n=t.children,u=t.classes,s=t.className,c=t.component,f=void 0===c?"p":c,l=(t.disabled,t.error,t.filled,t.focused,t.margin,t.required,t.variant,Object(i.a)(t,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),p=Object(h.a)(),g=Object(d.a)({props:t,muiFormControl:p,states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(f,Object(r.a)({className:Object(a.a)(u.root,("filled"===g.variant||"outlined"===g.variant)&&u.contained,s,g.disabled&&u.disabled,g.error&&u.error,g.filled&&u.filled,g.focused&&u.focused,g.required&&u.required,"dense"===g.margin&&u.marginDense),ref:e},l)," "===n?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)})),m=Object(p.a)((function(t){return{root:Object(r.a)({color:t.palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(g),b=n(1114),v={standard:u.a,filled:s.a,outlined:c.a},y=o.forwardRef((function(t,e){var n=t.autoComplete,u=t.autoFocus,s=void 0!==u&&u,c=t.children,d=t.classes,h=t.className,p=t.color,g=void 0===p?"primary":p,y=t.defaultValue,_=t.disabled,w=void 0!==_&&_,S=t.error,O=void 0!==S&&S,x=t.FormHelperTextProps,E=t.fullWidth,M=void 0!==E&&E,T=t.helperText,$=t.hiddenLabel,A=t.id,k=t.InputLabelProps,C=t.inputProps,I=t.InputProps,P=t.inputRef,N=t.label,R=t.multiline,j=void 0!==R&&R,D=t.name,L=t.onBlur,F=t.onChange,B=t.onFocus,U=t.placeholder,z=t.required,H=void 0!==z&&z,V=t.rows,q=t.rowsMax,W=t.select,G=void 0!==W&&W,K=t.SelectProps,Y=t.type,Z=t.value,Q=t.variant,X=void 0===Q?"standard":Q,J=Object(i.a)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var tt={};if("outlined"===X&&(k&&"undefined"!==typeof k.shrink&&(tt.notched=k.shrink),N)){var et,nt=null!==(et=null===k||void 0===k?void 0:k.required)&&void 0!==et?et:H;tt.label=o.createElement(o.Fragment,null,N,nt&&"\xa0*")}G&&(K&&K.native||(tt.id=void 0),tt["aria-describedby"]=void 0);var rt=T&&A?"".concat(A,"-helper-text"):void 0,it=N&&A?"".concat(A,"-label"):void 0,ot=v[X],at=o.createElement(ot,Object(r.a)({"aria-describedby":rt,autoComplete:n,autoFocus:s,defaultValue:y,fullWidth:M,multiline:j,name:D,rows:V,rowsMax:q,type:Y,value:Z,id:A,inputRef:P,onBlur:L,onChange:F,onFocus:B,placeholder:U,inputProps:C},tt,I));return o.createElement(l.a,Object(r.a)({className:Object(a.a)(d.root,h),disabled:w,error:O,fullWidth:M,hiddenLabel:$,ref:e,required:H,color:g,variant:X},J),N&&o.createElement(f.a,Object(r.a)({htmlFor:A,id:it},k),N),G?o.createElement(b.a,Object(r.a)({"aria-describedby":rt,id:A,labelId:it,value:Z,input:at},K),c):at,T&&o.createElement(m,Object(r.a)({id:rt},x),T))}));e.a=Object(p.a)({root:{}},{name:"MuiTextField"})(y)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(576),s=n(58),c=n(24),f=n(96),l=n(33),d=o.forwardRef((function(t,e){t.children;var n=t.classes,u=t.className,c=t.label,d=t.labelWidth,h=t.notched,p=t.style,g=Object(i.a)(t,["children","classes","className","label","labelWidth","notched","style"]),m="rtl"===Object(f.a)().direction?"right":"left";if(void 0!==c)return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,className:Object(a.a)(n.root,u),ref:e,style:p},g),o.createElement("legend",{className:Object(a.a)(n.legendLabelled,h&&n.legendNotched)},c?o.createElement("span",null,c):o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var b=d>0?.75*d+8:.01;return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,style:Object(r.a)(Object(s.a)({},"padding".concat(Object(l.a)(m)),8),p),className:Object(a.a)(n.root,u),ref:e},g),o.createElement("legend",{className:n.legend,style:{width:h?b:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),h=Object(c.a)((function(t){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(d),p=o.forwardRef((function(t,e){var n=t.classes,s=t.fullWidth,c=void 0!==s&&s,f=t.inputComponent,l=void 0===f?"input":f,d=t.label,p=t.labelWidth,g=void 0===p?0:p,m=t.multiline,b=void 0!==m&&m,v=t.notched,y=t.type,_=void 0===y?"text":y,w=Object(i.a)(t,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(u.a,Object(r.a)({renderSuffix:function(t){return o.createElement(h,{className:n.notchedOutline,label:d,labelWidth:g,notched:"undefined"!==typeof v?v:Boolean(t.startAdornment||t.filled||t.focused)})},classes:Object(r.a)({},n,{root:Object(a.a)(n.root,n.underline),notchedOutline:null}),fullWidth:c,inputComponent:l,multiline:b,ref:e,type:_},w))}));p.muiName="Input";e.a=Object(c.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:t.shape.borderRadius,"&:hover $notchedOutline":{borderColor:t.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:e}},"&$focused $notchedOutline":{borderColor:t.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:t.palette.error.main},"&$disabled $notchedOutline":{borderColor:t.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:t.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:e},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(p)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(118),s=n(105),c=n(24),f=n(33),l=o.forwardRef((function(t,e){var n=t.children,c=t.classes,l=t.className,d=(t.color,t.component),h=void 0===d?"label":d,p=(t.disabled,t.error,t.filled,t.focused,t.required,Object(i.a)(t,["children","classes","className","color","component","disabled","error","filled","focused","required"])),g=Object(s.a)(),m=Object(u.a)({props:t,muiFormControl:g,states:["color","required","focused","disabled","error","filled"]});return o.createElement(h,Object(r.a)({className:Object(a.a)(c.root,c["color".concat(Object(f.a)(m.color||"primary"))],l,m.disabled&&c.disabled,m.error&&c.error,m.filled&&c.filled,m.focused&&c.focused,m.required&&c.required),ref:e},p),n,m.required&&o.createElement("span",{"aria-hidden":!0,className:Object(a.a)(c.asterisk,m.error&&c.error)},"\u2009","*"))})),d=Object(c.a)((function(t){return{root:Object(r.a)({color:t.palette.text.secondary},t.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),colorSecondary:{"&$focused":{color:t.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:t.palette.error.main}}}}),{name:"MuiFormLabel"})(l),h=o.forwardRef((function(t,e){var n=t.classes,c=t.className,f=t.disableAnimation,l=void 0!==f&&f,h=(t.margin,t.shrink),p=(t.variant,Object(i.a)(t,["classes","className","disableAnimation","margin","shrink","variant"])),g=Object(s.a)(),m=h;"undefined"===typeof m&&g&&(m=g.filled||g.focused||g.adornedStart);var b=Object(u.a)({props:t,muiFormControl:g,states:["margin","variant"]});return o.createElement(d,Object(r.a)({"data-shrink":m,className:Object(a.a)(n.root,c,g&&n.formControl,!l&&n.animated,m&&n.shrink,"dense"===b.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[b.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:e},p))}));e.a=Object(c.a)((function(t){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:t.transitions.create(["color","transform"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(h)},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(13),n(15)),u=n(89),s=Object(u.a)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),c=n(24),f=n(35),l=n(44),d=n(33),h=n(337);function p(t){return"Backspace"===t.key||"Delete"===t.key}var g=o.forwardRef((function(t,e){var n=t.avatar,u=t.classes,c=t.className,f=t.clickable,g=t.color,m=void 0===g?"default":g,b=t.component,v=t.deleteIcon,y=t.disabled,_=void 0!==y&&y,w=t.icon,S=t.label,O=t.onClick,x=t.onDelete,E=t.onKeyDown,M=t.onKeyUp,T=t.size,$=void 0===T?"medium":T,A=t.variant,k=void 0===A?"default":A,C=Object(i.a)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),I=o.useRef(null),P=Object(l.a)(I,e),N=function(t){t.stopPropagation(),x&&x(t)},R=!(!1===f||!O)||f,j="small"===$,D=b||(R?h.a:"div"),L=D===h.a?{component:"div"}:{},F=null;if(x){var B=Object(a.a)("default"!==m&&("default"===k?u["deleteIconColor".concat(Object(d.a)(m))]:u["deleteIconOutlinedColor".concat(Object(d.a)(m))]),j&&u.deleteIconSmall);F=v&&o.isValidElement(v)?o.cloneElement(v,{className:Object(a.a)(v.props.className,u.deleteIcon,B),onClick:N}):o.createElement(s,{className:Object(a.a)(u.deleteIcon,B),onClick:N})}var U=null;n&&o.isValidElement(n)&&(U=o.cloneElement(n,{className:Object(a.a)(u.avatar,n.props.className,j&&u.avatarSmall,"default"!==m&&u["avatarColor".concat(Object(d.a)(m))])}));var z=null;return w&&o.isValidElement(w)&&(z=o.cloneElement(w,{className:Object(a.a)(u.icon,w.props.className,j&&u.iconSmall,"default"!==m&&u["iconColor".concat(Object(d.a)(m))])})),o.createElement(D,Object(r.a)({role:R||x?"button":void 0,className:Object(a.a)(u.root,c,"default"!==m&&[u["color".concat(Object(d.a)(m))],R&&u["clickableColor".concat(Object(d.a)(m))],x&&u["deletableColor".concat(Object(d.a)(m))]],"default"!==k&&[u.outlined,{primary:u.outlinedPrimary,secondary:u.outlinedSecondary}[m]],_&&u.disabled,j&&u.sizeSmall,R&&u.clickable,x&&u.deletable),"aria-disabled":!!_||void 0,tabIndex:R||x?0:void 0,onClick:O,onKeyDown:function(t){t.currentTarget===t.target&&p(t)&&t.preventDefault(),E&&E(t)},onKeyUp:function(t){t.currentTarget===t.target&&(x&&p(t)?x(t):"Escape"===t.key&&I.current&&I.current.blur()),M&&M(t)},ref:P},L,C),U||z,o.createElement("span",{className:Object(a.a)(u.label,j&&u.labelSmall)},S),F)}));e.a=Object(c.a)((function(t){var e="light"===t.palette.type?t.palette.grey[300]:t.palette.grey[700],n=Object(f.d)(t.palette.text.primary,.26);return{root:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.getContrastText(e),backgroundColor:e,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)},"& $avatarColorPrimary":{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark},"& $avatarColorSecondary":{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Object(f.c)(e,.08)},"&:active":{boxShadow:t.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Object(f.c)(t.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Object(f.c)(t.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Object(f.c)(e,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Object(f.c)(t.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Object(f.c)(t.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(f.d)(t.palette.text.primary,t.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(t.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(f.d)(t.palette.primary.main,t.palette.action.hoverOpacity)}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(t.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(f.d)(t.palette.secondary.main,t.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Object(f.d)(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Object(f.d)(t.palette.primary.contrastText,.7),"&:hover, &:active":{color:t.palette.primary.contrastText}},deleteIconColorSecondary:{color:Object(f.d)(t.palette.secondary.contrastText,.7),"&:hover, &:active":{color:t.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Object(f.d)(t.palette.primary.main,.7),"&:hover, &:active":{color:t.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Object(f.d)(t.palette.secondary.main,.7),"&:hover, &:active":{color:t.palette.secondary.main}}}}),{name:"MuiChip"})(g)},function(t,e,n){"use strict";var r=n(4),i=n(91),o=n(17),a=n(1),u=(n(13),n(15)),s=n(24),c=a.forwardRef((function(t,e){var n=t.classes,i=t.className,s=t.row,c=void 0!==s&&s,f=Object(o.a)(t,["classes","className","row"]);return a.createElement("div",Object(r.a)({className:Object(u.a)(n.root,i,c&&n.row),ref:e},f))})),f=Object(s.a)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(c),l=n(44),d=n(216),h=n(303),p=n(547),g=a.forwardRef((function(t,e){var n=t.actions,u=t.children,s=t.name,c=t.value,g=t.onChange,m=Object(o.a)(t,["actions","children","name","value","onChange"]),b=a.useRef(null),v=Object(d.a)({controlled:c,default:t.defaultValue,name:"RadioGroup"}),y=Object(i.a)(v,2),_=y[0],w=y[1];a.useImperativeHandle(n,(function(){return{focus:function(){var t=b.current.querySelector("input:not(:disabled):checked");t||(t=b.current.querySelector("input:not(:disabled)")),t&&t.focus()}}}),[]);var S=Object(l.a)(e,b),O=Object(p.a)(s);return a.createElement(h.a.Provider,{value:{name:O,onChange:function(t){w(t.target.value),g&&g(t,t.target.value)},value:_}},a.createElement(f,Object(r.a)({role:"radiogroup",ref:S},m),u))}));e.a=g},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(91),i=n(285),o=n(161);var a={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!s[t])return[t];t=s[t]}var e=t.split(""),n=Object(r.a)(e,2),i=n[0],o=n[1],c=a[i],f=u[o]||"";return Array.isArray(f)?f.map((function(t){return c+t})):[c+f]})),f=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function l(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function d(t,e){return function(n){return t.reduce((function(t,r){return t[r]=function(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}(e,n),t}),{})}}function h(t){var e=l(t.theme);return Object.keys(t).map((function(n){if(-1===f.indexOf(n))return null;var r=d(c(n),e),o=t[n];return Object(i.a)(t,o,r)})).reduce(o.a,{})}h.propTypes={},h.filterProps=f;e.b=h},function(t,e,n){"use strict";var r=n(307),i=n(305),o=n(25),a=n(22),u=n(30);var s=n(39),c=Object(s.a)((function(t,e){if(Object(a.a)(2,arguments),!e||"object"!==typeof e)return new Date(NaN);var n=e.years?Object(u.a)(e.years):0,s=e.months?Object(u.a)(e.months):0,c=e.weeks?Object(u.a)(e.weeks):0,f=e.days?Object(u.a)(e.days):0,l=e.hours?Object(u.a)(e.hours):0,d=e.minutes?Object(u.a)(e.minutes):0,h=e.seconds?Object(u.a)(e.seconds):0,p=Object(o.a)(t),g=s||n?Object(i.a)(p,s+12*n):p,m=f||c?Object(r.a)(g,f+7*c):g,b=d+60*l,v=h+60*b,y=1e3*v,_=new Date(m.getTime()+y);return _}),2);e.a=c},function(t,e,n){"use strict";var r=n(25),i=n(30),o=n(22);var a=n(39),u=Object(a.a)((function(t,e){Object(o.a)(1,arguments);var n=e||{},a=n.locale,u=a&&a.options&&a.options.weekStartsOn,s=null==u?0:Object(i.a)(u),c=null==n.weekStartsOn?s:Object(i.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=Object(r.a)(t),l=f.getDay(),d=(l<c?7:0)+l-c;return f.setDate(f.getDate()-d),f.setHours(0,0,0,0),f}),1);e.a=u},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t){Object(i.a)(1,arguments);var e=Object(r.a)(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}),1);e.a=a},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e);return n.getTime()>o.getTime()}),2);e.a=a},function(t,e,n){"use strict";var r=n(170),i=["years","months","weeks","days","hours","minutes","seconds"];var o=n(39),a=Object(o.a)((function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=(null===e||void 0===e?void 0:e.format)||i,o=(null===e||void 0===e?void 0:e.locale)||r.a,a=(null===e||void 0===e?void 0:e.zero)||!1,u=(null===e||void 0===e?void 0:e.delimiter)||" ",s=n.reduce((function(e,n){var r="x".concat(n.replace(/(^.)/,(function(t){return t.toUpperCase()})));return"number"===typeof t[n]&&(a||t[n])?e.concat(o.formatDistance(r,t[n])):e}),[]).join(u);return s}),2);e.a=a},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t){Object(i.a)(1,arguments);var e=Object(r.a)(t),n=e.getDay();return n}),1);e.a=a},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t){Object(i.a)(1,arguments);var e=Object(r.a)(t);return e.setDate(1),e.setHours(0,0,0,0),e}),1);e.a=a},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t){Object(i.a)(1,arguments);var e=Object(r.a)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(0,0,0,0),e}),1);e.a=a},function(t,e,n){"use strict";var r=n(25),i=n(22);var o=n(39),a=Object(o.a)((function(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}),2);e.a=a},function(t,e,n){"use strict";var r=n(174),i=n(22);var o=n(39),a=Object(o.a)((function(t,e){Object(i.a)(2,arguments);var n=Object(r.a)(t),o=Object(r.a)(e);return n.getTime()===o.getTime()}),2);e.a=a},function(t,e,n){"use strict";var r=n(312),i=n(326),o=n(314);var a=n(39),u=Object(a.a)((function(t,e,n){t instanceof Date&&(t=Object(i.a)(t,"yyyy-MM-dd'T'HH:mm:ss.SSS"));var a=Object(r.a)(n);return a.timeZone=e,Object(o.a)(t,a)}),2);e.a=u},function(t,e,n){"use strict";var r=n(224),i=n(314);var o=n(39),a=Object(o.a)((function(t,e,n){var o=Object(i.a)(t,n),a=Object(r.a)(e,o,!0)||0,u=new Date(o.getTime()-a);return new Date(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate(),u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds())}),2);e.a=a},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(1),a=(n(103),n(13),n(15));function u(t,e){return void 0!==e&&void 0!==t&&(Array.isArray(e)?e.indexOf(t)>=0:t===e)}var s=n(24),c=n(33),f=o.forwardRef((function(t,e){var n=t.children,s=t.classes,f=t.className,l=t.exclusive,d=void 0!==l&&l,h=t.onChange,p=t.orientation,g=void 0===p?"horizontal":p,m=t.size,b=void 0===m?"medium":m,v=t.value,y=Object(i.a)(t,["children","classes","className","exclusive","onChange","orientation","size","value"]),_=function(t,e){if(h){var n,r=v&&v.indexOf(e);v&&r>=0?(n=v.slice()).splice(r,1):n=v?v.concat(e):[e],h(t,n)}},w=function(t,e){h&&h(t,v===e?null:e)};return o.createElement("div",Object(r.a)({role:"group",className:Object(a.a)(s.root,f,"vertical"===g&&s.vertical),ref:e},y),o.Children.map(n,(function(t){return o.isValidElement(t)?o.cloneElement(t,{className:Object(a.a)(s.grouped,s["grouped".concat(Object(c.a)(g))],t.props.className),onChange:d?w:_,selected:void 0===t.props.selected?u(t.props.value,v):t.props.selected,size:t.props.size||b}):null})))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-flex",borderRadius:t.shape.borderRadius},vertical:{flexDirection:"column"},grouped:{},groupedHorizontal:{"&:not(:first-child)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedVertical:{"&:not(:first-child)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-child)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}}),{name:"MuiToggleButtonGroup"})(f)}]]);
|
|
//# sourceMappingURL=2.f974d6ce.chunk.js.map |