-
Notifications
You must be signed in to change notification settings - Fork 1
/
24.683fb7fae5c4d3b62d6b.js
1 lines (1 loc) · 36 KB
/
24.683fb7fae5c4d3b62d6b.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"+f0n":function(e,t,r){const n=r("C0db");e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},"//pc":function(e,t,r){const n=r("wqSS"),s=r("CHIc");e.exports=(e,t,r)=>{let i=null,o=null,a=null;try{a=new s(t,r)}catch(l){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new n(i,r)))}),i}},"/O2l":function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),s=r.test(t);return n&&s&&(e=+e,t=+t),e===t?0:n&&!s?-1:s&&!n?1:e<t?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},"3ME3":function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>n(e,t,r)>=0},"3aLh":function(e,t,r){const n=r("xT0X"),s=r("kHTX"),i=r("VM+J"),o=r("3ME3"),a=r("FEuT"),l=r("Cp2A");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 s(e,r,c);case">":return i(e,r,c);case">=":return o(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},"7Tz1":function(e,t,r){const n=r("CHIc");e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(r){return null}}},"98BS":function(e,t,r){const n=r("wqSS"),s=r("CHIc"),i=r("VM+J");e.exports=(e,t)=>{e=new s(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 s=0;s<e.set.length;++s){let t=null;e.set[s].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}},"9VKC":function(e,t,r){const n=r("CHIc"),s=r("SaxM"),{ANY:i}=s,o=r("VQOS"),a=r("YdzL"),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 s(">=0.0.0-0")]:[new s(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new s(">=0.0.0")]}const n=new Set;let l,u,p,f,E,d,m;for(const s of e)">"===s.operator||">="===s.operator?l=c(l,s,r):"<"===s.operator||"<="===s.operator?u=h(u,s,r):n.add(s.semver);if(n.size>1)return null;if(l&&u){if(p=a(l.semver,u.semver,r),p>0)return null;if(0===p&&(">="!==l.operator||"<="!==u.operator))return null}for(const s of n){if(l&&!o(s,String(l),r))return null;if(u&&!o(s,String(u),r))return null;for(const e of t)if(!o(s,String(e),r))return!1;return!0}let v=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,g=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver;v&&1===v.prerelease.length&&"<"===u.operator&&0===v.prerelease[0]&&(v=!1);for(const s of t){if(m=m||">"===s.operator||">="===s.operator,d=d||"<"===s.operator||"<="===s.operator,l)if(g&&s.semver.prerelease&&s.semver.prerelease.length&&s.semver.major===g.major&&s.semver.minor===g.minor&&s.semver.patch===g.patch&&(g=!1),">"===s.operator||">="===s.operator){if(f=c(l,s,r),f===s&&f!==l)return!1}else if(">="===l.operator&&!o(l.semver,String(s),r))return!1;if(u)if(v&&s.semver.prerelease&&s.semver.prerelease.length&&s.semver.major===v.major&&s.semver.minor===v.minor&&s.semver.patch===v.patch&&(v=!1),"<"===s.operator||"<="===s.operator){if(E=h(u,s,r),E===s&&E!==u)return!1}else if("<="===u.operator&&!o(u.semver,String(s),r))return!1;if(!s.operator&&(u||l)&&0!==p)return!1}return!(l&&d&&!u&&0!==p||u&&m&&!l&&0!==p||g||v)},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},h=(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 s=!1;e:for(const n of e.set){for(const e of t.set){const t=l(n,e,r);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},Bfjy:function(e,t,r){const n=r("QKsD");e.exports=(e,t,r)=>n(e,t,">",r)},C0db:function(e,t,r){const n=r("wqSS");e.exports=(e,t,r)=>{const s=new n(e,r),i=new n(t,r);return s.compare(i)||s.compareBuild(i)}},CHIc: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 o)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=>!E(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=s.get(t);if(r)return r;const n=this.options.loose;e=e.replace(n?c[h.HYPHENRANGELOOSE]:c[h.HYPHENRANGE],T(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(c[h.COMPARATORTRIM],u),a("comparator trim",e,c[h.COMPARATORTRIM]),e=(e=(e=e.replace(c[h.TILDETRIM],p)).replace(c[h.CARETTRIM],f)).split(/\s+/).join(" ");const i=n?c[h.COMPARATORLOOSE]:c[h.COMPARATOR],l=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>L(e,this.options)).filter(this.options.loose?e=>!!e.match(i):()=>!0).map(e=>new o(e,this.options)),d=new Map;for(const s of l){if(E(s))return[s];d.set(s.value,s)}d.size>1&&d.has("")&&d.delete("");const m=[...d.values()];return s.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(y(this.set[r],e,this.options))return!0;return!1}}e.exports=n;const s=new(r("HyWp"))({max:1e3}),i=r("g+In"),o=r("SaxM"),a=r("DzVR"),l=r("wqSS"),{re:c,t:h,comparatorTrimReplace:u,tildeTrimReplace:p,caretTrimReplace:f}=r("DSYq"),E=e=>"<0.0.0-0"===e.value,d=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let s=n.pop();for(;r&&n.length;)r=n.every(e=>s.intersects(e,t)),s=n.pop();return r},v=(e,t)=>(a("comp",e,t),e=w(e,t),a("caret",e),e=I(e,t),a("tildes",e),e=S(e,t),a("xrange",e),e=O(e,t),a("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,I=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>e.replace(t.loose?c[h.TILDELOOSE]:c[h.TILDE],(t,r,n,s,i)=>{let o;return a("tilde",e,t,r,n,s,i),g(r)?o="":g(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:g(s)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),o=`>=${r}.${n}.${s}-${i} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`,a("tilde return",o),o}),w=(e,t)=>e.trim().split(/\s+/).map(e=>$(e,t)).join(" "),$=(e,t)=>{a("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?c[h.CARETLOOSE]:c[h.CARET],(t,n,s,i,o)=>{let l;return a("caret",e,t,n,s,i,o),g(n)?l="":g(s)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:g(i)?l="0"===n?`>=${n}.${s}.0${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${r} <${+n+1}.0.0-0`:o?(a("replaceCaret pr",o),l="0"===n?"0"===s?`>=${n}.${s}.${i}-${o} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}-${o} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i}-${o} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===s?`>=${n}.${s}.${i}${r} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i} <${+n+1}.0.0-0`),a("caret return",l),l})},S=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>N(e,t)).join(" ")),N=(e,t)=>(e=e.trim()).replace(t.loose?c[h.XRANGELOOSE]:c[h.XRANGE],(r,n,s,i,o,l)=>{a("xRange",e,r,n,s,i,o,l);const c=g(s),h=c||g(i),u=h||g(o);return"="===n&&u&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(h&&(i=0),o=0,">"===n?(n=">=",h?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===n&&(n="<",h?s=+s+1:i=+i+1),"<"===n&&(l="-0"),r=`${n+s}.${i}.${o}${l}`):h?r=`>=${s}.0.0${l} <${+s+1}.0.0-0`:u&&(r=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`),a("xRange return",r),r}),O=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[h.STAR],"")),L=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?h.GTE0PRE:h.GTE0],"")),T=e=>(t,r,n,s,i,o,a,l,c,h,u,p,f)=>`${r=g(n)?"":g(s)?`>=${n}.0.0${e?"-0":""}`:g(i)?`>=${n}.${s}.0${e?"-0":""}`:o?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=g(c)?"":g(h)?`<${+c+1}.0.0-0`:g(u)?`<${c}.${+h+1}.0-0`:p?`<=${c}.${h}.${u}-${p}`:e?`<${c}.${h}.${+u+1}-0`:`<=${l}`}`.trim(),y=(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!==o.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}},Cp2A:function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>n(e,t,r)<=0},DSYq:function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r("EaOx"),s=r("DzVR"),i=(t=e.exports={}).re=[],o=t.src=[],a=t.t={};let l=0;const c=(e,t,r)=>{const n=l++;s(n,t),a[e]=n,o[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",`(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${o[a.NUMERICIDENTIFIER]}|${o[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${o[a.NUMERICIDENTIFIERLOOSE]}|${o[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${o[a.PRERELEASEIDENTIFIER]}(?:\\.${o[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${o[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${o[a.BUILDIDENTIFIER]}(?:\\.${o[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${o[a.MAINVERSION]}${o[a.PRERELEASE]}?${o[a.BUILD]}?`),c("FULL",`^${o[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${o[a.MAINVERSIONLOOSE]}${o[a.PRERELEASELOOSE]}?${o[a.BUILD]}?`),c("LOOSE",`^${o[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${o[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${o[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:${o[a.PRERELEASE]})?${o[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:${o[a.PRERELEASELOOSE]})?${o[a.BUILD]}?)?)?`),c("XRANGE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",o[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${o[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${o[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${o[a.LONECARET]}${o[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${o[a.LONECARET]}${o[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${o[a.GTLT]}\\s*(${o[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]}|${o[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${o[a.XRANGEPLAIN]})\\s+-\\s+(${o[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${o[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},DzVR: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"))},EaOx: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}},FEuT:function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>n(e,t,r)<0},H1mY:function(e,t,r){const n=r("Kubb");e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},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"),s=Symbol("max"),i=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),h=Symbol("noDisposeOnSet"),u=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),E=()=>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[u].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]},v=e=>{if(e[i]>e[s])for(let t=e[u].tail;e[i]>e[s]&&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[u].removeNode(t)}};class I{constructor(e,t,r,n,s){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=s||0}}const R=(e,t,r,n)=>{let s=r.value;m(e,s)&&(g(e,r),e[a]||(s=void 0)),s&&t.call(n,s.value,s.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[s]=e.max||1/0;const t=e.length||E;if(this[o]="function"!=typeof t?E: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[h]=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[s]=e||1/0,v(this)}get max(){return this[s]}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,v(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=E),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length})),v(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){const n=r.prev;R(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){const n=r.next;R(this,e,r,t),r=n}}keys(){return this[u].toArray().map(e=>e.key)}values(){return this[u].toArray().map(e=>e.value)}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach(e=>this[c](e.key,e.value)),this[p]=new Map,this[u]=new n,this[i]=0}dump(){return this[u].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[u]}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[o](t,e);if(this[p].has(e)){if(a>this[s])return g(this,this[p].get(e)),!1;const o=this[p].get(e).value;return this[c]&&(this[h]||this[c](e,o.value)),o.now=n,o.maxAge=r,o.value=t,this[i]+=a-o.length,o.length=a,this.get(e),v(this),!0}const f=new I(e,t,a,n,r);return f.length>this[s]?(this[c]&&this[c](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),v(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[u].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],s=n.e||0;if(0===s)this.set(n.k,n.v);else{const e=s-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach((e,t)=>d(this,t,!1))}}},Kubb:function(e,t,r){const{MAX_LENGTH:n}=r("EaOx"),{re:s,t:i}=r("DSYq"),o=r("wqSS"),a=r("g+In");e.exports=(e,t)=>{if(t=a(t),e instanceof o)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?s[i.LOOSE]:s[i.FULL]).test(e))return null;try{return new o(e,t)}catch(r){return null}}},OS8z:function(e,t,r){const n=r("DSYq");e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r("EaOx").SEMVER_SPEC_VERSION,SemVer:r("wqSS"),compareIdentifiers:r("/O2l").compareIdentifiers,rcompareIdentifiers:r("/O2l").rcompareIdentifiers,parse:r("Kubb"),valid:r("QCS5"),clean:r("is12"),inc:r("QKNW"),diff:r("cjm1"),major:r("VTaR"),minor:r("zeUs"),patch:r("fL8b"),prerelease:r("H1mY"),compare:r("YdzL"),rcompare:r("mWXu"),compareLoose:r("wOfL"),compareBuild:r("C0db"),sort:r("Ruw2"),rsort:r("+f0n"),gt:r("VM+J"),lt:r("FEuT"),eq:r("xT0X"),neq:r("kHTX"),gte:r("3ME3"),lte:r("Cp2A"),cmp:r("3aLh"),coerce:r("kTuQ"),Comparator:r("SaxM"),Range:r("CHIc"),satisfies:r("VQOS"),toComparators:r("dGdF"),maxSatisfying:r("albi"),minSatisfying:r("//pc"),minVersion:r("98BS"),validRange:r("7Tz1"),outside:r("QKsD"),gtr:r("Bfjy"),ltr:r("aU8l"),intersects:r("sScF"),simplifyRange:r("zf+0"),subset:r("9VKC")}},QCS5:function(e,t,r){const n=r("Kubb");e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},QKNW:function(e,t,r){const n=r("wqSS");e.exports=(e,t,r,s)=>{"string"==typeof r&&(s=r,r=void 0);try{return new n(e,r).inc(t,s).version}catch(i){return null}}},QKsD:function(e,t,r){const n=r("wqSS"),s=r("SaxM"),{ANY:i}=s,o=r("CHIc"),a=r("VQOS"),l=r("VM+J"),c=r("FEuT"),h=r("Cp2A"),u=r("3ME3");e.exports=(e,t,r,p)=>{let f,E,d,m,v;switch(e=new n(e,p),t=new o(t,p),r){case">":f=l,E=h,d=c,m=">",v=">=";break;case"<":f=c,E=u,d=l,m="<",v="<=";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,o=null;if(t.set[n].forEach(e=>{e.semver===i&&(e=new s(">=0.0.0")),r=r||e,o=o||e,f(e.semver,r.semver,p)?r=e:d(e.semver,o.semver,p)&&(o=e)}),r.operator===m||r.operator===v)return!1;if((!o.operator||o.operator===m)&&E(e,o.semver))return!1;if(o.operator===v&&d(e,o.semver))return!1}return!0}},Ruw2:function(e,t,r){const n=r("C0db");e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},SaxM:function(e,t,r){const n=Symbol("SemVer ANY");class s{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof s){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?o[a.COMPARATORLOOSE]:o[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 h(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 h(e,this.options)}catch(t){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new u(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new u(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,o=!(">="!==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&&o||a||c}}e.exports=s;const i=r("g+In"),{re:o,t:a}=r("DSYq"),l=r("3aLh"),c=r("DzVR"),h=r("wqSS"),u=r("CHIc")},"VM+J":function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>n(e,t,r)>0},VQOS:function(e,t,r){const n=r("CHIc");e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(s){return!1}return t.test(e)}},VTaR:function(e,t,r){const n=r("wqSS");e.exports=(e,t)=>new n(e,t).major},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,s=arguments.length;r<s;r++)t.push(arguments[r]);return t}function s(e,t){e.tail=new o(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,t){e.head=new o(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function o(e,t,r,n){if(!(this instanceof o))return new o(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=o,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++)s(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,s=this.head;null!==s;)r.push(e.call(t,s.value,this)),s=s.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,s=this.tail;null!==s;)r.push(e.call(t,s.value,this)),s=s.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 s=0;null!==n;s++)r=e(r,n.value,s),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 s=this.length-1;null!==n;s--)r=e(r,n.value,s),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 s=0,i=this.head;null!==i&&s<e;s++)i=i.next;for(;null!==i&&s<t;s++,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 s=this.length,i=this.tail;null!==i&&s>t;s--)i=i.prev;for(;null!==i&&s>e;s--,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,s=this.head;null!==s&&n<e;n++)s=s.next;var i,a,l,c,h=[];for(n=0;s&&n<t;n++)h.push(s.value),s=this.removeNode(s);for(null===s&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev),n=0;n<r.length;n++)l=r[n],void 0,null===(c=(a=s)===(i=this).head?new o(l,null,a,i):new o(l,a,a.next,i)).next&&(i.tail=c),null===c.prev&&(i.head=c),i.length++,s=c;return h},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){}},YdzL:function(e,t,r){const n=r("wqSS");e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},aU8l:function(e,t,r){const n=r("QKsD");e.exports=(e,t,r)=>n(e,t,"<",r)},albi:function(e,t,r){const n=r("wqSS"),s=r("CHIc");e.exports=(e,t,r)=>{let i=null,o=null,a=null;try{a=new s(t,r)}catch(l){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new n(i,r)))}),i}},cjm1:function(e,t,r){const n=r("Kubb"),s=r("xT0X");e.exports=(e,t)=>{if(s(e,t))return null;{const r=n(e),s=n(t),i=r.prerelease.length||s.prerelease.length,o=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==s[e])return o+e;return a}}},dGdF:function(e,t,r){const n=r("CHIc");e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},fL8b:function(e,t,r){const n=r("wqSS");e.exports=(e,t)=>new n(e,t).patch},"g+In":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),{}):{}},iFQ4:function(e,t,r){"use strict";r.d(t,"b",function(){return a}),r.d(t,"a",function(){return l});var n=r("OS8z"),s=r.n(n);const i={blue:{id:"blue",productName:"Ledger\xa0Blue",productIdMM:0,legacyUsbProductId:0,usbOnly:!0,memorySize:491520,blockSize:4096,getBlockSize:e=>4096},nanoS:{id:"nanoS",productName:"Ledger\xa0Nano\xa0S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,blockSize:4096,getBlockSize:e=>s.a.lt(s.a.coerce(e),"2.0.0")?4096:2048},nanoX:{id:"nanoX",productName:"Ledger\xa0Nano\xa0X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,blockSize:4096,getBlockSize:e=>4096,bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572"}]}},o=Object.values(i),a=11415,l=e=>{const t=o.find(t=>t.legacyUsbProductId===e);if(t)return t;const r=e>>8;return o.find(e=>e.productIdMM===r)},c=[],h={};for(let u in i){const e=i[u],{bluetoothSpec:t}=e;if(t)for(let r=0;r<t.length;r++){const n=t[r];c.push(n.serviceUuid),h[n.serviceUuid]=h[n.serviceUuid.replace(/-/g,"")]={deviceModel:e,...n}}}},is12:function(e,t,r){const n=r("Kubb");e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},kHTX:function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>0!==n(e,t,r)},kTuQ:function(e,t,r){const n=r("wqSS"),s=r("Kubb"),{re:i,t:o}=r("DSYq");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[o.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[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[o.COERCERTL].lastIndex=-1}else r=e.match(i[o.COERCE]);return null===r?null:s(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},lfNz:function(e,t,r){"use strict";r.d(t,"d",function(){return i}),r.d(t,"b",function(){return o}),r.d(t,"a",function(){return a}),r.d(t,"c",function(){return l});var n=r("iFQ4");const s=[{vendorId:n.b}];async function i(){return await navigator.usb.requestDevice({filters:s})}async function o(){return(await navigator.usb.getDevices()).filter(e=>e.vendorId===n.b)}async function a(){const e=await o();return e.length>0?e[0]:i()}const l=()=>Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)},mWXu:function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>n(t,e,r)},"r+TU":function(e,t,r){"use strict";r.r(t),(function(e){r.d(t,"default",function(){return h});var n=r("9oXm"),s=r("yG1/"),i=r.n(s),o=r("iFQ4"),a=r("vULT"),l=r("qPxQ"),c=r("lfNz");class h extends n.a{constructor(t,r){super(),this.device=void 0,this.deviceModel=void 0,this.channel=Math.floor(65535*Math.random()),this.packetSize=64,this.interfaceNumber=void 0,this._disconnectEmitted=!1,this._emitDisconnect=e=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=t=>this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:n}=this;Object(a.a)("apdu","=> "+t.toString("hex"));const s=i()(r,n),o=s.makeBlocks(t);for(let e=0;e<o.length;e++)await this.device.transferOut(3,o[e]);let l,c;for(;!(l=s.getReducedResult(c));){const t=await this.device.transferIn(3,n),r=e.from(t.data.buffer);c=s.reduceResponse(c,r)}return Object(a.a)("apdu","<= "+l.toString("hex")),l}).catch(e=>{if(e&&e.message&&e.message.includes("disconnected"))throw this._emitDisconnect(e),new l.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=t,this.interfaceNumber=r,this.deviceModel=Object(o.a)(t.productId)}static async request(){const e=await Object(c.d)();return h.open(e)}static async openConnected(){const e=await Object(c.b)();return 0===e.length?null:h.open(e[0])}static async open(e){await e.open(),null===e.configuration&&await e.selectConfiguration(1);const t=e.configurations[0].interfaces.find(({alternates:e})=>e.some(e=>255===e.interfaceClass));if(!t)throw new l.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");const r=t.interfaceNumber;try{await e.claimInterface(r)}catch(i){throw await e.close(),new l.TransportInterfaceNotAvailable(i.message)}const n=new h(e,r),s=t=>{e===t.device&&(navigator.usb.removeEventListener("disconnect",s),n._emitDisconnect(new l.DisconnectedDevice))};return navigator.usb.addEventListener("disconnect",s),n}async close(){await this.exchangeBusyPromise,await this.device.releaseInterface(this.interfaceNumber),await async function(e){try{await e.reset()}catch(t){console.warn(t)}}(this.device),await this.device.close()}setScrambleKey(){}}h.isSupported=c.c,h.list=c.b,h.listen=e=>{let t=!1;return Object(c.a)().then(r=>{if(!t){const t=Object(o.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}},t=>{window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new l.TransportWebUSBGestureRequired(t.message)):e.error(new l.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}).call(this,r("tjlA").Buffer)},sScF:function(e,t,r){const n=r("CHIc");e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},wOfL:function(e,t,r){const n=r("YdzL");e.exports=(e,t)=>n(e,t,!0)},wqSS:function(e,t,r){const n=r("DzVR"),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=r("EaOx"),{re:o,t:a}=r("DSYq"),l=r("g+In"),{compareIdentifiers:c}=r("/O2l");class h{constructor(e,t){if(t=l(t),e instanceof h){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>s)throw new TypeError(`version is longer than ${s} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[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 h)){if("string"==typeof e&&e===this.version)return 0;e=new h(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof h||(e=new h(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof h||(e=new h(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],s=e.prerelease[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return c(r,s)}while(++t)}compareBuild(e){e instanceof h||(e=new h(e,this.options));let t=0;do{const r=this.build[t],s=e.build[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return c(r,s)}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=h},xT0X:function(e,t,r){const n=r("YdzL");e.exports=(e,t,r)=>0===n(e,t,r)},"yG1/":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("qPxQ");function s(t){const r=e.alloc(2);return r.writeUInt16BE(t,0),r}const i={data:e.alloc(0),dataLength:0,sequence:0};t.default=(t,r)=>({makeBlocks(n){let i=e.concat([s(n.length),n]);const o=r-5,a=Math.ceil(i.length/o);i=e.concat([i,e.alloc(a*o-i.length+1).fill(0)]);const l=[];for(let r=0;r<a;r++){const n=e.alloc(5);n.writeUInt16BE(t,0),n.writeUInt8(5,2),n.writeUInt16BE(r,3);const s=i.slice(r*o,(r+1)*o);l.push(e.concat([n,s]))}return l},reduceResponse(r,s){let{data:o,dataLength:a,sequence:l}=r||i;if(s.readUInt16BE(0)!==t)throw new n.TransportError("Invalid channel","InvalidChannel");if(5!==s.readUInt8(2))throw new n.TransportError("Invalid tag","InvalidTag");if(s.readUInt16BE(3)!==l)throw new n.TransportError("Invalid sequence","InvalidSequence");r||(a=s.readUInt16BE(5)),l++;const c=s.slice(r?5:7);return o=e.concat([o,c]),o.length>a&&(o=o.slice(0,a)),{data:o,dataLength:a,sequence:l}},getReducedResult(e){if(e&&e.dataLength===e.data.length)return e.data}})}).call(this,r("tjlA").Buffer)},zeUs:function(e,t,r){const n=r("wqSS");e.exports=(e,t)=>new n(e,t).minor},"zf+0":function(e,t,r){const n=r("VQOS"),s=r("YdzL");e.exports=(e,t,r)=>{const i=[];let o=null,a=null;const l=e.sort((e,t)=>s(e,t,r));for(const s of l)n(s,t,r)?(a=s,o||(o=s)):(a&&i.push([o,a]),a=null,o=null);o&&i.push([o,null]);const c=[];for(const[n,s]of i)c.push(n===s?n:s||n!==l[0]?s?n===l[0]?`<=${s}`:`${n} - ${s}`:`>=${n}`:"*");const h=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return h.length<u.length?h:t}}}]);