forked from 88-mph/88mphlandingpage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
28.97851661e948e468b61d.js
1 lines (1 loc) · 46.9 KB
/
28.97851661e948e468b61d.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{"/kWe":function(e,t){e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}},"0eLh":function(e,t,r){const n=r("3wIk"),o=r("vwDW"),{ANY:i}=o,s=r("ex/Z"),a=r("MpxT"),l=r("7sNm"),c=r("JCZO"),u=r("bdwG"),h=r("Dknc");e.exports=(e,t,r,p)=>{let f,v,d,m,E;switch(e=new n(e,p),t=new s(t,p),r){case">":f=l,v=u,d=c,m=">",E=">=";break;case"<":f=c,v=h,d=l,m="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let n=0;n<t.set.length;++n){let r=null,s=null;if(t.set[n].forEach(e=>{e.semver===i&&(e=new o(">=0.0.0")),r=r||e,s=s||e,f(e.semver,r.semver,p)?r=e:d(e.semver,s.semver,p)&&(s=e)}),r.operator===m||r.operator===E)return!1;if((!s.operator||s.operator===m)&&v(e,s.semver))return!1;if(s.operator===E&&d(e,s.semver))return!1}return!0}},"18Y9":function(e,t,r){const n=r("ex/Z");e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},"27OZ":function(e,t,r){const n=r("iEBQ");e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},"2wtF":function(e,t,r){const n=r("0eLh");e.exports=(e,t,r)=>n(e,t,"<",r)},"3cPs":function(e,t,r){const n=r("IsDc");e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r("/kWe").SEMVER_SPEC_VERSION,SemVer:r("3wIk"),compareIdentifiers:r("KHQI").compareIdentifiers,rcompareIdentifiers:r("KHQI").rcompareIdentifiers,parse:r("Ybu3"),valid:r("gqzR"),clean:r("oBeb"),inc:r("eQf7"),diff:r("Yn5A"),major:r("Br5v"),minor:r("YJ14"),patch:r("LJ9E"),prerelease:r("O9TA"),compare:r("8GxW"),rcompare:r("oh0K"),compareLoose:r("8YLp"),compareBuild:r("iEBQ"),sort:r("lYj8"),rsort:r("27OZ"),gt:r("7sNm"),lt:r("JCZO"),eq:r("xfvg"),neq:r("dtu/"),gte:r("Dknc"),lte:r("bdwG"),cmp:r("VMJL"),coerce:r("eXNJ"),Comparator:r("vwDW"),Range:r("ex/Z"),satisfies:r("MpxT"),toComparators:r("j0pM"),maxSatisfying:r("d43V"),minSatisfying:r("ygsx"),minVersion:r("lkeM"),validRange:r("zv5s"),outside:r("0eLh"),gtr:r("VmpX"),ltr:r("2wtF"),intersects:r("18Y9"),simplifyRange:r("v6YA"),subset:r("I9dd")}},"3wIk":function(e,t,r){const n=r("DXxi"),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r("/kWe"),{re:s,t:a}=r("IsDc"),l=r("4S+G"),{compareIdentifiers:c}=r("KHQI");class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=r[4]?r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e}):[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},"4S+G":function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},"7sNm":function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>n(e,t,r)>0},"8GxW":function(e,t,r){const n=r("3wIk");e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},"8YLp":function(e,t,r){const n=r("8GxW");e.exports=(e,t)=>n(e,t,!0)},Br5v:function(e,t,r){const n=r("3wIk");e.exports=(e,t)=>new n(e,t).major},DXxi:function(e,t,r){(function(t){const r="object"==typeof t&&t.env&&t.env.NODE_DEBUG&&/\bsemver\b/i.test(t.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r("8oxB"))},Dknc:function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>n(e,t,r)>=0},HwNo:function(e,t,r){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},HyWp:function(e,t,r){"use strict";const n=r("XPeR"),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),v=()=>1,d=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(m(e,t)){if(g(e,n),!e[a])return}else r&&(e[f]&&(n.value.now=Date.now()),e[h].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},E=e=>{if(e[i]>e[o])for(let t=e[h].tail;e[i]>e[o]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[h].removeNode(t)}};class w{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const I=(e,t,r,n)=>{let o=r.value;m(e,o)&&(g(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||v;if(this[s]="function"!=typeof t?v:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,E(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=v),e!==this[s]&&(this[s]=e,this[i]=0,this[h].forEach(e=>{e.length=this[s](e.value,e.key),this[i]+=e.length})),E(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let r=this[h].tail;null!==r;){const n=r.prev;I(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[h].head;null!==r;){const n=r.next;I(this,e,r,t),r=n}}keys(){return this[h].toArray().map(e=>e.key)}values(){return this[h].toArray().map(e=>e.value)}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach(e=>this[c](e.key,e.value)),this[p]=new Map,this[h]=new n,this[i]=0}dump(){return this[h].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[h]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[p].has(e)){if(a>this[o])return g(this,this[p].get(e)),!1;const s=this[p].get(e).value;return this[c]&&(this[u]||this[c](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),E(this),!0}const f=new w(e,t,a,n,r);return f.length>this[o]?(this[c]&&this[c](e,t),!1):(this[i]+=f.length,this[h].unshift(f),this[p].set(e,this[h].head),E(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[h].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach((e,t)=>d(this,t,!1))}}},I9dd:function(e,t,r){const n=r("ex/Z"),o=r("vwDW"),{ANY:i}=o,s=r("MpxT"),a=r("8GxW"),l=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const n=new Set;let l,h,p,f,v,d,m;for(const o of e)">"===o.operator||">="===o.operator?l=c(l,o,r):"<"===o.operator||"<="===o.operator?h=u(h,o,r):n.add(o.semver);if(n.size>1)return null;if(l&&h){if(p=a(l.semver,h.semver,r),p>0)return null;if(0===p&&(">="!==l.operator||"<="!==h.operator))return null}for(const o of n){if(l&&!s(o,String(l),r))return null;if(h&&!s(o,String(h),r))return null;for(const e of t)if(!s(o,String(e),r))return!1;return!0}let E=!(!h||r.includePrerelease||!h.semver.prerelease.length)&&h.semver,g=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver;E&&1===E.prerelease.length&&"<"===h.operator&&0===E.prerelease[0]&&(E=!1);for(const o of t){if(m=m||">"===o.operator||">="===o.operator,d=d||"<"===o.operator||"<="===o.operator,l)if(g&&o.semver.prerelease&&o.semver.prerelease.length&&o.semver.major===g.major&&o.semver.minor===g.minor&&o.semver.patch===g.patch&&(g=!1),">"===o.operator||">="===o.operator){if(f=c(l,o,r),f===o&&f!==l)return!1}else if(">="===l.operator&&!s(l.semver,String(o),r))return!1;if(h)if(E&&o.semver.prerelease&&o.semver.prerelease.length&&o.semver.major===E.major&&o.semver.minor===E.minor&&o.semver.patch===E.patch&&(E=!1),"<"===o.operator||"<="===o.operator){if(v=u(h,o,r),v===o&&v!==h)return!1}else if("<="===h.operator&&!s(h.semver,String(o),r))return!1;if(!o.operator&&(h||l)&&0!==p)return!1}return!(l&&d&&!h&&0!==p||h&&m&&!l&&0!==p||g||E)},c=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=l(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},IsDc:function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r("/kWe"),o=r("DXxi"),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let l=0;const c=(e,t,r)=>{const n=l++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),c("FULL",`^${s[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),c("LOOSE",`^${s[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${s[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${s[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),c("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",s[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},JCZO:function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>n(e,t,r)<0},KHQI:function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:e<t?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},LJ9E:function(e,t,r){const n=r("3wIk");e.exports=(e,t)=>new n(e,t).patch},LJzS:function(e,t,r){"use strict";(function(e){var n=r("+qE3"),o=r.n(n),i=r("7mow"),s=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{l(n.next(e))}catch(t){i(t)}}function a(e){try{l(n.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},a=function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},l=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},c=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},u=function(){function t(){var t=this;this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new o.a,this.send=function(r,n,o,l,c,u){return void 0===c&&(c=e.alloc(0)),void 0===u&&(u=[i.StatusCodes.OK]),s(t,void 0,void 0,function(){var t,s;return a(this,function(a){switch(a.label){case 0:if(c.length>=256)throw new i.TransportError("data.length exceed 256 bytes limit. Got: "+c.length,"DataLengthTooBig");return[4,this.exchange(e.concat([e.from([r,n,o,l]),e.from([c.length]),c]))];case 1:if(t=a.sent(),s=t.readUInt16BE(t.length-2),!u.some(function(e){return e===s}))throw new i.TransportStatusError(s);return[2,t]}})})},this.exchangeAtomicImpl=function(e){return s(t,void 0,void 0,function(){var t,r,n,o,s,l=this;return a(this,function(a){switch(a.label){case 0:if(this.exchangeBusyPromise)throw new i.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");r=new Promise(function(e){t=e}),this.exchangeBusyPromise=r,n=!1,o=setTimeout(function(){n=!0,l.emit("unresponsive")},this.unresponsiveTimeout),a.label=1;case 1:return a.trys.push([1,,3,4]),[4,e()];case 2:return s=a.sent(),n&&this.emit("responsive"),[2,s];case 3:return clearTimeout(o),t&&t(),this.exchangeBusyPromise=null,[7];case 4:return[2]}})})},this._appAPIlock=null}return t.prototype.exchange=function(e){throw new Error("exchange not implemented")},t.prototype.setScrambleKey=function(e){},t.prototype.close=function(){return Promise.resolve()},t.prototype.on=function(e,t){this._events.on(e,t)},t.prototype.off=function(e,t){this._events.removeListener(e,t)},t.prototype.emit=function(e){for(var t,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];(t=this._events).emit.apply(t,c([e],l(r),!1))},t.prototype.setDebugMode=function(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")},t.prototype.setExchangeTimeout=function(e){this.exchangeTimeout=e},t.prototype.setExchangeUnresponsiveTimeout=function(e){this.unresponsiveTimeout=e},t.create=function(e,t){var r=this;return void 0===e&&(e=3e3),new Promise(function(n,o){var s=!1,a=r.listen({next:function(t){s=!0,a&&a.unsubscribe(),l&&clearTimeout(l),r.open(t.descriptor,e).then(n,o)},error:function(e){l&&clearTimeout(l),o(e)},complete:function(){l&&clearTimeout(l),s||o(new i.TransportError(r.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),l=t?setTimeout(function(){a.unsubscribe(),o(new i.TransportError(r.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})},t.prototype.decorateAppAPIMethods=function(e,t,r){var n,o;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),s=i.next();!s.done;s=i.next()){var a=s.value;e[a]=this.decorateAppAPIMethod(a,e[a],e,r)}}catch(l){n={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},t.prototype.decorateAppAPIMethod=function(e,t,r,n){var o=this;return function(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return s(o,void 0,void 0,function(){var o;return a(this,function(s){switch(s.label){case 0:if(o=this._appAPIlock)return[2,Promise.reject(new i.TransportError("Ledger Device is busy (lock "+o+")","TransportLocked"))];s.label=1;case 1:return s.trys.push([1,,3,4]),this._appAPIlock=e,this.setScrambleKey(n),[4,t.apply(r,l)];case 2:return[2,s.sent()];case 3:return this._appAPIlock=null,[7];case 4:return[2]}})})}},t.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",t.ErrorMessage_NoDeviceFound="No Ledger device found",t}();t.a=u}).call(this,r("tjlA").Buffer)},MpxT:function(e,t,r){const n=r("ex/Z");e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(o){return!1}return t.test(e)}},O2Za:function(e,t,r){"use strict";r.d(t,"b",function(){return u}),r.d(t,"a",function(){return h});var n,o,i=r("3cPs"),s=r.n(i),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(e){e.blue="blue",e.nanoS="nanoS",e.nanoSP="nanoSP",e.nanoX="nanoX"}(o||(o={}));var l=((n={})[o.blue]={id:o.blue,productName:"Ledger\xa0Blue",productIdMM:0,legacyUsbProductId:0,usbOnly:!0,memorySize:491520,masks:[822083584,822149120],getBlockSize:function(e){return 4096}},n[o.nanoS]={id:o.nanoS,productName:"Ledger\xa0Nano\xa0S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,masks:[823132160],getBlockSize:function(e){var t;return s.a.lt(null!==(t=s.a.coerce(e))&&void 0!==t?t:"","2.0.0")?4096:2048}},n[o.nanoSP]={id:o.nanoSP,productName:"Ledger Nano SP",productIdMM:80,legacyUsbProductId:5,usbOnly:!0,memorySize:1569792,masks:[856686592],getBlockSize:function(e){return 32}},n[o.nanoX]={id:o.nanoX,productName:"Ledger\xa0Nano\xa0X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,masks:[855638016],getBlockSize:function(e){return 4096},bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66",writeCmdUuid:"d973f2e3-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572",writeCmdUuid:"13d63400-2c97-0004-0003-4c6564676572"}]},n),c=Object.values(l),u=11415,h=function(e){var t=c.find(function(t){return t.legacyUsbProductId===e});if(t)return t;var r=e>>8;return c.find(function(e){return e.productIdMM===r})},p=[],f={};for(var v in l){var d=l[v],m=d.bluetoothSpec;if(m)for(var E=0;E<m.length;E++){var g=m[E];p.push(g.serviceUuid),f[g.serviceUuid]=f[g.serviceUuid.replace(/-/g,"")]=a({deviceModel:d},g)}}},O9TA:function(e,t,r){const n=r("Ybu3");e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},S8q5:function(e,t,r){"use strict";(function(e){t.__esModule=!0;var n=r("7mow"),o={data:e.alloc(0),dataLength:0,sequence:0};t.default=function(t,r){return{makeBlocks:function(n){var o,i,s=e.concat([(o=n.length,i=e.alloc(2),i.writeUInt16BE(o,0),i),n]),a=r-5,l=Math.ceil(s.length/a);s=e.concat([s,e.alloc(l*a-s.length+1).fill(0)]);for(var c=[],u=0;u<l;u++){var h=e.alloc(5);h.writeUInt16BE(t,0),h.writeUInt8(5,2),h.writeUInt16BE(u,3);var p=s.slice(u*a,(u+1)*a);c.push(e.concat([h,p]))}return c},reduceResponse:function(r,i){var s=r||o,a=s.data,l=s.dataLength,c=s.sequence;if(i.readUInt16BE(0)!==t)throw new n.TransportError("Invalid channel","InvalidChannel");if(5!==i.readUInt8(2))throw new n.TransportError("Invalid tag","InvalidTag");if(i.readUInt16BE(3)!==c)throw new n.TransportError("Invalid sequence","InvalidSequence");r||(l=i.readUInt16BE(5)),c++;var u=i.slice(r?5:7);return(a=e.concat([a,u])).length>l&&(a=a.slice(0,l)),{data:a,dataLength:l,sequence:c}},getReducedResult:function(e){if(e&&e.dataLength===e.data.length)return e.data}}}}).call(this,r("tjlA").Buffer)},VMJL:function(e,t,r){const n=r("xfvg"),o=r("dtu/"),i=r("7sNm"),s=r("Dknc"),a=r("JCZO"),l=r("bdwG");e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return o(e,r,c);case">":return i(e,r,c);case">=":return s(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},VmpX:function(e,t,r){const n=r("0eLh");e.exports=(e,t,r)=>n(e,t,">",r)},XPeR:function(e,t,r){"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var r=0,o=arguments.length;r<o;r++)t.push(arguments[r]);return t}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,r,n){if(!(this instanceof s))return new s(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=n,n.Node=s,n.create=n,n.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},n.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next},n.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev},n.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},n.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},n.prototype.map=function(e,t){t=t||this;for(var r=new n,o=this.head;null!==o;)r.push(e.call(t,o.value,this)),o=o.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,o=this.tail;null!==o;)r.push(e.call(t,o.value,this)),o=o.prev;return r},n.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)r.push(i.value);return r},n.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;null!==o&&n<e;n++)o=o.next;var i,a,l,c,u=[];for(n=0;o&&n<t;n++)u.push(o.value),o=this.removeNode(o);for(null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev),n=0;n<r.length;n++)l=r[n],void 0,null===(c=(a=o)===(i=this).head?new s(l,null,a,i):new s(l,a,a.next,i)).next&&(i.tail=c),null===c.prev&&(i.head=c),i.length++,o=c;return u},n.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};try{r("HwNo")(n)}catch(a){}},YJ14:function(e,t,r){const n=r("3wIk");e.exports=(e,t)=>new n(e,t).minor},Ybu3:function(e,t,r){const{MAX_LENGTH:n}=r("/kWe"),{re:o,t:i}=r("IsDc"),s=r("3wIk"),a=r("4S+G");e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(r){return null}}},Yn5A:function(e,t,r){const n=r("Ybu3"),o=r("xfvg");e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},bdwG:function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>n(e,t,r)<=0},d43V:function(e,t,r){const n=r("3wIk"),o=r("ex/Z");e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(l){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},"dtu/":function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>0!==n(e,t,r)},eQf7:function(e,t,r){const n=r("3wIk");e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(i){return null}}},eXNJ:function(e,t,r){const n=r("3wIk"),o=r("Ybu3"),{re:i,t:s}=r("IsDc");e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},"ex/Z":function(e,t,r){class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!v(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&d(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose;e=e.replace(n?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE],O(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],h),a("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],p)).replace(c[u.CARETTRIM],f)).split(/\s+/).join(" ");const i=n?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],l=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>N(e,this.options)).filter(this.options.loose?e=>!!e.match(i):()=>!0).map(e=>new s(e,this.options)),d=new Map;for(const o of l){if(v(o))return[o];d.set(o.value,o)}d.size>1&&d.has("")&&d.delete("");const m=[...d.values()];return o.set(t,m),m}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>m(r,t)&&e.set.some(e=>m(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(t){return!1}for(let r=0;r<this.set.length;r++)if(T(this.set[r],e,this.options))return!0;return!1}}e.exports=n;const o=new(r("HyWp"))({max:1e3}),i=r("4S+G"),s=r("vwDW"),a=r("DXxi"),l=r("3wIk"),{re:c,t:u,comparatorTrimReplace:h,tildeTrimReplace:p,caretTrimReplace:f}=r("IsDc"),v=e=>"<0.0.0-0"===e.value,d=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},E=(e,t)=>(a("comp",e,t),e=y(e,t),a("caret",e),e=w(e,t),a("tildes",e),e=$(e,t),a("xrange",e),e=x(e,t),a("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>e.replace(t.loose?c[u.TILDELOOSE]:c[u.TILDE],(t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),g(r)?s="":g(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:g(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s}),y=(e,t)=>e.trim().split(/\s+/).map(e=>b(e,t)).join(" "),b=(e,t)=>{a("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?c[u.CARETLOOSE]:c[u.CARET],(t,n,o,i,s)=>{let l;return a("caret",e,t,n,o,i,s),g(n)?l="":g(o)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:g(i)?l="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===n?"0"===o?`>=${n}.${o}.${i}-${s} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${s} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${s} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),a("caret return",l),l})},$=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>R(e,t)).join(" ")),R=(e,t)=>(e=e.trim()).replace(t.loose?c[u.XRANGELOOSE]:c[u.XRANGE],(r,n,o,i,s,l)=>{a("xRange",e,r,n,o,i,s,l);const c=g(o),u=c||g(i),h=u||g(s);return"="===n&&h&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(u&&(i=0),s=0,">"===n?(n=">=",u?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",u?o=+o+1:i=+i+1),"<"===n&&(l="-0"),r=`${n+o}.${i}.${s}${l}`):u?r=`>=${o}.0.0${l} <${+o+1}.0.0-0`:h&&(r=`>=${o}.${i}.0${l} <${o}.${+i+1}.0-0`),a("xRange return",r),r}),x=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),N=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,r,n,o,i,s,a,l,c,u,h,p,f)=>`${r=g(n)?"":g(o)?`>=${n}.0.0${e?"-0":""}`:g(i)?`>=${n}.${o}.0${e?"-0":""}`:s?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=g(c)?"":g(u)?`<${+c+1}.0.0-0`:g(h)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${h}-${p}`:e?`<${c}.${u}.${+h+1}-0`:`<=${l}`}`.trim(),T=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(a(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},gqzR:function(e,t,r){const n=r("Ybu3");e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},iEBQ:function(e,t,r){const n=r("3wIk");e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},j0pM:function(e,t,r){const n=r("ex/Z");e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},lYj8:function(e,t,r){const n=r("iEBQ");e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},lfNz:function(e,t,r){"use strict";r.d(t,"d",function(){return a}),r.d(t,"b",function(){return l}),r.d(t,"a",function(){return c}),r.d(t,"c",function(){return u});var n=r("O2Za"),o=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{l(n.next(e))}catch(t){i(t)}}function a(e){try{l(n.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},i=function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},s=[{vendorId:n.b}];function a(){return o(this,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return[4,navigator.usb.requestDevice({filters:s})];case 1:return[2,e.sent()]}})})}function l(){return o(this,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return[4,navigator.usb.getDevices()];case 1:return[2,e.sent().filter(function(e){return e.vendorId===n.b})]}})})}function c(){return o(this,void 0,void 0,function(){var e;return i(this,function(t){switch(t.label){case 0:return[4,l()];case 1:return(e=t.sent()).length>0?[2,e[0]]:[2,a()]}})})}var u=function(){return Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)}},lkeM:function(e,t,r){const n=r("3wIk"),o=r("ex/Z"),i=r("7sNm");e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let o=0;o<e.set.length;++o){let t=null;e.set[o].forEach(e=>{const r=new n(e.semver.version);switch(e.operator){case">":0===r.prerelease.length?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":t&&!i(r,t)||(t=r);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!t||r&&!i(r,t)||(r=t)}return r&&e.test(r)?r:null}},oBeb:function(e,t,r){const n=r("Ybu3");e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},oh0K:function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>n(t,e,r)},"r+TU":function(e,t,r){"use strict";r.r(t),(function(e){var n,o=r("LJzS"),i=r("S8q5"),s=r.n(i),a=r("O2Za"),l=r("2J1s"),c=r("7mow"),u=r("lfNz"),h=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{l(n.next(e))}catch(t){i(t)}}function a(e){try{l(n.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},f=function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},v=function(t){function r(e,r){var n=t.call(this)||this;return n.channel=Math.floor(65535*Math.random()),n.packetSize=64,n._disconnectEmitted=!1,n._emitDisconnect=function(e){n._disconnectEmitted||(n._disconnectEmitted=!0,n.emit("disconnect",e))},n.device=e,n.interfaceNumber=r,n.deviceModel=Object(a.a)(e.productId),n}return h(r,t),r.request=function(){return p(this,void 0,void 0,function(){var e;return f(this,function(t){switch(t.label){case 0:return[4,Object(u.d)()];case 1:return e=t.sent(),[2,r.open(e)]}})})},r.openConnected=function(){return p(this,void 0,void 0,function(){var e;return f(this,function(t){switch(t.label){case 0:return[4,Object(u.b)()];case 1:return 0===(e=t.sent()).length?[2,null]:[2,r.open(e[0])]}})})},r.open=function(e){return p(this,void 0,void 0,function(){var t,n,o,i,s;return f(this,function(a){switch(a.label){case 0:return[4,e.open()];case 1:return a.sent(),null!==e.configuration?[3,3]:[4,e.selectConfiguration(1)];case 2:a.sent(),a.label=3;case 3:return[4,d(e)];case 4:if(a.sent(),!(t=e.configurations[0].interfaces.find(function(e){return e.alternates.some(function(e){return 255===e.interfaceClass})})))throw new c.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");n=t.interfaceNumber,a.label=5;case 5:return a.trys.push([5,7,,9]),[4,e.claimInterface(n)];case 6:return a.sent(),[3,9];case 7:return o=a.sent(),[4,e.close()];case 8:throw a.sent(),new c.TransportInterfaceNotAvailable(o.message);case 9:return i=new r(e,n),s=function(t){e===t.device&&(navigator.usb.removeEventListener("disconnect",s),i._emitDisconnect(new c.DisconnectedDevice))},navigator.usb.addEventListener("disconnect",s),[2,i]}})})},r.prototype.close=function(){return p(this,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,this.exchangeBusyPromise];case 1:return e.sent(),[4,this.device.releaseInterface(this.interfaceNumber)];case 2:return e.sent(),[4,d(this.device)];case 3:return e.sent(),[4,this.device.close()];case 4:return e.sent(),[2]}})})},r.prototype.exchange=function(t){return p(this,void 0,void 0,function(){var r=this;return f(this,function(n){switch(n.label){case 0:return[4,this.exchangeAtomicImpl(function(){return p(r,void 0,void 0,function(){var r,n,o,i,a,c,u,h,p,v;return f(this,function(f){switch(f.label){case 0:n=(r=this).channel,o=r.packetSize,Object(l.a)("apdu","=> "+t.toString("hex")),i=s()(n,o),a=i.makeBlocks(t),c=0,f.label=1;case 1:return c<a.length?[4,this.device.transferOut(3,a[c])]:[3,4];case 2:f.sent(),f.label=3;case 3:return c++,[3,1];case 4:return(u=i.getReducedResult(h))?[3,6]:[4,this.device.transferIn(3,o)];case 5:return p=f.sent(),v=e.from(p.data.buffer),h=i.reduceResponse(h,v),[3,4];case 6:return Object(l.a)("apdu","<= "+u.toString("hex")),[2,u]}})})}).catch(function(e){if(e&&e.message&&e.message.includes("disconnected"))throw r._emitDisconnect(e),new c.DisconnectedDeviceDuringOperation(e.message);throw e})];case 1:return[2,n.sent()]}})})},r.prototype.setScrambleKey=function(){},r.isSupported=u.c,r.list=u.b,r.listen=function(e){var t=!1;return Object(u.a)().then(function(r){if(!t){var n=Object(a.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:n}),e.complete()}},function(t){window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new c.TransportWebUSBGestureRequired(t.message)):e.error(new c.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}},r}(o.a);function d(e){return p(this,void 0,void 0,function(){var t;return f(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e.reset()];case 1:return r.sent(),[3,3];case 2:return t=r.sent(),console.warn(t),[3,3];case 3:return[2]}})})}t.default=v}).call(this,r("tjlA").Buffer)},v6YA:function(e,t,r){const n=r("MpxT"),o=r("8GxW");e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const l=e.sort((e,t)=>o(e,t,r));for(const o of l)n(o,t,r)?(a=o,s||(s=o)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const c=[];for(const[n,o]of i)c.push(n===o?n:o||n!==l[0]?o?n===l[0]?`<=${o}`:`${n} - ${o}`:`>=${n}`:"*");const u=c.join(" || "),h="string"==typeof t.raw?t.raw:String(t);return u.length<h.length?u:t}},vwDW:function(e,t,r){const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===n?"":this.operator+this.semver.version,c("comp",this)}parse(e){const t=e.match(this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR]);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(t){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new h(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||c}}e.exports=o;const i=r("4S+G"),{re:s,t:a}=r("IsDc"),l=r("VMJL"),c=r("DXxi"),u=r("3wIk"),h=r("ex/Z")},xfvg:function(e,t,r){const n=r("8GxW");e.exports=(e,t,r)=>0===n(e,t,r)},ygsx:function(e,t,r){const n=r("3wIk"),o=r("ex/Z");e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(l){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},zv5s:function(e,t,r){const n=r("ex/Z");e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(r){return null}}}}]);