From 9b108ffe8f8c66c7c78bc739d346b3277651fdfd Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau Date: Sat, 4 Nov 2023 22:37:02 +0100 Subject: [PATCH] fix: update plugin-conventional-version --- .../@yarnpkg/plugin-conventional-version.cjs | 389 ++++++++---------- .yarnrc.yml | 2 +- 2 files changed, 181 insertions(+), 210 deletions(-) diff --git a/.yarn/plugins/@yarnpkg/plugin-conventional-version.cjs b/.yarn/plugins/@yarnpkg/plugin-conventional-version.cjs index b6888442d..17c50fe64 100644 --- a/.yarn/plugins/@yarnpkg/plugin-conventional-version.cjs +++ b/.yarn/plugins/@yarnpkg/plugin-conventional-version.cjs @@ -3,24 +3,24 @@ module.exports = { name: "@yarnpkg/plugin-conventional-version", factory: function (require) { -"use strict";var plugin=(()=>{var Ij=Object.create;var sc=Object.defineProperty;var Lj=Object.getOwnPropertyDescriptor;var xj=Object.getOwnPropertyNames;var Nj=Object.getPrototypeOf,Dj=Object.prototype.hasOwnProperty;var Mj=(e,t,r)=>t in e?sc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var F=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var $n=(e,t)=>()=>(e&&(t=e(e=0)),t);var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yf=(e,t)=>{for(var r in t)sc(e,r,{get:t[r],enumerable:!0})},b2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xj(t))!Dj.call(e,i)&&i!==r&&sc(e,i,{get:()=>t[i],enumerable:!(n=Lj(t,i))||n.enumerable});return e};var At=(e,t,r)=>(r=e!=null?Ij(Nj(e)):{},b2(t||!e||!e.__esModule?sc(r,"default",{value:e,enumerable:!0}):r,e)),Fj=e=>b2(sc({},"__esModule",{value:!0}),e);var $t=(e,t,r)=>(Mj(e,typeof t!="symbol"?t+"":t,r),r),Gm=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var R=(e,t,r)=>(Gm(e,t,"read from private field"),r?r.call(e):t.get(e)),Se=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ye=(e,t,r,n)=>(Gm(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),So=(e,t,r,n)=>({set _(i){ye(e,t,i,r)},get _(){return R(e,t,n)}}),ie=(e,t,r)=>(Gm(e,t,"access private method"),r);var k2=_((Xhe,C2)=>{"use strict";var R2=F("stream").PassThrough,P2=F("stream").Writable,O2=F("util");O2.inherits(Wm,R2);O2.inherits($m,P2);function Wm(e,t){R2.call(this,t),this.factory=e,this.opts=t}Wm.prototype._flush=function(e){var t=this.factory();t.pipe(new $m(this,this.opts)).on("finish",e),t.resume()};function $m(e,t){P2.call(this,t),this.target=e}$m.prototype._write=function(e,t,r){this.target.push(e),r()};function jm(e,t){t=t||{};var r;return typeof e=="function"?r=e:(e.pause(),r=function(){return e}),new Wm(r,t)}jm.obj=function(e,t){return t=t||{},t.objectMode=!0,jm(e,t)};C2.exports=jm});var N2=_((Jhe,x2)=>{"use strict";var{Transform:Bj}=F("stream"),{StringDecoder:qj}=F("string_decoder"),Is=Symbol("last"),Ef=Symbol("decoder");function Hj(e,t,r){let n;if(this.overflow){if(n=this[Ef].write(e).split(this.matcher),n.length===1)return r();n.shift(),this.overflow=!1}else this[Is]+=this[Ef].write(e),n=this[Is].split(this.matcher);this[Is]=n.pop();for(let i=0;ithis.maxLength,this.overflow&&!this.skipOverflow){r(new Error("maximum buffer reached"));return}r()}function jj(e){if(this[Is]+=this[Ef].end(),this[Is])try{L2(this,this.mapper(this[Is]))}catch(t){return e(t)}e()}function L2(e,t){t!==void 0&&e.push(t)}function I2(e){return e}function Wj(e,t,r){switch(e=e||/\r?\n/,t=t||I2,r=r||{},arguments.length){case 1:typeof e=="function"?(t=e,e=/\r?\n/):typeof e=="object"&&!(e instanceof RegExp)&&!e[Symbol.split]&&(r=e,e=/\r?\n/);break;case 2:typeof e=="function"?(r=t,t=e,e=/\r?\n/):typeof t=="object"&&(r=t,t=I2)}r=Object.assign({},r),r.autoDestroy=!0,r.transform=Hj,r.flush=jj,r.readableObjectMode=!0;let n=new Bj(r);return n[Is]="",n[Ef]=new qj("utf8"),n.matcher=e,n.mapper=t,n.maxLength=r.maxLength,n.skipOverflow=r.skipOverflow||!1,n.overflow=!1,n._destroy=function(i,s){this._writableState.errorEmitted=!1,s(i)},n}x2.exports=Wj});var F2={};yf(F2,{default:()=>M2});function M2(e,t){let r=[],n=[],i=[];t={useEquals:!0,shortFlag:!0,...t};let s=(c,l)=>{let p=t.shortFlag&&c.length===1?"-":"--",d=t.allowCamelCase?c:c.replace(/[A-Z]/g,"-$&").toLowerCase();c=p+d,t.useEquals?r.push(c+(l?`=${l}`:"")):(r.push(c),l&&r.push(l))},o=(c,l)=>{r.push(`-${c}`),l&&r.push(l)};for(let[c,l]of Object.entries(e)){let p=s;if(!(Array.isArray(t.excludes)&&D2(t.excludes,c))&&!(Array.isArray(t.includes)&&!D2(t.includes,c))){if(typeof t.aliases=="object"&&t.aliases[c]&&(c=t.aliases[c],p=o),c==="--"){if(!Array.isArray(l))throw new TypeError(`Expected key \`--\` to be Array, got ${typeof l}`);i=l;continue}if(c==="_"){if(!Array.isArray(l))throw new TypeError(`Expected key \`_\` to be Array, got ${typeof l}`);n=l;continue}if(l===!0&&!t.ignoreTrue&&p(c,""),l===!1&&!t.ignoreFalse&&p(`no-${c}`),typeof l=="string"&&p(c,l),typeof l=="number"&&!Number.isNaN(l)&&p(c,String(l)),Array.isArray(l))for(let d of l)p(c,d)}}for(let c of n)r.push(String(c));i.length>0&&r.push("--");for(let c of i)r.push(String(c));return r}var D2,G2=$n(()=>{D2=(e,t)=>e.some(r=>r instanceof RegExp?r.test(t):r===t)});var H2=_((Qhe,q2)=>{var{Readable:$j,Transform:U2}=F("stream"),{execFile:Vj}=F("child_process"),Kj=N2(),B2="------------------------ >8 ------------------------";function zj(e){return e=e||{},e.cwd=e.cwd||process.cwd(),e}function Yj(e){return e=e||{},e.format=e.format||"%B",e.from=e.from||"",e.to=e.to||"HEAD",e}async function Xj(e){let{default:t}=await Promise.resolve().then(()=>(G2(),F2)),r=`--format=${e.format||""}%n${B2}`,n=[e.from,e.to].filter(Boolean).join(".."),i=["log",r,n].concat(t(e,{excludes:["debug","from","to","format","path","ignore"]}));return e.path&&i.push("--",...Array.isArray(e.path)?e.path:[e.path]),i}function Jj(e,t){let r=new $j;r._read=()=>{};let n=Yj(e),i=zj(t),s=!1;return Xj(n).then(o=>{n.debug&&n.debug(`Your git-log command is: -git `+o.join(" "));let c=typeof n.ignore=="string"?new RegExp(n.ignore):n.ignore,l=c?d=>!c.test(d.toString()):()=>!0,p=Vj("git",o,{cwd:i.cwd,maxBuffer:1/0});p.stdout.pipe(Kj(B2+` -`)).pipe(new U2({transform(d,h,m){s=!1,setImmediate(()=>{l(d)&&r.push(d),m()})},flush(d){setImmediate(()=>{s||(r.push(null),r.emit("close")),d()})}})),p.stderr.pipe(new U2({objectMode:!0,highWaterMark:16,transform(d){s=!0,r.emit("error",new Error(d)),r.emit("close")}}))}),r}q2.exports=Jj});var $2=_((Zhe,W2)=>{"use strict";var Qj=/()(.+)/gi,Zj="# ------------------------ >8 ------------------------";function bf(e){let t=e.match(/[^\r\n]/);if(!t)return"";let r=t.index,n=e.length-1;for(;e[n]==="\r"||e[n]===` -`;)n--;return e.substring(r,n+1)}function Ao(e,t){return e?e+=` -`+t:e=t,e}function eW(e){return function(t){return t.charAt(0)!==e}}function tW(e){let t=e.indexOf(Zj);return t===-1?e:e.slice(0,t)}function j2(e,t){let r=[],n,i,s=e.match(t.references)!==null?t.references:Qj;for(;n=s.exec(e);){let o=n[1]||null,c=n[2];for(;i=t.referenceParts.exec(c);){let l=null,p=i[1]||"",d=p.split("/");d.length>1&&(l=d.shift(),p=d.join("/"));let h={action:o,owner:l,repository:p||null,issue:i[3],raw:i[0],prefix:i[2]};r.push(h)}}return r}function rW(){return!0}function nW(e,t,r){var $,ue,D;if(!e||!e.trim())throw new TypeError("Expected a raw commit");if(!t||typeof t=="object"&&!Object.keys(t).length)throw new TypeError("Expected options");if(!r)throw new TypeError("Expected regex");let n,i,s={},o=typeof t.commentChar=="string"?eW(t.commentChar):rW,c=I=>!I.match(/^\s*gpg:/),l=bf(e).split(/\r?\n/),p=tW(l).filter(o).filter(c),d=!1,h=!0,m=(($=t.headerCorrespondence)==null?void 0:$.map(function(I){return I.trim()}))||[],w=((ue=t.revertCorrespondence)==null?void 0:ue.map(function(I){return I.trim()}))||[],v=((D=t.mergeCorrespondence)==null?void 0:D.map(function(I){return I.trim()}))||[],E=null,A=null,S=null,M=[],C=null,O=[],H=[],U=null;if(p.length===0)return{body:E,footer:A,header:S,mentions:M,merge:C,notes:O,references:H,revert:U,scope:null,subject:null,type:null};C=p.shift();let q={},J={};E="",A="";let ee=C.match(t.mergePattern);if(ee&&t.mergePattern){for(C=ee[0],S=p.shift();S!==void 0&&!S.trim();)S=p.shift();S||(S=""),v.forEach(function(I,ve){let pe=ee[ve+1]||null;q[I]=pe})}else S=C,C=null,v.forEach(function(I){q[I]=null});let X=S.match(t.headerPattern);if(X?m.forEach(function(I,ve){let pe=X[ve+1]||null;J[I]=pe}):m.forEach(function(I){J[I]=null}),H.push(...j2(S,{references:r.references,referenceParts:r.referenceParts})),p.forEach(function(I){if(t.fieldPattern){let nt=t.fieldPattern.exec(I);if(nt){n=nt[1];return}if(n){s[n]=Ao(s[n],I);return}}let ve,pe=I.match(r.notes);if(pe){d=!0,h=!1,A=Ao(A,I);let nt={title:pe[1],text:pe[2]};O.push(nt);return}let ke=j2(I,{references:r.references,referenceParts:r.referenceParts});if(ke.length>0&&(h=!1,ve=!0,d=!1),Array.prototype.push.apply(H,ke),ve){A=Ao(A,I);return}if(d){O[O.length-1].text=Ao(O[O.length-1].text,I),A=Ao(A,I);return}h?E=Ao(E,I):A=Ao(A,I)}),t.breakingHeaderPattern&&O.length===0){let I=S.match(t.breakingHeaderPattern);if(I){let ve=I[3];O.push({title:"BREAKING CHANGE",text:ve})}}for(;i=r.mentions.exec(e);)M.push(i[1]);let N=e.match(t.revertPattern);return N?(U={},w.forEach(function(I,ve){let pe=N[ve+1]||null;U[I]=pe})):U=null,O.forEach(function(I){I.text=bf(I.text)}),{...J,...q,merge:C,header:S,body:E?bf(E):null,footer:A?bf(A):null,notes:O,references:H,mentions:M,revert:U,...s}}W2.exports=nW});var z2=_((ede,K2)=>{"use strict";var V2=/(?!.*)/;function Vm(e,t){return e.map(function(r){return r.trim()}).filter(function(r){return r.length}).join(t)}function iW(e,t){if(!e)return V2;let r=Vm(e,"|");return t?t(r):new RegExp("^[\\s|*]*("+r+")[:\\s]+(.*)","i")}function sW(e,t){if(!e)return V2;let r=t?"g":"gi";return new RegExp("(?:.*?)??\\s*([\\w-\\.\\/]*?)??("+Vm(e,"|")+")([\\w-]*\\d+)",r)}function oW(e){if(!e)return/()(.+)/gi;let t=Vm(e,"|");return new RegExp("("+t+")(?:\\s+(.*?))(?=(?:"+t+")|$)","gi")}K2.exports=function(e){e=e||{};let t=iW(e.noteKeywords,e.notesPattern),r=sW(e.issuePrefixes,e.issuePrefixesCaseSensitive),n=oW(e.referenceActions);return{notes:t,referenceParts:r,references:n,mentions:/@([\w-]+)/g}}});var Q2=_((tde,Km)=>{"use strict";var{Transform:aW}=F("stream"),Y2=$2(),X2=z2();function J2(e){return e={headerPattern:/^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#"],noteKeywords:["BREAKING CHANGE","BREAKING-CHANGE"],fieldPattern:/^-(.*?)-$/,revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,revertCorrespondence:["header","hash"],warn:function(){},mergePattern:null,mergeCorrespondence:null,...e},typeof e.headerPattern=="string"&&(e.headerPattern=new RegExp(e.headerPattern)),typeof e.headerCorrespondence=="string"&&(e.headerCorrespondence=e.headerCorrespondence.split(",")),typeof e.referenceActions=="string"&&(e.referenceActions=e.referenceActions.split(",")),typeof e.issuePrefixes=="string"&&(e.issuePrefixes=e.issuePrefixes.split(",")),typeof e.noteKeywords=="string"&&(e.noteKeywords=e.noteKeywords.split(",")),typeof e.fieldPattern=="string"&&(e.fieldPattern=new RegExp(e.fieldPattern)),typeof e.revertPattern=="string"&&(e.revertPattern=new RegExp(e.revertPattern)),typeof e.revertCorrespondence=="string"&&(e.revertCorrespondence=e.revertCorrespondence.split(",")),typeof e.mergePattern=="string"&&(e.mergePattern=new RegExp(e.mergePattern)),e}function uW(e){e=J2(e);let t=X2(e);return new aW({objectMode:!0,highWaterMark:16,transform(r,n,i){let s;try{s=Y2(r.toString(),e,t),i(null,s)}catch(o){e.warn===!0?i(o):(e.warn(o.toString()),i(null,""))}}})}function cW(e,t){t=J2(t);let r=X2(t);return Y2(e,t,r)}Km.exports=uW;Km.exports.sync=cW});var zm=_((rde,Z2)=>{"use strict";function lW(e,t){let r,n;return Object.keys(t).every(i=>(r=e[i],n=t[i],typeof r=="string"&&(r=r.trim()),typeof n=="string"&&(n=n.trim()),r===n))}function fW(e,t){if(!t.size)return null;let r=e.raw||e;for(let n of t)if(n.revert&&lW(r,n.revert))return n;return null}function pW(e){if(!Array.isArray(e))throw new TypeError("Expected an array");let t=[],r=new Set,n=0,i;for(let s of e){if(i=fW(s,r),i){r.delete(i),n--;continue}if(s.revert){r.add(s),n++;continue}n>0?r.add(s):t.push(s)}if(r.size)for(let s of r)t.push(s);return t}Z2.exports=pW});var Tr=_(Zr=>{"use strict";Zr.__esModule=!0;Zr.extend=eS;Zr.indexOf=vW;Zr.escapeExpression=yW;Zr.isEmpty=_W;Zr.createFrame=EW;Zr.blockParams=bW;Zr.appendContextPath=TW;var hW={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},dW=/[&<>"'`=]/g,gW=/[&<>"'`=]/;function mW(e){return hW[e]}function eS(e){for(var t=1;t{"use strict";Tf.__esModule=!0;var Jm=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Qm(e,t){var r=t&&t.loc,n=void 0,i=void 0,s=void 0,o=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,o=r.end.column,e+=" - "+n+":"+s);for(var c=Error.prototype.constructor.call(this,e),l=0;l{"use strict";wf.__esModule=!0;var Zm=Tr();wf.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var n=r.inverse,i=r.fn;if(t===!0)return i(this);if(t===!1||t==null)return n(this);if(Zm.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):n(this);if(r.data&&r.ids){var s=Zm.createFrame(r.data);s.contextPath=Zm.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(t,r)})};nS.exports=wf.default});var oS=_((Sf,sS)=>{"use strict";Sf.__esModule=!0;function wW(e){return e&&e.__esModule?e:{default:e}}var oc=Tr(),SW=wn(),AW=wW(SW);Sf.default=function(e){e.registerHelper("each",function(t,r){if(!r)throw new AW.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,o="",c=void 0,l=void 0;r.data&&r.ids&&(l=oc.appendContextPath(r.data.contextPath,r.ids[0])+"."),oc.isFunction(t)&&(t=t.call(this)),r.data&&(c=oc.createFrame(r.data));function p(v,E,A){c&&(c.key=v,c.index=E,c.first=E===0,c.last=!!A,l&&(c.contextPath=l+v)),o=o+n(t[v],{data:c,blockParams:oc.blockParams([t[v],v],[l+v,null])})}if(t&&typeof t=="object")if(oc.isArray(t))for(var d=t.length;s{"use strict";Af.__esModule=!0;function RW(e){return e&&e.__esModule?e:{default:e}}var PW=wn(),OW=RW(PW);Af.default=function(e){e.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new OW.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};aS.exports=Af.default});var pS=_((Rf,fS)=>{"use strict";Rf.__esModule=!0;function CW(e){return e&&e.__esModule?e:{default:e}}var cS=Tr(),kW=wn(),lS=CW(kW);Rf.default=function(e){e.registerHelper("if",function(t,r){if(arguments.length!=2)throw new lS.default("#if requires exactly one argument");return cS.isFunction(t)&&(t=t.call(this)),!r.hash.includeZero&&!t||cS.isEmpty(t)?r.inverse(this):r.fn(this)}),e.registerHelper("unless",function(t,r){if(arguments.length!=2)throw new lS.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};fS.exports=Rf.default});var dS=_((Pf,hS)=>{"use strict";Pf.__esModule=!0;Pf.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";Of.__esModule=!0;Of.default=function(e){e.registerHelper("lookup",function(t,r,n){return t&&n.lookupProperty(t,r)})};gS.exports=Of.default});var yS=_((Cf,vS)=>{"use strict";Cf.__esModule=!0;function IW(e){return e&&e.__esModule?e:{default:e}}var ac=Tr(),LW=wn(),xW=IW(LW);Cf.default=function(e){e.registerHelper("with",function(t,r){if(arguments.length!=2)throw new xW.default("#with requires exactly one argument");ac.isFunction(t)&&(t=t.call(this));var n=r.fn;if(ac.isEmpty(t))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=ac.createFrame(r.data),i.contextPath=ac.appendContextPath(r.data.contextPath,r.ids[0])),n(t,{data:i,blockParams:ac.blockParams([t],[i&&i.contextPath])})})};vS.exports=Cf.default});var ev=_(kf=>{"use strict";kf.__esModule=!0;kf.registerDefaultHelpers=zW;kf.moveHelperToHooks=YW;function Ro(e){return e&&e.__esModule?e:{default:e}}var NW=iS(),DW=Ro(NW),MW=oS(),FW=Ro(MW),GW=uS(),UW=Ro(GW),BW=pS(),qW=Ro(BW),HW=dS(),jW=Ro(HW),WW=mS(),$W=Ro(WW),VW=yS(),KW=Ro(VW);function zW(e){DW.default(e),FW.default(e),UW.default(e),qW.default(e),jW.default(e),$W.default(e),KW.default(e)}function YW(e,t,r){e.helpers[t]&&(e.hooks[t]=e.helpers[t],r||delete e.helpers[t])}});var ES=_((If,_S)=>{"use strict";If.__esModule=!0;var XW=Tr();If.default=function(e){e.registerDecorator("inline",function(t,r,n,i){var s=t;return r.partials||(r.partials={},s=function(o,c){var l=n.partials;n.partials=XW.extend({},l,r.partials);var p=t(o,c);return n.partials=l,p}),r.partials[i.args[0]]=i.fn,s})};_S.exports=If.default});var bS=_(tv=>{"use strict";tv.__esModule=!0;tv.registerDefaultDecorators=e$;function JW(e){return e&&e.__esModule?e:{default:e}}var QW=ES(),ZW=JW(QW);function e$(e){ZW.default(e)}});var rv=_((Lf,TS)=>{"use strict";Lf.__esModule=!0;var t$=Tr(),Sa={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if(typeof t=="string"){var r=t$.indexOf(Sa.methodMap,t.toLowerCase());r>=0?t=r:t=parseInt(t,10)}return t},log:function(t){if(t=Sa.lookupLevel(t),typeof console<"u"&&Sa.lookupLevel(Sa.level)<=t){var r=Sa.methodMap[t];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";nv.__esModule=!0;nv.createNewLookupObject=n$;var r$=Tr();function n$(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";uc.__esModule=!0;uc.createProtoAccessControl=a$;uc.resultIsAllowed=u$;uc.resetLoggedProperties=l$;function i$(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var SS=wS(),s$=rv(),o$=i$(s$),xf=Object.create(null);function a$(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:SS.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:SS.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function u$(e,t,r){return AS(typeof e=="function"?t.methods:t.properties,r)}function AS(e,t){return e.whitelist[t]!==void 0?e.whitelist[t]===!0:e.defaultValue!==void 0?e.defaultValue:(c$(t),!1)}function c$(e){xf[e]!==!0&&(xf[e]=!0,o$.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent. +"use strict";var plugin=(()=>{var uD=Object.create;var No=Object.defineProperty;var cD=Object.getOwnPropertyDescriptor;var lD=Object.getOwnPropertyNames;var fD=Object.getPrototypeOf,pD=Object.prototype.hasOwnProperty;var hD=(e,t,r)=>t in e?No(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var P=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var _r=(e,t)=>()=>(e&&(t=e(e=0)),t);var d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),nu=(e,t)=>{for(var r in t)No(e,r,{get:t[r],enumerable:!0})},vE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of lD(t))!pD.call(e,i)&&i!==r&&No(e,i,{get:()=>t[i],enumerable:!(n=cD(t,i))||n.enumerable});return e};var Ne=(e,t,r)=>(r=e!=null?uD(fD(e)):{},vE(t||!e||!e.__esModule?No(r,"default",{value:e,enumerable:!0}):r,e)),dD=e=>vE(No({},"__esModule",{value:!0}),e);var nt=(e,t,r)=>(hD(e,typeof t!="symbol"?t+"":t,r),r),sp=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var E=(e,t,r)=>(sp(e,t,"read from private field"),r?r.call(e):t.get(e)),ee=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},J=(e,t,r,n)=>(sp(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),bi=(e,t,r,n)=>({set _(i){J(e,t,i,r)},get _(){return E(e,t,n)}}),B=(e,t,r)=>(sp(e,t,"access private method"),r);var lp=d((oee,TE)=>{TE.exports=P("stream")});var OE=d((aee,PE)=>{"use strict";function SE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function wE(e){for(var t=1;t0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return su.alloc(0);for(var n=su.allocUnsafe(r>>>0),i=this.head,s=0;i;)wD(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return ro.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=su.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,a),r-=a,r===0){a===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++s}return this.length-=s,n}},{key:SD,value:function(r,n){return fp(this,wE(wE({},n),{},{depth:0,customInspect:!1}))}}]),e}()});var hp=d((uee,kE)=>{"use strict";function AD(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(pp,this,e)):process.nextTick(pp,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(ou,r):(r._writableState.errorEmitted=!0,process.nextTick(CE,r,s)):process.nextTick(CE,r,s):t?(process.nextTick(ou,r),t(s)):process.nextTick(ou,r)}),this)}function CE(e,t){pp(e,t),ou(e)}function ou(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function RD(){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)}function pp(e,t){e.emit("error",t)}function PD(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}kE.exports={destroy:AD,undestroy:RD,errorOrDestroy:PD}});var Mn=d((cee,NE)=>{"use strict";var LE={};function nr(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}class i extends r{constructor(o,a,u){super(n(o,a,u))}}i.prototype.name=r.name,i.prototype.code=e,LE[e]=i}function IE(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function OD(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function CD(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function kD(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}nr("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);nr("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&OD(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(CD(e," argument"))i=`The ${e} ${n} ${IE(t,"type")}`;else{let s=kD(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${IE(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);nr("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");nr("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});nr("ERR_STREAM_PREMATURE_CLOSE","Premature close");nr("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});nr("ERR_MULTIPLE_CALLBACK","Callback called multiple times");nr("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");nr("ERR_STREAM_WRITE_AFTER_END","write after end");nr("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);nr("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);nr("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");NE.exports.codes=LE});var dp=d((lee,xE)=>{"use strict";var ID=Mn().codes.ERR_INVALID_OPT_VALUE;function LD(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function ND(e,t,r,n){var i=LD(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new ID(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}xE.exports={getHighWaterMark:ND}});var DE=d((fee,gp)=>{typeof Object.create=="function"?gp.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:gp.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Ti=d((pee,vp)=>{try{if(mp=P("util"),typeof mp.inherits!="function")throw"";vp.exports=mp.inherits}catch{vp.exports=DE()}var mp});var FE=d((hee,ME)=>{ME.exports=P("util").deprecate});var _p=d((dee,HE)=>{"use strict";HE.exports=Ve;function UE(e){var t=this;this.next=null,this.entry=null,this.finish=function(){oM(t,e)}}var ps;Ve.WritableState=Do;var xD={deprecate:FE()},BE=lp(),uu=P("buffer").Buffer,DD=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function MD(e){return uu.from(e)}function FD(e){return uu.isBuffer(e)||e instanceof DD}var Ep=hp(),GD=dp(),UD=GD.getHighWaterMark,Fn=Mn().codes,BD=Fn.ERR_INVALID_ARG_TYPE,qD=Fn.ERR_METHOD_NOT_IMPLEMENTED,jD=Fn.ERR_MULTIPLE_CALLBACK,HD=Fn.ERR_STREAM_CANNOT_PIPE,$D=Fn.ERR_STREAM_DESTROYED,WD=Fn.ERR_STREAM_NULL_VALUES,VD=Fn.ERR_STREAM_WRITE_AFTER_END,KD=Fn.ERR_UNKNOWN_ENCODING,hs=Ep.errorOrDestroy;Ti()(Ve,BE);function zD(){}function Do(e,t,r){ps=ps||Si(),e=e||{},typeof r!="boolean"&&(r=t instanceof ps),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=UD(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){tM(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new UE(this)}Do.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Do.prototype,"buffer",{get:xD.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var au;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(au=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ve,Symbol.hasInstance,{value:function(t){return au.call(this,t)?!0:this!==Ve?!1:t&&t._writableState instanceof Do}})):au=function(t){return t instanceof this};function Ve(e){ps=ps||Si();var t=this instanceof ps;if(!t&&!au.call(Ve,this))return new Ve(e);this._writableState=new Do(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),BE.call(this)}Ve.prototype.pipe=function(){hs(this,new HD)};function YD(e,t){var r=new VD;hs(e,r),process.nextTick(t,r)}function XD(e,t,r,n){var i;return r===null?i=new WD:typeof r!="string"&&!t.objectMode&&(i=new BD("chunk",["string","Buffer"],r)),i?(hs(e,i),process.nextTick(n,i),!1):!0}Ve.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&FD(e);return s&&!uu.isBuffer(e)&&(e=MD(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=zD),n.ending?YD(this,r):(s||XD(this,n,e,r))&&(n.pendingcb++,i=JD(this,n,s,e,t,r)),i};Ve.prototype.cork=function(){this._writableState.corked++};Ve.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&qE(this,e))};Ve.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new KD(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Ve.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function QD(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=uu.from(t,r)),t}Object.defineProperty(Ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function JD(e,t,r,n,i,s){if(!r){var o=QD(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length{"use strict";var aM=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};WE.exports=Ur;var $E=Sp(),Tp=_p();Ti()(Ur,$E);for(bp=aM(Tp.prototype),cu=0;cu{var fu=P("buffer"),Br=fu.Buffer;function VE(e,t){for(var r in e)t[r]=e[r]}Br.from&&Br.alloc&&Br.allocUnsafe&&Br.allocUnsafeSlow?KE.exports=fu:(VE(fu,wp),wp.Buffer=wi);function wi(e,t,r){return Br(e,t,r)}wi.prototype=Object.create(Br.prototype);VE(Br,wi);wi.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Br(e,t,r)};wi.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Br(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};wi.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Br(e)};wi.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return fu.SlowBuffer(e)}});var Pp=d(XE=>{"use strict";var Rp=zE().Buffer,YE=Rp.isEncoding||function(e){switch(e=""+e,e&&e.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 lM(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function fM(e){var t=lM(e);if(typeof t!="string"&&(Rp.isEncoding===YE||!YE(e)))throw new Error("Unknown encoding: "+e);return t||e}XE.StringDecoder=Mo;function Mo(e){this.encoding=fM(e);var t;switch(this.encoding){case"utf16le":this.text=vM,this.end=yM,t=4;break;case"utf8":this.fillLast=dM,t=4;break;case"base64":this.text=EM,this.end=_M,t=3;break;default:this.write=bM,this.end=TM;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Rp.allocUnsafe(t)}Mo.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function pM(e,t,r){var n=t.length-1;if(n=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function hM(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function dM(e){var t=this.lastTotal-this.lastNeed,r=hM(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function gM(e,t){var r=pM(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function mM(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function vM(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function yM(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function EM(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function _M(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function bM(e){return e.toString(this.encoding)}function TM(e){return e&&e.length?this.write(e):""}});var pu=d((vee,ZE)=>{"use strict";var QE=Mn().codes.ERR_STREAM_PREMATURE_CLOSE;function SM(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i{"use strict";var hu;function Gn(e,t,r){return t=RM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RM(e){var t=PM(e,"string");return typeof t=="symbol"?t:String(t)}function PM(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var OM=pu(),Un=Symbol("lastResolve"),Ai=Symbol("lastReject"),Fo=Symbol("error"),du=Symbol("ended"),Ri=Symbol("lastPromise"),Op=Symbol("handlePromise"),Pi=Symbol("stream");function Bn(e,t){return{value:e,done:t}}function CM(e){var t=e[Un];if(t!==null){var r=e[Pi].read();r!==null&&(e[Ri]=null,e[Un]=null,e[Ai]=null,t(Bn(r,!1)))}}function kM(e){process.nextTick(CM,e)}function IM(e,t){return function(r,n){e.then(function(){if(t[du]){r(Bn(void 0,!0));return}t[Op](r,n)},n)}}var LM=Object.getPrototypeOf(function(){}),NM=Object.setPrototypeOf((hu={get stream(){return this[Pi]},next:function(){var t=this,r=this[Fo];if(r!==null)return Promise.reject(r);if(this[du])return Promise.resolve(Bn(void 0,!0));if(this[Pi].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Fo]?a(t[Fo]):o(Bn(void 0,!0))})});var n=this[Ri],i;if(n)i=new Promise(IM(n,this));else{var s=this[Pi].read();if(s!==null)return Promise.resolve(Bn(s,!1));i=new Promise(this[Op])}return this[Ri]=i,i}},Gn(hu,Symbol.asyncIterator,function(){return this}),Gn(hu,"return",function(){var t=this;return new Promise(function(r,n){t[Pi].destroy(null,function(i){if(i){n(i);return}r(Bn(void 0,!0))})})}),hu),LM),xM=function(t){var r,n=Object.create(NM,(r={},Gn(r,Pi,{value:t,writable:!0}),Gn(r,Un,{value:null,writable:!0}),Gn(r,Ai,{value:null,writable:!0}),Gn(r,Fo,{value:null,writable:!0}),Gn(r,du,{value:t._readableState.endEmitted,writable:!0}),Gn(r,Op,{value:function(s,o){var a=n[Pi].read();a?(n[Ri]=null,n[Un]=null,n[Ai]=null,s(Bn(a,!1))):(n[Un]=s,n[Ai]=o)},writable:!0}),r));return n[Ri]=null,OM(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[Ai];s!==null&&(n[Ri]=null,n[Un]=null,n[Ai]=null,s(i)),n[Fo]=i;return}var o=n[Un];o!==null&&(n[Ri]=null,n[Un]=null,n[Ai]=null,o(Bn(void 0,!0))),n[du]=!0}),t.on("readable",kM.bind(null,n)),n};e0.exports=xM});var s0=d((Eee,i0)=>{"use strict";function r0(e,t,r,n,i,s,o){try{var a=e[s](o),u=a.value}catch(c){r(c);return}a.done?t(u):Promise.resolve(u).then(n,i)}function DM(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(u){r0(s,n,i,o,a,"next",u)}function a(u){r0(s,n,i,o,a,"throw",u)}o(void 0)})}}function n0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function MM(e){for(var t=1;t{"use strict";g0.exports=he;var ds;he.ReadableState=c0;var _ee=P("events").EventEmitter,u0=function(t,r){return t.listeners(r).length},Uo=lp(),gu=P("buffer").Buffer,jM=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function HM(e){return gu.from(e)}function $M(e){return gu.isBuffer(e)||e instanceof jM}var Cp=P("util"),ae;Cp&&Cp.debuglog?ae=Cp.debuglog("stream"):ae=function(){};var WM=OE(),Mp=hp(),VM=dp(),KM=VM.getHighWaterMark,mu=Mn().codes,zM=mu.ERR_INVALID_ARG_TYPE,YM=mu.ERR_STREAM_PUSH_AFTER_EOF,XM=mu.ERR_METHOD_NOT_IMPLEMENTED,QM=mu.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,gs,kp,Ip;Ti()(he,Uo);var Go=Mp.errorOrDestroy,Lp=["error","close","destroy","pause","resume"];function JM(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function c0(e,t,r){ds=ds||Si(),e=e||{},typeof r!="boolean"&&(r=t instanceof ds),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=KM(this,e,"readableHighWaterMark",r),this.buffer=new WM,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=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(gs||(gs=Pp().StringDecoder),this.decoder=new gs(e.encoding),this.encoding=e.encoding)}function he(e){if(ds=ds||Si(),!(this instanceof he))return new he(e);var t=this instanceof ds;this._readableState=new c0(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Uo.call(this)}Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});he.prototype.destroy=Mp.destroy;he.prototype._undestroy=Mp.undestroy;he.prototype._destroy=function(e,t){t(e)};he.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=gu.from(e,t),t=""),n=!0),l0(this,e,t,!1,n)};he.prototype.unshift=function(e){return l0(this,e,null,!0,!1)};function l0(e,t,r,n,i){ae("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,t3(e,s);else{var o;if(i||(o=ZM(s,t)),o)Go(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==gu.prototype&&(t=HM(t)),n)s.endEmitted?Go(e,new QM):Np(e,s,t,!0);else if(s.ended)Go(e,new YM);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Np(e,s,t,!1):Dp(e,s)):Np(e,s,t,!1)}else n||(s.reading=!1,Dp(e,s))}return!s.ended&&(s.length=o0?e=o0:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function a0(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=e3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}he.prototype.read=function(e){ae("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return ae("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?xp(this):vu(this),null;if(e=a0(e,t),e===0&&t.ended)return t.length===0&&xp(this),null;var n=t.needReadable;ae("need readable",n),(t.length===0||t.length-e0?i=h0(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&xp(this)),i!==null&&this.emit("data",i),i};function t3(e,t){if(ae("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?vu(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,f0(e)))}}function vu(e){var t=e._readableState;ae("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(ae("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(f0,e))}function f0(e){var t=e._readableState;ae("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Fp(e)}function Dp(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(r3,e,t))}function r3(e,t){for(;!t.reading&&!t.ended&&(t.length1&&d0(n.pipes,e)!==-1)&&!c&&(ae("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(y){ae("onerror",y),g(),e.removeListener("error",p),u0(e,"error")===0&&Go(e,y)}JM(e,"error",p);function m(){e.removeListener("finish",h),g()}e.once("close",m);function h(){ae("onfinish"),e.removeListener("close",m),g()}e.once("finish",h);function g(){ae("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(ae("pipe resume"),r.resume()),e};function n3(e){return function(){var r=e._readableState;ae("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&u0(e,"data")&&(r.flowing=!0,Fp(e))}}he.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,ae("on readable",n.length,n.reading),n.length?vu(this):n.reading||process.nextTick(i3,this)),r};he.prototype.addListener=he.prototype.on;he.prototype.removeListener=function(e,t){var r=Uo.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(p0,this),r};he.prototype.removeAllListeners=function(e){var t=Uo.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(p0,this),t};function p0(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function i3(e){ae("readable nexttick read 0"),e.read(0)}he.prototype.resume=function(){var e=this._readableState;return e.flowing||(ae("resume"),e.flowing=!e.readableListening,s3(this,e)),e.paused=!1,this};function s3(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(o3,e,t))}function o3(e,t){ae("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Fp(e),t.flowing&&!t.reading&&e.read(0)}he.prototype.pause=function(){return ae("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ae("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Fp(e){var t=e._readableState;for(ae("flow",t.flowing);t.flowing&&e.read()!==null;);}he.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(ae("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(ae("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(a){return function(){return e[a].apply(e,arguments)}}(i));for(var s=0;s=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function xp(e){var t=e._readableState;ae("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(a3,t,e))}function a3(e,t){if(ae("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(he.from=function(e,t){return Ip===void 0&&(Ip=s0()),Ip(he,e,t)});function d0(e,t){for(var r=0,n=e.length;r{"use strict";v0.exports=pn;var yu=Mn().codes,u3=yu.ERR_METHOD_NOT_IMPLEMENTED,c3=yu.ERR_MULTIPLE_CALLBACK,l3=yu.ERR_TRANSFORM_ALREADY_TRANSFORMING,f3=yu.ERR_TRANSFORM_WITH_LENGTH_0,Eu=Si();Ti()(pn,Eu);function p3(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new c3);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";E0.exports=Bo;var y0=Gp();Ti()(Bo,y0);function Bo(e){if(!(this instanceof Bo))return new Bo(e);y0.call(this,e)}Bo.prototype._transform=function(e,t,r){r(null,e)}});var A0=d((wee,w0)=>{"use strict";var Up;function d3(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var S0=Mn().codes,g3=S0.ERR_MISSING_ARGS,m3=S0.ERR_STREAM_DESTROYED;function b0(e){if(e)throw e}function v3(e){return e.setHeader&&typeof e.abort=="function"}function y3(e,t,r,n){n=d3(n);var i=!1;e.on("close",function(){i=!0}),Up===void 0&&(Up=pu()),Up(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,v3(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new m3("pipe"))}}}function T0(e){e()}function E3(e,t){return e.pipe(t)}function _3(e){return!e.length||typeof e[e.length-1]!="function"?b0:e.pop()}function b3(){for(var e=arguments.length,t=new Array(e),r=0;r0;return y3(o,u,c,function(f){i||(i=f),f&&s.forEach(T0),!u&&(s.forEach(T0),n(i))})});return t.reduce(E3)}w0.exports=b3});var R0=d((ir,jo)=>{var qo=P("stream");process.env.READABLE_STREAM==="disable"&&qo?(jo.exports=qo.Readable,Object.assign(jo.exports,qo),jo.exports.Stream=qo):(ir=jo.exports=Sp(),ir.Stream=qo||ir,ir.Readable=ir,ir.Writable=_p(),ir.Duplex=Si(),ir.Transform=Gp(),ir.PassThrough=_0(),ir.finished=pu(),ir.pipeline=A0())});var O0=d((Aee,P0)=>{var T3=Object.prototype.toString,Bp=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function S3(e){return T3.call(e).slice(8,-1)==="ArrayBuffer"}function w3(e,t,r){t>>>=0;var n=e.byteLength-t;if(n<0)throw new RangeError("'offset' is out of bounds");if(r===void 0)r=n;else if(r>>>=0,r>n)throw new RangeError("'length' is out of bounds");return Bp?Buffer.from(e.slice(t,t+r)):new Buffer(new Uint8Array(e.slice(t,t+r)))}function A3(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');return Bp?Buffer.from(e,t):new Buffer(e,t)}function R3(e,t,r){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return S3(e)?w3(e,t,r):typeof e=="string"?A3(e,t):Bp?Buffer.from(e):new Buffer(e)}P0.exports=R3});var x0=d(re=>{var C0=void 0,P3=1e5,Ge=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(r){return e.call(r).replace(/^\[object *|\]$/g,"")},HasProperty:function(r,n){return n in r},HasOwnProperty:function(r,n){return t.call(r,n)},IsCallable:function(r){return typeof r=="function"},ToInt32:function(r){return r>>0},ToUint32:function(r){return r>>>0}}}(),O3=Math.LN2,C3=Math.abs,_u=Math.floor,k3=Math.log,I3=Math.min,br=Math.pow,L3=Math.round;function qp(e){if(k0&&ms){var t=k0(e),r;for(r=0;rP3)throw new RangeError("Array too large for polyfill");function t(n){ms(e,n,{get:function(){return e._getter(n)},set:function(i){e._setter(n,i)},enumerable:!0,configurable:!1})}var r;for(r=0;r>r}function Hp(e,t){var r=32-t;return e<>>r}function x3(e){return[e&255]}function D3(e){return jp(e[0],8)}function M3(e){return[e&255]}function I0(e){return Hp(e[0],8)}function F3(e){return e=L3(Number(e)),[e<0?0:e>255?255:e&255]}function G3(e){return[e>>8&255,e&255]}function U3(e){return jp(e[0]<<8|e[1],16)}function B3(e){return[e>>8&255,e&255]}function q3(e){return Hp(e[0]<<8|e[1],16)}function j3(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}function H3(e){return jp(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function $3(e){return[e>>24&255,e>>16&255,e>>8&255,e&255]}function W3(e){return Hp(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function L0(e,t,r){var n=(1<.5||h%2?h+1:h}for(e!==e?(s=(1<=br(2,1-n)?(s=I3(_u(k3(e)/O3),1023),o=p(e/br(2,s)*br(2,r)),o/br(2,r)>=2&&(s=s+1,o=1),s>n?(s=(1<>1;return n.reverse(),a=n.join(""),u=(1<0?c*br(2,f-u)*(1+l/br(2,r)):l!==0?c*br(2,-(u-1))*(l/br(2,r)):c<0?-0:0}function V3(e){return N0(e,11,52)}function K3(e){return L0(e,11,52)}function z3(e){return N0(e,8,23)}function Y3(e){return L0(e,8,23)}(function(){var e=function(m){if(m=Ge.ToInt32(m),m<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=m,this._bytes=[],this._bytes.length=m;var h;for(h=0;hthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=Ge.ToUint32(S),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=g,qp(this),N3(this)},g.prototype=new t,g.prototype.BYTES_PER_ELEMENT=p,g.prototype._pack=m,g.prototype._unpack=h,g.BYTES_PER_ELEMENT=p,g.prototype._getter=function(y){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(y=Ge.ToUint32(y),y>=this.length)return C0;var v=[],S,b;for(S=0,b=this.byteOffset+y*this.BYTES_PER_ELEMENT;S=this.length)return C0;var S=this._pack(v),b,_;for(b=0,_=this.byteOffset+y*this.BYTES_PER_ELEMENT;bthis.length)throw new RangeError("Offset plus length of array is out of range");if(M=this.byteOffset+_*this.BYTES_PER_ELEMENT,L=S.length*this.BYTES_PER_ELEMENT,S.buffer===this.buffer){for(w=[],R=0,C=S.byteOffset;Rthis.length)throw new RangeError("Offset plus length of array is out of range");for(R=0;RR?R:_}y=Ge.ToInt32(y),v=Ge.ToInt32(v),arguments.length<1&&(y=0),arguments.length<2&&(v=this.length),y<0&&(y=this.length+y),v<0&&(v=this.length+v),y=S(y,0,this.length),v=S(v,0,this.length);var b=v-y;return b<0&&(b=0),new this.constructor(this.buffer,this.byteOffset+y*this.BYTES_PER_ELEMENT,b)},g}var n=r(1,x3,D3),i=r(1,M3,I0),s=r(1,F3,I0),o=r(2,G3,U3),a=r(2,B3,q3),u=r(4,j3,H3),c=r(4,$3,W3),f=r(4,Y3,z3),l=r(8,K3,V3);re.Int8Array=re.Int8Array||n,re.Uint8Array=re.Uint8Array||i,re.Uint8ClampedArray=re.Uint8ClampedArray||s,re.Int16Array=re.Int16Array||o,re.Uint16Array=re.Uint16Array||a,re.Int32Array=re.Int32Array||u,re.Uint32Array=re.Uint32Array||c,re.Float32Array=re.Float32Array||f,re.Float64Array=re.Float64Array||l})();(function(){function e(s,o){return Ge.IsCallable(s.get)?s.get(o):s[o]}var t=function(){var s=new re.Uint16Array([4660]),o=new re.Uint8Array(s.buffer);return e(o,0)===18}(),r=function(o,a,u){if(arguments.length===0)o=new re.ArrayBuffer(0);else if(!(o instanceof re.ArrayBuffer||Ge.Class(o)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=o||new re.ArrayBuffer(0),this.byteOffset=Ge.ToUint32(a),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=Ge.ToUint32(u),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");qp(this)};function n(s){return function(o,a){if(o=Ge.ToUint32(o),o+s.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u=new re.Uint8Array(this.buffer,o,s.BYTES_PER_ELEMENT),c=[],f;for(f=0;fthis.byteLength)throw new RangeError("Array index out of range");var c=new s([a]),f=new re.Uint8Array(c.buffer),l=[],p,m;for(p=0;p{var D0=R0().Writable,X3=Ti(),Ho=O0();typeof Uint8Array>"u"?bu=x0().Uint8Array:bu=Uint8Array;var bu;function Oi(e,t){if(!(this instanceof Oi))return new Oi(e,t);typeof e=="function"&&(t=e,e={}),e||(e={});var r=e.encoding,n=!1;r?(r=String(r).toLowerCase(),(r==="u8"||r==="uint8")&&(r="uint8array")):n=!0,D0.call(this,{objectMode:!0}),this.encoding=r,this.shouldInferEncoding=n,t&&this.on("finish",function(){t(this.getBody())}),this.body=[]}F0.exports=Oi;X3(Oi,D0);Oi.prototype._write=function(e,t,r){this.body.push(e),r()};Oi.prototype.inferEncoding=function(e){var t=e===void 0?this.body[0]:e;return Buffer.isBuffer(t)?"buffer":typeof Uint8Array<"u"&&t instanceof Uint8Array?"uint8array":Array.isArray(t)?"array":typeof t=="string"?"string":Object.prototype.toString.call(t)==="[object Object]"?"object":"buffer"};Oi.prototype.getBody=function(){return!this.encoding&&this.body.length===0?[]:(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),this.encoding==="array"?eF(this.body):this.encoding==="string"?J3(this.body):this.encoding==="buffer"?Z3(this.body):this.encoding==="uint8array"?tF(this.body):this.body)};var Pee=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"};function Q3(e){return/Array\]$/.test(Object.prototype.toString.call(e))}function M0(e){return typeof e=="string"||Q3(e)||e&&typeof e.subarray=="function"}function J3(e){for(var t=[],r=!1,n=0;n{"use strict";var U0=P("stream").PassThrough,B0=P("stream").Writable,q0=P("util");q0.inherits(Wp,U0);q0.inherits(Vp,B0);function Wp(e,t){U0.call(this,t),this.factory=e,this.opts=t}Wp.prototype._flush=function(e){var t=this.factory();t.pipe(new Vp(this,this.opts)).on("finish",e),t.resume()};function Vp(e,t){B0.call(this,t),this.target=e}Vp.prototype._write=function(e,t,r){this.target.push(e),r()};function $p(e,t){t=t||{};var r;return typeof e=="function"?r=e:(e.pause(),r=function(){return e}),new Wp(r,t)}$p.obj=function(e,t){return t=t||{},t.objectMode=!0,$p(e,t)};j0.exports=$p});var K0=d((kee,V0)=>{"use strict";var{Transform:rF}=P("stream"),{StringDecoder:nF}=P("string_decoder"),qn=Symbol("last"),Tu=Symbol("decoder");function iF(e,t,r){let n;if(this.overflow){if(n=this[Tu].write(e).split(this.matcher),n.length===1)return r();n.shift(),this.overflow=!1}else this[qn]+=this[Tu].write(e),n=this[qn].split(this.matcher);this[qn]=n.pop();for(let i=0;ithis.maxLength,this.overflow&&!this.skipOverflow){r(new Error("maximum buffer reached"));return}r()}function sF(e){if(this[qn]+=this[Tu].end(),this[qn])try{W0(this,this.mapper(this[qn]))}catch(t){return e(t)}e()}function W0(e,t){t!==void 0&&e.push(t)}function $0(e){return e}function oF(e,t,r){switch(e=e||/\r?\n/,t=t||$0,r=r||{},arguments.length){case 1:typeof e=="function"?(t=e,e=/\r?\n/):typeof e=="object"&&!(e instanceof RegExp)&&!e[Symbol.split]&&(r=e,e=/\r?\n/);break;case 2:typeof e=="function"?(r=t,t=e,e=/\r?\n/):typeof t=="object"&&(r=t,t=$0)}r=Object.assign({},r),r.autoDestroy=!0,r.transform=iF,r.flush=sF,r.readableObjectMode=!0;let n=new rF(r);return n[qn]="",n[Tu]=new nF("utf8"),n.matcher=e,n.mapper=t,n.maxLength=r.maxLength,n.skipOverflow=r.skipOverflow||!1,n.overflow=!1,n._destroy=function(i,s){this._writableState.errorEmitted=!1,s(i)},n}V0.exports=oF});var X0={};nu(X0,{default:()=>Y0});function Y0(e,t){let r=[],n=[],i=[];t={useEquals:!0,shortFlag:!0,...t};let s=(a,u)=>{let c=t.shortFlag&&a.length===1?"-":"--",f=t.allowCamelCase?a:a.replace(/[A-Z]/g,"-$&").toLowerCase();a=c+f,t.useEquals?r.push(a+(u?`=${u}`:"")):(r.push(a),u&&r.push(u))},o=(a,u)=>{r.push(`-${a}`),u&&r.push(u)};for(let[a,u]of Object.entries(e)){let c=s;if(!(Array.isArray(t.excludes)&&z0(t.excludes,a))&&!(Array.isArray(t.includes)&&!z0(t.includes,a))){if(typeof t.aliases=="object"&&t.aliases[a]&&(a=t.aliases[a],c=o),a==="--"){if(!Array.isArray(u))throw new TypeError(`Expected key \`--\` to be Array, got ${typeof u}`);i=u;continue}if(a==="_"){if(!Array.isArray(u))throw new TypeError(`Expected key \`_\` to be Array, got ${typeof u}`);n=u;continue}if(u===!0&&!t.ignoreTrue&&c(a,""),u===!1&&!t.ignoreFalse&&c(`no-${a}`),typeof u=="string"&&c(a,u),typeof u=="number"&&!Number.isNaN(u)&&c(a,String(u)),Array.isArray(u))for(let f of u)c(a,f)}}for(let a of n)r.push(String(a));i.length>0&&r.push("--");for(let a of i)r.push(String(a));return r}var z0,Q0=_r(()=>{z0=(e,t)=>e.some(r=>r instanceof RegExp?r.test(t):r===t)});var Kp=d((Iee,e_)=>{var{Readable:aF,Transform:J0}=P("stream"),{execFile:uF}=P("child_process"),cF=K0(),Z0="------------------------ >8 ------------------------";function lF(e){return e=e||{},e.cwd=e.cwd||process.cwd(),e}function fF(e){return e=e||{},e.format=e.format||"%B",e.from=e.from||"",e.to=e.to||"HEAD",e}async function pF(e){let{default:t}=await Promise.resolve().then(()=>(Q0(),X0)),r=`--format=${e.format||""}%n${Z0}`,n=[e.from,e.to].filter(Boolean).join(".."),i=["log",r,n].concat(t(e,{excludes:["debug","from","to","format","path","ignore"]}));return e.path&&i.push("--",...Array.isArray(e.path)?e.path:[e.path]),i}function hF(e,t){let r=new aF;r._read=()=>{};let n=fF(e),i=lF(t),s=!1;return pF(n).then(o=>{n.debug&&n.debug(`Your git-log command is: +git `+o.join(" "));let a=typeof n.ignore=="string"?new RegExp(n.ignore):n.ignore,u=a?f=>!a.test(f.toString()):()=>!0,c=uF("git",o,{cwd:i.cwd,maxBuffer:1/0});c.stdout.pipe(cF(Z0+` +`)).pipe(new J0({transform(f,l,p){s=!1,setImmediate(()=>{u(f)&&r.push(f),p()})},flush(f){setImmediate(()=>{s||(r.push(null),r.emit("close")),f()})}})),c.stderr.pipe(new J0({objectMode:!0,highWaterMark:16,transform(f){s=!0,r.emit("error",new Error(f)),r.emit("close")}}))}),r}e_.exports=hF});var n_=d((Lee,r_)=>{"use strict";var dF=/()(.+)/gi,gF="# ------------------------ >8 ------------------------";function Su(e){let t=e.match(/[^\r\n]/);if(!t)return"";let r=t.index,n=e.length-1;for(;e[n]==="\r"||e[n]===` +`;)n--;return e.substring(r,n+1)}function Ci(e,t){return e?e+=` +`+t:e=t,e}function mF(e){return function(t){return t.charAt(0)!==e}}function vF(e){let t=e.indexOf(gF);return t===-1?e:e.slice(0,t)}function t_(e,t){let r=[],n,i,s=e.match(t.references)!==null?t.references:dF;for(;n=s.exec(e);){let o=n[1]||null,a=n[2];for(;i=t.referenceParts.exec(a);){let u=null,c=i[1]||"",f=c.split("/");f.length>1&&(u=f.shift(),c=f.join("/"));let l={action:o,owner:u,repository:c||null,issue:i[3],raw:i[0],prefix:i[2]};r.push(l)}}return r}function yF(){return!0}function EF(e,t,r){var F,Z,A;if(!e||!e.trim())throw new TypeError("Expected a raw commit");if(!t||typeof t=="object"&&!Object.keys(t).length)throw new TypeError("Expected options");if(!r)throw new TypeError("Expected regex");let n,i,s={},o=typeof t.commentChar=="string"?mF(t.commentChar):yF,a=T=>!T.match(/^\s*gpg:/),u=Su(e).split(/\r?\n/),c=vF(u).filter(o).filter(a),f=!1,l=!0,p=((F=t.headerCorrespondence)==null?void 0:F.map(function(T){return T.trim()}))||[],m=((Z=t.revertCorrespondence)==null?void 0:Z.map(function(T){return T.trim()}))||[],h=((A=t.mergeCorrespondence)==null?void 0:A.map(function(T){return T.trim()}))||[],g=null,y=null,v=null,S=[],b=null,_=[],O=[],R=null;if(c.length===0)return{body:g,footer:y,header:v,mentions:S,merge:b,notes:_,references:O,revert:R,scope:null,subject:null,type:null};b=c.shift();let C={},x={};g="",y="";let M=b.match(t.mergePattern);if(M&&t.mergePattern){for(b=M[0],v=c.shift();v!==void 0&&!v.trim();)v=c.shift();v||(v=""),h.forEach(function(T,z){let $=M[z+1]||null;C[T]=$})}else v=b,b=null,h.forEach(function(T){C[T]=null});let L=v.match(t.headerPattern);if(L?p.forEach(function(T,z){let $=L[z+1]||null;x[T]=$}):p.forEach(function(T){x[T]=null}),O.push(...t_(v,{references:r.references,referenceParts:r.referenceParts})),c.forEach(function(T){if(t.fieldPattern){let ge=t.fieldPattern.exec(T);if(ge){n=ge[1];return}if(n){s[n]=Ci(s[n],T);return}}let z,$=T.match(r.notes);if($){f=!0,l=!1,y=Ci(y,T);let ge={title:$[1],text:$[2]};_.push(ge);return}let de=t_(T,{references:r.references,referenceParts:r.referenceParts});if(de.length>0&&(l=!1,z=!0,f=!1),Array.prototype.push.apply(O,de),z){y=Ci(y,T);return}if(f){_[_.length-1].text=Ci(_[_.length-1].text,T),y=Ci(y,T);return}l?g=Ci(g,T):y=Ci(y,T)}),t.breakingHeaderPattern&&_.length===0){let T=v.match(t.breakingHeaderPattern);if(T){let z=T[3];_.push({title:"BREAKING CHANGE",text:z})}}for(;i=r.mentions.exec(e);)S.push(i[1]);let w=e.match(t.revertPattern);return w?(R={},m.forEach(function(T,z){let $=w[z+1]||null;R[T]=$})):R=null,_.forEach(function(T){T.text=Su(T.text)}),{...x,...C,merge:b,header:v,body:g?Su(g):null,footer:y?Su(y):null,notes:_,references:O,mentions:S,revert:R,...s}}r_.exports=EF});var o_=d((Nee,s_)=>{"use strict";var i_=/(?!.*)/;function zp(e,t){return e.map(function(r){return r.trim()}).filter(function(r){return r.length}).join(t)}function _F(e,t){if(!e)return i_;let r=zp(e,"|");return t?t(r):new RegExp("^[\\s|*]*("+r+")[:\\s]+(.*)","i")}function bF(e,t){if(!e)return i_;let r=t?"g":"gi";return new RegExp("(?:.*?)??\\s*([\\w-\\.\\/]*?)??("+zp(e,"|")+")([\\w-]*\\d+)",r)}function TF(e){if(!e)return/()(.+)/gi;let t=zp(e,"|");return new RegExp("("+t+")(?:\\s+(.*?))(?=(?:"+t+")|$)","gi")}s_.exports=function(e){e=e||{};let t=_F(e.noteKeywords,e.notesPattern),r=bF(e.issuePrefixes,e.issuePrefixesCaseSensitive),n=TF(e.referenceActions);return{notes:t,referenceParts:r,references:n,mentions:/@([\w-]+)/g}}});var l_=d((xee,Yp)=>{"use strict";var{Transform:SF}=P("stream"),a_=n_(),u_=o_();function c_(e){return e={headerPattern:/^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#"],noteKeywords:["BREAKING CHANGE","BREAKING-CHANGE"],fieldPattern:/^-(.*?)-$/,revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,revertCorrespondence:["header","hash"],warn:function(){},mergePattern:null,mergeCorrespondence:null,...e},typeof e.headerPattern=="string"&&(e.headerPattern=new RegExp(e.headerPattern)),typeof e.headerCorrespondence=="string"&&(e.headerCorrespondence=e.headerCorrespondence.split(",")),typeof e.referenceActions=="string"&&(e.referenceActions=e.referenceActions.split(",")),typeof e.issuePrefixes=="string"&&(e.issuePrefixes=e.issuePrefixes.split(",")),typeof e.noteKeywords=="string"&&(e.noteKeywords=e.noteKeywords.split(",")),typeof e.fieldPattern=="string"&&(e.fieldPattern=new RegExp(e.fieldPattern)),typeof e.revertPattern=="string"&&(e.revertPattern=new RegExp(e.revertPattern)),typeof e.revertCorrespondence=="string"&&(e.revertCorrespondence=e.revertCorrespondence.split(",")),typeof e.mergePattern=="string"&&(e.mergePattern=new RegExp(e.mergePattern)),e}function wF(e){e=c_(e);let t=u_(e);return new SF({objectMode:!0,highWaterMark:16,transform(r,n,i){let s;try{s=a_(r.toString(),e,t),i(null,s)}catch(o){e.warn===!0?i(o):(e.warn(o.toString()),i(null,""))}}})}function AF(e,t){t=c_(t);let r=u_(t);return a_(e,t,r)}Yp.exports=wF;Yp.exports.sync=AF});var Xp=d((Dee,f_)=>{"use strict";function RF(e,t){let r,n;return Object.keys(t).every(i=>(r=e[i],n=t[i],typeof r=="string"&&(r=r.trim()),typeof n=="string"&&(n=n.trim()),r===n))}function PF(e,t){if(!t.size)return null;let r=e.raw||e;for(let n of t)if(n.revert&&RF(r,n.revert))return n;return null}function OF(e){if(!Array.isArray(e))throw new TypeError("Expected an array");let t=[],r=new Set,n=0,i;for(let s of e){if(i=PF(s,r),i){r.delete(i),n--;continue}if(s.revert){r.add(s),n++;continue}n>0?r.add(s):t.push(s)}if(r.size)for(let s of r)t.push(s);return t}f_.exports=OF});var Rt=d(Wt=>{"use strict";Wt.__esModule=!0;Wt.extend=p_;Wt.indexOf=NF;Wt.escapeExpression=xF;Wt.isEmpty=DF;Wt.createFrame=MF;Wt.blockParams=FF;Wt.appendContextPath=GF;var CF={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},kF=/[&<>"'`=]/g,IF=/[&<>"'`=]/;function LF(e){return CF[e]}function p_(e){for(var t=1;t{"use strict";wu.__esModule=!0;var Zp=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function eh(e,t){var r=t&&t.loc,n=void 0,i=void 0,s=void 0,o=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,o=r.end.column,e+=" - "+n+":"+s);for(var a=Error.prototype.constructor.call(this,e),u=0;u{"use strict";Au.__esModule=!0;var th=Rt();Au.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var n=r.inverse,i=r.fn;if(t===!0)return i(this);if(t===!1||t==null)return n(this);if(th.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):n(this);if(r.data&&r.ids){var s=th.createFrame(r.data);s.contextPath=th.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(t,r)})};g_.exports=Au.default});var y_=d((Ru,v_)=>{"use strict";Ru.__esModule=!0;function UF(e){return e&&e.__esModule?e:{default:e}}var $o=Rt(),BF=sr(),qF=UF(BF);Ru.default=function(e){e.registerHelper("each",function(t,r){if(!r)throw new qF.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,o="",a=void 0,u=void 0;r.data&&r.ids&&(u=$o.appendContextPath(r.data.contextPath,r.ids[0])+"."),$o.isFunction(t)&&(t=t.call(this)),r.data&&(a=$o.createFrame(r.data));function c(h,g,y){a&&(a.key=h,a.index=g,a.first=g===0,a.last=!!y,u&&(a.contextPath=u+h)),o=o+n(t[h],{data:a,blockParams:$o.blockParams([t[h],h],[u+h,null])})}if(t&&typeof t=="object")if($o.isArray(t))for(var f=t.length;s{"use strict";Pu.__esModule=!0;function jF(e){return e&&e.__esModule?e:{default:e}}var HF=sr(),$F=jF(HF);Pu.default=function(e){e.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new $F.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};E_.exports=Pu.default});var w_=d((Ou,S_)=>{"use strict";Ou.__esModule=!0;function WF(e){return e&&e.__esModule?e:{default:e}}var b_=Rt(),VF=sr(),T_=WF(VF);Ou.default=function(e){e.registerHelper("if",function(t,r){if(arguments.length!=2)throw new T_.default("#if requires exactly one argument");return b_.isFunction(t)&&(t=t.call(this)),!r.hash.includeZero&&!t||b_.isEmpty(t)?r.inverse(this):r.fn(this)}),e.registerHelper("unless",function(t,r){if(arguments.length!=2)throw new T_.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};S_.exports=Ou.default});var R_=d((Cu,A_)=>{"use strict";Cu.__esModule=!0;Cu.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";ku.__esModule=!0;ku.default=function(e){e.registerHelper("lookup",function(t,r,n){return t&&n.lookupProperty(t,r)})};P_.exports=ku.default});var k_=d((Iu,C_)=>{"use strict";Iu.__esModule=!0;function KF(e){return e&&e.__esModule?e:{default:e}}var Wo=Rt(),zF=sr(),YF=KF(zF);Iu.default=function(e){e.registerHelper("with",function(t,r){if(arguments.length!=2)throw new YF.default("#with requires exactly one argument");Wo.isFunction(t)&&(t=t.call(this));var n=r.fn;if(Wo.isEmpty(t))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=Wo.createFrame(r.data),i.contextPath=Wo.appendContextPath(r.data.contextPath,r.ids[0])),n(t,{data:i,blockParams:Wo.blockParams([t],[i&&i.contextPath])})})};C_.exports=Iu.default});var rh=d(Lu=>{"use strict";Lu.__esModule=!0;Lu.registerDefaultHelpers=lG;Lu.moveHelperToHooks=fG;function ki(e){return e&&e.__esModule?e:{default:e}}var XF=m_(),QF=ki(XF),JF=y_(),ZF=ki(JF),eG=__(),tG=ki(eG),rG=w_(),nG=ki(rG),iG=R_(),sG=ki(iG),oG=O_(),aG=ki(oG),uG=k_(),cG=ki(uG);function lG(e){QF.default(e),ZF.default(e),tG.default(e),nG.default(e),sG.default(e),aG.default(e),cG.default(e)}function fG(e,t,r){e.helpers[t]&&(e.hooks[t]=e.helpers[t],r||delete e.helpers[t])}});var L_=d((Nu,I_)=>{"use strict";Nu.__esModule=!0;var pG=Rt();Nu.default=function(e){e.registerDecorator("inline",function(t,r,n,i){var s=t;return r.partials||(r.partials={},s=function(o,a){var u=n.partials;n.partials=pG.extend({},u,r.partials);var c=t(o,a);return n.partials=u,c}),r.partials[i.args[0]]=i.fn,s})};I_.exports=Nu.default});var N_=d(nh=>{"use strict";nh.__esModule=!0;nh.registerDefaultDecorators=mG;function hG(e){return e&&e.__esModule?e:{default:e}}var dG=L_(),gG=hG(dG);function mG(e){gG.default(e)}});var ih=d((xu,x_)=>{"use strict";xu.__esModule=!0;var vG=Rt(),vs={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if(typeof t=="string"){var r=vG.indexOf(vs.methodMap,t.toLowerCase());r>=0?t=r:t=parseInt(t,10)}return t},log:function(t){if(t=vs.lookupLevel(t),typeof console<"u"&&vs.lookupLevel(vs.level)<=t){var r=vs.methodMap[t];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s{"use strict";sh.__esModule=!0;sh.createNewLookupObject=EG;var yG=Rt();function EG(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";Vo.__esModule=!0;Vo.createProtoAccessControl=SG;Vo.resultIsAllowed=wG;Vo.resetLoggedProperties=RG;function _G(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var M_=D_(),bG=ih(),TG=_G(bG),Du=Object.create(null);function SG(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:M_.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:M_.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function wG(e,t,r){return F_(typeof e=="function"?t.methods:t.properties,r)}function F_(e,t){return e.whitelist[t]!==void 0?e.whitelist[t]===!0:e.defaultValue!==void 0?e.defaultValue:(AG(t),!1)}function AG(e){Du[e]!==!0&&(Du[e]=!0,TG.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: -See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function l$(){Object.keys(xf).forEach(function(e){delete xf[e]})}});var Df=_(di=>{"use strict";di.__esModule=!0;di.HandlebarsEnvironment=av;function RS(e){return e&&e.__esModule?e:{default:e}}var Po=Tr(),f$=wn(),sv=RS(f$),p$=ev(),h$=bS(),d$=rv(),Nf=RS(d$),g$=iv(),m$="4.7.7";di.VERSION=m$;var v$=8;di.COMPILER_REVISION=v$;var y$=7;di.LAST_COMPATIBLE_COMPILER_REVISION=y$;var _$={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};di.REVISION_CHANGES=_$;var ov="[object Object]";function av(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},p$.registerDefaultHelpers(this),h$.registerDefaultDecorators(this)}av.prototype={constructor:av,logger:Nf.default,log:Nf.default.log,registerHelper:function(t,r){if(Po.toString.call(t)===ov){if(r)throw new sv.default("Arg not supported with multiple helpers");Po.extend(this.helpers,t)}else this.helpers[t]=r},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,r){if(Po.toString.call(t)===ov)Po.extend(this.partials,t);else{if(typeof r>"u")throw new sv.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=r}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,r){if(Po.toString.call(t)===ov){if(r)throw new sv.default("Arg not supported with multiple decorators");Po.extend(this.decorators,t)}else this.decorators[t]=r},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){g$.resetLoggedProperties()}};var E$=Nf.default.log;di.log=E$;di.createFrame=Po.createFrame;di.logger=Nf.default});var OS=_((Mf,PS)=>{"use strict";Mf.__esModule=!0;function uv(e){this.string=e}uv.prototype.toString=uv.prototype.toHTML=function(){return""+this.string};Mf.default=uv;PS.exports=Mf.default});var CS=_(cv=>{"use strict";cv.__esModule=!0;cv.wrapHelper=b$;function b$(e,t){if(typeof e!="function")return e;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=t(i),e.apply(this,arguments)};return r}});var NS=_(Ls=>{"use strict";Ls.__esModule=!0;Ls.checkRevision=P$;Ls.template=O$;Ls.wrapProgram=Ff;Ls.resolvePartial=C$;Ls.invokePartial=k$;Ls.noop=LS;function T$(e){return e&&e.__esModule?e:{default:e}}function w$(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var S$=Tr(),Ji=w$(S$),A$=wn(),Qi=T$(A$),Zi=Df(),kS=ev(),R$=CS(),IS=iv();function P$(e){var t=e&&e[0]||1,r=Zi.COMPILER_REVISION;if(!(t>=Zi.LAST_COMPATIBLE_COMPILER_REVISION&&t<=Zi.COMPILER_REVISION))if(t{"use strict";Gf.__esModule=!0;Gf.default=function(e){var t=typeof global<"u"?global:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}};DS.exports=Gf.default});var BS=_((Uf,US)=>{"use strict";Uf.__esModule=!0;function pv(e){return e&&e.__esModule?e:{default:e}}function hv(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var N$=Df(),MS=hv(N$),D$=OS(),M$=pv(D$),F$=wn(),G$=pv(F$),U$=Tr(),fv=hv(U$),B$=NS(),FS=hv(B$),q$=lv(),H$=pv(q$);function GS(){var e=new MS.HandlebarsEnvironment;return fv.extend(e,MS),e.SafeString=M$.default,e.Exception=G$.default,e.Utils=fv,e.escapeExpression=fv.escapeExpression,e.VM=FS,e.template=function(t){return FS.template(t,e)},e}var cc=GS();cc.create=GS;H$.default(cc);cc.default=cc;Uf.default=cc;US.exports=Uf.default});var dv=_((Bf,HS)=>{"use strict";Bf.__esModule=!0;var qS={helpers:{helperExpression:function(t){return t.type==="SubExpression"||(t.type==="MustacheStatement"||t.type==="BlockStatement")&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return t.parts.length===1&&!qS.helpers.scopedId(t)&&!t.depth}}};Bf.default=qS;HS.exports=Bf.default});var WS=_((qf,jS)=>{"use strict";qf.__esModule=!0;var j$=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(i,s,o,c,l,p,d){var h=p.length-1;switch(l){case 1:return p[h-1];case 2:this.$=c.prepareProgram(p[h]);break;case 3:this.$=p[h];break;case 4:this.$=p[h];break;case 5:this.$=p[h];break;case 6:this.$=p[h];break;case 7:this.$=p[h];break;case 8:this.$=p[h];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(p[h]),strip:c.stripFlags(p[h],p[h]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:p[h],value:p[h],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(p[h-2],p[h-1],p[h],this._$);break;case 12:this.$={path:p[h-3],params:p[h-2],hash:p[h-1]};break;case 13:this.$=c.prepareBlock(p[h-3],p[h-2],p[h-1],p[h],!1,this._$);break;case 14:this.$=c.prepareBlock(p[h-3],p[h-2],p[h-1],p[h],!0,this._$);break;case 15:this.$={open:p[h-5],path:p[h-4],params:p[h-3],hash:p[h-2],blockParams:p[h-1],strip:c.stripFlags(p[h-5],p[h])};break;case 16:this.$={path:p[h-4],params:p[h-3],hash:p[h-2],blockParams:p[h-1],strip:c.stripFlags(p[h-5],p[h])};break;case 17:this.$={path:p[h-4],params:p[h-3],hash:p[h-2],blockParams:p[h-1],strip:c.stripFlags(p[h-5],p[h])};break;case 18:this.$={strip:c.stripFlags(p[h-1],p[h-1]),program:p[h]};break;case 19:var m=c.prepareBlock(p[h-2],p[h-1],p[h],p[h],!1,this._$),w=c.prepareProgram([m],p[h-1].loc);w.chained=!0,this.$={strip:p[h-2].strip,program:w,chain:!0};break;case 20:this.$=p[h];break;case 21:this.$={path:p[h-1],strip:c.stripFlags(p[h-2],p[h])};break;case 22:this.$=c.prepareMustache(p[h-3],p[h-2],p[h-1],p[h-4],c.stripFlags(p[h-4],p[h]),this._$);break;case 23:this.$=c.prepareMustache(p[h-3],p[h-2],p[h-1],p[h-4],c.stripFlags(p[h-4],p[h]),this._$);break;case 24:this.$={type:"PartialStatement",name:p[h-3],params:p[h-2],hash:p[h-1],indent:"",strip:c.stripFlags(p[h-4],p[h]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(p[h-2],p[h-1],p[h],this._$);break;case 26:this.$={path:p[h-3],params:p[h-2],hash:p[h-1],strip:c.stripFlags(p[h-4],p[h])};break;case 27:this.$=p[h];break;case 28:this.$=p[h];break;case 29:this.$={type:"SubExpression",path:p[h-3],params:p[h-2],hash:p[h-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:p[h],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(p[h-2]),value:p[h],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(p[h-1]);break;case 33:this.$=p[h];break;case 34:this.$=p[h];break;case 35:this.$={type:"StringLiteral",value:p[h],original:p[h],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(p[h]),original:Number(p[h]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:p[h]==="true",original:p[h]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=p[h];break;case 41:this.$=p[h];break;case 42:this.$=c.preparePath(!0,p[h],this._$);break;case 43:this.$=c.preparePath(!1,p[h],this._$);break;case 44:p[h-2].push({part:c.id(p[h]),original:p[h],separator:p[h-1]}),this.$=p[h-2];break;case 45:this.$=[{part:c.id(p[h]),original:p[h]}];break;case 46:this.$=[];break;case 47:p[h-1].push(p[h]);break;case 48:this.$=[];break;case 49:p[h-1].push(p[h]);break;case 50:this.$=[];break;case 51:p[h-1].push(p[h]);break;case 58:this.$=[];break;case 59:p[h-1].push(p[h]);break;case 64:this.$=[];break;case 65:p[h-1].push(p[h]);break;case 70:this.$=[];break;case 71:p[h-1].push(p[h]);break;case 78:this.$=[];break;case 79:p[h-1].push(p[h]);break;case 82:this.$=[];break;case 83:p[h-1].push(p[h]);break;case 86:this.$=[];break;case 87:p[h-1].push(p[h]);break;case 90:this.$=[];break;case 91:p[h-1].push(p[h]);break;case 94:this.$=[];break;case 95:p[h-1].push(p[h]);break;case 98:this.$=[p[h]];break;case 99:p[h-1].push(p[h]);break;case 100:this.$=[p[h]];break;case 101:p[h-1].push(p[h]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(i,s){throw new Error(i)},parse:function(i){var s=this,o=[0],c=[null],l=[],p=this.table,d="",h=0,m=0,w=0,v=2,E=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var A=this.lexer.yylloc;l.push(A);var S=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function M(I){o.length=o.length-2*I,c.length=c.length-I,l.length=l.length-I}function C(){var I;return I=s.lexer.lex()||1,typeof I!="number"&&(I=s.symbols_[I]||I),I}for(var O,H,U,q,J,ee,X={},N,Z,$,ue;;){if(U=o[o.length-1],this.defaultActions[U]?q=this.defaultActions[U]:((O===null||typeof O>"u")&&(O=C()),q=p[U]&&p[U][O]),typeof q>"u"||!q.length||!q[0]){var D="";if(!w){ue=[];for(N in p[U])this.terminals_[N]&&N>2&&ue.push("'"+this.terminals_[N]+"'");this.lexer.showPosition?D="Parse error on line "+(h+1)+`: +See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function RG(){Object.keys(Du).forEach(function(e){delete Du[e]})}});var Fu=d(qr=>{"use strict";qr.__esModule=!0;qr.HandlebarsEnvironment=ch;function G_(e){return e&&e.__esModule?e:{default:e}}var Ii=Rt(),PG=sr(),ah=G_(PG),OG=rh(),CG=N_(),kG=ih(),Mu=G_(kG),IG=oh(),LG="4.7.7";qr.VERSION=LG;var NG=8;qr.COMPILER_REVISION=NG;var xG=7;qr.LAST_COMPATIBLE_COMPILER_REVISION=xG;var DG={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};qr.REVISION_CHANGES=DG;var uh="[object Object]";function ch(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},OG.registerDefaultHelpers(this),CG.registerDefaultDecorators(this)}ch.prototype={constructor:ch,logger:Mu.default,log:Mu.default.log,registerHelper:function(t,r){if(Ii.toString.call(t)===uh){if(r)throw new ah.default("Arg not supported with multiple helpers");Ii.extend(this.helpers,t)}else this.helpers[t]=r},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,r){if(Ii.toString.call(t)===uh)Ii.extend(this.partials,t);else{if(typeof r>"u")throw new ah.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=r}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,r){if(Ii.toString.call(t)===uh){if(r)throw new ah.default("Arg not supported with multiple decorators");Ii.extend(this.decorators,t)}else this.decorators[t]=r},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){IG.resetLoggedProperties()}};var MG=Mu.default.log;qr.log=MG;qr.createFrame=Ii.createFrame;qr.logger=Mu.default});var B_=d((Gu,U_)=>{"use strict";Gu.__esModule=!0;function lh(e){this.string=e}lh.prototype.toString=lh.prototype.toHTML=function(){return""+this.string};Gu.default=lh;U_.exports=Gu.default});var q_=d(fh=>{"use strict";fh.__esModule=!0;fh.wrapHelper=FG;function FG(e,t){if(typeof e!="function")return e;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=t(i),e.apply(this,arguments)};return r}});var V_=d(jn=>{"use strict";jn.__esModule=!0;jn.checkRevision=HG;jn.template=$G;jn.wrapProgram=Uu;jn.resolvePartial=WG;jn.invokePartial=VG;jn.noop=$_;function GG(e){return e&&e.__esModule?e:{default:e}}function UG(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var BG=Rt(),hn=UG(BG),qG=sr(),dn=GG(qG),gn=Fu(),j_=rh(),jG=q_(),H_=oh();function HG(e){var t=e&&e[0]||1,r=gn.COMPILER_REVISION;if(!(t>=gn.LAST_COMPATIBLE_COMPILER_REVISION&&t<=gn.COMPILER_REVISION))if(t{"use strict";Bu.__esModule=!0;Bu.default=function(e){var t=typeof global<"u"?global:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}};K_.exports=Bu.default});var J_=d((qu,Q_)=>{"use strict";qu.__esModule=!0;function dh(e){return e&&e.__esModule?e:{default:e}}function gh(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var XG=Fu(),z_=gh(XG),QG=B_(),JG=dh(QG),ZG=sr(),e4=dh(ZG),t4=Rt(),hh=gh(t4),r4=V_(),Y_=gh(r4),n4=ph(),i4=dh(n4);function X_(){var e=new z_.HandlebarsEnvironment;return hh.extend(e,z_),e.SafeString=JG.default,e.Exception=e4.default,e.Utils=hh,e.escapeExpression=hh.escapeExpression,e.VM=Y_,e.template=function(t){return Y_.template(t,e)},e}var Ko=X_();Ko.create=X_;i4.default(Ko);Ko.default=Ko;qu.default=Ko;Q_.exports=qu.default});var mh=d((ju,e1)=>{"use strict";ju.__esModule=!0;var Z_={helpers:{helperExpression:function(t){return t.type==="SubExpression"||(t.type==="MustacheStatement"||t.type==="BlockStatement")&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return t.parts.length===1&&!Z_.helpers.scopedId(t)&&!t.depth}}};ju.default=Z_;e1.exports=ju.default});var r1=d((Hu,t1)=>{"use strict";Hu.__esModule=!0;var s4=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(i,s,o,a,u,c,f){var l=c.length-1;switch(u){case 1:return c[l-1];case 2:this.$=a.prepareProgram(c[l]);break;case 3:this.$=c[l];break;case 4:this.$=c[l];break;case 5:this.$=c[l];break;case 6:this.$=c[l];break;case 7:this.$=c[l];break;case 8:this.$=c[l];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(c[l]),strip:a.stripFlags(c[l],c[l]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:c[l],value:c[l],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(c[l-2],c[l-1],c[l],this._$);break;case 12:this.$={path:c[l-3],params:c[l-2],hash:c[l-1]};break;case 13:this.$=a.prepareBlock(c[l-3],c[l-2],c[l-1],c[l],!1,this._$);break;case 14:this.$=a.prepareBlock(c[l-3],c[l-2],c[l-1],c[l],!0,this._$);break;case 15:this.$={open:c[l-5],path:c[l-4],params:c[l-3],hash:c[l-2],blockParams:c[l-1],strip:a.stripFlags(c[l-5],c[l])};break;case 16:this.$={path:c[l-4],params:c[l-3],hash:c[l-2],blockParams:c[l-1],strip:a.stripFlags(c[l-5],c[l])};break;case 17:this.$={path:c[l-4],params:c[l-3],hash:c[l-2],blockParams:c[l-1],strip:a.stripFlags(c[l-5],c[l])};break;case 18:this.$={strip:a.stripFlags(c[l-1],c[l-1]),program:c[l]};break;case 19:var p=a.prepareBlock(c[l-2],c[l-1],c[l],c[l],!1,this._$),m=a.prepareProgram([p],c[l-1].loc);m.chained=!0,this.$={strip:c[l-2].strip,program:m,chain:!0};break;case 20:this.$=c[l];break;case 21:this.$={path:c[l-1],strip:a.stripFlags(c[l-2],c[l])};break;case 22:this.$=a.prepareMustache(c[l-3],c[l-2],c[l-1],c[l-4],a.stripFlags(c[l-4],c[l]),this._$);break;case 23:this.$=a.prepareMustache(c[l-3],c[l-2],c[l-1],c[l-4],a.stripFlags(c[l-4],c[l]),this._$);break;case 24:this.$={type:"PartialStatement",name:c[l-3],params:c[l-2],hash:c[l-1],indent:"",strip:a.stripFlags(c[l-4],c[l]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(c[l-2],c[l-1],c[l],this._$);break;case 26:this.$={path:c[l-3],params:c[l-2],hash:c[l-1],strip:a.stripFlags(c[l-4],c[l])};break;case 27:this.$=c[l];break;case 28:this.$=c[l];break;case 29:this.$={type:"SubExpression",path:c[l-3],params:c[l-2],hash:c[l-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:c[l],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(c[l-2]),value:c[l],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(c[l-1]);break;case 33:this.$=c[l];break;case 34:this.$=c[l];break;case 35:this.$={type:"StringLiteral",value:c[l],original:c[l],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(c[l]),original:Number(c[l]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:c[l]==="true",original:c[l]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=c[l];break;case 41:this.$=c[l];break;case 42:this.$=a.preparePath(!0,c[l],this._$);break;case 43:this.$=a.preparePath(!1,c[l],this._$);break;case 44:c[l-2].push({part:a.id(c[l]),original:c[l],separator:c[l-1]}),this.$=c[l-2];break;case 45:this.$=[{part:a.id(c[l]),original:c[l]}];break;case 46:this.$=[];break;case 47:c[l-1].push(c[l]);break;case 48:this.$=[];break;case 49:c[l-1].push(c[l]);break;case 50:this.$=[];break;case 51:c[l-1].push(c[l]);break;case 58:this.$=[];break;case 59:c[l-1].push(c[l]);break;case 64:this.$=[];break;case 65:c[l-1].push(c[l]);break;case 70:this.$=[];break;case 71:c[l-1].push(c[l]);break;case 78:this.$=[];break;case 79:c[l-1].push(c[l]);break;case 82:this.$=[];break;case 83:c[l-1].push(c[l]);break;case 86:this.$=[];break;case 87:c[l-1].push(c[l]);break;case 90:this.$=[];break;case 91:c[l-1].push(c[l]);break;case 94:this.$=[];break;case 95:c[l-1].push(c[l]);break;case 98:this.$=[c[l]];break;case 99:c[l-1].push(c[l]);break;case 100:this.$=[c[l]];break;case 101:c[l-1].push(c[l]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(i,s){throw new Error(i)},parse:function(i){var s=this,o=[0],a=[null],u=[],c=this.table,f="",l=0,p=0,m=0,h=2,g=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;u.push(y);var v=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(T){o.length=o.length-2*T,a.length=a.length-T,u.length=u.length-T}function b(){var T;return T=s.lexer.lex()||1,typeof T!="number"&&(T=s.symbols_[T]||T),T}for(var _,O,R,C,x,M,L={},w,G,F,Z;;){if(R=o[o.length-1],this.defaultActions[R]?C=this.defaultActions[R]:((_===null||typeof _>"u")&&(_=b()),C=c[R]&&c[R][_]),typeof C>"u"||!C.length||!C[0]){var A="";if(!m){Z=[];for(w in c[R])this.terminals_[w]&&w>2&&Z.push("'"+this.terminals_[w]+"'");this.lexer.showPosition?A="Parse error on line "+(l+1)+`: `+this.lexer.showPosition()+` -Expecting `+ue.join(", ")+", got '"+(this.terminals_[O]||O)+"'":D="Parse error on line "+(h+1)+": Unexpected "+(O==1?"end of input":"'"+(this.terminals_[O]||O)+"'"),this.parseError(D,{text:this.lexer.match,token:this.terminals_[O]||O,line:this.lexer.yylineno,loc:A,expected:ue})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+O);switch(q[0]){case 1:o.push(O),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),o.push(q[1]),O=null,H?(O=H,H=null):(m=this.lexer.yyleng,d=this.lexer.yytext,h=this.lexer.yylineno,A=this.lexer.yylloc,w>0&&w--);break;case 2:if(Z=this.productions_[q[1]][1],X.$=c[c.length-Z],X._$={first_line:l[l.length-(Z||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Z||1)].first_column,last_column:l[l.length-1].last_column},S&&(X._$.range=[l[l.length-(Z||1)].range[0],l[l.length-1].range[1]]),ee=this.performAction.call(X,d,m,h,this.yy,q[1],c,l),typeof ee<"u")return ee;Z&&(o=o.slice(0,-1*Z*2),c=c.slice(0,-1*Z),l=l.slice(0,-1*Z)),o.push(this.productions_[q[1]][0]),c.push(X.$),l.push(X._$),$=p[o[o.length-2]][o[o.length-1]],o.push($);break;case 3:return!0}}return!0}},t=function(){var n={EOF:1,parseError:function(s,o){if(this.yy.parser)this.yy.parser.parseError(s,o);else throw new Error(s)},setInput:function(s){return this._input=s,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var o=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+` -`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,o,c,l,p,d;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),m=0;mo[0].length)&&(o=c,l=m,!this.options.flex)));m++);return o?(d=o[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],s=this.performAction.call(this,this.yy,this,h[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return n.options={},n.performAction=function(s,o,c,l){function p(h,m){return o.yytext=o.yytext.substring(h,o.yyleng-m+h)}var d=l;switch(c){case 0:if(o.yytext.slice(-2)==="\\\\"?(p(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(p(0,1),this.begin("emu")):this.begin("mu"),o.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(p(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return o.yytext=p(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=p(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();e.lexer=t;function r(){this.yy={}}return r.prototype=e,e.Parser=r,new r}();qf.default=j$;jS.exports=qf.default});var $f=_((Wf,KS)=>{"use strict";Wf.__esModule=!0;function W$(e){return e&&e.__esModule?e:{default:e}}var $$=wn(),gv=W$($$);function Hf(){this.parents=[]}Hf.prototype={constructor:Hf,mutating:!1,acceptKey:function(t,r){var n=this.accept(t[r]);if(this.mutating){if(n&&!Hf.prototype[n.type])throw new gv.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+t.type);t[r]=n}},acceptRequired:function(t,r){if(this.acceptKey(t,r),!t[r])throw new gv.default(t.type+" requires "+r)},acceptArray:function(t){for(var r=0,n=t.length;r{"use strict";Vf.__esModule=!0;function V$(e){return e&&e.__esModule?e:{default:e}}var K$=$f(),z$=V$(K$);function gi(){var e=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=e}gi.prototype=new z$.default;gi.prototype.Program=function(e){var t=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,i=0,s=n.length;i{"use strict";Sn.__esModule=!0;Sn.SourceLocation=J$;Sn.id=Q$;Sn.stripFlags=Z$;Sn.stripComment=eV;Sn.preparePath=tV;Sn.prepareMustache=rV;Sn.prepareRawBlock=nV;Sn.prepareBlock=iV;Sn.prepareProgram=sV;Sn.preparePartialBlock=oV;function Y$(e){return e&&e.__esModule?e:{default:e}}var X$=wn(),yv=Y$(X$);function _v(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new yv.default(e.path.original+" doesn't match "+t,r)}}function J$(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function Q$(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function Z$(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function eV(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function tV(e,t,r){r=this.locInfo(r);for(var n=e?"@":"",i=[],s=0,o=0,c=t.length;o0)throw new yv.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:e,depth:s,parts:i,original:n,loc:r}}function rV(e,t,r,n,i,s){var o=n.charAt(3)||n.charAt(2),c=o!=="{"&&o!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:c,strip:i,loc:this.locInfo(s)}}function nV(e,t,r,n){_v(e,r),n=this.locInfo(n);var i={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function iV(e,t,r,n,i,s){n&&n.path&&_v(e,n);var o=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,l=void 0;if(r){if(o)throw new yv.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return i&&(i=c,c=t,t=i),{type:o?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function sV(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function oV(e,t,r,n){return _v(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var ZS=_(lc=>{"use strict";lc.__esModule=!0;lc.parseWithoutProcessing=QS;lc.parse=dV;function aV(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function JS(e){return e&&e.__esModule?e:{default:e}}var uV=WS(),Ev=JS(uV),cV=YS(),lV=JS(cV),fV=XS(),pV=aV(fV),hV=Tr();lc.parser=Ev.default;var Kf={};hV.extend(Kf,pV);function QS(e,t){if(e.type==="Program")return e;Ev.default.yy=Kf,Kf.locInfo=function(n){return new Kf.SourceLocation(t&&t.srcName,n)};var r=Ev.default.parse(e);return r}function dV(e,t){var r=QS(e,t),n=new lV.default(t);return n.accept(r)}});var nA=_(dc=>{"use strict";dc.__esModule=!0;dc.Compiler=bv;dc.precompile=yV;dc.compile=_V;function tA(e){return e&&e.__esModule?e:{default:e}}var gV=wn(),pc=tA(gV),hc=Tr(),mV=dv(),fc=tA(mV),vV=[].slice;function bv(){}bv.prototype={compiler:bv,equals:function(t){var r=this.opcodes.length;if(t.opcodes.length!==r)return!1;for(var n=0;n1)throw new pc.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=t.name.original,s=t.name.type==="SubExpression";s&&this.accept(t.name),this.setupFullMustacheParams(t,r,void 0,!0);var o=t.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",s,i,o),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){eA(t);var r=this.classifySexpr(t);r==="simple"?this.simpleSexpr(t):r==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,r,n){var i=t.path,s=i.parts[0],o=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,o)},simpleSexpr:function(t){var r=t.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,r,n){var i=this.setupFullMustacheParams(t,r,n),s=t.path,o=s.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",i.length,o);else{if(this.options.knownHelpersOnly)throw new pc.default("You specified knownHelpersOnly, but used the unknown helper "+o,t);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,fc.default.helpers.simpleId(s))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var r=t.parts[0],n=fc.default.helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,t.parts):r?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var r=t.pairs,n=0,i=r.length;for(this.opcode("pushHash");n=0)return[r,s]}}};function yV(e,t,r){if(e==null||typeof e!="string"&&e.type!=="Program")throw new pc.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=r.parse(e,t),i=new r.Compiler().compile(n,t);return new r.JavaScriptCompiler().compile(i,t)}function _V(e,t,r){if(t===void 0&&(t={}),e==null||typeof e!="string"&&e.type!=="Program")throw new pc.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);t=hc.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=void 0;function i(){var o=r.parse(e,t),c=new r.Compiler().compile(o,t),l=new r.JavaScriptCompiler().compile(c,t,void 0,!0);return r.template(l)}function s(o,c){return n||(n=i()),n.call(this,o,c)}return s._setup=function(o){return n||(n=i()),n._setup(o)},s._child=function(o,c,l,p){return n||(n=i()),n._child(o,c,l,p)},s}function rA(e,t){if(e===t)return!0;if(hc.isArray(e)&&hc.isArray(t)&&e.length===t.length){for(var r=0;r{var iA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Tv.encode=function(e){if(0<=e&&e{var oA=sA(),wv=5,aA=1<>1;return t?-r:r}Sv.encode=function(t){var r="",n,i=EV(t);do n=i&uA,i>>>=wv,i>0&&(n|=cA),r+=oA.encode(n);while(i>0);return r};Sv.decode=function(t,r,n){var i=t.length,s=0,o=0,c,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=oA.decode(t.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));c=!!(l&cA),l&=uA,s=s+(l<{function TV(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}lr.getArg=TV;var lA=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,wV=/^data:.+\,.+$/;function gc(e){var t=e.match(lA);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}lr.urlParse=gc;function Aa(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}lr.urlGenerate=Aa;function Rv(e){var t=e,r=gc(e);if(r){if(!r.path)return e;t=r.path}for(var n=lr.isAbsolute(t),i=t.split(/\/+/),s,o=0,c=i.length-1;c>=0;c--)s=i[c],s==="."?i.splice(c,1):s===".."?o++:o>0&&(s===""?(i.splice(c+1,o),o=0):(i.splice(c,2),o--));return t=i.join("/"),t===""&&(t=n?"/":"."),r?(r.path=t,Aa(r)):t}lr.normalize=Rv;function fA(e,t){e===""&&(e="."),t===""&&(t=".");var r=gc(t),n=gc(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Aa(r);if(r||t.match(wV))return t;if(n&&!n.host&&!n.path)return n.host=t,Aa(n);var i=t.charAt(0)==="/"?t:Rv(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,Aa(n)):i}lr.join=fA;lr.isAbsolute=function(e){return e.charAt(0)==="/"||lA.test(e)};function SV(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}lr.relative=SV;var pA=function(){var e=Object.create(null);return!("__proto__"in e)}();function hA(e){return e}function AV(e){return dA(e)?"$"+e:e}lr.toSetString=pA?hA:AV;function RV(e){return dA(e)?e.slice(1):e}lr.fromSetString=pA?hA:RV;function dA(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function PV(e,t,r){var n=Ra(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Ra(e.name,t.name)}lr.compareByOriginalPositions=PV;function OV(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=Ra(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Ra(e.name,t.name)}lr.compareByGeneratedPositionsDeflated=OV;function Ra(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function CV(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=Ra(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:Ra(e.name,t.name)}lr.compareByGeneratedPositionsInflated=CV;function kV(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}lr.parseSourceMapInput=kV;function IV(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=gc(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=fA(Aa(n),t)}return Rv(t)}lr.computeSourceURL=IV});var Cv=_(gA=>{var Pv=Pa(),Ov=Object.prototype.hasOwnProperty,Co=typeof Map<"u";function es(){this._array=[],this._set=Co?new Map:Object.create(null)}es.fromArray=function(t,r){for(var n=new es,i=0,s=t.length;i=0)return r}else{var n=Pv.toSetString(t);if(Ov.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};es.prototype.at=function(t){if(t>=0&&t{var mA=Pa();function LV(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,s=t.generatedColumn;return n>r||n==r&&s>=i||mA.compareByGeneratedPositionsInflated(e,t)<=0}function zf(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}zf.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};zf.prototype.add=function(t){LV(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};zf.prototype.toArray=function(){return this._sorted||(this._array.sort(mA.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};vA.MappingList=zf});var kv=_(_A=>{var mc=Av(),Ft=Pa(),Yf=Cv().ArraySet,xV=yA().MappingList;function An(e){e||(e={}),this._file=Ft.getArg(e,"file",null),this._sourceRoot=Ft.getArg(e,"sourceRoot",null),this._skipValidation=Ft.getArg(e,"skipValidation",!1),this._sources=new Yf,this._names=new Yf,this._mappings=new xV,this._sourcesContents=null}An.prototype._version=3;An.fromSourceMap=function(t){var r=t.sourceRoot,n=new An({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Ft.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),t.sources.forEach(function(i){var s=i;r!==null&&(s=Ft.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=t.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};An.prototype.addMapping=function(t){var r=Ft.getArg(t,"generated"),n=Ft.getArg(t,"original",null),i=Ft.getArg(t,"source",null),s=Ft.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};An.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Ft.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ft.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Ft.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};An.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var s=this._sourceRoot;s!=null&&(i=Ft.relative(s,i));var o=new Yf,c=new Yf;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var p=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});p.source!=null&&(l.source=p.source,n!=null&&(l.source=Ft.join(n,l.source)),s!=null&&(l.source=Ft.relative(s,l.source)),l.originalLine=p.line,l.originalColumn=p.column,p.name!=null&&(l.name=p.name))}var d=l.source;d!=null&&!o.has(d)&&o.add(d);var h=l.name;h!=null&&!c.has(h)&&c.add(h)},this),this._sources=o,this._names=c,t.sources.forEach(function(l){var p=t.sourceContentFor(l);p!=null&&(n!=null&&(l=Ft.join(n,l)),s!=null&&(l=Ft.relative(s,l)),this.setSourceContent(l,p))},this)};An.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};An.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,s=0,o=0,c="",l,p,d,h,m=this._mappings.toArray(),w=0,v=m.length;w0){if(!Ft.compareByGeneratedPositionsInflated(p,m[w-1]))continue;l+=","}l+=mc.encode(p.generatedColumn-t),t=p.generatedColumn,p.source!=null&&(h=this._sources.indexOf(p.source),l+=mc.encode(h-o),o=h,l+=mc.encode(p.originalLine-1-i),i=p.originalLine-1,l+=mc.encode(p.originalColumn-n),n=p.originalColumn,p.name!=null&&(d=this._names.indexOf(p.name),l+=mc.encode(d-s),s=d)),c+=l}return c};An.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Ft.relative(r,n));var i=Ft.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};An.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};An.prototype.toString=function(){return JSON.stringify(this.toJSON())};_A.SourceMapGenerator=An});var EA=_(ko=>{ko.GREATEST_LOWER_BOUND=1;ko.LEAST_UPPER_BOUND=2;function Iv(e,t,r,n,i,s){var o=Math.floor((t-e)/2)+e,c=i(r,n[o],!0);return c===0?o:c>0?t-o>1?Iv(o,t,r,n,i,s):s==ko.LEAST_UPPER_BOUND?t1?Iv(e,o,r,n,i,s):s==ko.LEAST_UPPER_BOUND?o:e<0?-1:e}ko.search=function(t,r,n,i){if(r.length===0)return-1;var s=Iv(-1,r.length,t,r,n,i||ko.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var TA=_(bA=>{function Lv(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function NV(e,t){return Math.round(e+Math.random()*(t-e))}function xv(e,t,r,n){if(r{var ce=Pa(),Nv=EA(),Oa=Cv().ArraySet,DV=Av(),vc=TA().quickSort;function gt(e,t){var r=e;return typeof e=="string"&&(r=ce.parseSourceMapInput(e)),r.sections!=null?new Vn(r,t):new nr(r,t)}gt.fromSourceMap=function(e,t){return nr.fromSourceMap(e,t)};gt.prototype._version=3;gt.prototype.__generatedMappings=null;Object.defineProperty(gt.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});gt.prototype.__originalMappings=null;Object.defineProperty(gt.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});gt.prototype._charIsMappingSeparator=function(t,r){var n=t.charAt(r);return n===";"||n===","};gt.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};gt.GENERATED_ORDER=1;gt.ORIGINAL_ORDER=2;gt.GREATEST_LOWER_BOUND=1;gt.LEAST_UPPER_BOUND=2;gt.prototype.eachMapping=function(t,r,n){var i=r||null,s=n||gt.GENERATED_ORDER,o;switch(s){case gt.GENERATED_ORDER:o=this._generatedMappings;break;case gt.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;o.map(function(l){var p=l.source===null?null:this._sources.at(l.source);return p=ce.computeSourceURL(c,p,this._sourceMapURL),{source:p,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(t,i)};gt.prototype.allGeneratedPositionsFor=function(t){var r=ce.getArg(t,"line"),n={source:ce.getArg(t,"source"),originalLine:r,originalColumn:ce.getArg(t,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",ce.compareByOriginalPositions,Nv.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(t.column===void 0)for(var c=o.originalLine;o&&o.originalLine===c;)i.push({line:ce.getArg(o,"generatedLine",null),column:ce.getArg(o,"generatedColumn",null),lastColumn:ce.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var l=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==l;)i.push({line:ce.getArg(o,"generatedLine",null),column:ce.getArg(o,"generatedColumn",null),lastColumn:ce.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};Xf.SourceMapConsumer=gt;function nr(e,t){var r=e;typeof e=="string"&&(r=ce.parseSourceMapInput(e));var n=ce.getArg(r,"version"),i=ce.getArg(r,"sources"),s=ce.getArg(r,"names",[]),o=ce.getArg(r,"sourceRoot",null),c=ce.getArg(r,"sourcesContent",null),l=ce.getArg(r,"mappings"),p=ce.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=ce.normalize(o)),i=i.map(String).map(ce.normalize).map(function(d){return o&&ce.isAbsolute(o)&&ce.isAbsolute(d)?ce.relative(o,d):d}),this._names=Oa.fromArray(s.map(String),!0),this._sources=Oa.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(d){return ce.computeSourceURL(o,d,t)}),this.sourceRoot=o,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=t,this.file=p}nr.prototype=Object.create(gt.prototype);nr.prototype.consumer=gt;nr.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=ce.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r1&&(E.source=c+S[1],c+=S[1],E.originalLine=s+S[2],s=E.originalLine,E.originalLine+=1,E.originalColumn=o+S[3],o=E.originalColumn,S.length>4&&(E.name=l+S[4],l+=S[4])),v.push(E),typeof E.originalLine=="number"&&w.push(E)}vc(v,ce.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,vc(w,ce.compareByOriginalPositions),this.__originalMappings=w};nr.prototype._findMapping=function(t,r,n,i,s,o){if(t[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[n]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return Nv.search(t,r,s,o)};nr.prototype.computeColumnSpans=function(){for(var t=0;t=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=ce.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=ce.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=ce.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:ce.getArg(i,"originalLine",null),column:ce.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};nr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};nr.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var i=t;this.sourceRoot!=null&&(i=ce.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=ce.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};nr.prototype.generatedPositionFor=function(t){var r=ce.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:ce.getArg(t,"line"),originalColumn:ce.getArg(t,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",ce.compareByOriginalPositions,ce.getArg(t,"bias",gt.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:ce.getArg(s,"generatedLine",null),column:ce.getArg(s,"generatedColumn",null),lastColumn:ce.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Xf.BasicSourceMapConsumer=nr;function Vn(e,t){var r=e;typeof e=="string"&&(r=ce.parseSourceMapInput(e));var n=ce.getArg(r,"version"),i=ce.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Oa,this._names=new Oa;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var c=ce.getArg(o,"offset"),l=ce.getArg(c,"line"),p=ce.getArg(c,"column");if(l{var MV=kv().SourceMapGenerator,Jf=Pa(),FV=/(\r?\n)/,GV=10,Ca="$$$isSourceNode$$$";function en(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e==null?null:e,this.column=t==null?null:t,this.source=r==null?null:r,this.name=i==null?null:i,this[Ca]=!0,n!=null&&this.add(n)}en.fromStringWithSourceMap=function(t,r,n){var i=new en,s=t.split(FV),o=0,c=function(){var m=v(),w=v()||"";return m+w;function v(){return o=0;r--)this.prepend(t[r]);else if(t[Ca]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};en.prototype.walk=function(t){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{Qf.SourceMapGenerator=kv().SourceMapGenerator;Qf.SourceMapConsumer=SA().SourceMapConsumer;Qf.SourceNode=RA().SourceNode});var IA=_((Zf,kA)=>{"use strict";Zf.__esModule=!0;var Mv=Tr(),Io=void 0;try{(typeof define!="function"||!define.amd)&&(OA=PA(),Io=OA.SourceNode)}catch{}var OA;Io||(Io=function(e,t,r,n){this.src="",n&&this.add(n)},Io.prototype={add:function(t){Mv.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){Mv.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Dv(e,t,r){if(Mv.isArray(e)){for(var n=[],i=0,s=e.length;i{"use strict";ep.__esModule=!0;function NA(e){return e&&e.__esModule?e:{default:e}}var LA=Df(),UV=wn(),Fv=NA(UV),BV=Tr(),qV=IA(),xA=NA(qV);function ka(e){this.value=e}function Ia(){}Ia.prototype={nameLookup:function(t,r){return this.internalNameLookup(t,r)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=LA.COMPILER_REVISION,r=LA.REVISION_CHANGES[t];return[t,r]},appendToBuffer:function(t,r,n){return BV.isArray(t)||(t=[t]),t=this.source.wrap(t,r),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,r,n,i){this.environment=t,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,r),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var s=t.opcodes,o=void 0,c=void 0,l=void 0,p=void 0;for(l=0,p=s.length;l1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+_);switch(C[0]){case 1:o.push(_),a.push(this.lexer.yytext),u.push(this.lexer.yylloc),o.push(C[1]),_=null,O?(_=O,O=null):(p=this.lexer.yyleng,f=this.lexer.yytext,l=this.lexer.yylineno,y=this.lexer.yylloc,m>0&&m--);break;case 2:if(G=this.productions_[C[1]][1],L.$=a[a.length-G],L._$={first_line:u[u.length-(G||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(G||1)].first_column,last_column:u[u.length-1].last_column},v&&(L._$.range=[u[u.length-(G||1)].range[0],u[u.length-1].range[1]]),M=this.performAction.call(L,f,p,l,this.yy,C[1],a,u),typeof M<"u")return M;G&&(o=o.slice(0,-1*G*2),a=a.slice(0,-1*G),u=u.slice(0,-1*G)),o.push(this.productions_[C[1]][0]),a.push(L.$),u.push(L._$),F=c[o[o.length-2]][o[o.length-1]],o.push(F);break;case 3:return!0}}return!0}},t=function(){var n={EOF:1,parseError:function(s,o){if(this.yy.parser)this.yy.parser.parseError(s,o);else throw new Error(s)},setInput:function(s){return this._input=s,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var o=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var c=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[c[0],c[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+` +`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,o,a,u,c,f;this._more||(this.yytext="",this.match="");for(var l=this._currentRules(),p=0;po[0].length)&&(o=a,u=p,!this.options.flex)));p++);return o?(f=o[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],s=this.performAction.call(this,this.yy,this,l[u],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return n.options={},n.performAction=function(s,o,a,u){function c(l,p){return o.yytext=o.yytext.substring(l,o.yyleng-p+l)}var f=u;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(c(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(c(0,1),this.begin("emu")):this.begin("mu"),o.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(c(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return o.yytext=c(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=c(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();e.lexer=t;function r(){this.yy={}}return r.prototype=e,e.Parser=r,new r}();Hu.default=s4;t1.exports=Hu.default});var Ku=d((Vu,s1)=>{"use strict";Vu.__esModule=!0;function o4(e){return e&&e.__esModule?e:{default:e}}var a4=sr(),vh=o4(a4);function $u(){this.parents=[]}$u.prototype={constructor:$u,mutating:!1,acceptKey:function(t,r){var n=this.accept(t[r]);if(this.mutating){if(n&&!$u.prototype[n.type])throw new vh.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+t.type);t[r]=n}},acceptRequired:function(t,r){if(this.acceptKey(t,r),!t[r])throw new vh.default(t.type+" requires "+r)},acceptArray:function(t){for(var r=0,n=t.length;r{"use strict";zu.__esModule=!0;function u4(e){return e&&e.__esModule?e:{default:e}}var c4=Ku(),l4=u4(c4);function jr(){var e=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=e}jr.prototype=new l4.default;jr.prototype.Program=function(e){var t=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,i=0,s=n.length;i{"use strict";or.__esModule=!0;or.SourceLocation=h4;or.id=d4;or.stripFlags=g4;or.stripComment=m4;or.preparePath=v4;or.prepareMustache=y4;or.prepareRawBlock=E4;or.prepareBlock=_4;or.prepareProgram=b4;or.preparePartialBlock=T4;function f4(e){return e&&e.__esModule?e:{default:e}}var p4=sr(),_h=f4(p4);function bh(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new _h.default(e.path.original+" doesn't match "+t,r)}}function h4(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function d4(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function g4(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function m4(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function v4(e,t,r){r=this.locInfo(r);for(var n=e?"@":"",i=[],s=0,o=0,a=t.length;o0)throw new _h.default("Invalid path: "+n,{loc:r});u===".."&&s++}else i.push(u)}return{type:"PathExpression",data:e,depth:s,parts:i,original:n,loc:r}}function y4(e,t,r,n,i,s){var o=n.charAt(3)||n.charAt(2),a=o!=="{"&&o!=="&",u=/\*/.test(n);return{type:u?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:a,strip:i,loc:this.locInfo(s)}}function E4(e,t,r,n){bh(e,r),n=this.locInfo(n);var i={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function _4(e,t,r,n,i,s){n&&n.path&&bh(e,n);var o=/\*/.test(e.open);t.blockParams=e.blockParams;var a=void 0,u=void 0;if(r){if(o)throw new _h.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),u=r.strip,a=r.program}return i&&(i=a,a=t,t=i),{type:o?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:a,openStrip:e.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function b4(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function T4(e,t,r,n){return bh(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var f1=d(zo=>{"use strict";zo.__esModule=!0;zo.parseWithoutProcessing=l1;zo.parse=k4;function S4(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function c1(e){return e&&e.__esModule?e:{default:e}}var w4=r1(),Th=c1(w4),A4=a1(),R4=c1(A4),P4=u1(),O4=S4(P4),C4=Rt();zo.parser=Th.default;var Yu={};C4.extend(Yu,O4);function l1(e,t){if(e.type==="Program")return e;Th.default.yy=Yu,Yu.locInfo=function(n){return new Yu.SourceLocation(t&&t.srcName,n)};var r=Th.default.parse(e);return r}function k4(e,t){var r=l1(e,t),n=new R4.default(t);return n.accept(r)}});var g1=d(Jo=>{"use strict";Jo.__esModule=!0;Jo.Compiler=Sh;Jo.precompile=x4;Jo.compile=D4;function h1(e){return e&&e.__esModule?e:{default:e}}var I4=sr(),Xo=h1(I4),Qo=Rt(),L4=mh(),Yo=h1(L4),N4=[].slice;function Sh(){}Sh.prototype={compiler:Sh,equals:function(t){var r=this.opcodes.length;if(t.opcodes.length!==r)return!1;for(var n=0;n1)throw new Xo.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=t.name.original,s=t.name.type==="SubExpression";s&&this.accept(t.name),this.setupFullMustacheParams(t,r,void 0,!0);var o=t.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",s,i,o),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){p1(t);var r=this.classifySexpr(t);r==="simple"?this.simpleSexpr(t):r==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,r,n){var i=t.path,s=i.parts[0],o=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",s,o)},simpleSexpr:function(t){var r=t.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,r,n){var i=this.setupFullMustacheParams(t,r,n),s=t.path,o=s.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",i.length,o);else{if(this.options.knownHelpersOnly)throw new Xo.default("You specified knownHelpersOnly, but used the unknown helper "+o,t);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,Yo.default.helpers.simpleId(s))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var r=t.parts[0],n=Yo.default.helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,t.parts):r?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var r=t.pairs,n=0,i=r.length;for(this.opcode("pushHash");n=0)return[r,s]}}};function x4(e,t,r){if(e==null||typeof e!="string"&&e.type!=="Program")throw new Xo.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=r.parse(e,t),i=new r.Compiler().compile(n,t);return new r.JavaScriptCompiler().compile(i,t)}function D4(e,t,r){if(t===void 0&&(t={}),e==null||typeof e!="string"&&e.type!=="Program")throw new Xo.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);t=Qo.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=void 0;function i(){var o=r.parse(e,t),a=new r.Compiler().compile(o,t),u=new r.JavaScriptCompiler().compile(a,t,void 0,!0);return r.template(u)}function s(o,a){return n||(n=i()),n.call(this,o,a)}return s._setup=function(o){return n||(n=i()),n._setup(o)},s._child=function(o,a,u,c){return n||(n=i()),n._child(o,a,u,c)},s}function d1(e,t){if(e===t)return!0;if(Qo.isArray(e)&&Qo.isArray(t)&&e.length===t.length){for(var r=0;r{var m1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wh.encode=function(e){if(0<=e&&e{var y1=v1(),Ah=5,E1=1<>1;return t?-r:r}Rh.encode=function(t){var r="",n,i=M4(t);do n=i&_1,i>>>=Ah,i>0&&(n|=b1),r+=y1.encode(n);while(i>0);return r};Rh.decode=function(t,r,n){var i=t.length,s=0,o=0,a,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=y1.decode(t.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));a=!!(u&b1),u&=_1,s=s+(u<{function G4(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}mt.getArg=G4;var T1=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,U4=/^data:.+\,.+$/;function Zo(e){var t=e.match(T1);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}mt.urlParse=Zo;function ys(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}mt.urlGenerate=ys;function Oh(e){var t=e,r=Zo(e);if(r){if(!r.path)return e;t=r.path}for(var n=mt.isAbsolute(t),i=t.split(/\/+/),s,o=0,a=i.length-1;a>=0;a--)s=i[a],s==="."?i.splice(a,1):s===".."?o++:o>0&&(s===""?(i.splice(a+1,o),o=0):(i.splice(a,2),o--));return t=i.join("/"),t===""&&(t=n?"/":"."),r?(r.path=t,ys(r)):t}mt.normalize=Oh;function S1(e,t){e===""&&(e="."),t===""&&(t=".");var r=Zo(t),n=Zo(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),ys(r);if(r||t.match(U4))return t;if(n&&!n.host&&!n.path)return n.host=t,ys(n);var i=t.charAt(0)==="/"?t:Oh(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,ys(n)):i}mt.join=S1;mt.isAbsolute=function(e){return e.charAt(0)==="/"||T1.test(e)};function B4(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}mt.relative=B4;var w1=function(){var e=Object.create(null);return!("__proto__"in e)}();function A1(e){return e}function q4(e){return R1(e)?"$"+e:e}mt.toSetString=w1?A1:q4;function j4(e){return R1(e)?e.slice(1):e}mt.fromSetString=w1?A1:j4;function R1(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function H4(e,t,r){var n=Es(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Es(e.name,t.name)}mt.compareByOriginalPositions=H4;function $4(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=Es(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Es(e.name,t.name)}mt.compareByGeneratedPositionsDeflated=$4;function Es(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function W4(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=Es(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:Es(e.name,t.name)}mt.compareByGeneratedPositionsInflated=W4;function V4(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}mt.parseSourceMapInput=V4;function K4(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=Zo(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=S1(ys(n),t)}return Oh(t)}mt.computeSourceURL=K4});var Ih=d(P1=>{var Ch=_s(),kh=Object.prototype.hasOwnProperty,Ni=typeof Map<"u";function mn(){this._array=[],this._set=Ni?new Map:Object.create(null)}mn.fromArray=function(t,r){for(var n=new mn,i=0,s=t.length;i=0)return r}else{var n=Ch.toSetString(t);if(kh.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};mn.prototype.at=function(t){if(t>=0&&t{var O1=_s();function z4(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,s=t.generatedColumn;return n>r||n==r&&s>=i||O1.compareByGeneratedPositionsInflated(e,t)<=0}function Xu(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Xu.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Xu.prototype.add=function(t){z4(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Xu.prototype.toArray=function(){return this._sorted||(this._array.sort(O1.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};C1.MappingList=Xu});var Lh=d(I1=>{var ea=Ph(),Xe=_s(),Qu=Ih().ArraySet,Y4=k1().MappingList;function ar(e){e||(e={}),this._file=Xe.getArg(e,"file",null),this._sourceRoot=Xe.getArg(e,"sourceRoot",null),this._skipValidation=Xe.getArg(e,"skipValidation",!1),this._sources=new Qu,this._names=new Qu,this._mappings=new Y4,this._sourcesContents=null}ar.prototype._version=3;ar.fromSourceMap=function(t){var r=t.sourceRoot,n=new ar({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Xe.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),t.sources.forEach(function(i){var s=i;r!==null&&(s=Xe.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=t.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};ar.prototype.addMapping=function(t){var r=Xe.getArg(t,"generated"),n=Xe.getArg(t,"original",null),i=Xe.getArg(t,"source",null),s=Xe.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};ar.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Xe.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Xe.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Xe.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ar.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var s=this._sourceRoot;s!=null&&(i=Xe.relative(s,i));var o=new Qu,a=new Qu;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var c=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});c.source!=null&&(u.source=c.source,n!=null&&(u.source=Xe.join(n,u.source)),s!=null&&(u.source=Xe.relative(s,u.source)),u.originalLine=c.line,u.originalColumn=c.column,c.name!=null&&(u.name=c.name))}var f=u.source;f!=null&&!o.has(f)&&o.add(f);var l=u.name;l!=null&&!a.has(l)&&a.add(l)},this),this._sources=o,this._names=a,t.sources.forEach(function(u){var c=t.sourceContentFor(u);c!=null&&(n!=null&&(u=Xe.join(n,u)),s!=null&&(u=Xe.relative(s,u)),this.setSourceContent(u,c))},this)};ar.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};ar.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,s=0,o=0,a="",u,c,f,l,p=this._mappings.toArray(),m=0,h=p.length;m0){if(!Xe.compareByGeneratedPositionsInflated(c,p[m-1]))continue;u+=","}u+=ea.encode(c.generatedColumn-t),t=c.generatedColumn,c.source!=null&&(l=this._sources.indexOf(c.source),u+=ea.encode(l-o),o=l,u+=ea.encode(c.originalLine-1-i),i=c.originalLine-1,u+=ea.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(f=this._names.indexOf(c.name),u+=ea.encode(f-s),s=f)),a+=u}return a};ar.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Xe.relative(r,n));var i=Xe.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};ar.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};ar.prototype.toString=function(){return JSON.stringify(this.toJSON())};I1.SourceMapGenerator=ar});var L1=d(xi=>{xi.GREATEST_LOWER_BOUND=1;xi.LEAST_UPPER_BOUND=2;function Nh(e,t,r,n,i,s){var o=Math.floor((t-e)/2)+e,a=i(r,n[o],!0);return a===0?o:a>0?t-o>1?Nh(o,t,r,n,i,s):s==xi.LEAST_UPPER_BOUND?t1?Nh(e,o,r,n,i,s):s==xi.LEAST_UPPER_BOUND?o:e<0?-1:e}xi.search=function(t,r,n,i){if(r.length===0)return-1;var s=Nh(-1,r.length,t,r,n,i||xi.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var x1=d(N1=>{function xh(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function X4(e,t){return Math.round(e+Math.random()*(t-e))}function Dh(e,t,r,n){if(r{var W=_s(),Mh=L1(),bs=Ih().ArraySet,Q4=Ph(),ta=x1().quickSort;function xe(e,t){var r=e;return typeof e=="string"&&(r=W.parseSourceMapInput(e)),r.sections!=null?new Tr(r,t):new pt(r,t)}xe.fromSourceMap=function(e,t){return pt.fromSourceMap(e,t)};xe.prototype._version=3;xe.prototype.__generatedMappings=null;Object.defineProperty(xe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});xe.prototype.__originalMappings=null;Object.defineProperty(xe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});xe.prototype._charIsMappingSeparator=function(t,r){var n=t.charAt(r);return n===";"||n===","};xe.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};xe.GENERATED_ORDER=1;xe.ORIGINAL_ORDER=2;xe.GREATEST_LOWER_BOUND=1;xe.LEAST_UPPER_BOUND=2;xe.prototype.eachMapping=function(t,r,n){var i=r||null,s=n||xe.GENERATED_ORDER,o;switch(s){case xe.GENERATED_ORDER:o=this._generatedMappings;break;case xe.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(u){var c=u.source===null?null:this._sources.at(u.source);return c=W.computeSourceURL(a,c,this._sourceMapURL),{source:c,generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:u.name===null?null:this._names.at(u.name)}},this).forEach(t,i)};xe.prototype.allGeneratedPositionsFor=function(t){var r=W.getArg(t,"line"),n={source:W.getArg(t,"source"),originalLine:r,originalColumn:W.getArg(t,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",W.compareByOriginalPositions,Mh.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(t.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:W.getArg(o,"generatedLine",null),column:W.getArg(o,"generatedColumn",null),lastColumn:W.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==u;)i.push({line:W.getArg(o,"generatedLine",null),column:W.getArg(o,"generatedColumn",null),lastColumn:W.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};Ju.SourceMapConsumer=xe;function pt(e,t){var r=e;typeof e=="string"&&(r=W.parseSourceMapInput(e));var n=W.getArg(r,"version"),i=W.getArg(r,"sources"),s=W.getArg(r,"names",[]),o=W.getArg(r,"sourceRoot",null),a=W.getArg(r,"sourcesContent",null),u=W.getArg(r,"mappings"),c=W.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=W.normalize(o)),i=i.map(String).map(W.normalize).map(function(f){return o&&W.isAbsolute(o)&&W.isAbsolute(f)?W.relative(o,f):f}),this._names=bs.fromArray(s.map(String),!0),this._sources=bs.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return W.computeSourceURL(o,f,t)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this._sourceMapURL=t,this.file=c}pt.prototype=Object.create(xe.prototype);pt.prototype.consumer=xe;pt.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=W.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r1&&(g.source=a+v[1],a+=v[1],g.originalLine=s+v[2],s=g.originalLine,g.originalLine+=1,g.originalColumn=o+v[3],o=g.originalColumn,v.length>4&&(g.name=u+v[4],u+=v[4])),h.push(g),typeof g.originalLine=="number"&&m.push(g)}ta(h,W.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,ta(m,W.compareByOriginalPositions),this.__originalMappings=m};pt.prototype._findMapping=function(t,r,n,i,s,o){if(t[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[n]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return Mh.search(t,r,s,o)};pt.prototype.computeColumnSpans=function(){for(var t=0;t=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=W.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=W.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=W.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:W.getArg(i,"originalLine",null),column:W.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};pt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};pt.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var i=t;this.sourceRoot!=null&&(i=W.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=W.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};pt.prototype.generatedPositionFor=function(t){var r=W.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:W.getArg(t,"line"),originalColumn:W.getArg(t,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",W.compareByOriginalPositions,W.getArg(t,"bias",xe.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:W.getArg(s,"generatedLine",null),column:W.getArg(s,"generatedColumn",null),lastColumn:W.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Ju.BasicSourceMapConsumer=pt;function Tr(e,t){var r=e;typeof e=="string"&&(r=W.parseSourceMapInput(e));var n=W.getArg(r,"version"),i=W.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new bs,this._names=new bs;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=W.getArg(o,"offset"),u=W.getArg(a,"line"),c=W.getArg(a,"column");if(u{var J4=Lh().SourceMapGenerator,Zu=_s(),Z4=/(\r?\n)/,eU=10,Ts="$$$isSourceNode$$$";function Vt(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e==null?null:e,this.column=t==null?null:t,this.source=r==null?null:r,this.name=i==null?null:i,this[Ts]=!0,n!=null&&this.add(n)}Vt.fromStringWithSourceMap=function(t,r,n){var i=new Vt,s=t.split(Z4),o=0,a=function(){var p=h(),m=h()||"";return p+m;function h(){return o=0;r--)this.prepend(t[r]);else if(t[Ts]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Vt.prototype.walk=function(t){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{ec.SourceMapGenerator=Lh().SourceMapGenerator;ec.SourceMapConsumer=M1().SourceMapConsumer;ec.SourceNode=G1().SourceNode});var H1=d((tc,j1)=>{"use strict";tc.__esModule=!0;var Gh=Rt(),Di=void 0;try{(typeof define!="function"||!define.amd)&&(B1=U1(),Di=B1.SourceNode)}catch{}var B1;Di||(Di=function(e,t,r,n){this.src="",n&&this.add(n)},Di.prototype={add:function(t){Gh.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){Gh.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Fh(e,t,r){if(Gh.isArray(e)){for(var n=[],i=0,s=e.length;i{"use strict";rc.__esModule=!0;function V1(e){return e&&e.__esModule?e:{default:e}}var $1=Fu(),tU=sr(),Uh=V1(tU),rU=Rt(),nU=H1(),W1=V1(nU);function Ss(e){this.value=e}function ws(){}ws.prototype={nameLookup:function(t,r){return this.internalNameLookup(t,r)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=$1.COMPILER_REVISION,r=$1.REVISION_CHANGES[t];return[t,r]},appendToBuffer:function(t,r,n){return rU.isArray(t)||(t=[t]),t=this.source.wrap(t,r),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,r,n,i){this.environment=t,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,r),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var s=t.opcodes,o=void 0,a=void 0,u=void 0,c=void 0;for(u=0,c=s.length;u0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(l){var p=r.aliases[l];p.children&&p.referenceCount>1&&(n+=", alias"+ ++s+"="+l,p.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var c=this.mergeSource(n);return t?(o.push(c),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) { - `,c,"}"])},mergeSource:function(t){var r=this.environment.isSimple,n=!this.forceBuffer,i=void 0,s=void 0,o=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(o?l.prepend(" + "):o=l,c=l):(o&&(s?o.prepend("buffer += "):i=!0,c.add(";"),o=c=void 0),s=!0,r||(n=!1))}),n?o?(o.prepend("return "),c.add(";")):s||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":`; +`),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(i);if(this.isChild)return f;var l={compiler:this.compilerInfo(),main:f};this.decorators&&(l.main_d=this.decorators,l.useDecorators=!0);var p=this.context,m=p.programs,h=p.decorators;for(u=0,c=m.length;u0&&(n+=", "+i.join(", "));var s=0;Object.keys(this.aliases).forEach(function(u){var c=r.aliases[u];c.children&&c.referenceCount>1&&(n+=", alias"+ ++s+"="+u,c.children[0]="alias"+s)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(n);return t?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) { + `,a,"}"])},mergeSource:function(t){var r=this.environment.isSimple,n=!this.forceBuffer,i=void 0,s=void 0,o=void 0,a=void 0;return this.source.each(function(u){u.appendToBuffer?(o?u.prepend(" + "):o=u,a=u):(o&&(s?o.prepend("buffer += "):i=!0,a.add(";"),o=a=void 0),s=!0,r||(n=!1))}),n?o?(o.prepend("return "),a.add(";")):s||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { @@ -28,9 +28,9 @@ Expecting `+ue.join(", ")+", got '"+(this.terminals_[O]||O)+"'":D="Parse error o } return undefined } - `.trim()},blockValue:function(t){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",r),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,r,n,i){var s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(t[s++])):this.pushContext(),this.resolvePath("context",t,s,r,n)},lookupBlockParam:function(t,r){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(t,r,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(t,r,n,i,s){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(HV(this.options.strict&&s,this,r,t));return}for(var c=r.length;nthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var r=0,n=t.length;r{"use strict";tp.__esModule=!0;function yc(e){return e&&e.__esModule?e:{default:e}}var jV=BS(),WV=yc(jV),$V=dv(),VV=yc($V),Gv=ZS(),Uv=nA(),KV=MA(),zV=yc(KV),YV=$f(),XV=yc(YV),JV=lv(),QV=yc(JV),ZV=WV.default.create;function FA(){var e=ZV();return e.compile=function(t,r){return Uv.compile(t,r,e)},e.precompile=function(t,r){return Uv.precompile(t,r,e)},e.AST=VV.default,e.Compiler=Uv.Compiler,e.JavaScriptCompiler=zV.default,e.Parser=Gv.parser,e.parse=Gv.parse,e.parseWithoutProcessing=Gv.parseWithoutProcessing,e}var La=FA();La.create=FA;QV.default(La);La.Visitor=XV.default;La.default=La;tp.default=La;GA.exports=tp.default});var BA=_(rp=>{"use strict";rp.__esModule=!0;rp.print=nK;rp.PrintVisitor=Ct;function eK(e){return e&&e.__esModule?e:{default:e}}var tK=$f(),rK=eK(tK);function nK(e){return new Ct().accept(e)}function Ct(){this.padding=0}Ct.prototype=new rK.default;Ct.prototype.pad=function(e){for(var t="",r=0,n=this.padding;r "+t+" }}")};Ct.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),t+=" "+this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--,this.pad("{{> "+t+" }}")};Ct.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")};Ct.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")};Ct.prototype.SubExpression=function(e){for(var t=e.params,r=[],n=void 0,i=0,s=t.length;i{Bv=VA.exports=iK;Bv.getSerialize=$A;function iK(e,t,r,n){return JSON.stringify(e,$A(t,n),r)}function $A(e,t){var r=[],n=[];return t==null&&(t=function(i,s){return r[0]===s?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(s)).join(".")+"]"}),function(i,s){if(r.length>0){var o=r.indexOf(this);~o?r.splice(o+1):r.push(this),~o?n.splice(o,1/0,i):n.push(i),~r.indexOf(s)&&(s=t.call(this,i,s))}else r.push(s);return e==null?s:e.call(this,i,s)}}});var tR=_((Ode,eR)=>{"use strict";var sK=zm(),_c=WA(),zA=F("semver"),oK=KA();function YA(e){let t=e.mainTemplate,r=e.headerPartial,n=e.commitPartial,i=e.footerPartial,s=e.partials;return typeof r=="string"&&_c.registerPartial("header",r),typeof n=="string"&&_c.registerPartial("commit",n),typeof i=="string"&&_c.registerPartial("footer",i),s&&Object.entries(s).forEach(function([o,c]){typeof c=="string"&&_c.registerPartial(o,c)}),_c.compile(t,{noEscape:!0})}function aK(e){return e&&typeof e!="function"?(t,r)=>{let n="",i="";if(Array.isArray(e))for(let s of e)n+=t[s]||"",i+=r[s]||"";else n+=t[e],i+=r[e];return n.localeCompare(i)}:e}function XA(e,t,r,n){let i=[],s=t.reduce(function(o,c){let l=c[e]||"";return o[l]?o[l].push(c):o[l]=[c],o},{});return Object.entries(s).forEach(function([o,c]){o===""&&(o=!1),n&&c.sort(n),i.push({title:o,commits:c})}),r&&i.sort(r),i}function JA(e,t,r){let n=[];return e.forEach(function(i){let s=i.title,o=!1;n.forEach(function(c){if(c.title===s)return o=!0,c.notes.push(i),!1}),o||n.push({title:s,notes:[i]})}),t&&n.sort(t),r&&n.forEach(function(i){i.notes.sort(r)}),n}function uK(e,t){return t.split(".").reduce((n,i)=>n&&n[i],e)}function QA(e,t,r){let n=Array.isArray(t)?t.slice():t.split("."),i=n.shift();return i?{...e,[i]:n.length?QA(e[i],n,r):r}:e}function qv(e){if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(qv);let t={},r;for(let n in e)r=e[n],typeof r=="object"?t[n]=qv(r):t[n]=r;return t}async function cK(e,t,r){let n;try{e=JSON.parse(e)}catch{}return n=qv(e),typeof t=="function"?(n=await t(n,r),n&&(n.raw=e),n):(t&&Object.entries(t).forEach(function([i,s]){let o=uK(n,i);typeof s=="function"?o=s(o,i):o=s,n=QA(n,i,o)}),n.raw=e,n)}function ZA(e,t,r){let n={};return n.commitGroups=XA(r.groupBy,e,r.commitGroupsSort,r.commitsSort),n.noteGroups=JA(t,r.noteGroupsSort,r.notesSort),n}async function lK(e,t,r,n){let i=[],s,o=YA(e);return e.ignoreReverted?s=sK(t):s=t.slice(),s=s.map(c=>({...c,notes:c.notes.map(l=>{let p={...l,commit:c};return i.push(p),p})})),r={...r,...n,...ZA(s,i,e)},n&&n.committerDate&&(r.date=n.committerDate),r.version&&zA.valid(r.version)&&(r.isPatch=r.isPatch||zA.patch(r.version)!==0),r=await e.finalizeContext(r,e,s,n,t),e.debug(`Your final context is: -`+oK(r,null,2)),o(r)}eR.exports={compileTemplates:YA,functionify:aK,getCommitGroups:XA,getNoteGroups:JA,processCommit:cK,getExtraContext:ZA,generate:lK}});var aR=_((kde,oR)=>{"use strict";var{Transform:fK}=F("stream"),{join:Cde}=F("path"),{valid:pK}=F("semver"),{functionify:ip,processCommit:nR,generate:xa}=tR(),rR=Intl.DateTimeFormat("sv-SE",{timeZone:"UTC"});function Hv(){return new Promise(e=>setImmediate(e))}async function iR(e,t){e={commit:"commits",issue:"issues",date:rR.format(new Date),...e},typeof e.linkReferences!="boolean"&&(e.repository||e.repoUrl)&&e.commit&&e.issue&&(e.linkReferences=!0);let[r,n,i,s]=[`{{> header}} + `.trim()},blockValue:function(t){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",r),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,r,n,i){var s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(t[s++])):this.pushContext(),this.resolvePath("context",t,s,r,n)},lookupBlockParam:function(t,r){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(t,r,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(t,r,n,i,s){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(iU(this.options.strict&&s,this,r,t));return}for(var a=r.length;nthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var r=0,n=t.length;r{"use strict";nc.__esModule=!0;function ra(e){return e&&e.__esModule?e:{default:e}}var sU=J_(),oU=ra(sU),aU=mh(),uU=ra(aU),Bh=f1(),qh=g1(),cU=z1(),lU=ra(cU),fU=Ku(),pU=ra(fU),hU=ph(),dU=ra(hU),gU=oU.default.create;function Y1(){var e=gU();return e.compile=function(t,r){return qh.compile(t,r,e)},e.precompile=function(t,r){return qh.precompile(t,r,e)},e.AST=uU.default,e.Compiler=qh.Compiler,e.JavaScriptCompiler=lU.default,e.Parser=Bh.parser,e.parse=Bh.parse,e.parseWithoutProcessing=Bh.parseWithoutProcessing,e}var As=Y1();As.create=Y1;dU.default(As);As.Visitor=pU.default;As.default=As;nc.default=As;X1.exports=nc.default});var J1=d(ic=>{"use strict";ic.__esModule=!0;ic.print=EU;ic.PrintVisitor=Ke;function mU(e){return e&&e.__esModule?e:{default:e}}var vU=Ku(),yU=mU(vU);function EU(e){return new Ke().accept(e)}function Ke(){this.padding=0}Ke.prototype=new yU.default;Ke.prototype.pad=function(e){for(var t="",r=0,n=this.padding;r "+t+" }}")};Ke.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),t+=" "+this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--,this.pad("{{> "+t+" }}")};Ke.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")};Ke.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")};Ke.prototype.SubExpression=function(e){for(var t=e.params,r=[],n=void 0,i=0,s=t.length;i{jh=ib.exports=_U;jh.getSerialize=nb;function _U(e,t,r,n){return JSON.stringify(e,nb(t,n),r)}function nb(e,t){var r=[],n=[];return t==null&&(t=function(i,s){return r[0]===s?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(s)).join(".")+"]"}),function(i,s){if(r.length>0){var o=r.indexOf(this);~o?r.splice(o+1):r.push(this),~o?n.splice(o,1/0,i):n.push(i),~r.indexOf(s)&&(s=t.call(this,i,s))}else r.push(s);return e==null?s:e.call(this,i,s)}}});var hb=d((ate,pb)=>{"use strict";var bU=Xp(),na=rb(),ob=P("semver"),TU=sb();function ab(e){let t=e.mainTemplate,r=e.headerPartial,n=e.commitPartial,i=e.footerPartial,s=e.partials;return typeof r=="string"&&na.registerPartial("header",r),typeof n=="string"&&na.registerPartial("commit",n),typeof i=="string"&&na.registerPartial("footer",i),s&&Object.entries(s).forEach(function([o,a]){typeof a=="string"&&na.registerPartial(o,a)}),na.compile(t,{noEscape:!0})}function SU(e){return e&&typeof e!="function"?(t,r)=>{let n="",i="";if(Array.isArray(e))for(let s of e)n+=t[s]||"",i+=r[s]||"";else n+=t[e],i+=r[e];return n.localeCompare(i)}:e}function ub(e,t,r,n){let i=[],s=t.reduce(function(o,a){let u=a[e]||"";return o[u]?o[u].push(a):o[u]=[a],o},{});return Object.entries(s).forEach(function([o,a]){o===""&&(o=!1),n&&a.sort(n),i.push({title:o,commits:a})}),r&&i.sort(r),i}function cb(e,t,r){let n=[];return e.forEach(function(i){let s=i.title,o=!1;n.forEach(function(a){if(a.title===s)return o=!0,a.notes.push(i),!1}),o||n.push({title:s,notes:[i]})}),t&&n.sort(t),r&&n.forEach(function(i){i.notes.sort(r)}),n}function wU(e,t){return t.split(".").reduce((n,i)=>n&&n[i],e)}function lb(e,t,r){let n=Array.isArray(t)?t.slice():t.split("."),i=n.shift();return i?{...e,[i]:n.length?lb(e[i],n,r):r}:e}function Hh(e){if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(Hh);let t={},r;for(let n in e)r=e[n],typeof r=="object"?t[n]=Hh(r):t[n]=r;return t}async function AU(e,t,r){let n;try{e=JSON.parse(e)}catch{}return n=Hh(e),typeof t=="function"?(n=await t(n,r),n&&(n.raw=e),n):(t&&Object.entries(t).forEach(function([i,s]){let o=wU(n,i);typeof s=="function"?o=s(o,i):o=s,n=lb(n,i,o)}),n.raw=e,n)}function fb(e,t,r){let n={};return n.commitGroups=ub(r.groupBy,e,r.commitGroupsSort,r.commitsSort),n.noteGroups=cb(t,r.noteGroupsSort,r.notesSort),n}async function RU(e,t,r,n){let i=[],s,o=ab(e);return e.ignoreReverted?s=bU(t):s=t.slice(),s=s.map(a=>({...a,notes:a.notes.map(u=>{let c={...u,commit:a};return i.push(c),c})})),r={...r,...n,...fb(s,i,e)},n&&n.committerDate&&(r.date=n.committerDate),r.version&&ob.valid(r.version)&&(r.isPatch=r.isPatch||ob.patch(r.version)!==0),r=await e.finalizeContext(r,e,s,n,t),e.debug(`Your final context is: +`+TU(r,null,2)),o(r)}pb.exports={compileTemplates:ab,functionify:SU,getCommitGroups:ub,getNoteGroups:cb,processCommit:AU,getExtraContext:fb,generate:RU}});var Eb=d((cte,yb)=>{"use strict";var{Transform:PU}=P("stream"),{join:ute}=P("path"),{valid:OU}=P("semver"),{functionify:oc,processCommit:gb,generate:Rs}=hb(),db=Intl.DateTimeFormat("sv-SE",{timeZone:"UTC"});function $h(){return new Promise(e=>setImmediate(e))}async function mb(e,t){e={commit:"commits",issue:"issues",date:db.format(new Date),...e},typeof e.linkReferences!="boolean"&&(e.repository||e.repoUrl)&&e.commit&&e.issue&&(e.linkReferences=!0);let[r,n,i,s]=[`{{> header}} {{#each commitGroups}} {{#each commits}} @@ -113,151 +113,193 @@ Expecting `+ue.join(", ")+", got '"+(this.terminals_[O]||O)+"'":D="Parse error o {{/each}} {{/each}} {{/if}} -`];t={groupBy:"type",commitsSort:"header",noteGroupsSort:"title",notesSort:"text",generateOn:c=>pK(c.version),finalizeContext:c=>c,debug:()=>{},reverse:!1,includeDetails:!1,ignoreReverted:!0,doFlush:!0,mainTemplate:r,headerPartial:n,commitPartial:i,footerPartial:s,...t},(!t.transform||typeof t.transform=="object")&&(t.transform={hash:function(c){if(typeof c=="string")return c.substring(0,7)},header:function(c){return c.substring(0,100)},committerDate:function(c){if(!!c)return rR.format(new Date(c))},...t.transform});let o=t.generateOn;return typeof o=="string"?o=function(c){return typeof c[t.generateOn]<"u"}:typeof o!="function"&&(o=function(){return!1}),t.commitGroupsSort=ip(t.commitGroupsSort),t.commitsSort=ip(t.commitsSort),t.noteGroupsSort=ip(t.noteGroupsSort),t.notesSort=ip(t.notesSort),{context:e,options:t,generateOn:o}}function sR(e,t){let r=iR(e,t),n=[],i=!0,s,o=!0;return new fK({objectMode:!0,highWaterMark:16,transform(c,l,p){(async()=>{try{let{context:d,options:h,generateOn:m}=await r,w,v=await nR(c,h.transform,d),E=v||c;h.reverse?(v&&n.push(v),m(E,n,d,h)&&(i=!1,w=await xa(h,n,d,E),await Hv(),h.includeDetails?this.push({log:w,keyCommit:E}):this.push(w),n=[])):(m(E,n,d,h)&&(i=!1,w=await xa(h,n,d,s),(!o||h.doFlush)&&(await Hv(),h.includeDetails?this.push({log:w,keyCommit:s}):this.push(w)),o=!1,n=[],s=E),v&&n.push(v)),p()}catch(d){p(d)}})()},flush(c){(async()=>{try{let{context:l,options:p}=await r;if(!p.doFlush&&(p.reverse||i)){c(null);return}let d=await xa(p,n,l,s);await Hv(),p.includeDetails?this.push({log:d,keyCommit:s}):this.push(d),c()}catch(l){c(l)}})()}})}sR.parseArray=async(e,t,r)=>{let n;e=[...e],{context:t,options:r,generateOn:n}=await iR(t,r);let i=[],s;r.reverse&&e.reverse();let o=[];for(let c of e){let l=await nR(c,r.transform,t),p=l||c;n(p,i,t,r)&&(o.push(await xa(r,i,t,s)),s=p,i=[]),l&&i.push(l)}return r.reverse?(o.reverse(),await xa(r,i,t,s)+o.join("")):o.join("")+await xa(r,i,t,s)};oR.exports=sR});var dR=_(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.LRUCache=void 0;var Ec=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,lR=new Set,jv=typeof process=="object"&&!!process?process:{},fR=(e,t,r,n)=>{typeof jv.emitWarning=="function"?jv.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},up=globalThis.AbortController,uR=globalThis.AbortSignal,cR;if(typeof up>"u"){uR=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},up=class{constructor(){t()}signal=new uR;abort(n){var i,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let o of this.signal._onabort)o(n);(s=(i=this.signal).onabort)==null||s.call(i,n)}}};let e=((cR=jv.env)==null?void 0:cR.LRU_CACHE_IGNORE_AC_WARNING)!=="1",t=()=>{!e||(e=!1,fR("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}var hK=e=>!lR.has(e),xde=Symbol("type"),Ns=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),pR=e=>Ns(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Da:null:null,Da=class extends Array{constructor(t){super(t),this.fill(0)}},Ma,Na=class{heap;length;static create(t){let r=pR(t);if(!r)return[];ye(Na,Ma,!0);let n=new Na(t,r);return ye(Na,Ma,!1),n}constructor(t,r){if(!R(Na,Ma))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},sp=Na;Ma=new WeakMap,Se(sp,Ma,!1);var Kn,tn,zn,Yn,Fa,Vt,Xn,Kt,mt,Oe,wr,rn,fr,Zt,Jn,er,ts,rs,Qn,Zn,Fs,Sr,Tc,$v,Lo,ns,wc,nn,cp,hR,xo,Ga,Sc,mi,Ds,vi,Ms,Ac,Vv,Ua,op,Ba,ap,pt,_t,Rc,Kv,No,bc,zv=class{constructor(t){Se(this,Tc);Se(this,cp);Se(this,mi);Se(this,vi);Se(this,Ac);Se(this,Ua);Se(this,Ba);Se(this,pt);Se(this,Rc);Se(this,No);Se(this,Kn,void 0);Se(this,tn,void 0);Se(this,zn,void 0);Se(this,Yn,void 0);Se(this,Fa,void 0);$t(this,"ttl");$t(this,"ttlResolution");$t(this,"ttlAutopurge");$t(this,"updateAgeOnGet");$t(this,"updateAgeOnHas");$t(this,"allowStale");$t(this,"noDisposeOnSet");$t(this,"noUpdateTTL");$t(this,"maxEntrySize");$t(this,"sizeCalculation");$t(this,"noDeleteOnFetchRejection");$t(this,"noDeleteOnStaleGet");$t(this,"allowStaleOnFetchAbort");$t(this,"allowStaleOnFetchRejection");$t(this,"ignoreFetchAbort");Se(this,Vt,void 0);Se(this,Xn,void 0);Se(this,Kt,void 0);Se(this,mt,void 0);Se(this,Oe,void 0);Se(this,wr,void 0);Se(this,rn,void 0);Se(this,fr,void 0);Se(this,Zt,void 0);Se(this,Jn,void 0);Se(this,er,void 0);Se(this,ts,void 0);Se(this,rs,void 0);Se(this,Qn,void 0);Se(this,Zn,void 0);Se(this,Fs,void 0);Se(this,Sr,void 0);Se(this,Lo,()=>{});Se(this,ns,()=>{});Se(this,wc,()=>{});Se(this,nn,()=>!1);Se(this,xo,t=>{});Se(this,Ga,(t,r,n)=>{});Se(this,Sc,(t,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:c,allowStale:l,dispose:p,disposeAfter:d,noDisposeOnSet:h,noUpdateTTL:m,maxSize:w=0,maxEntrySize:v=0,sizeCalculation:E,fetchMethod:A,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:M,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:O,ignoreFetchAbort:H}=t;if(r!==0&&!Ns(r))throw new TypeError("max option must be a nonnegative integer");let U=r?pR(r):Array;if(!U)throw new Error("invalid max value: "+r);if(ye(this,Kn,r),ye(this,tn,w),this.maxEntrySize=v||R(this,tn),this.sizeCalculation=E,this.sizeCalculation){if(!R(this,tn)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ye(this,Fa,A),ye(this,Fs,!!A),ye(this,Kt,new Map),ye(this,mt,new Array(r).fill(void 0)),ye(this,Oe,new Array(r).fill(void 0)),ye(this,wr,new U(r)),ye(this,rn,new U(r)),ye(this,fr,0),ye(this,Zt,0),ye(this,Jn,sp.create(r)),ye(this,Vt,0),ye(this,Xn,0),typeof p=="function"&&ye(this,zn,p),typeof d=="function"?(ye(this,Yn,d),ye(this,er,[])):(ye(this,Yn,void 0),ye(this,er,void 0)),ye(this,Zn,!!R(this,zn)),ye(this,Sr,!!R(this,Yn)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!O,this.ignoreFetchAbort=!!H,this.maxEntrySize!==0){if(R(this,tn)!==0&&!Ns(R(this,tn)))throw new TypeError("maxSize must be a positive integer if specified");if(!Ns(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");ie(this,cp,hR).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!M,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!c,this.ttlResolution=Ns(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Ns(this.ttl))throw new TypeError("ttl must be a positive integer if specified");ie(this,Tc,$v).call(this)}if(R(this,Kn)===0&&this.ttl===0&&R(this,tn)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!R(this,Kn)&&!R(this,tn)){let q="LRU_CACHE_UNBOUNDED";hK(q)&&(lR.add(q),fR("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",q,zv))}}static unsafeExposeInternals(t){return{starts:R(t,rs),ttls:R(t,Qn),sizes:R(t,ts),keyMap:R(t,Kt),keyList:R(t,mt),valList:R(t,Oe),next:R(t,wr),prev:R(t,rn),get head(){return R(t,fr)},get tail(){return R(t,Zt)},free:R(t,Jn),isBackgroundFetch:r=>{var n;return ie(n=t,pt,_t).call(n,r)},backgroundFetch:(r,n,i,s)=>{var o;return ie(o=t,Ba,ap).call(o,r,n,i,s)},moveToTail:r=>{var n;return ie(n=t,No,bc).call(n,r)},indexes:r=>{var n;return ie(n=t,mi,Ds).call(n,r)},rindexes:r=>{var n;return ie(n=t,vi,Ms).call(n,r)},isStale:r=>{var n;return R(n=t,nn).call(n,r)}}}get max(){return R(this,Kn)}get maxSize(){return R(this,tn)}get calculatedSize(){return R(this,Xn)}get size(){return R(this,Vt)}get fetchMethod(){return R(this,Fa)}get dispose(){return R(this,zn)}get disposeAfter(){return R(this,Yn)}getRemainingTTL(t){return R(this,Kt).has(t)?1/0:0}*entries(){for(let t of ie(this,mi,Ds).call(this))R(this,Oe)[t]!==void 0&&R(this,mt)[t]!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield[R(this,mt)[t],R(this,Oe)[t]])}*rentries(){for(let t of ie(this,vi,Ms).call(this))R(this,Oe)[t]!==void 0&&R(this,mt)[t]!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield[R(this,mt)[t],R(this,Oe)[t]])}*keys(){for(let t of ie(this,mi,Ds).call(this)){let r=R(this,mt)[t];r!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield r)}}*rkeys(){for(let t of ie(this,vi,Ms).call(this)){let r=R(this,mt)[t];r!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield r)}}*values(){for(let t of ie(this,mi,Ds).call(this))R(this,Oe)[t]!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield R(this,Oe)[t])}*rvalues(){for(let t of ie(this,vi,Ms).call(this))R(this,Oe)[t]!==void 0&&!ie(this,pt,_t).call(this,R(this,Oe)[t])&&(yield R(this,Oe)[t])}[Symbol.iterator](){return this.entries()}find(t,r={}){for(let n of ie(this,mi,Ds).call(this)){let i=R(this,Oe)[n],s=ie(this,pt,_t).call(this,i)?i.__staleWhileFetching:i;if(s!==void 0&&t(s,R(this,mt)[n],this))return this.get(R(this,mt)[n],r)}}forEach(t,r=this){for(let n of ie(this,mi,Ds).call(this)){let i=R(this,Oe)[n],s=ie(this,pt,_t).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,R(this,mt)[n],this)}}rforEach(t,r=this){for(let n of ie(this,vi,Ms).call(this)){let i=R(this,Oe)[n],s=ie(this,pt,_t).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,R(this,mt)[n],this)}}purgeStale(){let t=!1;for(let r of ie(this,vi,Ms).call(this,{allowStale:!0}))R(this,nn).call(this,r)&&(this.delete(R(this,mt)[r]),t=!0);return t}dump(){let t=[];for(let r of ie(this,mi,Ds).call(this,{allowStale:!0})){let n=R(this,mt)[r],i=R(this,Oe)[r],s=ie(this,pt,_t).call(this,i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(R(this,Qn)&&R(this,rs)){o.ttl=R(this,Qn)[r];let c=Ec.now()-R(this,rs)[r];o.start=Math.floor(Date.now()-c)}R(this,ts)&&(o.size=R(this,ts)[r]),t.unshift([n,o])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let i=Date.now()-n.start;n.start=Ec.now()-i}this.set(r,n.value,n)}}set(t,r,n={}){var m,w,v,E,A;if(r===void 0)return this.delete(t),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:l}=n,{noUpdateTTL:p=this.noUpdateTTL}=n,d=R(this,Sc).call(this,t,r,n.size||0,c);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(t),this;let h=R(this,Vt)===0?void 0:R(this,Kt).get(t);if(h===void 0)h=R(this,Vt)===0?R(this,Zt):R(this,Jn).length!==0?R(this,Jn).pop():R(this,Vt)===R(this,Kn)?ie(this,Ua,op).call(this,!1):R(this,Vt),R(this,mt)[h]=t,R(this,Oe)[h]=r,R(this,Kt).set(t,h),R(this,wr)[R(this,Zt)]=h,R(this,rn)[h]=R(this,Zt),ye(this,Zt,h),So(this,Vt)._++,R(this,Ga).call(this,h,d,l),l&&(l.set="add"),p=!1;else{ie(this,No,bc).call(this,h);let S=R(this,Oe)[h];if(r!==S){if(R(this,Fs)&&ie(this,pt,_t).call(this,S)){S.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:M}=S;M!==void 0&&!o&&(R(this,Zn)&&((m=R(this,zn))==null||m.call(this,M,t,"set")),R(this,Sr)&&((w=R(this,er))==null||w.push([M,t,"set"])))}else o||(R(this,Zn)&&((v=R(this,zn))==null||v.call(this,S,t,"set")),R(this,Sr)&&((E=R(this,er))==null||E.push([S,t,"set"])));if(R(this,xo).call(this,h),R(this,Ga).call(this,h,d,l),R(this,Oe)[h]=r,l){l.set="replace";let M=S&&ie(this,pt,_t).call(this,S)?S.__staleWhileFetching:S;M!==void 0&&(l.oldValue=M)}}else l&&(l.set="update")}if(i!==0&&!R(this,Qn)&&ie(this,Tc,$v).call(this),R(this,Qn)&&(p||R(this,wc).call(this,h,i,s),l&&R(this,ns).call(this,l,h)),!o&&R(this,Sr)&&R(this,er)){let S=R(this,er),M;for(;M=S==null?void 0:S.shift();)(A=R(this,Yn))==null||A.call(this,...M)}return this}pop(){var t;try{for(;R(this,Vt);){let r=R(this,Oe)[R(this,fr)];if(ie(this,Ua,op).call(this,!0),ie(this,pt,_t).call(this,r)){if(r.__staleWhileFetching)return r.__staleWhileFetching}else if(r!==void 0)return r}}finally{if(R(this,Sr)&&R(this,er)){let r=R(this,er),n;for(;n=r==null?void 0:r.shift();)(t=R(this,Yn))==null||t.call(this,...n)}}}has(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=R(this,Kt).get(t);if(s!==void 0){let o=R(this,Oe)[s];if(ie(this,pt,_t).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(R(this,nn).call(this,s))i&&(i.has="stale",R(this,ns).call(this,i,s));else return n&&R(this,Lo).call(this,s),i&&(i.has="hit",R(this,ns).call(this,i,s)),!0}else i&&(i.has="miss");return!1}peek(t,r={}){let{allowStale:n=this.allowStale}=r,i=R(this,Kt).get(t);if(i!==void 0&&(n||!R(this,nn).call(this,i))){let s=R(this,Oe)[i];return ie(this,pt,_t).call(this,s)?s.__staleWhileFetching:s}}async fetch(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:l=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:m=this.allowStaleOnFetchRejection,ignoreFetchAbort:w=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:E,forceRefresh:A=!1,status:S,signal:M}=r;if(!R(this,Fs))return S&&(S.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:S});let C={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:c,size:l,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:v,ignoreFetchAbort:w,status:S,signal:M},O=R(this,Kt).get(t);if(O===void 0){S&&(S.fetch="miss");let H=ie(this,Ba,ap).call(this,t,O,C,E);return H.__returned=H}else{let H=R(this,Oe)[O];if(ie(this,pt,_t).call(this,H)){let X=n&&H.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",X&&(S.returnedStale=!0)),X?H.__staleWhileFetching:H.__returned=H}let U=R(this,nn).call(this,O);if(!A&&!U)return S&&(S.fetch="hit"),ie(this,No,bc).call(this,O),i&&R(this,Lo).call(this,O),S&&R(this,ns).call(this,S,O),H;let q=ie(this,Ba,ap).call(this,t,O,C,E),ee=q.__staleWhileFetching!==void 0&&n;return S&&(S.fetch=U?"stale":"refresh",ee&&U&&(S.returnedStale=!0)),ee?q.__staleWhileFetching:q.__returned=q}}get(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=r,c=R(this,Kt).get(t);if(c!==void 0){let l=R(this,Oe)[c],p=ie(this,pt,_t).call(this,l);return o&&R(this,ns).call(this,o,c),R(this,nn).call(this,c)?(o&&(o.get="stale"),p?(o&&n&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?l.__staleWhileFetching:void 0):(s||this.delete(t),o&&n&&(o.returnedStale=!0),n?l:void 0)):(o&&(o.get="hit"),p?l.__staleWhileFetching:(ie(this,No,bc).call(this,c),i&&R(this,Lo).call(this,c),l))}else o&&(o.get="miss")}delete(t){var n,i,s,o;let r=!1;if(R(this,Vt)!==0){let c=R(this,Kt).get(t);if(c!==void 0)if(r=!0,R(this,Vt)===1)this.clear();else{R(this,xo).call(this,c);let l=R(this,Oe)[c];ie(this,pt,_t).call(this,l)?l.__abortController.abort(new Error("deleted")):(R(this,Zn)||R(this,Sr))&&(R(this,Zn)&&((n=R(this,zn))==null||n.call(this,l,t,"delete")),R(this,Sr)&&((i=R(this,er))==null||i.push([l,t,"delete"]))),R(this,Kt).delete(t),R(this,mt)[c]=void 0,R(this,Oe)[c]=void 0,c===R(this,Zt)?ye(this,Zt,R(this,rn)[c]):c===R(this,fr)?ye(this,fr,R(this,wr)[c]):(R(this,wr)[R(this,rn)[c]]=R(this,wr)[c],R(this,rn)[R(this,wr)[c]]=R(this,rn)[c]),So(this,Vt)._--,R(this,Jn).push(c)}}if(R(this,Sr)&&((s=R(this,er))==null?void 0:s.length)){let c=R(this,er),l;for(;l=c==null?void 0:c.shift();)(o=R(this,Yn))==null||o.call(this,...l)}return r}clear(){var t,r,n;for(let i of ie(this,vi,Ms).call(this,{allowStale:!0})){let s=R(this,Oe)[i];if(ie(this,pt,_t).call(this,s))s.__abortController.abort(new Error("deleted"));else{let o=R(this,mt)[i];R(this,Zn)&&((t=R(this,zn))==null||t.call(this,s,o,"delete")),R(this,Sr)&&((r=R(this,er))==null||r.push([s,o,"delete"]))}}if(R(this,Kt).clear(),R(this,Oe).fill(void 0),R(this,mt).fill(void 0),R(this,Qn)&&R(this,rs)&&(R(this,Qn).fill(0),R(this,rs).fill(0)),R(this,ts)&&R(this,ts).fill(0),ye(this,fr,0),ye(this,Zt,0),R(this,Jn).length=0,ye(this,Xn,0),ye(this,Vt,0),R(this,Sr)&&R(this,er)){let i=R(this,er),s;for(;s=i==null?void 0:i.shift();)(n=R(this,Yn))==null||n.call(this,...s)}}},Wv=zv;Kn=new WeakMap,tn=new WeakMap,zn=new WeakMap,Yn=new WeakMap,Fa=new WeakMap,Vt=new WeakMap,Xn=new WeakMap,Kt=new WeakMap,mt=new WeakMap,Oe=new WeakMap,wr=new WeakMap,rn=new WeakMap,fr=new WeakMap,Zt=new WeakMap,Jn=new WeakMap,er=new WeakMap,ts=new WeakMap,rs=new WeakMap,Qn=new WeakMap,Zn=new WeakMap,Fs=new WeakMap,Sr=new WeakMap,Tc=new WeakSet,$v=function(){let t=new Da(R(this,Kn)),r=new Da(R(this,Kn));ye(this,Qn,t),ye(this,rs,r),ye(this,wc,(s,o,c=Ec.now())=>{if(r[s]=o!==0?c:0,t[s]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{R(this,nn).call(this,s)&&this.delete(R(this,mt)[s])},o+1);l.unref&&l.unref()}}),ye(this,Lo,s=>{r[s]=t[s]!==0?Ec.now():0}),ye(this,ns,(s,o)=>{if(t[o]){let c=t[o],l=r[o];s.ttl=c,s.start=l,s.now=n||i();let p=s.now-l;s.remainingTTL=c-p}});let n=0,i=()=>{let s=Ec.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=R(this,Kt).get(s);if(o===void 0)return 0;let c=t[o],l=r[o];if(c===0||l===0)return 1/0;let p=(n||i())-l;return c-p},ye(this,nn,s=>t[s]!==0&&r[s]!==0&&(n||i())-r[s]>t[s])},Lo=new WeakMap,ns=new WeakMap,wc=new WeakMap,nn=new WeakMap,cp=new WeakSet,hR=function(){let t=new Da(R(this,Kn));ye(this,Xn,0),ye(this,ts,t),ye(this,xo,r=>{ye(this,Xn,R(this,Xn)-t[r]),t[r]=0}),ye(this,Sc,(r,n,i,s)=>{if(ie(this,pt,_t).call(this,n))return 0;if(!Ns(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!Ns(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i}),ye(this,Ga,(r,n,i)=>{if(t[r]=n,R(this,tn)){let s=R(this,tn)-t[r];for(;R(this,Xn)>s;)ie(this,Ua,op).call(this,!0)}ye(this,Xn,R(this,Xn)+t[r]),i&&(i.entrySize=n,i.totalCalculatedSize=R(this,Xn))})},xo=new WeakMap,Ga=new WeakMap,Sc=new WeakMap,mi=new WeakSet,Ds=function*({allowStale:t=this.allowStale}={}){if(R(this,Vt))for(let r=R(this,Zt);!(!ie(this,Ac,Vv).call(this,r)||((t||!R(this,nn).call(this,r))&&(yield r),r===R(this,fr)));)r=R(this,rn)[r]},vi=new WeakSet,Ms=function*({allowStale:t=this.allowStale}={}){if(R(this,Vt))for(let r=R(this,fr);!(!ie(this,Ac,Vv).call(this,r)||((t||!R(this,nn).call(this,r))&&(yield r),r===R(this,Zt)));)r=R(this,wr)[r]},Ac=new WeakSet,Vv=function(t){return t!==void 0&&R(this,Kt).get(R(this,mt)[t])===t},Ua=new WeakSet,op=function(t){var s,o;let r=R(this,fr),n=R(this,mt)[r],i=R(this,Oe)[r];return R(this,Fs)&&ie(this,pt,_t).call(this,i)?i.__abortController.abort(new Error("evicted")):(R(this,Zn)||R(this,Sr))&&(R(this,Zn)&&((s=R(this,zn))==null||s.call(this,i,n,"evict")),R(this,Sr)&&((o=R(this,er))==null||o.push([i,n,"evict"]))),R(this,xo).call(this,r),t&&(R(this,mt)[r]=void 0,R(this,Oe)[r]=void 0,R(this,Jn).push(r)),R(this,Vt)===1?(ye(this,fr,ye(this,Zt,0)),R(this,Jn).length=0):ye(this,fr,R(this,wr)[r]),R(this,Kt).delete(n),So(this,Vt)._--,r},Ba=new WeakSet,ap=function(t,r,n,i){let s=r===void 0?void 0:R(this,Oe)[r];if(ie(this,pt,_t).call(this,s))return s;let o=new up,{signal:c}=n;c==null||c.addEventListener("abort",()=>o.abort(c.reason),{signal:o.signal});let l={signal:o.signal,options:n,context:i},p=(E,A=!1)=>{let{aborted:S}=o.signal,M=n.ignoreFetchAbort&&E!==void 0;if(n.status&&(S&&!A?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,M&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),S&&!M&&!A)return h(o.signal.reason);let C=w;return R(this,Oe)[r]===w&&(E===void 0?C.__staleWhileFetching?R(this,Oe)[r]=C.__staleWhileFetching:this.delete(t):(n.status&&(n.status.fetchUpdated=!0),this.set(t,E,l.options))),E},d=E=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=E),h(E)),h=E=>{let{aborted:A}=o.signal,S=A&&n.allowStaleOnFetchAbort,M=S||n.allowStaleOnFetchRejection,C=M||n.noDeleteOnFetchRejection,O=w;if(R(this,Oe)[r]===w&&(!C||O.__staleWhileFetching===void 0?this.delete(t):S||(R(this,Oe)[r]=O.__staleWhileFetching)),M)return n.status&&O.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),O.__staleWhileFetching;if(O.__returned===O)throw E},m=(E,A)=>{var M;let S=(M=R(this,Fa))==null?void 0:M.call(this,t,s,l);S&&S instanceof Promise&&S.then(C=>E(C===void 0?void 0:C),A),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(E(void 0),n.allowStaleOnFetchAbort&&(E=C=>p(C,!0)))})};n.status&&(n.status.fetchDispatched=!0);let w=new Promise(m).then(p,d),v=Object.assign(w,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(t,v,{...l.options,status:void 0}),r=R(this,Kt).get(t)):R(this,Oe)[r]=v,v},pt=new WeakSet,_t=function(t){if(!R(this,Fs))return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof up},Rc=new WeakSet,Kv=function(t,r){R(this,rn)[r]=t,R(this,wr)[t]=r},No=new WeakSet,bc=function(t){t!==R(this,Zt)&&(t===R(this,fr)?ye(this,fr,R(this,wr)[t]):ie(this,Rc,Kv).call(this,R(this,rn)[t],R(this,wr)[t]),ie(this,Rc,Kv).call(this,R(this,Zt),t),ye(this,Zt,t))};lp.LRUCache=Wv});var vR=_((Mde,mR)=>{"use strict";var Ke=(...e)=>e.every(t=>t)?e.join(""):"",Gt=e=>e?encodeURIComponent(e):"",gR=e=>e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),dK={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${Ke("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${Ke("#",n)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i,path:s})=>`https://${e}/${t}/${r}${Ke("/",i,"/",Gt(n||"HEAD"),"/",s)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:i})=>`https://${e}/${t}/${r}${Ke("/",i,"/",Gt(n))}`,browsetreetemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,fragment:o,hashformat:c})=>`https://${e}/${t}/${r}/${i}/${Gt(n||"HEAD")}/${s}${Ke("#",c(o||""))}`,browseblobtemplate:({domain:e,user:t,project:r,committish:n,blobpath:i,path:s,fragment:o,hashformat:c})=>`https://${e}/${t}/${r}/${i}/${Gt(n||"HEAD")}/${s}${Ke("#",c(o||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:i})=>`https://${e}/${t}/${r}${Ke("/",n,"/",Gt(i))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${Ke(e,"@")}${t}/${r}/${n}.git${Ke("#",i)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/raw/${Gt(n||"HEAD")}/${i}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${Ke("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${Ke("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:gR},Gs={};Gs.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:e,user:t,project:r,committish:n,path:i})=>`https://${Ke(e,"@")}raw.githubusercontent.com/${t}/${r}/${Gt(n||"HEAD")}/${i}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git://${Ke(e,"@")}${t}/${r}/${n}.git${Ke("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${Gt(n||"HEAD")}`,extract:e=>{let[,t,r,n,i]=e.pathname.split("/",5);if(!(n&&n!=="tree")&&(n||(i=e.hash.slice(1)),r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:i}}};Gs.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,editpath:o})=>`https://${e}/${t}/${r}${Ke("/",i,"/",Gt(n||"HEAD"),"/",s,o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${Gt(n||"HEAD")}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["get"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};Gs.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${Ke(e,"@")}${t}/${r}/${n}.git${Ke("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${Gt(n||"HEAD")}`,extract:e=>{let t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz"))return;let r=t.split("/"),n=r.pop();n.endsWith(".git")&&(n=n.slice(0,-4));let i=r.join("/");if(!(!i||!n))return{user:i,project:n,committish:e.hash.slice(1)}}};Gs.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${Ke("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${Ke("#",r)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i})=>`https://${e}/${t}/${r}${Ke("/",Gt(n))}/${i}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${Ke("/",Gt(r))}`,browsetreetemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${Ke("/",Gt(r))}${Ke("#",i(n))}`,browseblobtemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${Ke("/",Gt(r))}${Ke("#",i(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${Ke("/",Gt(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${Ke("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${Ke("/",Gt(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${Ke("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${Ke("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${Ke("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${Gt(t||"HEAD")}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n!=="raw"){if(!r){if(!t)return;r=t,t=null}return r.endsWith(".git")&&(r=r.slice(0,-4)),{user:t,project:r,committish:e.hash.slice(1)}}},hashformat:function(e){return e&&"file-"+gR(e)}};Gs.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/blob/${Gt(n)||"HEAD"}/${i}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${Ke("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${Gt(n)||"HEAD"}.tar.gz`,bugstemplate:({user:e,project:t})=>null,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["archive"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};for(let[e,t]of Object.entries(Gs))Gs[e]=Object.assign({},dK,t);mR.exports=Gs});var Xv=_((Fde,_R)=>{var gK=F("url"),Yv=(e,t,r)=>{let n=e.indexOf(r);return e.lastIndexOf(t,n>-1?n:1/0)},yR=e=>{try{return new gK.URL(e)}catch{}},mK=(e,t)=>{let r=e.indexOf(":"),n=e.slice(0,r+1);if(Object.prototype.hasOwnProperty.call(t,n))return e;let i=e.indexOf("@");return i>-1?i>r?`git+ssh://${e}`:e:e.indexOf("//")===r+1?e:`${e.slice(0,r+1)}//${e.slice(r+1)}`},vK=e=>{let t=Yv(e,"@","#"),r=Yv(e,":","#");return r>t&&(e=e.slice(0,r)+"/"+e.slice(r+1)),Yv(e,":","#")===-1&&e.indexOf("//")===-1&&(e=`git+ssh://${e}`),e};_R.exports=(e,t)=>{let r=t?mK(e,t):e;return yR(r)||yR(vK(r))}});var bR=_((Gde,ER)=>{"use strict";var yK=Xv(),_K=e=>{let t=e.indexOf("#"),r=e.indexOf("/"),n=e.indexOf("/",r+1),i=e.indexOf(":"),s=/\s/.exec(e),o=e.indexOf("@"),c=!s||t>-1&&s.index>t,l=o===-1||t>-1&&o>t,p=i===-1||t>-1&&i>t,d=n===-1||t>-1&&n>t,h=r>0,m=t>-1?e[t-1]!=="/":!e.endsWith("/"),w=!e.startsWith(".");return c&&h&&m&&w&&l&&p&&d};ER.exports=(e,t,{gitHosts:r,protocols:n})=>{var E,A;if(!e)return;let i=_K(e)?`github:${e}`:e,s=yK(i,n);if(!s)return;let o=r.byShortcut[s.protocol],c=r.byDomain[s.hostname.startsWith("www.")?s.hostname.slice(4):s.hostname],l=o||c;if(!l)return;let p=r[o||c],d=null;((E=n[s.protocol])==null?void 0:E.auth)&&(s.username||s.password)&&(d=`${s.username}${s.password?":"+s.password:""}`);let h=null,m=null,w=null,v=null;try{if(o){let S=s.pathname.startsWith("/")?s.pathname.slice(1):s.pathname,M=S.indexOf("@");M>-1&&(S=S.slice(M+1));let C=S.lastIndexOf("/");C>-1?(m=decodeURIComponent(S.slice(0,C)),m||(m=null),w=decodeURIComponent(S.slice(C+1))):w=decodeURIComponent(S),w.endsWith(".git")&&(w=w.slice(0,-4)),s.hash&&(h=decodeURIComponent(s.hash.slice(1))),v="shortcut"}else{if(!p.protocols.includes(s.protocol))return;let S=p.extract(s);if(!S)return;m=S.user&&decodeURIComponent(S.user),w=decodeURIComponent(S.project),h=decodeURIComponent(S.committish),v=((A=n[s.protocol])==null?void 0:A.name)||s.protocol.slice(0,-1)}}catch(S){if(S instanceof URIError)return;throw S}return[l,m,d,w,h,v,t]}});var Qv=_((Ude,TR)=>{"use strict";var{LRUCache:EK}=dR(),bK=vR(),TK=bR(),wK=Xv(),Jv=new EK({max:1e3}),Us,Pc,zt,ir,yi=class{constructor(t,r,n,i,s,o,c={}){Se(this,zt);Object.assign(this,R(yi,Us)[t],{type:t,user:r,auth:n,project:i,committish:s,default:o,opts:c})}static addHost(t,r){R(yi,Us)[t]=r,R(yi,Us).byDomain[r.domain]=t,R(yi,Us).byShortcut[`${t}:`]=t,R(yi,Pc)[`${t}:`]={name:t}}static fromUrl(t,r){if(typeof t!="string")return;let n=t+JSON.stringify(r||{});if(!Jv.has(n)){let i=TK(t,r,{gitHosts:R(yi,Us),protocols:R(yi,Pc)});Jv.set(n,i?new yi(...i):void 0)}return Jv.get(n)}static parseUrl(t){return wK(t)}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return ie(this,zt,ir).call(this,this.sshtemplate,t)}sshurl(t){return ie(this,zt,ir).call(this,this.sshurltemplate,t)}browse(t,...r){return typeof t!="string"?ie(this,zt,ir).call(this,this.browsetemplate,t):typeof r[0]!="string"?ie(this,zt,ir).call(this,this.browsetreetemplate,{...r[0],path:t}):ie(this,zt,ir).call(this,this.browsetreetemplate,{...r[1],fragment:r[0],path:t})}browseFile(t,...r){return typeof r[0]!="string"?ie(this,zt,ir).call(this,this.browseblobtemplate,{...r[0],path:t}):ie(this,zt,ir).call(this,this.browseblobtemplate,{...r[1],fragment:r[0],path:t})}docs(t){return ie(this,zt,ir).call(this,this.docstemplate,t)}bugs(t){return ie(this,zt,ir).call(this,this.bugstemplate,t)}https(t){return ie(this,zt,ir).call(this,this.httpstemplate,t)}git(t){return ie(this,zt,ir).call(this,this.gittemplate,t)}shortcut(t){return ie(this,zt,ir).call(this,this.shortcuttemplate,t)}path(t){return ie(this,zt,ir).call(this,this.pathtemplate,t)}tarball(t){return ie(this,zt,ir).call(this,this.tarballtemplate,{...t,noCommittish:!1})}file(t,r){return ie(this,zt,ir).call(this,this.filetemplate,{...r,path:t})}edit(t,r){return ie(this,zt,ir).call(this,this.edittemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&typeof this[this.default]=="function"?this[this.default](t):this.sshurl(t)}},qa=yi;Us=new WeakMap,Pc=new WeakMap,zt=new WeakSet,ir=function(t,r){if(typeof t!="function")return null;let n={...this,...this.opts,...r};n.path||(n.path=""),n.path.startsWith("/")&&(n.path=n.path.slice(1)),n.noCommittish&&(n.committish=null);let i=t(n);return n.noGitPlus&&i.startsWith("git+")?i.slice(4):i},Se(qa,Us,{byShortcut:{},byDomain:{}}),Se(qa,Pc,{"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}});for(let[e,t]of Object.entries(bK))qa.addHost(e,t);TR.exports=qa});var SR=_((qde,wR)=>{"use strict";var{URL:SK}=F("url"),AK=new RegExp(/^\/?:?([/\w-.]+)\/([\w-.]+)\/?$/),RK=new RegExp(/^\/repos\/([\w-.]+)\/([\w-.]+)\/(?:tarball|zipball)(?:\/.+)?$/),PK=new RegExp(/^\/([\w-.]+)\/([\w-.]+)\/(?:legacy\.(?:zip|tar\.gz))(?:\/.+)?$/);wR.exports=e=>{let t=e.replace(/^git@/,"https://git@").replace(/git@([.\w]+):(?!\d)/,"git@$1/").replace(/\.git$/,""),r=new SK(t,"https://example.com/"),n=i=>({browse:CK(r,i),domain:r.host,project:i[2]||null,type:OK(r),user:i[1]||null});if(r.host){if(r.host.includes("api.github.com")){let i=RK.exec(r.pathname)||[];return n(i)}if(r.host.includes("codeload.github.com")){let i=PK.exec(r.pathname)||[];return n(i)}}return n(AK.exec(r.pathname)||[])};function OK({host:e}){return typeof e!="string"?null:e.indexOf("github")!==-1?"github":e.indexOf("gitlab")!==-1?"gitlab":null}function CK(e,t){let n=`${e.protocol==="http:"?"http:":"https:"}//${e.host}/${t[1]}/${t[2]}`;return()=>n}});var Zv=_((Hde,RR)=>{var{exec:kK}=F("child_process"),{valid:AR}=F("semver"),IK=/tag:\s*(.+?)[,)]/gi,LK="git log --decorate --no-color --date-order",xK=/.+-\w+\.\d+$/;function NK(e,t){return t&&!e.startsWith(`${t}@`)?!1:/^.+@[0-9]+\.[0-9]+\.[0-9]+(-.+)?$/.test(e)}function DK(e={}){return new Promise((t,r)=>{let n={maxBuffer:1/0,cwd:process.cwd(),...e};if(n.package&&!n.lernaTags)throw new Error("opts.package should only be used when running in lerna mode");kK(LK,n,(i,s)=>{if(i){r(i);return}let o=[],c,l,p;s.split(` -`).forEach(d=>{for(;c=IK.exec(d);)l=c[1],!(n.skipUnstable&&xK.test(l))&&(n.lernaTags?NK(l,n.package)&&o.push(l):n.tagPrefix?l.startsWith(n.tagPrefix)&&(p=l.replace(n.tagPrefix,""),AR(p)&&o.push(l)):AR(l)&&o.push(l))}),t(o)})})}RR.exports=DK});var e0=_((jde,PR)=>{var MK=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};PR.exports=MK});var t0=_((Wde,OR)=>{var FK="2.0.0",GK=Number.MAX_SAFE_INTEGER||9007199254740991,UK=16,BK=256-6,qK=["major","premajor","minor","preminor","patch","prepatch","prerelease"];OR.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:UK,MAX_SAFE_BUILD_LENGTH:BK,MAX_SAFE_INTEGER:GK,RELEASE_TYPES:qK,SEMVER_SPEC_VERSION:FK,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var kR=_((is,CR)=>{var{MAX_SAFE_COMPONENT_LENGTH:r0,MAX_SAFE_BUILD_LENGTH:HK,MAX_LENGTH:jK}=t0(),WK=e0();is=CR.exports={};var $K=is.re=[],VK=is.safeRe=[],le=is.src=[],fe=is.t={},KK=0,n0="[a-zA-Z0-9-]",zK=[["\\s",1],["\\d",jK],[n0,HK]],YK=e=>{for(let[t,r]of zK)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Le=(e,t,r)=>{let n=YK(t),i=KK++;WK(e,i,t),fe[e]=i,le[i]=t,$K[i]=new RegExp(t,r?"g":void 0),VK[i]=new RegExp(n,r?"g":void 0)};Le("NUMERICIDENTIFIER","0|[1-9]\\d*");Le("NUMERICIDENTIFIERLOOSE","\\d+");Le("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${n0}*`);Le("MAINVERSION",`(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})\\.(${le[fe.NUMERICIDENTIFIER]})`);Le("MAINVERSIONLOOSE",`(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})\\.(${le[fe.NUMERICIDENTIFIERLOOSE]})`);Le("PRERELEASEIDENTIFIER",`(?:${le[fe.NUMERICIDENTIFIER]}|${le[fe.NONNUMERICIDENTIFIER]})`);Le("PRERELEASEIDENTIFIERLOOSE",`(?:${le[fe.NUMERICIDENTIFIERLOOSE]}|${le[fe.NONNUMERICIDENTIFIER]})`);Le("PRERELEASE",`(?:-(${le[fe.PRERELEASEIDENTIFIER]}(?:\\.${le[fe.PRERELEASEIDENTIFIER]})*))`);Le("PRERELEASELOOSE",`(?:-?(${le[fe.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${le[fe.PRERELEASEIDENTIFIERLOOSE]})*))`);Le("BUILDIDENTIFIER",`${n0}+`);Le("BUILD",`(?:\\+(${le[fe.BUILDIDENTIFIER]}(?:\\.${le[fe.BUILDIDENTIFIER]})*))`);Le("FULLPLAIN",`v?${le[fe.MAINVERSION]}${le[fe.PRERELEASE]}?${le[fe.BUILD]}?`);Le("FULL",`^${le[fe.FULLPLAIN]}$`);Le("LOOSEPLAIN",`[v=\\s]*${le[fe.MAINVERSIONLOOSE]}${le[fe.PRERELEASELOOSE]}?${le[fe.BUILD]}?`);Le("LOOSE",`^${le[fe.LOOSEPLAIN]}$`);Le("GTLT","((?:<|>)?=?)");Le("XRANGEIDENTIFIERLOOSE",`${le[fe.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Le("XRANGEIDENTIFIER",`${le[fe.NUMERICIDENTIFIER]}|x|X|\\*`);Le("XRANGEPLAIN",`[v=\\s]*(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:\\.(${le[fe.XRANGEIDENTIFIER]})(?:${le[fe.PRERELEASE]})?${le[fe.BUILD]}?)?)?`);Le("XRANGEPLAINLOOSE",`[v=\\s]*(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[fe.XRANGEIDENTIFIERLOOSE]})(?:${le[fe.PRERELEASELOOSE]})?${le[fe.BUILD]}?)?)?`);Le("XRANGE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAIN]}$`);Le("XRANGELOOSE",`^${le[fe.GTLT]}\\s*${le[fe.XRANGEPLAINLOOSE]}$`);Le("COERCE",`(^|[^\\d])(\\d{1,${r0}})(?:\\.(\\d{1,${r0}}))?(?:\\.(\\d{1,${r0}}))?(?:$|[^\\d])`);Le("COERCERTL",le[fe.COERCE],!0);Le("LONETILDE","(?:~>?)");Le("TILDETRIM",`(\\s*)${le[fe.LONETILDE]}\\s+`,!0);is.tildeTrimReplace="$1~";Le("TILDE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAIN]}$`);Le("TILDELOOSE",`^${le[fe.LONETILDE]}${le[fe.XRANGEPLAINLOOSE]}$`);Le("LONECARET","(?:\\^)");Le("CARETTRIM",`(\\s*)${le[fe.LONECARET]}\\s+`,!0);is.caretTrimReplace="$1^";Le("CARET",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAIN]}$`);Le("CARETLOOSE",`^${le[fe.LONECARET]}${le[fe.XRANGEPLAINLOOSE]}$`);Le("COMPARATORLOOSE",`^${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]})$|^$`);Le("COMPARATOR",`^${le[fe.GTLT]}\\s*(${le[fe.FULLPLAIN]})$|^$`);Le("COMPARATORTRIM",`(\\s*)${le[fe.GTLT]}\\s*(${le[fe.LOOSEPLAIN]}|${le[fe.XRANGEPLAIN]})`,!0);is.comparatorTrimReplace="$1$2$3";Le("HYPHENRANGE",`^\\s*(${le[fe.XRANGEPLAIN]})\\s+-\\s+(${le[fe.XRANGEPLAIN]})\\s*$`);Le("HYPHENRANGELOOSE",`^\\s*(${le[fe.XRANGEPLAINLOOSE]})\\s+-\\s+(${le[fe.XRANGEPLAINLOOSE]})\\s*$`);Le("STAR","(<|>)?=?\\s*\\*");Le("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Le("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var LR=_(($de,IR)=>{var XK=Object.freeze({loose:!0}),JK=Object.freeze({}),QK=e=>e?typeof e!="object"?XK:e:JK;IR.exports=QK});var MR=_((Vde,DR)=>{var xR=/^[0-9]+$/,NR=(e,t)=>{let r=xR.test(e),n=xR.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eNR(t,e);DR.exports={compareIdentifiers:NR,rcompareIdentifiers:ZK}});var qR=_((Kde,BR)=>{var fp=e0(),{MAX_LENGTH:FR,MAX_SAFE_INTEGER:pp}=t0(),{safeRe:GR,t:UR}=kR(),ez=LR(),{compareIdentifiers:Ha}=MR(),sn=class{constructor(t,r){if(r=ez(r),t instanceof sn){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>FR)throw new TypeError(`version is longer than ${FR} characters`);fp("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?GR[UR.LOOSE]:GR[UR.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>pp||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pp||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pp||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),Ha(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};BR.exports=sn});var i0=_((zde,jR)=>{var HR=qR(),tz=(e,t,r=!1)=>{if(e instanceof HR)return e;try{return new HR(e,t)}catch(n){if(!r)return null;throw n}};jR.exports=tz});var $R=_((Yde,WR)=>{var rz=i0(),nz=(e,t)=>{let r=rz(e,t);return r?r.version:null};WR.exports=nz});var KR=_((Xde,VR)=>{var iz=i0(),sz=(e,t)=>{let r=iz(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};VR.exports=sz});var s0=_((Jde,oz)=>{oz.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","BlueOak-1.0.0","Borceux","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Community-Spec-1.0","Condor-1.1","Crossword","CrystalStacker","Cube","D-FSL-1.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Entessa","ErlPL-1.1","Eurosym","FDK-AAC","FSFAP","FSFUL","FSFULLR","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","HPND","HPND-sell-variant","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IJG","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPNIC","JSON","JasPer-2.0","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-copyleft","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-PL","MS-RL","MTLL","MakeIndex","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","QPL-1.0","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TU-Berlin-1.0","TU-Berlin-2.0","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.5","bzip2-1.0.6","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","mpich2","psfrag","psutils","xinetd","xpp","zlib-acknowledgement"]});var zR=_((Qde,az)=>{az.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","eCos-2.0","wxWindows"]});var YR=_((Zde,uz)=>{uz.exports=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"]});var JR=_((ege,XR)=>{"use strict";var cz=[].concat(s0()).concat(zR()),lz=YR();XR.exports=function(e){var t=0;function r(){return t1&&e[t-2]===" ")throw new Error("Space before `+`");return v&&{type:"OPERATOR",string:v}}function o(){return n(/[A-Za-z0-9-.]+/)}function c(){var v=o();if(!v)throw new Error("Expected idstring at offset "+t);return v}function l(){if(n("DocumentRef-")){var v=c();return{type:"DOCUMENTREF",string:v}}}function p(){if(n("LicenseRef-")){var v=c();return{type:"LICENSEREF",string:v}}}function d(){var v=t,E=o();if(cz.indexOf(E)!==-1)return{type:"LICENSE",string:E};if(lz.indexOf(E)!==-1)return{type:"EXCEPTION",string:E};t=v}function h(){return s()||l()||p()||d()}for(var m=[];r()&&(i(),!!r());){var w=h();if(!w)throw new Error("Unexpected `"+e[t]+"` at offset "+t);m.push(w)}return m}});var ZR=_((tge,QR)=>{"use strict";QR.exports=function(e){var t=0;function r(){return t{"use strict";var fz=JR(),pz=ZR();eP.exports=function(e){return pz(fz(e))}});var uP=_((nge,aP)=>{var hz=o0(),dz=s0();function hp(e){try{return hz(e),!0}catch{return!1}}var tP=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["-License",""]],gz=0,mz=1,rP=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){return e.indexOf("3.0")!==-1?e+"-or-later":e+"-only"},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],a0=dz.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];return e[r]=e[r]||[],e[r].push(t[0]),e},{}),vz=Object.keys(a0).map(function(t){return[t,a0[t]]}).filter(function(t){return t[1].length===1&&t[0]!==null&&t[0]!=="APL"}).map(function(t){return[t[0],t[1][0]]});a0=void 0;var nP=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(vz),yz=0,_z=1,iP=function(e){for(var t=0;t-1)return n[_z]}return null},oP=function(e,t){for(var r=0;r-1){var s=e.replace(i,n[mz]),o=t(s);if(o!==null)return o}}return null};aP.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(c){return r?Ez(c):c}var i=typeof e=="string"&&e.trim().length!==0;if(!i)throw Error("Invalid argument. Expected non-empty string.");if(e=e.trim(),hp(e))return n(e);var s=e.replace(/\+$/,"").trim();if(hp(s))return n(s);var o=iP(e);return o!==null||(o=oP(e,function(c){return hp(c)?c:iP(c)}),o!==null)||(o=sP(e),o!==null)||(o=oP(e,sP),o!==null)?n(o):null};function Ez(e){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1?e+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1?e.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1?e+"-or-later":e}});var pP=_((ige,fP)=>{var bz=o0(),Tz=uP(),cP='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN "',wz=/^SEE LICEN[CS]E IN (.+)$/;function lP(e,t){return t.slice(0,e.length)===e}function u0(e){if(e.hasOwnProperty("license")){var t=e.license;return lP("LicenseRef",t)||lP("DocumentRef",t)}else return u0(e.left)||u0(e.right)}fP.exports=function(e){var t;try{t=bz(e)}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=wz.exec(e))return{validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[cP]};if(e.trim().length!==0){var i=Tz(e);i&&n.warnings.push('license is similar to the valid expression "'+i+'"')}return n}return u0(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[cP]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}});var gP=_((sge,dP)=>{"use strict";var Sz="Function.prototype.bind called on incompatible ",Az=Object.prototype.toString,Rz=Math.max,Pz="[object Function]",hP=function(t,r){for(var n=[],i=0;i{"use strict";var kz=gP();mP.exports=Function.prototype.bind||kz});var _P=_((age,yP)=>{"use strict";var Iz=Function.prototype.call,Lz=Object.prototype.hasOwnProperty,xz=vP();yP.exports=xz.call(Iz,Lz)});var EP=_((uge,Nz)=>{Nz.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var SP=_((cge,wP)=>{"use strict";var Dz=_P();function Mz(e,t){for(var r=e.split("."),n=t.split(" "),i=n.length>1?n[0]:"=",s=(n.length>1?n[1]:n[0]).split("."),o=0;o<3;++o){var c=parseInt(r[o]||0,10),l=parseInt(s[o]||0,10);if(c!==l)return i==="<"?c="?c>=l:!1}return i===">="}function bP(e,t){var r=t.split(/ ?&& ?/);if(r.length===0)return!1;for(var n=0;n"u"?process.versions&&process.versions.node:e;if(typeof r!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&typeof t=="object"){for(var n=0;n{AP.exports=Gz;function Gz(e){if(!e||e==="ERROR: No README data found!")return;e=e.trim().split(` -`);let t=0;for(;e[t]&&e[t].trim().match(/^(#|$)/);)t++;let r=e.length,n=t+1;for(;n{Uz.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}}});var IP=_((pge,kP)=>{var Bz=$R(),qz=KR(),Hz=pP(),dp=Qv(),jz=SP(),Wz=["dependencies","devDependencies","optionalDependencies"],$z=RP(),c0=F("url"),Bs=PP(),OP=e=>e.includes("@")&&e.indexOf("@")"u"&&(t={});var r=t.strict;if(!e.name&&!r){e.name="";return}if(typeof e.name!="string")throw new Error("name field must be a string.");r||(e.name=e.name.trim()),zz(e.name,r,t.allowLegacyCase),jz(e.name)&&this.warn("conflictingName",e.name)},fixDescriptionField:function(e){e.description&&typeof e.description!="string"&&(this.warn("nonStringDescription"),delete e.description),e.readme&&!e.description&&(e.description=$z(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn("missingDescription")},fixReadmeField:function(e){e.readme||(this.warn("missingReadme"),e.readme="ERROR: No README data found!")},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=dp.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()})}else if(e.bugs){if(typeof e.bugs=="string")OP(e.bugs)?e.bugs={email:e.bugs}:c0.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else{eY(e.bugs,this.warn);var r=e.bugs;e.bugs={},r.url&&(typeof r.url=="string"&&c0.parse(r.url).protocol?e.bugs.url=r.url:this.warn("nonUrlBugsUrlField")),r.email&&(typeof r.email=="string"&&OP(r.email)?e.bugs.email=r.email:this.warn("nonEmailBugsEmailField"))}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn("emptyNormalizedBugs"))}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=dp.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs())}if(!!e.homepage){if(typeof e.homepage!="string")return this.warn("nonUrlHomepage"),delete e.homepage;c0.parse(e.homepage).protocol||(e.homepage="http://"+e.homepage)}},fixLicenseField:function(e){let t=e.license||e.licence;if(!t)return this.warn("missingLicense");if(typeof t!="string"||t.length<1||t.trim()==="")return this.warn("invalidLicense");if(!Hz(t).validForNewPackages)return this.warn("invalidLicense")}};function Vz(e){if(e.charAt(0)!=="@")return!1;var t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function Kz(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function zz(e,t,r){if(e.charAt(0)==="."||!(Vz(e)||Kz(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function CP(e,t){return e.author&&(e.author=t(e.author)),["maintainers","contributors"].forEach(function(r){!Array.isArray(e[r])||(e[r]=e[r].map(t))}),e}function Yz(e){if(typeof e=="string")return e;var t=e.name||"",r=e.url||e.web,n=r?" ("+r+")":"",i=e.email||e.mail,s=i?" <"+i+">":"";return t+s+n}function Xz(e){if(typeof e!="string")return e;var t=e.match(/^([^(<]+)/),r=e.match(/\(([^()]+)\)/),n=e.match(/<([^<>]+)>/),i={};return t&&t[0].trim()&&(i.name=t[0].trim()),n&&(i.email=n[1]),r&&(i.url=r[1]),i}function Jz(e,t){var r=e.optionalDependencies;if(!!r){var n=e.dependencies||{};Object.keys(r).forEach(function(i){n[i]=r[i]}),e.dependencies=n}}function Qz(e,t,r){if(!e)return{};if(typeof e=="string"&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;r("deprecatedArrayDependencies",t);var n={};return e.filter(function(i){return typeof i=="string"}).forEach(function(i){i=i.trim().split(/(:?[@\s><=])/);var s=i.shift(),o=i.join("");o=o.trim(),o=o.replace(/^@/,""),n[s]=o}),n}function Zz(e,t){Wz.forEach(function(r){!e[r]||(e[r]=Qz(e[r],r,t))})}function eY(e,t){!e||Object.keys(e).forEach(function(r){Bs.bugs[r]&&(t("typo",r,Bs.bugs[r],"bugs"),e[Bs.bugs[r]]=e[r],delete e[r])})}});var LP=_((hge,tY)=>{tY.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."}});var DP=_((dge,NP)=>{var xP=F("util"),l0=LP();NP.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==="typo")return rY.apply(null,e);var r=l0[t]?l0[t]:t+": '%s'";return e.unshift(r),xP.format.apply(null,e)};function rY(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),xP.format(l0.typo,e,t)}});var h0=_((gge,GP)=>{GP.exports=MP;var f0=IP();MP.fixer=f0;var nY=DP(),iY=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],sY=["dependencies","people","typos"],p0=iY.map(function(e){return FP(e)+"Field"});p0=p0.concat(sY);function MP(e,t,r){t===!0&&(t=null,r=!0),r||(r=!1),(!t||e.private)&&(t=function(n){}),e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall&&(e.gypfile=!0),f0.warn=function(){t(nY.apply(null,arguments))},p0.forEach(function(n){f0["fix"+FP(n)](e,r)}),e._id=e.name+"@"+e.version}function FP(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var UP=_((mge,oY)=>{oY.exports={issue:"issues",commit:"commit",referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#","gh-"]}});var BP=_((vge,aY)=>{aY.exports={issue:"issue",commit:"commits",referenceActions:["close","closes","closed","closing","fix","fixes","fixed","fixing","resolve","resolves","resolved","resolving"],issuePrefixes:["#"]}});var qP=_((yge,uY)=>{uY.exports={issue:"issues",commit:"commit",referenceActions:["close","closes","closed","closing","fix","fixes","fixed","fixing"],issuePrefixes:["#"]}});var jP=_((_ge,HP)=>{"use strict";HP.exports=function(t){return t?t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function:!1}});var $P=_((Ege,WP)=>{"use strict";var cY=F("util"),lY=jP(),d0=function(t,r){(!t||t.constructor!==String)&&(r=t||{},t=Error.name);var n=function i(s){if(!this)return new i(s);s=s instanceof Error?s.message:s||this.message,Error.call(this,s),Error.captureStackTrace(this,n),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var d=s.split(/\r?\n/g);for(var h in r)if(!!r.hasOwnProperty(h)){var m=r[h];"message"in m&&(d=m.message(this[h],d)||d,lY(d)||(d=[d]))}return d.join(` -`)},set:function(d){s=d}});var o=null,c=Object.getOwnPropertyDescriptor(this,"stack"),l=c.get,p=c.value;delete c.value,delete c.writable,c.set=function(d){o=d},c.get=function(){var d=(o||(l?l.call(this):p)).split(/\r?\n+/g);o||(d[0]=this.name+": "+this.message);var h=1;for(var m in r)if(!!r.hasOwnProperty(m)){var w=r[m];if("line"in w){var v=w.line(this[m]);v&&d.splice(h++,0," "+v)}"stack"in w&&w.stack(this[m],d)}return d.join(` -`)},Object.defineProperty(this,"stack",c)};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):cY.inherits(n,Error),n};d0.append=function(e,t){return{message:function(r,n){return r=r||t,r&&(n[0]+=" "+e.replace("%s",r.toString())),n}}};d0.line=function(e,t){return{line:function(r){return r=r||t,r?e.replace("%s",r.toString()):null}}};WP.exports=d0});var zP=_((bge,KP)=>{"use strict";var fY=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t},pY=(e,t,r)=>{if(!t)return{message:e.message+" while parsing empty string",position:0};let n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),i=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,s=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${fY(n[1])})`):e.message;if(i!=null){let o=i<=r?0:i-r,c=i+r>=t.length?t.length:i+r,l=(o===0?"":"...")+t.slice(o,c)+(c===t.length?"":"...");return{message:s+` while parsing ${t===l?"":"near "}${JSON.stringify(l)}`,position:i}}else return{message:s+` while parsing '${t.slice(0,r*2)}'`,position:0}},gp=class extends SyntaxError{constructor(t,r,n,i){n=n||20;let s=pY(t,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},hY=Symbol.for("indent"),dY=Symbol.for("newline"),gY=/^\s*[{[]((?:\r?\n)+)([\s\t]*)/,mY=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,mp=(e,t,r)=>{let n=VP(e);r=r||20;try{let[,i=` -`,s=" "]=n.match(mY)||n.match(gY)||[null,"",""],o=JSON.parse(n,t);return o&&typeof o=="object"&&(o[dY]=i,o[hY]=s),o}catch(i){if(typeof e!="string"&&!Buffer.isBuffer(e)){let s=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${s?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:i})}throw new gp(i,n,r,mp)}},VP=e=>String(e).replace(/^\uFEFF/,"");KP.exports=mp;mp.JSONParseError=gp;mp.noExceptions=(e,t)=>{try{return JSON.parse(VP(e),t)}catch{}}});var YP=_(vp=>{Object.defineProperty(vp,"__esModule",{value:!0});vp.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;vp.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var eO=_(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.isIdentifierChar=ZP;Oc.isIdentifierName=EY;Oc.isIdentifierStart=QP;var m0="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",XP="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",vY=new RegExp("["+m0+"]"),yY=new RegExp("["+m0+XP+"]");m0=XP=null;var JP=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],_Y=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function g0(e,t){let r=65536;for(let n=0,i=t.length;ne)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function QP(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&vY.test(String.fromCharCode(e)):g0(e,JP)}function ZP(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&yY.test(String.fromCharCode(e)):g0(e,JP)||g0(e,_Y)}function EY(e){let t=!0;for(let r=0;r{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.isKeyword=AY;Do.isReservedWord=tO;Do.isStrictBindOnlyReservedWord=nO;Do.isStrictBindReservedWord=SY;Do.isStrictReservedWord=rO;var v0={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},bY=new Set(v0.keyword),TY=new Set(v0.strict),wY=new Set(v0.strictBind);function tO(e,t){return t&&e==="await"||e==="enum"}function rO(e,t){return tO(e,t)||TY.has(e)}function nO(e){return wY.has(e)}function SY(e,t){return rO(e,t)||nO(e)}function AY(e){return bY.has(e)}});var sO=_(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});Object.defineProperty(_i,"isIdentifierChar",{enumerable:!0,get:function(){return y0.isIdentifierChar}});Object.defineProperty(_i,"isIdentifierName",{enumerable:!0,get:function(){return y0.isIdentifierName}});Object.defineProperty(_i,"isIdentifierStart",{enumerable:!0,get:function(){return y0.isIdentifierStart}});Object.defineProperty(_i,"isKeyword",{enumerable:!0,get:function(){return Cc.isKeyword}});Object.defineProperty(_i,"isReservedWord",{enumerable:!0,get:function(){return Cc.isReservedWord}});Object.defineProperty(_i,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Cc.isStrictBindOnlyReservedWord}});Object.defineProperty(_i,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Cc.isStrictBindReservedWord}});Object.defineProperty(_i,"isStrictReservedWord",{enumerable:!0,get:function(){return Cc.isStrictReservedWord}});var y0=eO(),Cc=iO()});var _0=_((Rge,oO)=>{"use strict";var RY=/[|\\{}()[\]^$+*?.]/g;oO.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(RY,"\\$&")}});var uO=_((Pge,aO)=>{"use strict";aO.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var E0=_((Oge,pO)=>{var Mo=uO(),fO={};for(yp in Mo)Mo.hasOwnProperty(yp)&&(fO[Mo[yp]]=yp);var yp,he=pO.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Ar in he)if(he.hasOwnProperty(Ar)){if(!("channels"in he[Ar]))throw new Error("missing channels property: "+Ar);if(!("labels"in he[Ar]))throw new Error("missing channel labels property: "+Ar);if(he[Ar].labels.length!==he[Ar].channels)throw new Error("channel and label counts mismatch: "+Ar);cO=he[Ar].channels,lO=he[Ar].labels,delete he[Ar].channels,delete he[Ar].labels,Object.defineProperty(he[Ar],"channels",{value:cO}),Object.defineProperty(he[Ar],"labels",{value:lO})}var cO,lO,Ar;he.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),o=s-i,c,l,p;return s===i?c=0:t===s?c=(r-n)/o:r===s?c=2+(n-t)/o:n===s&&(c=4+(t-r)/o),c=Math.min(c*60,360),c<0&&(c+=360),p=(i+s)/2,s===i?l=0:p<=.5?l=o/(s+i):l=o/(2-s-i),[c,l*100,p*100]};he.rgb.hsv=function(e){var t,r,n,i,s,o=e[0]/255,c=e[1]/255,l=e[2]/255,p=Math.max(o,c,l),d=p-Math.min(o,c,l),h=function(m){return(p-m)/6/d+1/2};return d===0?i=s=0:(s=d/p,t=h(o),r=h(c),n=h(l),o===p?i=n-r:c===p?i=1/3+t-n:l===p&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,p*100]};he.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=he.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};he.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i,s,o,c;return c=Math.min(1-t,1-r,1-n),i=(1-t-c)/(1-c)||0,s=(1-r-c)/(1-c)||0,o=(1-n-c)/(1-c)||0,[i*100,s*100,o*100,c*100]};function PY(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}he.rgb.keyword=function(e){var t=fO[e];if(t)return t;var r=1/0,n;for(var i in Mo)if(Mo.hasOwnProperty(i)){var s=Mo[i],o=PY(e,s);o.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};he.rgb.lab=function(e){var t=he.rgb.xyz(e),r=t[0],n=t[1],i=t[2],s,o,c;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,o=500*(r-n),c=200*(n-i),[s,o,c]};he.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,s,o,c,l;if(r===0)return l=n*255,[l,l,l];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,c=[0,0,0];for(var p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?l=i+(s-i)*6*o:2*o<1?l=s:3*o<2?l=i+(s-i)*(2/3-o)*6:l=i,c[p]=l*255;return c};he.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01),o,c;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,c=(n+r)/2,o=n===0?2*i/(s+i):2*r/(n+r),[t,o*100,c*100]};he.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-r),c=255*n*(1-r*s),l=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,l,o];case 1:return[c,n,o];case 2:return[o,n,l];case 3:return[o,c,n];case 4:return[l,o,n];case 5:return[n,o,c]}};he.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),s,o,c;return c=(2-r)*n,s=(2-r)*i,o=r*i,o/=s<=1?s:2-s,o=o||0,c/=2,[t,o*100,c*100]};he.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,s,o,c,l;i>1&&(r/=i,n/=i),s=Math.floor(6*t),o=1-n,c=6*t-s,(s&1)!==0&&(c=1-c),l=r+c*(o-r);var p,d,h;switch(s){default:case 6:case 0:p=o,d=l,h=r;break;case 1:p=l,d=o,h=r;break;case 2:p=r,d=o,h=l;break;case 3:p=r,d=l,h=o;break;case 4:p=l,d=r,h=o;break;case 5:p=o,d=r,h=l;break}return[p*255,d*255,h*255]};he.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s,o,c;return s=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),c=1-Math.min(1,n*(1-i)+i),[s*255,o*255,c*255]};he.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i,s,o;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};he.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(t-r),o=200*(r-n),[i,s,o]};he.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;s=(t+16)/116,i=r/500+s,o=s-n/200;var c=Math.pow(s,3),l=Math.pow(i,3),p=Math.pow(o,3);return s=c>.008856?c:(s-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,o=p>.008856?p:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};he.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),o=Math.sqrt(r*r+n*n),[t,o,s]};he.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return o=n/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o),[t,i,s]};he.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:he.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return i===2&&(s+=60),s};he.hsv.ansi16=function(e){return he.rgb.ansi16(he.hsv.rgb(e),e[2])};he.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};he.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};he.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};he.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};he.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(c){return c+c}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};he.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),o=i-s,c,l;return o<1?c=s/(1-o):c=0,o<=0?l=0:i===t?l=(r-n)/o%6:i===r?l=2+(n-t)/o:l=4+(t-r)/o+4,l/=6,l%=1,[l*360,o*100,c*100]};he.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};he.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};he.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=t%1*6,o=s%1,c=1-o,l=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=c,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=c,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=c}return l=(1-r)*n,[(r*i[0]+l)*255,(r*i[1]+l)*255,(r*i[2]+l)*255]};he.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};he.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};he.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};he.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};he.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};he.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};he.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};he.gray.hsl=he.gray.hsv=function(e){return[0,0,e[0]]};he.gray.hwb=function(e){return[0,100,e[0]]};he.gray.cmyk=function(e){return[0,0,0,e[0]]};he.gray.lab=function(e){return[e[0],0,0]};he.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};he.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var dO=_((Cge,hO)=>{var _p=E0();function OY(){for(var e={},t=Object.keys(_p),r=t.length,n=0;n{var b0=E0(),LY=dO(),ja={},xY=Object.keys(b0);function NY(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function DY(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var i=n.length,s=0;s{"use strict";var Wa=mO(),Ep=(e,t)=>function(){return`\x1B[${e.apply(Wa,arguments)+t}m`},bp=(e,t)=>function(){let r=e.apply(Wa,arguments);return`\x1B[${38+t};5;${r}m`},Tp=(e,t)=>function(){let r=e.apply(Wa,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function MY(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let s=t[i];for(let o of Object.keys(s)){let c=s[o];t[o]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},s[o]=t[o],e.set(c[0],c[1])}Object.defineProperty(t,i,{value:s,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=i=>i,n=(i,s,o)=>[i,s,o];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Ep(r,0)},t.color.ansi256={ansi256:bp(r,0)},t.color.ansi16m={rgb:Tp(n,0)},t.bgColor.ansi={ansi:Ep(r,10)},t.bgColor.ansi256={ansi256:bp(r,10)},t.bgColor.ansi16m={rgb:Tp(n,10)};for(let i of Object.keys(Wa)){if(typeof Wa[i]!="object")continue;let s=Wa[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(t.color.ansi[i]=Ep(s.ansi16,0),t.bgColor.ansi[i]=Ep(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[i]=bp(s.ansi256,0),t.bgColor.ansi256[i]=bp(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[i]=Tp(s.rgb,0),t.bgColor.ansi16m[i]=Tp(s.rgb,10))}return t}Object.defineProperty(vO,"exports",{enumerable:!0,get:MY})});var EO=_((Lge,_O)=>{"use strict";_O.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1?!0:n{"use strict";var FY=F("os"),ei=EO(),pr=process.env,$a;ei("no-color")||ei("no-colors")||ei("color=false")?$a=!1:(ei("color")||ei("colors")||ei("color=true")||ei("color=always"))&&($a=!0);"FORCE_COLOR"in pr&&($a=pr.FORCE_COLOR.length===0||parseInt(pr.FORCE_COLOR,10)!==0);function GY(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function UY(e){if($a===!1)return 0;if(ei("color=16m")||ei("color=full")||ei("color=truecolor"))return 3;if(ei("color=256"))return 2;if(e&&!e.isTTY&&$a!==!0)return 0;let t=$a?1:0;if(process.platform==="win32"){let r=FY.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in pr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in pr)||pr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in pr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(pr.TEAMCITY_VERSION)?1:0;if(pr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in pr){let r=parseInt((pr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(pr.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(pr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(pr.TERM)||"COLORTERM"in pr?1:(pr.TERM==="dumb",t)}function T0(e){let t=UY(e);return GY(t)}bO.exports={supportsColor:T0,stdout:T0(process.stdout),stderr:T0(process.stderr)}});var PO=_((Nge,RO)=>{"use strict";var BY=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,wO=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,qY=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,HY=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,jY=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function AO(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):jY.get(e)||e}function WY(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(qY))r.push(i[2].replace(HY,(o,c,l)=>c?AO(c):l));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);return r}function $Y(e){wO.lastIndex=0;let t=[],r;for(;(r=wO.exec(e))!==null;){let n=r[1];if(r[2]){let i=WY(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}function SO(e,t){let r={};for(let i of t)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=e;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}RO.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(BY,(s,o,c,l,p,d)=>{if(o)i.push(AO(o));else if(l){let h=i.join("");i=[],n.push(r.length===0?h:SO(e,r)(h)),r.push({inverse:c,styles:$Y(l)})}else if(p){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(SO(e,r)(i.join(""))),i=[],r.pop()}else i.push(d)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var LO=_((Dge,Ic)=>{"use strict";var S0=_0(),Ut=yO(),w0=TO().stdout,VY=PO(),CO=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),kO=["ansi","ansi","ansi256","ansi16m"],IO=new Set(["gray"]),Va=Object.create(null);function OO(e,t){t=t||{};let r=w0?w0.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function kc(e){if(!this||!(this instanceof kc)||this.template){let t={};return OO(t,e),t.template=function(){let r=[].slice.call(arguments);return YY.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,kc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=kc,t.template}OO(this,e)}CO&&(Ut.blue.open="\x1B[94m");for(let e of Object.keys(Ut))Ut[e].closeRe=new RegExp(S0(Ut[e].close),"g"),Va[e]={get(){let t=Ut[e];return wp.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Va.visible={get(){return wp.call(this,this._styles||[],!0,"visible")}};Ut.color.closeRe=new RegExp(S0(Ut.color.close),"g");for(let e of Object.keys(Ut.color.ansi))IO.has(e)||(Va[e]={get(){let t=this.level;return function(){let n={open:Ut.color[kO[t]][e].apply(null,arguments),close:Ut.color.close,closeRe:Ut.color.closeRe};return wp.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});Ut.bgColor.closeRe=new RegExp(S0(Ut.bgColor.close),"g");for(let e of Object.keys(Ut.bgColor.ansi)){if(IO.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Va[t]={get(){let r=this.level;return function(){let i={open:Ut.bgColor[kO[r]][e].apply(null,arguments),close:Ut.bgColor.close,closeRe:Ut.bgColor.closeRe};return wp.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var KY=Object.defineProperties(()=>{},Va);function wp(e,t,r){let n=function(){return zY.apply(n,arguments)};n._styles=e,n._empty=t;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=KY,n}function zY(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=rX;Lc.shouldHighlight=FO;var xO=YP(),NO=sO(),R0=XY(LO(),!0);function DO(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(DO=function(n){return n?r:t})(e)}function XY(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=DO(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}var JY=new Set(["as","async","from","get","of","set"]);function QY(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}var ZY=/\r\n|[\n\r\u2028\u2029]/,eX=/^[()[\]{}]$/,MO;{let e=/^[a-z][\w-]*$/i,t=function(r,n,i){if(r.type==="name"){if((0,NO.isKeyword)(r.value)||(0,NO.isStrictReservedWord)(r.value,!0)||JY.has(r.value))return"keyword";if(e.test(r.value)&&(i[n-1]==="<"||i.slice(n-2,n)=="s(o)).join(` -`):r+=i}return r}function FO(e){return R0.default.level>0||e.forceColor}var A0;function GO(e){if(e){var t;return(t=A0)!=null||(A0=new R0.default.constructor({enabled:!0,level:1})),A0}return R0.default}Lc.getChalk=e=>GO(e.forceColor);function rX(e,t={}){if(e!==""&&FO(t)){let r=QY(GO(t.forceColor));return tX(r,e)}else return e}});var qO=_((Fge,BO)=>{"use strict";BO.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var P0=_((Gge,$O)=>{var Fo=qO(),WO={};for(Sp in Fo)Fo.hasOwnProperty(Sp)&&(WO[Fo[Sp]]=Sp);var Sp,de=$O.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Rr in de)if(de.hasOwnProperty(Rr)){if(!("channels"in de[Rr]))throw new Error("missing channels property: "+Rr);if(!("labels"in de[Rr]))throw new Error("missing channel labels property: "+Rr);if(de[Rr].labels.length!==de[Rr].channels)throw new Error("channel and label counts mismatch: "+Rr);HO=de[Rr].channels,jO=de[Rr].labels,delete de[Rr].channels,delete de[Rr].labels,Object.defineProperty(de[Rr],"channels",{value:HO}),Object.defineProperty(de[Rr],"labels",{value:jO})}var HO,jO,Rr;de.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),o=s-i,c,l,p;return s===i?c=0:t===s?c=(r-n)/o:r===s?c=2+(n-t)/o:n===s&&(c=4+(t-r)/o),c=Math.min(c*60,360),c<0&&(c+=360),p=(i+s)/2,s===i?l=0:p<=.5?l=o/(s+i):l=o/(2-s-i),[c,l*100,p*100]};de.rgb.hsv=function(e){var t,r,n,i,s,o=e[0]/255,c=e[1]/255,l=e[2]/255,p=Math.max(o,c,l),d=p-Math.min(o,c,l),h=function(m){return(p-m)/6/d+1/2};return d===0?i=s=0:(s=d/p,t=h(o),r=h(c),n=h(l),o===p?i=n-r:c===p?i=1/3+t-n:l===p&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,p*100]};de.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=de.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};de.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i,s,o,c;return c=Math.min(1-t,1-r,1-n),i=(1-t-c)/(1-c)||0,s=(1-r-c)/(1-c)||0,o=(1-n-c)/(1-c)||0,[i*100,s*100,o*100,c*100]};function nX(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}de.rgb.keyword=function(e){var t=WO[e];if(t)return t;var r=1/0,n;for(var i in Fo)if(Fo.hasOwnProperty(i)){var s=Fo[i],o=nX(e,s);o.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};de.rgb.lab=function(e){var t=de.rgb.xyz(e),r=t[0],n=t[1],i=t[2],s,o,c;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,o=500*(r-n),c=200*(n-i),[s,o,c]};de.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,s,o,c,l;if(r===0)return l=n*255,[l,l,l];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,c=[0,0,0];for(var p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?l=i+(s-i)*6*o:2*o<1?l=s:3*o<2?l=i+(s-i)*(2/3-o)*6:l=i,c[p]=l*255;return c};de.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01),o,c;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,c=(n+r)/2,o=n===0?2*i/(s+i):2*r/(n+r),[t,o*100,c*100]};de.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-r),c=255*n*(1-r*s),l=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,l,o];case 1:return[c,n,o];case 2:return[o,n,l];case 3:return[o,c,n];case 4:return[l,o,n];case 5:return[n,o,c]}};de.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),s,o,c;return c=(2-r)*n,s=(2-r)*i,o=r*i,o/=s<=1?s:2-s,o=o||0,c/=2,[t,o*100,c*100]};de.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,s,o,c,l;i>1&&(r/=i,n/=i),s=Math.floor(6*t),o=1-n,c=6*t-s,(s&1)!==0&&(c=1-c),l=r+c*(o-r);var p,d,h;switch(s){default:case 6:case 0:p=o,d=l,h=r;break;case 1:p=l,d=o,h=r;break;case 2:p=r,d=o,h=l;break;case 3:p=r,d=l,h=o;break;case 4:p=l,d=r,h=o;break;case 5:p=o,d=r,h=l;break}return[p*255,d*255,h*255]};de.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s,o,c;return s=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),c=1-Math.min(1,n*(1-i)+i),[s*255,o*255,c*255]};de.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i,s,o;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};de.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(t-r),o=200*(r-n),[i,s,o]};de.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;s=(t+16)/116,i=r/500+s,o=s-n/200;var c=Math.pow(s,3),l=Math.pow(i,3),p=Math.pow(o,3);return s=c>.008856?c:(s-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,o=p>.008856?p:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};de.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),o=Math.sqrt(r*r+n*n),[t,o,s]};de.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return o=n/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o),[t,i,s]};de.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:de.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return i===2&&(s+=60),s};de.hsv.ansi16=function(e){return de.rgb.ansi16(de.hsv.rgb(e),e[2])};de.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};de.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};de.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};de.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};de.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(c){return c+c}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};de.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),o=i-s,c,l;return o<1?c=s/(1-o):c=0,o<=0?l=0:i===t?l=(r-n)/o%6:i===r?l=2+(n-t)/o:l=4+(t-r)/o+4,l/=6,l%=1,[l*360,o*100,c*100]};de.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};de.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};de.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=t%1*6,o=s%1,c=1-o,l=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=c,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=c,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=c}return l=(1-r)*n,[(r*i[0]+l)*255,(r*i[1]+l)*255,(r*i[2]+l)*255]};de.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};de.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};de.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};de.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};de.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};de.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};de.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};de.gray.hsl=de.gray.hsv=function(e){return[0,0,e[0]]};de.gray.hwb=function(e){return[0,100,e[0]]};de.gray.cmyk=function(e){return[0,0,0,e[0]]};de.gray.lab=function(e){return[e[0],0,0]};de.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};de.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var KO=_((Uge,VO)=>{var Ap=P0();function iX(){for(var e={},t=Object.keys(Ap),r=t.length,n=0;n{var O0=P0(),uX=KO(),Ka={},cX=Object.keys(O0);function lX(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function fX(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var i=n.length,s=0;s{"use strict";var za=YO(),Rp=(e,t)=>function(){return`\x1B[${e.apply(za,arguments)+t}m`},Pp=(e,t)=>function(){let r=e.apply(za,arguments);return`\x1B[${38+t};5;${r}m`},Op=(e,t)=>function(){let r=e.apply(za,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function pX(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let s=t[i];for(let o of Object.keys(s)){let c=s[o];t[o]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},s[o]=t[o],e.set(c[0],c[1])}Object.defineProperty(t,i,{value:s,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=i=>i,n=(i,s,o)=>[i,s,o];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Rp(r,0)},t.color.ansi256={ansi256:Pp(r,0)},t.color.ansi16m={rgb:Op(n,0)},t.bgColor.ansi={ansi:Rp(r,10)},t.bgColor.ansi256={ansi256:Pp(r,10)},t.bgColor.ansi16m={rgb:Op(n,10)};for(let i of Object.keys(za)){if(typeof za[i]!="object")continue;let s=za[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(t.color.ansi[i]=Rp(s.ansi16,0),t.bgColor.ansi[i]=Rp(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[i]=Pp(s.ansi256,0),t.bgColor.ansi256[i]=Pp(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[i]=Op(s.rgb,0),t.bgColor.ansi16m[i]=Op(s.rgb,10))}return t}Object.defineProperty(XO,"exports",{enumerable:!0,get:pX})});var ZO=_((Hge,QO)=>{"use strict";QO.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1?!0:n{"use strict";var hX=F("os"),ti=ZO(),hr=process.env,Ya;ti("no-color")||ti("no-colors")||ti("color=false")?Ya=!1:(ti("color")||ti("colors")||ti("color=true")||ti("color=always"))&&(Ya=!0);"FORCE_COLOR"in hr&&(Ya=hr.FORCE_COLOR.length===0||parseInt(hr.FORCE_COLOR,10)!==0);function dX(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function gX(e){if(Ya===!1)return 0;if(ti("color=16m")||ti("color=full")||ti("color=truecolor"))return 3;if(ti("color=256"))return 2;if(e&&!e.isTTY&&Ya!==!0)return 0;let t=Ya?1:0;if(process.platform==="win32"){let r=hX.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in hr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in hr)||hr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in hr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(hr.TEAMCITY_VERSION)?1:0;if(hr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in hr){let r=parseInt((hr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(hr.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(hr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(hr.TERM)||"COLORTERM"in hr?1:(hr.TERM==="dumb",t)}function C0(e){let t=gX(e);return dX(t)}eC.exports={supportsColor:C0,stdout:C0(process.stdout),stderr:C0(process.stderr)}});var oC=_((Wge,sC)=>{"use strict";var mX=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,rC=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,vX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,yX=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,_X=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function iC(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):_X.get(e)||e}function EX(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(vX))r.push(i[2].replace(yX,(o,c,l)=>c?iC(c):l));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);return r}function bX(e){rC.lastIndex=0;let t=[],r;for(;(r=rC.exec(e))!==null;){let n=r[1];if(r[2]){let i=EX(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}function nC(e,t){let r={};for(let i of t)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=e;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}sC.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(mX,(s,o,c,l,p,d)=>{if(o)i.push(iC(o));else if(l){let h=i.join("");i=[],n.push(r.length===0?h:nC(e,r)(h)),r.push({inverse:c,styles:bX(l)})}else if(p){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(nC(e,r)(i.join(""))),i=[],r.pop()}else i.push(d)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var fC=_(($ge,Nc)=>{"use strict";var I0=_0(),Bt=JO(),k0=tC().stdout,TX=oC(),uC=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),cC=["ansi","ansi","ansi256","ansi16m"],lC=new Set(["gray"]),Xa=Object.create(null);function aC(e,t){t=t||{};let r=k0?k0.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function xc(e){if(!this||!(this instanceof xc)||this.template){let t={};return aC(t,e),t.template=function(){let r=[].slice.call(arguments);return AX.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,xc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=xc,t.template}aC(this,e)}uC&&(Bt.blue.open="\x1B[94m");for(let e of Object.keys(Bt))Bt[e].closeRe=new RegExp(I0(Bt[e].close),"g"),Xa[e]={get(){let t=Bt[e];return Cp.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Xa.visible={get(){return Cp.call(this,this._styles||[],!0,"visible")}};Bt.color.closeRe=new RegExp(I0(Bt.color.close),"g");for(let e of Object.keys(Bt.color.ansi))lC.has(e)||(Xa[e]={get(){let t=this.level;return function(){let n={open:Bt.color[cC[t]][e].apply(null,arguments),close:Bt.color.close,closeRe:Bt.color.closeRe};return Cp.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});Bt.bgColor.closeRe=new RegExp(I0(Bt.bgColor.close),"g");for(let e of Object.keys(Bt.bgColor.ansi)){if(lC.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Xa[t]={get(){let r=this.level;return function(){let i={open:Bt.bgColor[cC[r]][e].apply(null,arguments),close:Bt.bgColor.close,closeRe:Bt.bgColor.closeRe};return Cp.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var wX=Object.defineProperties(()=>{},Xa);function Cp(e,t,r){let n=function(){return SX.apply(n,arguments)};n._styles=e,n._empty=t;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=wX,n}function SX(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.codeFrameColumns=vC;kp.default=kX;var pC=UO(),hC=RX(fC(),!0);function mC(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(mC=function(n){return n?r:t})(e)}function RX(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=mC(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}var L0;function PX(e){if(e){var t;return(t=L0)!=null||(L0=new hC.default.constructor({enabled:!0,level:1})),L0}return hC.default}var dC=!1;function OX(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var gC=/\r\n|[\n\r\u2028\u2029]/;function CX(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},c=n.line,l=n.column,p=i.line,d=i.column,h=Math.max(c-(s+1),0),m=Math.min(t.length,p+o);c===-1&&(h=0),p===-1&&(m=t.length);let w=p-c,v={};if(w)for(let E=0;E<=w;E++){let A=E+c;if(!l)v[A]=!0;else if(E===0){let S=t[A-1].length;v[A]=[l,S-l+1]}else if(E===w)v[A]=[0,d];else{let S=t[A-E].length;v[A]=[0,S]}}else l===d?l?v[c]=[l,0]:v[c]=!0:v[c]=[l,d-l];return{start:h,end:m,markerLines:v}}function vC(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,pC.shouldHighlight)(r),i=PX(r.forceColor),s=OX(i),o=(E,A)=>n?E(A):A,c=e.split(gC),{start:l,end:p,markerLines:d}=CX(t,c,r),h=t.start&&typeof t.start.column=="number",m=String(p).length,v=(n?(0,pC.default)(e,r):e).split(gC,p).slice(l,p).map((E,A)=>{let S=l+1+A,C=` ${` ${S}`.slice(-m)} |`,O=d[S],H=!d[S+1];if(O){let U="";if(Array.isArray(O)){let q=E.slice(0,Math.max(O[0]-1,0)).replace(/[^\t]/g," "),J=O[1]||1;U=[` - `,o(s.gutter,C.replace(/\d/g," "))," ",q,o(s.marker,"^").repeat(J)].join(""),H&&r.message&&(U+=" "+o(s.message,r.message))}return[o(s.marker,">"),o(s.gutter,C),E.length>0?` ${E}`:"",U].join("")}else return` ${o(s.gutter,C)}${E.length>0?` ${E}`:""}`}).join(` -`);return r.message&&!h&&(v=`${" ".repeat(m+1)}${r.message} -${v}`),n?i.reset(v):v}function kX(e,t,r,n={}){if(!dC){dC=!0;let s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(s,"DeprecationWarning");else{let o=new Error(s);o.name="DeprecationWarning",console.warn(new Error(s))}}return r=Math.max(r,0),vC(e,{start:{column:r,line:t}},n)}});var Ip,_C,EC,bC=$n(()=>{Ip=` -`,_C="\r",EC=function(){function e(t){this.length=t.length;for(var r=[0],n=0;nthis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=t;)r++;var i=t-n[r];return{line:r,column:i}},e.prototype.indexForLocation=function(t){var r=t.line,n=t.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},e.prototype.lengthOfLine=function(t){var r=this.offsets[t],n=t===this.offsets.length-1?this.length:this.offsets[t+1];return n-r},e}()});function x0(e,t,r){typeof t=="string"&&(r=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw(0,TC.default)(e,t),n}}catch(n){n.message=n.message.replace(/\n/g,"");let i=n.message.match(/in JSON at position (\d+) while parsing/),s=new IX(n);if(r&&(s.fileName=r),i&&i.length>0){let o=new EC(e),c=Number(i[1]),l=o.locationForIndex(c),p=({highlightCode:d})=>(0,wC.codeFrameColumns)(e,{start:{line:l.line+1,column:l.column+1}},{highlightCode:d});s.codeFrame=p({highlightCode:!0}),s.rawCodeFrame=p({highlightCode:!1})}throw s}}var Lp,TC,wC,IX,SC=$n(()=>{Lp=At($P(),1),TC=At(zP(),1),wC=At(yC(),1);bC();IX=(0,Lp.default)("JSONError",{fileName:Lp.default.append("in %s"),codeFrame:Lp.default.append(` +`];t={groupBy:"type",commitsSort:"header",noteGroupsSort:"title",notesSort:"text",generateOn:a=>OU(a.version),finalizeContext:a=>a,debug:()=>{},reverse:!1,includeDetails:!1,ignoreReverted:!0,doFlush:!0,mainTemplate:r,headerPartial:n,commitPartial:i,footerPartial:s,...t},(!t.transform||typeof t.transform=="object")&&(t.transform={hash:function(a){if(typeof a=="string")return a.substring(0,7)},header:function(a){return a.substring(0,100)},committerDate:function(a){if(!!a)return db.format(new Date(a))},...t.transform});let o=t.generateOn;return typeof o=="string"?o=function(a){return typeof a[t.generateOn]<"u"}:typeof o!="function"&&(o=function(){return!1}),t.commitGroupsSort=oc(t.commitGroupsSort),t.commitsSort=oc(t.commitsSort),t.noteGroupsSort=oc(t.noteGroupsSort),t.notesSort=oc(t.notesSort),{context:e,options:t,generateOn:o}}function vb(e,t){let r=mb(e,t),n=[],i=!0,s,o=!0;return new PU({objectMode:!0,highWaterMark:16,transform(a,u,c){(async()=>{try{let{context:f,options:l,generateOn:p}=await r,m,h=await gb(a,l.transform,f),g=h||a;l.reverse?(h&&n.push(h),p(g,n,f,l)&&(i=!1,m=await Rs(l,n,f,g),await $h(),l.includeDetails?this.push({log:m,keyCommit:g}):this.push(m),n=[])):(p(g,n,f,l)&&(i=!1,m=await Rs(l,n,f,s),(!o||l.doFlush)&&(await $h(),l.includeDetails?this.push({log:m,keyCommit:s}):this.push(m)),o=!1,n=[],s=g),h&&n.push(h)),c()}catch(f){c(f)}})()},flush(a){(async()=>{try{let{context:u,options:c}=await r;if(!c.doFlush&&(c.reverse||i)){a(null);return}let f=await Rs(c,n,u,s);await $h(),c.includeDetails?this.push({log:f,keyCommit:s}):this.push(f),a()}catch(u){a(u)}})()}})}vb.parseArray=async(e,t,r)=>{let n;e=[...e],{context:t,options:r,generateOn:n}=await mb(t,r);let i=[],s;r.reverse&&e.reverse();let o=[];for(let a of e){let u=await gb(a,r.transform,t),c=u||a;n(c,i,t,r)&&(o.push(await Rs(r,i,t,s)),s=c,i=[]),u&&i.push(u)}return r.reverse?(o.reverse(),await Rs(r,i,t,s)+o.join("")):o.join("")+await Rs(r,i,t,s)};yb.exports=vb});var Rb=d(pc=>{"use strict";Object.defineProperty(pc,"__esModule",{value:!0});pc.LRUCache=void 0;var ia=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Tb=new Set,Wh=typeof process=="object"&&!!process?process:{},Sb=(e,t,r,n)=>{typeof Wh.emitWarning=="function"?Wh.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},lc=globalThis.AbortController,_b=globalThis.AbortSignal,bb;if(typeof lc>"u"){_b=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},lc=class{constructor(){t()}signal=new _b;abort(n){var i,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let o of this.signal._onabort)o(n);(s=(i=this.signal).onabort)==null||s.call(i,n)}}};let e=((bb=Wh.env)==null?void 0:bb.LRU_CACHE_IGNORE_AC_WARNING)!=="1",t=()=>{!e||(e=!1,Sb("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}var CU=e=>!Tb.has(e),pte=Symbol("type"),$n=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),wb=e=>$n(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Os:null:null,Os=class extends Array{constructor(t){super(t),this.fill(0)}},Cs,Ps=class{heap;length;static create(t){let r=wb(t);if(!r)return[];J(Ps,Cs,!0);let n=new Ps(t,r);return J(Ps,Cs,!1),n}constructor(t,r){if(!E(Ps,Cs))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},ac=Ps;Cs=new WeakMap,ee(ac,Cs,!1);var Sr,Kt,wr,Ar,ks,it,Rr,st,De,ie,Pt,zt,vt,ct,Pr,lt,vn,yn,Or,Cr,Kn,Ot,oa,Kh,Mi,En,aa,Yt,fc,Ab,Fi,Is,ua,Hr,Wn,$r,Vn,ca,zh,Ls,uc,Ns,cc,Ie,Ue,la,Yh,Gi,sa,Xh=class{constructor(t){ee(this,oa);ee(this,fc);ee(this,Hr);ee(this,$r);ee(this,ca);ee(this,Ls);ee(this,Ns);ee(this,Ie);ee(this,la);ee(this,Gi);ee(this,Sr,void 0);ee(this,Kt,void 0);ee(this,wr,void 0);ee(this,Ar,void 0);ee(this,ks,void 0);nt(this,"ttl");nt(this,"ttlResolution");nt(this,"ttlAutopurge");nt(this,"updateAgeOnGet");nt(this,"updateAgeOnHas");nt(this,"allowStale");nt(this,"noDisposeOnSet");nt(this,"noUpdateTTL");nt(this,"maxEntrySize");nt(this,"sizeCalculation");nt(this,"noDeleteOnFetchRejection");nt(this,"noDeleteOnStaleGet");nt(this,"allowStaleOnFetchAbort");nt(this,"allowStaleOnFetchRejection");nt(this,"ignoreFetchAbort");ee(this,it,void 0);ee(this,Rr,void 0);ee(this,st,void 0);ee(this,De,void 0);ee(this,ie,void 0);ee(this,Pt,void 0);ee(this,zt,void 0);ee(this,vt,void 0);ee(this,ct,void 0);ee(this,Pr,void 0);ee(this,lt,void 0);ee(this,vn,void 0);ee(this,yn,void 0);ee(this,Or,void 0);ee(this,Cr,void 0);ee(this,Kn,void 0);ee(this,Ot,void 0);ee(this,Mi,()=>{});ee(this,En,()=>{});ee(this,aa,()=>{});ee(this,Yt,()=>!1);ee(this,Fi,t=>{});ee(this,Is,(t,r,n)=>{});ee(this,ua,(t,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:u,dispose:c,disposeAfter:f,noDisposeOnSet:l,noUpdateTTL:p,maxSize:m=0,maxEntrySize:h=0,sizeCalculation:g,fetchMethod:y,noDeleteOnFetchRejection:v,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:_,ignoreFetchAbort:O}=t;if(r!==0&&!$n(r))throw new TypeError("max option must be a nonnegative integer");let R=r?wb(r):Array;if(!R)throw new Error("invalid max value: "+r);if(J(this,Sr,r),J(this,Kt,m),this.maxEntrySize=h||E(this,Kt),this.sizeCalculation=g,this.sizeCalculation){if(!E(this,Kt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(y!==void 0&&typeof y!="function")throw new TypeError("fetchMethod must be a function if specified");if(J(this,ks,y),J(this,Kn,!!y),J(this,st,new Map),J(this,De,new Array(r).fill(void 0)),J(this,ie,new Array(r).fill(void 0)),J(this,Pt,new R(r)),J(this,zt,new R(r)),J(this,vt,0),J(this,ct,0),J(this,Pr,ac.create(r)),J(this,it,0),J(this,Rr,0),typeof c=="function"&&J(this,wr,c),typeof f=="function"?(J(this,Ar,f),J(this,lt,[])):(J(this,Ar,void 0),J(this,lt,void 0)),J(this,Cr,!!E(this,wr)),J(this,Ot,!!E(this,Ar)),this.noDisposeOnSet=!!l,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!v,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!_,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(E(this,Kt)!==0&&!$n(E(this,Kt)))throw new TypeError("maxSize must be a positive integer if specified");if(!$n(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");B(this,fc,Ab).call(this)}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=$n(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!$n(this.ttl))throw new TypeError("ttl must be a positive integer if specified");B(this,oa,Kh).call(this)}if(E(this,Sr)===0&&this.ttl===0&&E(this,Kt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!E(this,Sr)&&!E(this,Kt)){let C="LRU_CACHE_UNBOUNDED";CU(C)&&(Tb.add(C),Sb("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",C,Xh))}}static unsafeExposeInternals(t){return{starts:E(t,yn),ttls:E(t,Or),sizes:E(t,vn),keyMap:E(t,st),keyList:E(t,De),valList:E(t,ie),next:E(t,Pt),prev:E(t,zt),get head(){return E(t,vt)},get tail(){return E(t,ct)},free:E(t,Pr),isBackgroundFetch:r=>{var n;return B(n=t,Ie,Ue).call(n,r)},backgroundFetch:(r,n,i,s)=>{var o;return B(o=t,Ns,cc).call(o,r,n,i,s)},moveToTail:r=>{var n;return B(n=t,Gi,sa).call(n,r)},indexes:r=>{var n;return B(n=t,Hr,Wn).call(n,r)},rindexes:r=>{var n;return B(n=t,$r,Vn).call(n,r)},isStale:r=>{var n;return E(n=t,Yt).call(n,r)}}}get max(){return E(this,Sr)}get maxSize(){return E(this,Kt)}get calculatedSize(){return E(this,Rr)}get size(){return E(this,it)}get fetchMethod(){return E(this,ks)}get dispose(){return E(this,wr)}get disposeAfter(){return E(this,Ar)}getRemainingTTL(t){return E(this,st).has(t)?1/0:0}*entries(){for(let t of B(this,Hr,Wn).call(this))E(this,ie)[t]!==void 0&&E(this,De)[t]!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield[E(this,De)[t],E(this,ie)[t]])}*rentries(){for(let t of B(this,$r,Vn).call(this))E(this,ie)[t]!==void 0&&E(this,De)[t]!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield[E(this,De)[t],E(this,ie)[t]])}*keys(){for(let t of B(this,Hr,Wn).call(this)){let r=E(this,De)[t];r!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield r)}}*rkeys(){for(let t of B(this,$r,Vn).call(this)){let r=E(this,De)[t];r!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield r)}}*values(){for(let t of B(this,Hr,Wn).call(this))E(this,ie)[t]!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield E(this,ie)[t])}*rvalues(){for(let t of B(this,$r,Vn).call(this))E(this,ie)[t]!==void 0&&!B(this,Ie,Ue).call(this,E(this,ie)[t])&&(yield E(this,ie)[t])}[Symbol.iterator](){return this.entries()}find(t,r={}){for(let n of B(this,Hr,Wn).call(this)){let i=E(this,ie)[n],s=B(this,Ie,Ue).call(this,i)?i.__staleWhileFetching:i;if(s!==void 0&&t(s,E(this,De)[n],this))return this.get(E(this,De)[n],r)}}forEach(t,r=this){for(let n of B(this,Hr,Wn).call(this)){let i=E(this,ie)[n],s=B(this,Ie,Ue).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,E(this,De)[n],this)}}rforEach(t,r=this){for(let n of B(this,$r,Vn).call(this)){let i=E(this,ie)[n],s=B(this,Ie,Ue).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,E(this,De)[n],this)}}purgeStale(){let t=!1;for(let r of B(this,$r,Vn).call(this,{allowStale:!0}))E(this,Yt).call(this,r)&&(this.delete(E(this,De)[r]),t=!0);return t}dump(){let t=[];for(let r of B(this,Hr,Wn).call(this,{allowStale:!0})){let n=E(this,De)[r],i=E(this,ie)[r],s=B(this,Ie,Ue).call(this,i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(E(this,Or)&&E(this,yn)){o.ttl=E(this,Or)[r];let a=ia.now()-E(this,yn)[r];o.start=Math.floor(Date.now()-a)}E(this,vn)&&(o.size=E(this,vn)[r]),t.unshift([n,o])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let i=Date.now()-n.start;n.start=ia.now()-i}this.set(r,n.value,n)}}set(t,r,n={}){var p,m,h,g,y;if(r===void 0)return this.delete(t),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:u}=n,{noUpdateTTL:c=this.noUpdateTTL}=n,f=E(this,ua).call(this,t,r,n.size||0,a);if(this.maxEntrySize&&f>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(t),this;let l=E(this,it)===0?void 0:E(this,st).get(t);if(l===void 0)l=E(this,it)===0?E(this,ct):E(this,Pr).length!==0?E(this,Pr).pop():E(this,it)===E(this,Sr)?B(this,Ls,uc).call(this,!1):E(this,it),E(this,De)[l]=t,E(this,ie)[l]=r,E(this,st).set(t,l),E(this,Pt)[E(this,ct)]=l,E(this,zt)[l]=E(this,ct),J(this,ct,l),bi(this,it)._++,E(this,Is).call(this,l,f,u),u&&(u.set="add"),c=!1;else{B(this,Gi,sa).call(this,l);let v=E(this,ie)[l];if(r!==v){if(E(this,Kn)&&B(this,Ie,Ue).call(this,v)){v.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:S}=v;S!==void 0&&!o&&(E(this,Cr)&&((p=E(this,wr))==null||p.call(this,S,t,"set")),E(this,Ot)&&((m=E(this,lt))==null||m.push([S,t,"set"])))}else o||(E(this,Cr)&&((h=E(this,wr))==null||h.call(this,v,t,"set")),E(this,Ot)&&((g=E(this,lt))==null||g.push([v,t,"set"])));if(E(this,Fi).call(this,l),E(this,Is).call(this,l,f,u),E(this,ie)[l]=r,u){u.set="replace";let S=v&&B(this,Ie,Ue).call(this,v)?v.__staleWhileFetching:v;S!==void 0&&(u.oldValue=S)}}else u&&(u.set="update")}if(i!==0&&!E(this,Or)&&B(this,oa,Kh).call(this),E(this,Or)&&(c||E(this,aa).call(this,l,i,s),u&&E(this,En).call(this,u,l)),!o&&E(this,Ot)&&E(this,lt)){let v=E(this,lt),S;for(;S=v==null?void 0:v.shift();)(y=E(this,Ar))==null||y.call(this,...S)}return this}pop(){var t;try{for(;E(this,it);){let r=E(this,ie)[E(this,vt)];if(B(this,Ls,uc).call(this,!0),B(this,Ie,Ue).call(this,r)){if(r.__staleWhileFetching)return r.__staleWhileFetching}else if(r!==void 0)return r}}finally{if(E(this,Ot)&&E(this,lt)){let r=E(this,lt),n;for(;n=r==null?void 0:r.shift();)(t=E(this,Ar))==null||t.call(this,...n)}}}has(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=E(this,st).get(t);if(s!==void 0){let o=E(this,ie)[s];if(B(this,Ie,Ue).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(E(this,Yt).call(this,s))i&&(i.has="stale",E(this,En).call(this,i,s));else return n&&E(this,Mi).call(this,s),i&&(i.has="hit",E(this,En).call(this,i,s)),!0}else i&&(i.has="miss");return!1}peek(t,r={}){let{allowStale:n=this.allowStale}=r,i=E(this,st).get(t);if(i!==void 0&&(n||!E(this,Yt).call(this,i))){let s=E(this,ie)[i];return B(this,Ie,Ue).call(this,s)?s.__staleWhileFetching:s}}async fetch(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:u=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:g,forceRefresh:y=!1,status:v,signal:S}=r;if(!E(this,Kn))return v&&(v.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:v});let b={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:u,sizeCalculation:c,noUpdateTTL:f,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:h,ignoreFetchAbort:m,status:v,signal:S},_=E(this,st).get(t);if(_===void 0){v&&(v.fetch="miss");let O=B(this,Ns,cc).call(this,t,_,b,g);return O.__returned=O}else{let O=E(this,ie)[_];if(B(this,Ie,Ue).call(this,O)){let L=n&&O.__staleWhileFetching!==void 0;return v&&(v.fetch="inflight",L&&(v.returnedStale=!0)),L?O.__staleWhileFetching:O.__returned=O}let R=E(this,Yt).call(this,_);if(!y&&!R)return v&&(v.fetch="hit"),B(this,Gi,sa).call(this,_),i&&E(this,Mi).call(this,_),v&&E(this,En).call(this,v,_),O;let C=B(this,Ns,cc).call(this,t,_,b,g),M=C.__staleWhileFetching!==void 0&&n;return v&&(v.fetch=R?"stale":"refresh",M&&R&&(v.returnedStale=!0)),M?C.__staleWhileFetching:C.__returned=C}}get(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=r,a=E(this,st).get(t);if(a!==void 0){let u=E(this,ie)[a],c=B(this,Ie,Ue).call(this,u);return o&&E(this,En).call(this,o,a),E(this,Yt).call(this,a)?(o&&(o.get="stale"),c?(o&&n&&u.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?u.__staleWhileFetching:void 0):(s||this.delete(t),o&&n&&(o.returnedStale=!0),n?u:void 0)):(o&&(o.get="hit"),c?u.__staleWhileFetching:(B(this,Gi,sa).call(this,a),i&&E(this,Mi).call(this,a),u))}else o&&(o.get="miss")}delete(t){var n,i,s,o;let r=!1;if(E(this,it)!==0){let a=E(this,st).get(t);if(a!==void 0)if(r=!0,E(this,it)===1)this.clear();else{E(this,Fi).call(this,a);let u=E(this,ie)[a];B(this,Ie,Ue).call(this,u)?u.__abortController.abort(new Error("deleted")):(E(this,Cr)||E(this,Ot))&&(E(this,Cr)&&((n=E(this,wr))==null||n.call(this,u,t,"delete")),E(this,Ot)&&((i=E(this,lt))==null||i.push([u,t,"delete"]))),E(this,st).delete(t),E(this,De)[a]=void 0,E(this,ie)[a]=void 0,a===E(this,ct)?J(this,ct,E(this,zt)[a]):a===E(this,vt)?J(this,vt,E(this,Pt)[a]):(E(this,Pt)[E(this,zt)[a]]=E(this,Pt)[a],E(this,zt)[E(this,Pt)[a]]=E(this,zt)[a]),bi(this,it)._--,E(this,Pr).push(a)}}if(E(this,Ot)&&((s=E(this,lt))==null?void 0:s.length)){let a=E(this,lt),u;for(;u=a==null?void 0:a.shift();)(o=E(this,Ar))==null||o.call(this,...u)}return r}clear(){var t,r,n;for(let i of B(this,$r,Vn).call(this,{allowStale:!0})){let s=E(this,ie)[i];if(B(this,Ie,Ue).call(this,s))s.__abortController.abort(new Error("deleted"));else{let o=E(this,De)[i];E(this,Cr)&&((t=E(this,wr))==null||t.call(this,s,o,"delete")),E(this,Ot)&&((r=E(this,lt))==null||r.push([s,o,"delete"]))}}if(E(this,st).clear(),E(this,ie).fill(void 0),E(this,De).fill(void 0),E(this,Or)&&E(this,yn)&&(E(this,Or).fill(0),E(this,yn).fill(0)),E(this,vn)&&E(this,vn).fill(0),J(this,vt,0),J(this,ct,0),E(this,Pr).length=0,J(this,Rr,0),J(this,it,0),E(this,Ot)&&E(this,lt)){let i=E(this,lt),s;for(;s=i==null?void 0:i.shift();)(n=E(this,Ar))==null||n.call(this,...s)}}},Vh=Xh;Sr=new WeakMap,Kt=new WeakMap,wr=new WeakMap,Ar=new WeakMap,ks=new WeakMap,it=new WeakMap,Rr=new WeakMap,st=new WeakMap,De=new WeakMap,ie=new WeakMap,Pt=new WeakMap,zt=new WeakMap,vt=new WeakMap,ct=new WeakMap,Pr=new WeakMap,lt=new WeakMap,vn=new WeakMap,yn=new WeakMap,Or=new WeakMap,Cr=new WeakMap,Kn=new WeakMap,Ot=new WeakMap,oa=new WeakSet,Kh=function(){let t=new Os(E(this,Sr)),r=new Os(E(this,Sr));J(this,Or,t),J(this,yn,r),J(this,aa,(s,o,a=ia.now())=>{if(r[s]=o!==0?a:0,t[s]=o,o!==0&&this.ttlAutopurge){let u=setTimeout(()=>{E(this,Yt).call(this,s)&&this.delete(E(this,De)[s])},o+1);u.unref&&u.unref()}}),J(this,Mi,s=>{r[s]=t[s]!==0?ia.now():0}),J(this,En,(s,o)=>{if(t[o]){let a=t[o],u=r[o];s.ttl=a,s.start=u,s.now=n||i();let c=s.now-u;s.remainingTTL=a-c}});let n=0,i=()=>{let s=ia.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=E(this,st).get(s);if(o===void 0)return 0;let a=t[o],u=r[o];if(a===0||u===0)return 1/0;let c=(n||i())-u;return a-c},J(this,Yt,s=>t[s]!==0&&r[s]!==0&&(n||i())-r[s]>t[s])},Mi=new WeakMap,En=new WeakMap,aa=new WeakMap,Yt=new WeakMap,fc=new WeakSet,Ab=function(){let t=new Os(E(this,Sr));J(this,Rr,0),J(this,vn,t),J(this,Fi,r=>{J(this,Rr,E(this,Rr)-t[r]),t[r]=0}),J(this,ua,(r,n,i,s)=>{if(B(this,Ie,Ue).call(this,n))return 0;if(!$n(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!$n(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i}),J(this,Is,(r,n,i)=>{if(t[r]=n,E(this,Kt)){let s=E(this,Kt)-t[r];for(;E(this,Rr)>s;)B(this,Ls,uc).call(this,!0)}J(this,Rr,E(this,Rr)+t[r]),i&&(i.entrySize=n,i.totalCalculatedSize=E(this,Rr))})},Fi=new WeakMap,Is=new WeakMap,ua=new WeakMap,Hr=new WeakSet,Wn=function*({allowStale:t=this.allowStale}={}){if(E(this,it))for(let r=E(this,ct);!(!B(this,ca,zh).call(this,r)||((t||!E(this,Yt).call(this,r))&&(yield r),r===E(this,vt)));)r=E(this,zt)[r]},$r=new WeakSet,Vn=function*({allowStale:t=this.allowStale}={}){if(E(this,it))for(let r=E(this,vt);!(!B(this,ca,zh).call(this,r)||((t||!E(this,Yt).call(this,r))&&(yield r),r===E(this,ct)));)r=E(this,Pt)[r]},ca=new WeakSet,zh=function(t){return t!==void 0&&E(this,st).get(E(this,De)[t])===t},Ls=new WeakSet,uc=function(t){var s,o;let r=E(this,vt),n=E(this,De)[r],i=E(this,ie)[r];return E(this,Kn)&&B(this,Ie,Ue).call(this,i)?i.__abortController.abort(new Error("evicted")):(E(this,Cr)||E(this,Ot))&&(E(this,Cr)&&((s=E(this,wr))==null||s.call(this,i,n,"evict")),E(this,Ot)&&((o=E(this,lt))==null||o.push([i,n,"evict"]))),E(this,Fi).call(this,r),t&&(E(this,De)[r]=void 0,E(this,ie)[r]=void 0,E(this,Pr).push(r)),E(this,it)===1?(J(this,vt,J(this,ct,0)),E(this,Pr).length=0):J(this,vt,E(this,Pt)[r]),E(this,st).delete(n),bi(this,it)._--,r},Ns=new WeakSet,cc=function(t,r,n,i){let s=r===void 0?void 0:E(this,ie)[r];if(B(this,Ie,Ue).call(this,s))return s;let o=new lc,{signal:a}=n;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let u={signal:o.signal,options:n,context:i},c=(g,y=!1)=>{let{aborted:v}=o.signal,S=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(v&&!y?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,S&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),v&&!S&&!y)return l(o.signal.reason);let b=m;return E(this,ie)[r]===m&&(g===void 0?b.__staleWhileFetching?E(this,ie)[r]=b.__staleWhileFetching:this.delete(t):(n.status&&(n.status.fetchUpdated=!0),this.set(t,g,u.options))),g},f=g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),l(g)),l=g=>{let{aborted:y}=o.signal,v=y&&n.allowStaleOnFetchAbort,S=v||n.allowStaleOnFetchRejection,b=S||n.noDeleteOnFetchRejection,_=m;if(E(this,ie)[r]===m&&(!b||_.__staleWhileFetching===void 0?this.delete(t):v||(E(this,ie)[r]=_.__staleWhileFetching)),S)return n.status&&_.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),_.__staleWhileFetching;if(_.__returned===_)throw g},p=(g,y)=>{var S;let v=(S=E(this,ks))==null?void 0:S.call(this,t,s,u);v&&v instanceof Promise&&v.then(b=>g(b===void 0?void 0:b),y),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=b=>c(b,!0)))})};n.status&&(n.status.fetchDispatched=!0);let m=new Promise(p).then(c,f),h=Object.assign(m,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(t,h,{...u.options,status:void 0}),r=E(this,st).get(t)):E(this,ie)[r]=h,h},Ie=new WeakSet,Ue=function(t){if(!E(this,Kn))return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof lc},la=new WeakSet,Yh=function(t,r){E(this,zt)[r]=t,E(this,Pt)[t]=r},Gi=new WeakSet,sa=function(t){t!==E(this,ct)&&(t===E(this,vt)?J(this,vt,E(this,Pt)[t]):B(this,la,Yh).call(this,E(this,zt)[t],E(this,Pt)[t]),B(this,la,Yh).call(this,E(this,ct),t),J(this,ct,t))};pc.LRUCache=Vh});var Cb=d((gte,Ob)=>{"use strict";var me=(...e)=>e.every(t=>t)?e.join(""):"",Qe=e=>e?encodeURIComponent(e):"",Pb=e=>e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),kU={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${me("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${me("#",n)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i,path:s})=>`https://${e}/${t}/${r}${me("/",i,"/",Qe(n||"HEAD"),"/",s)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:i})=>`https://${e}/${t}/${r}${me("/",i,"/",Qe(n))}`,browsetreetemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,fragment:o,hashformat:a})=>`https://${e}/${t}/${r}/${i}/${Qe(n||"HEAD")}/${s}${me("#",a(o||""))}`,browseblobtemplate:({domain:e,user:t,project:r,committish:n,blobpath:i,path:s,fragment:o,hashformat:a})=>`https://${e}/${t}/${r}/${i}/${Qe(n||"HEAD")}/${s}${me("#",a(o||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:i})=>`https://${e}/${t}/${r}${me("/",n,"/",Qe(i))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${me(e,"@")}${t}/${r}/${n}.git${me("#",i)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/raw/${Qe(n||"HEAD")}/${i}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${me("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${me("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:Pb},zn={};zn.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:e,user:t,project:r,committish:n,path:i})=>`https://${me(e,"@")}raw.githubusercontent.com/${t}/${r}/${Qe(n||"HEAD")}/${i}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git://${me(e,"@")}${t}/${r}/${n}.git${me("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${Qe(n||"HEAD")}`,extract:e=>{let[,t,r,n,i]=e.pathname.split("/",5);if(!(n&&n!=="tree")&&(n||(i=e.hash.slice(1)),r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:i}}};zn.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,editpath:o})=>`https://${e}/${t}/${r}${me("/",i,"/",Qe(n||"HEAD"),"/",s,o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${Qe(n||"HEAD")}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["get"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};zn.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${me(e,"@")}${t}/${r}/${n}.git${me("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${Qe(n||"HEAD")}`,extract:e=>{let t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz"))return;let r=t.split("/"),n=r.pop();n.endsWith(".git")&&(n=n.slice(0,-4));let i=r.join("/");if(!(!i||!n))return{user:i,project:n,committish:e.hash.slice(1)}}};zn.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${me("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${me("#",r)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i})=>`https://${e}/${t}/${r}${me("/",Qe(n))}/${i}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${me("/",Qe(r))}`,browsetreetemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${me("/",Qe(r))}${me("#",i(n))}`,browseblobtemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${me("/",Qe(r))}${me("#",i(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${me("/",Qe(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${me("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${me("/",Qe(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${me("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${me("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${me("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${Qe(t||"HEAD")}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n!=="raw"){if(!r){if(!t)return;r=t,t=null}return r.endsWith(".git")&&(r=r.slice(0,-4)),{user:t,project:r,committish:e.hash.slice(1)}}},hashformat:function(e){return e&&"file-"+Pb(e)}};zn.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/blob/${Qe(n)||"HEAD"}/${i}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${me("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${Qe(n)||"HEAD"}.tar.gz`,bugstemplate:({user:e,project:t})=>null,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["archive"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};for(let[e,t]of Object.entries(zn))zn[e]=Object.assign({},kU,t);Ob.exports=zn});var Jh=d((mte,Ib)=>{var IU=P("url"),Qh=(e,t,r)=>{let n=e.indexOf(r);return e.lastIndexOf(t,n>-1?n:1/0)},kb=e=>{try{return new IU.URL(e)}catch{}},LU=(e,t)=>{let r=e.indexOf(":"),n=e.slice(0,r+1);if(Object.prototype.hasOwnProperty.call(t,n))return e;let i=e.indexOf("@");return i>-1?i>r?`git+ssh://${e}`:e:e.indexOf("//")===r+1?e:`${e.slice(0,r+1)}//${e.slice(r+1)}`},NU=e=>{let t=Qh(e,"@","#"),r=Qh(e,":","#");return r>t&&(e=e.slice(0,r)+"/"+e.slice(r+1)),Qh(e,":","#")===-1&&e.indexOf("//")===-1&&(e=`git+ssh://${e}`),e};Ib.exports=(e,t)=>{let r=t?LU(e,t):e;return kb(r)||kb(NU(r))}});var Nb=d((vte,Lb)=>{"use strict";var xU=Jh(),DU=e=>{let t=e.indexOf("#"),r=e.indexOf("/"),n=e.indexOf("/",r+1),i=e.indexOf(":"),s=/\s/.exec(e),o=e.indexOf("@"),a=!s||t>-1&&s.index>t,u=o===-1||t>-1&&o>t,c=i===-1||t>-1&&i>t,f=n===-1||t>-1&&n>t,l=r>0,p=t>-1?e[t-1]!=="/":!e.endsWith("/"),m=!e.startsWith(".");return a&&l&&p&&m&&u&&c&&f};Lb.exports=(e,t,{gitHosts:r,protocols:n})=>{var g,y;if(!e)return;let i=DU(e)?`github:${e}`:e,s=xU(i,n);if(!s)return;let o=r.byShortcut[s.protocol],a=r.byDomain[s.hostname.startsWith("www.")?s.hostname.slice(4):s.hostname],u=o||a;if(!u)return;let c=r[o||a],f=null;((g=n[s.protocol])==null?void 0:g.auth)&&(s.username||s.password)&&(f=`${s.username}${s.password?":"+s.password:""}`);let l=null,p=null,m=null,h=null;try{if(o){let v=s.pathname.startsWith("/")?s.pathname.slice(1):s.pathname,S=v.indexOf("@");S>-1&&(v=v.slice(S+1));let b=v.lastIndexOf("/");b>-1?(p=decodeURIComponent(v.slice(0,b)),p||(p=null),m=decodeURIComponent(v.slice(b+1))):m=decodeURIComponent(v),m.endsWith(".git")&&(m=m.slice(0,-4)),s.hash&&(l=decodeURIComponent(s.hash.slice(1))),h="shortcut"}else{if(!c.protocols.includes(s.protocol))return;let v=c.extract(s);if(!v)return;p=v.user&&decodeURIComponent(v.user),m=decodeURIComponent(v.project),l=decodeURIComponent(v.committish),h=((y=n[s.protocol])==null?void 0:y.name)||s.protocol.slice(0,-1)}}catch(v){if(v instanceof URIError)return;throw v}return[u,p,f,m,l,h,t]}});var ed=d((yte,xb)=>{"use strict";var{LRUCache:MU}=Rb(),FU=Cb(),GU=Nb(),UU=Jh(),Zh=new MU({max:1e3}),Yn,fa,ot,ht,Wr=class{constructor(t,r,n,i,s,o,a={}){ee(this,ot);Object.assign(this,E(Wr,Yn)[t],{type:t,user:r,auth:n,project:i,committish:s,default:o,opts:a})}static addHost(t,r){E(Wr,Yn)[t]=r,E(Wr,Yn).byDomain[r.domain]=t,E(Wr,Yn).byShortcut[`${t}:`]=t,E(Wr,fa)[`${t}:`]={name:t}}static fromUrl(t,r){if(typeof t!="string")return;let n=t+JSON.stringify(r||{});if(!Zh.has(n)){let i=GU(t,r,{gitHosts:E(Wr,Yn),protocols:E(Wr,fa)});Zh.set(n,i?new Wr(...i):void 0)}return Zh.get(n)}static parseUrl(t){return UU(t)}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return B(this,ot,ht).call(this,this.sshtemplate,t)}sshurl(t){return B(this,ot,ht).call(this,this.sshurltemplate,t)}browse(t,...r){return typeof t!="string"?B(this,ot,ht).call(this,this.browsetemplate,t):typeof r[0]!="string"?B(this,ot,ht).call(this,this.browsetreetemplate,{...r[0],path:t}):B(this,ot,ht).call(this,this.browsetreetemplate,{...r[1],fragment:r[0],path:t})}browseFile(t,...r){return typeof r[0]!="string"?B(this,ot,ht).call(this,this.browseblobtemplate,{...r[0],path:t}):B(this,ot,ht).call(this,this.browseblobtemplate,{...r[1],fragment:r[0],path:t})}docs(t){return B(this,ot,ht).call(this,this.docstemplate,t)}bugs(t){return B(this,ot,ht).call(this,this.bugstemplate,t)}https(t){return B(this,ot,ht).call(this,this.httpstemplate,t)}git(t){return B(this,ot,ht).call(this,this.gittemplate,t)}shortcut(t){return B(this,ot,ht).call(this,this.shortcuttemplate,t)}path(t){return B(this,ot,ht).call(this,this.pathtemplate,t)}tarball(t){return B(this,ot,ht).call(this,this.tarballtemplate,{...t,noCommittish:!1})}file(t,r){return B(this,ot,ht).call(this,this.filetemplate,{...r,path:t})}edit(t,r){return B(this,ot,ht).call(this,this.edittemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&typeof this[this.default]=="function"?this[this.default](t):this.sshurl(t)}},xs=Wr;Yn=new WeakMap,fa=new WeakMap,ot=new WeakSet,ht=function(t,r){if(typeof t!="function")return null;let n={...this,...this.opts,...r};n.path||(n.path=""),n.path.startsWith("/")&&(n.path=n.path.slice(1)),n.noCommittish&&(n.committish=null);let i=t(n);return n.noGitPlus&&i.startsWith("git+")?i.slice(4):i},ee(xs,Yn,{byShortcut:{},byDomain:{}}),ee(xs,fa,{"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}});for(let[e,t]of Object.entries(FU))xs.addHost(e,t);xb.exports=xs});var Mb=d((_te,Db)=>{"use strict";var{URL:BU}=P("url"),qU=new RegExp(/^\/?:?([/\w-.]+)\/([\w-.]+)\/?$/),jU=new RegExp(/^\/repos\/([\w-.]+)\/([\w-.]+)\/(?:tarball|zipball)(?:\/.+)?$/),HU=new RegExp(/^\/([\w-.]+)\/([\w-.]+)\/(?:legacy\.(?:zip|tar\.gz))(?:\/.+)?$/);Db.exports=e=>{let t=e.replace(/^git@/,"https://git@").replace(/git@([.\w]+):(?!\d)/,"git@$1/").replace(/\.git$/,""),r=new BU(t,"https://example.com/"),n=i=>({browse:WU(r,i),domain:r.host,project:i[2]||null,type:$U(r),user:i[1]||null});if(r.host){if(r.host.includes("api.github.com")){let i=jU.exec(r.pathname)||[];return n(i)}if(r.host.includes("codeload.github.com")){let i=HU.exec(r.pathname)||[];return n(i)}}return n(qU.exec(r.pathname)||[])};function $U({host:e}){return typeof e!="string"?null:e.indexOf("github")!==-1?"github":e.indexOf("gitlab")!==-1?"gitlab":null}function WU(e,t){let n=`${e.protocol==="http:"?"http:":"https:"}//${e.host}/${t[1]}/${t[2]}`;return()=>n}});var td=d((bte,Gb)=>{var{exec:VU}=P("child_process"),{valid:Fb}=P("semver"),KU=/tag:\s*(.+?)[,)]/gi,zU="git log --decorate --no-color --date-order",YU=/.+-\w+\.\d+$/;function XU(e,t){return t&&!e.startsWith(`${t}@`)?!1:/^.+@[0-9]+\.[0-9]+\.[0-9]+(-.+)?$/.test(e)}function QU(e={}){return new Promise((t,r)=>{let n={maxBuffer:1/0,cwd:process.cwd(),...e};if(n.package&&!n.lernaTags)throw new Error("opts.package should only be used when running in lerna mode");VU(zU,n,(i,s)=>{if(i){r(i);return}let o=[],a,u,c;s.split(` +`).forEach(f=>{for(;a=KU.exec(f);)u=a[1],!(n.skipUnstable&&YU.test(u))&&(n.lernaTags?XU(u,n.package)&&o.push(u):n.tagPrefix?u.startsWith(n.tagPrefix)&&(c=u.replace(n.tagPrefix,""),Fb(c)&&o.push(u)):Fb(u)&&o.push(u))}),t(o)})})}Gb.exports=QU});var rd=d((Tte,Ub)=>{var JU=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Ub.exports=JU});var nd=d((Ste,Bb)=>{var ZU="2.0.0",e8=Number.MAX_SAFE_INTEGER||9007199254740991,t8=16,r8=256-6,n8=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Bb.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:t8,MAX_SAFE_BUILD_LENGTH:r8,MAX_SAFE_INTEGER:e8,RELEASE_TYPES:n8,SEMVER_SPEC_VERSION:ZU,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var jb=d((_n,qb)=>{var{MAX_SAFE_COMPONENT_LENGTH:id,MAX_SAFE_BUILD_LENGTH:i8,MAX_LENGTH:s8}=nd(),o8=rd();_n=qb.exports={};var a8=_n.re=[],u8=_n.safeRe=[],V=_n.src=[],K=_n.t={},c8=0,sd="[a-zA-Z0-9-]",l8=[["\\s",1],["\\d",s8],[sd,i8]],f8=e=>{for(let[t,r]of l8)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},oe=(e,t,r)=>{let n=f8(t),i=c8++;o8(e,i,t),K[e]=i,V[i]=t,a8[i]=new RegExp(t,r?"g":void 0),u8[i]=new RegExp(n,r?"g":void 0)};oe("NUMERICIDENTIFIER","0|[1-9]\\d*");oe("NUMERICIDENTIFIERLOOSE","\\d+");oe("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${sd}*`);oe("MAINVERSION",`(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})\\.(${V[K.NUMERICIDENTIFIER]})`);oe("MAINVERSIONLOOSE",`(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})\\.(${V[K.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASEIDENTIFIER",`(?:${V[K.NUMERICIDENTIFIER]}|${V[K.NONNUMERICIDENTIFIER]})`);oe("PRERELEASEIDENTIFIERLOOSE",`(?:${V[K.NUMERICIDENTIFIERLOOSE]}|${V[K.NONNUMERICIDENTIFIER]})`);oe("PRERELEASE",`(?:-(${V[K.PRERELEASEIDENTIFIER]}(?:\\.${V[K.PRERELEASEIDENTIFIER]})*))`);oe("PRERELEASELOOSE",`(?:-?(${V[K.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${V[K.PRERELEASEIDENTIFIERLOOSE]})*))`);oe("BUILDIDENTIFIER",`${sd}+`);oe("BUILD",`(?:\\+(${V[K.BUILDIDENTIFIER]}(?:\\.${V[K.BUILDIDENTIFIER]})*))`);oe("FULLPLAIN",`v?${V[K.MAINVERSION]}${V[K.PRERELEASE]}?${V[K.BUILD]}?`);oe("FULL",`^${V[K.FULLPLAIN]}$`);oe("LOOSEPLAIN",`[v=\\s]*${V[K.MAINVERSIONLOOSE]}${V[K.PRERELEASELOOSE]}?${V[K.BUILD]}?`);oe("LOOSE",`^${V[K.LOOSEPLAIN]}$`);oe("GTLT","((?:<|>)?=?)");oe("XRANGEIDENTIFIERLOOSE",`${V[K.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);oe("XRANGEIDENTIFIER",`${V[K.NUMERICIDENTIFIER]}|x|X|\\*`);oe("XRANGEPLAIN",`[v=\\s]*(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:\\.(${V[K.XRANGEIDENTIFIER]})(?:${V[K.PRERELEASE]})?${V[K.BUILD]}?)?)?`);oe("XRANGEPLAINLOOSE",`[v=\\s]*(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${V[K.XRANGEIDENTIFIERLOOSE]})(?:${V[K.PRERELEASELOOSE]})?${V[K.BUILD]}?)?)?`);oe("XRANGE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAIN]}$`);oe("XRANGELOOSE",`^${V[K.GTLT]}\\s*${V[K.XRANGEPLAINLOOSE]}$`);oe("COERCE",`(^|[^\\d])(\\d{1,${id}})(?:\\.(\\d{1,${id}}))?(?:\\.(\\d{1,${id}}))?(?:$|[^\\d])`);oe("COERCERTL",V[K.COERCE],!0);oe("LONETILDE","(?:~>?)");oe("TILDETRIM",`(\\s*)${V[K.LONETILDE]}\\s+`,!0);_n.tildeTrimReplace="$1~";oe("TILDE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAIN]}$`);oe("TILDELOOSE",`^${V[K.LONETILDE]}${V[K.XRANGEPLAINLOOSE]}$`);oe("LONECARET","(?:\\^)");oe("CARETTRIM",`(\\s*)${V[K.LONECARET]}\\s+`,!0);_n.caretTrimReplace="$1^";oe("CARET",`^${V[K.LONECARET]}${V[K.XRANGEPLAIN]}$`);oe("CARETLOOSE",`^${V[K.LONECARET]}${V[K.XRANGEPLAINLOOSE]}$`);oe("COMPARATORLOOSE",`^${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]})$|^$`);oe("COMPARATOR",`^${V[K.GTLT]}\\s*(${V[K.FULLPLAIN]})$|^$`);oe("COMPARATORTRIM",`(\\s*)${V[K.GTLT]}\\s*(${V[K.LOOSEPLAIN]}|${V[K.XRANGEPLAIN]})`,!0);_n.comparatorTrimReplace="$1$2$3";oe("HYPHENRANGE",`^\\s*(${V[K.XRANGEPLAIN]})\\s+-\\s+(${V[K.XRANGEPLAIN]})\\s*$`);oe("HYPHENRANGELOOSE",`^\\s*(${V[K.XRANGEPLAINLOOSE]})\\s+-\\s+(${V[K.XRANGEPLAINLOOSE]})\\s*$`);oe("STAR","(<|>)?=?\\s*\\*");oe("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");oe("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var $b=d((wte,Hb)=>{var p8=Object.freeze({loose:!0}),h8=Object.freeze({}),d8=e=>e?typeof e!="object"?p8:e:h8;Hb.exports=d8});var zb=d((Ate,Kb)=>{var Wb=/^[0-9]+$/,Vb=(e,t)=>{let r=Wb.test(e),n=Wb.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eVb(t,e);Kb.exports={compareIdentifiers:Vb,rcompareIdentifiers:g8}});var Zb=d((Rte,Jb)=>{var hc=rd(),{MAX_LENGTH:Yb,MAX_SAFE_INTEGER:dc}=nd(),{safeRe:Xb,t:Qb}=jb(),m8=$b(),{compareIdentifiers:Ds}=zb(),Xt=class{constructor(t,r){if(r=m8(r),t instanceof Xt){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Yb)throw new TypeError(`version is longer than ${Yb} characters`);hc("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?Xb[Qb.LOOSE]:Xb[Qb.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>dc||this.major<0)throw new TypeError("Invalid major version");if(this.minor>dc||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>dc||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),Ds(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Jb.exports=Xt});var od=d((Pte,tT)=>{var eT=Zb(),v8=(e,t,r=!1)=>{if(e instanceof eT)return e;try{return new eT(e,t)}catch(n){if(!r)return null;throw n}};tT.exports=v8});var nT=d((Ote,rT)=>{var y8=od(),E8=(e,t)=>{let r=y8(e,t);return r?r.version:null};rT.exports=E8});var sT=d((Cte,iT)=>{var _8=od(),b8=(e,t)=>{let r=_8(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};iT.exports=b8});var ad=d((kte,T8)=>{T8.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","BlueOak-1.0.0","Borceux","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Community-Spec-1.0","Condor-1.1","Crossword","CrystalStacker","Cube","D-FSL-1.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Entessa","ErlPL-1.1","Eurosym","FDK-AAC","FSFAP","FSFUL","FSFULLR","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","HPND","HPND-sell-variant","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IJG","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPNIC","JSON","JasPer-2.0","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-copyleft","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-PL","MS-RL","MTLL","MakeIndex","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","QPL-1.0","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TU-Berlin-1.0","TU-Berlin-2.0","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.5","bzip2-1.0.6","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","mpich2","psfrag","psutils","xinetd","xpp","zlib-acknowledgement"]});var oT=d((Ite,S8)=>{S8.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","eCos-2.0","wxWindows"]});var aT=d((Lte,w8)=>{w8.exports=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"]});var cT=d((Nte,uT)=>{"use strict";var A8=[].concat(ad()).concat(oT()),R8=aT();uT.exports=function(e){var t=0;function r(){return t1&&e[t-2]===" ")throw new Error("Space before `+`");return h&&{type:"OPERATOR",string:h}}function o(){return n(/[A-Za-z0-9-.]+/)}function a(){var h=o();if(!h)throw new Error("Expected idstring at offset "+t);return h}function u(){if(n("DocumentRef-")){var h=a();return{type:"DOCUMENTREF",string:h}}}function c(){if(n("LicenseRef-")){var h=a();return{type:"LICENSEREF",string:h}}}function f(){var h=t,g=o();if(A8.indexOf(g)!==-1)return{type:"LICENSE",string:g};if(R8.indexOf(g)!==-1)return{type:"EXCEPTION",string:g};t=h}function l(){return s()||u()||c()||f()}for(var p=[];r()&&(i(),!!r());){var m=l();if(!m)throw new Error("Unexpected `"+e[t]+"` at offset "+t);p.push(m)}return p}});var fT=d((xte,lT)=>{"use strict";lT.exports=function(e){var t=0;function r(){return t{"use strict";var P8=cT(),O8=fT();pT.exports=function(e){return O8(P8(e))}});var _T=d((Mte,ET)=>{var C8=ud(),k8=ad();function gc(e){try{return C8(e),!0}catch{return!1}}var hT=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["-License",""]],I8=0,L8=1,dT=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){return e.indexOf("3.0")!==-1?e+"-or-later":e+"-only"},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],cd=k8.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];return e[r]=e[r]||[],e[r].push(t[0]),e},{}),N8=Object.keys(cd).map(function(t){return[t,cd[t]]}).filter(function(t){return t[1].length===1&&t[0]!==null&&t[0]!=="APL"}).map(function(t){return[t[0],t[1][0]]});cd=void 0;var gT=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(N8),x8=0,D8=1,mT=function(e){for(var t=0;t-1)return n[D8]}return null},yT=function(e,t){for(var r=0;r-1){var s=e.replace(i,n[L8]),o=t(s);if(o!==null)return o}}return null};ET.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(a){return r?M8(a):a}var i=typeof e=="string"&&e.trim().length!==0;if(!i)throw Error("Invalid argument. Expected non-empty string.");if(e=e.trim(),gc(e))return n(e);var s=e.replace(/\+$/,"").trim();if(gc(s))return n(s);var o=mT(e);return o!==null||(o=yT(e,function(a){return gc(a)?a:mT(a)}),o!==null)||(o=vT(e),o!==null)||(o=yT(e,vT),o!==null)?n(o):null};function M8(e){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1?e+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1?e.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1?e+"-or-later":e}});var wT=d((Fte,ST)=>{var F8=ud(),G8=_T(),bT='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN "',U8=/^SEE LICEN[CS]E IN (.+)$/;function TT(e,t){return t.slice(0,e.length)===e}function ld(e){if(e.hasOwnProperty("license")){var t=e.license;return TT("LicenseRef",t)||TT("DocumentRef",t)}else return ld(e.left)||ld(e.right)}ST.exports=function(e){var t;try{t=F8(e)}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=U8.exec(e))return{validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[bT]};if(e.trim().length!==0){var i=G8(e);i&&n.warnings.push('license is similar to the valid expression "'+i+'"')}return n}return ld(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[bT]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}});var PT=d((Gte,RT)=>{"use strict";var B8="Function.prototype.bind called on incompatible ",q8=Object.prototype.toString,j8=Math.max,H8="[object Function]",AT=function(t,r){for(var n=[],i=0;i{"use strict";var V8=PT();OT.exports=Function.prototype.bind||V8});var IT=d((Bte,kT)=>{"use strict";var K8=Function.prototype.call,z8=Object.prototype.hasOwnProperty,Y8=CT();kT.exports=Y8.call(K8,z8)});var LT=d((qte,X8)=>{X8.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var MT=d((jte,DT)=>{"use strict";var Q8=IT();function J8(e,t){for(var r=e.split("."),n=t.split(" "),i=n.length>1?n[0]:"=",s=(n.length>1?n[1]:n[0]).split("."),o=0;o<3;++o){var a=parseInt(r[o]||0,10),u=parseInt(s[o]||0,10);if(a!==u)return i==="<"?a="?a>=u:!1}return i===">="}function NT(e,t){var r=t.split(/ ?&& ?/);if(r.length===0)return!1;for(var n=0;n"u"?process.versions&&process.versions.node:e;if(typeof r!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&typeof t=="object"){for(var n=0;n{FT.exports=e6;function e6(e){if(!e||e==="ERROR: No README data found!")return;e=e.trim().split(` +`);let t=0;for(;e[t]&&e[t].trim().match(/^(#|$)/);)t++;let r=e.length,n=t+1;for(;n{t6.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}}});var HT=d((Wte,jT)=>{var r6=nT(),n6=sT(),i6=wT(),mc=ed(),s6=MT(),o6=["dependencies","devDependencies","optionalDependencies"],a6=GT(),fd=P("url"),Xn=UT(),BT=e=>e.includes("@")&&e.indexOf("@")"u"&&(t={});var r=t.strict;if(!e.name&&!r){e.name="";return}if(typeof e.name!="string")throw new Error("name field must be a string.");r||(e.name=e.name.trim()),l6(e.name,r,t.allowLegacyCase),s6(e.name)&&this.warn("conflictingName",e.name)},fixDescriptionField:function(e){e.description&&typeof e.description!="string"&&(this.warn("nonStringDescription"),delete e.description),e.readme&&!e.description&&(e.description=a6(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn("missingDescription")},fixReadmeField:function(e){e.readme||(this.warn("missingReadme"),e.readme="ERROR: No README data found!")},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=mc.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()})}else if(e.bugs){if(typeof e.bugs=="string")BT(e.bugs)?e.bugs={email:e.bugs}:fd.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else{m6(e.bugs,this.warn);var r=e.bugs;e.bugs={},r.url&&(typeof r.url=="string"&&fd.parse(r.url).protocol?e.bugs.url=r.url:this.warn("nonUrlBugsUrlField")),r.email&&(typeof r.email=="string"&&BT(r.email)?e.bugs.email=r.email:this.warn("nonEmailBugsEmailField"))}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn("emptyNormalizedBugs"))}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=mc.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs())}if(!!e.homepage){if(typeof e.homepage!="string")return this.warn("nonUrlHomepage"),delete e.homepage;fd.parse(e.homepage).protocol||(e.homepage="http://"+e.homepage)}},fixLicenseField:function(e){let t=e.license||e.licence;if(!t)return this.warn("missingLicense");if(typeof t!="string"||t.length<1||t.trim()==="")return this.warn("invalidLicense");if(!i6(t).validForNewPackages)return this.warn("invalidLicense")}};function u6(e){if(e.charAt(0)!=="@")return!1;var t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function c6(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function l6(e,t,r){if(e.charAt(0)==="."||!(u6(e)||c6(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function qT(e,t){return e.author&&(e.author=t(e.author)),["maintainers","contributors"].forEach(function(r){!Array.isArray(e[r])||(e[r]=e[r].map(t))}),e}function f6(e){if(typeof e=="string")return e;var t=e.name||"",r=e.url||e.web,n=r?" ("+r+")":"",i=e.email||e.mail,s=i?" <"+i+">":"";return t+s+n}function p6(e){if(typeof e!="string")return e;var t=e.match(/^([^(<]+)/),r=e.match(/\(([^()]+)\)/),n=e.match(/<([^<>]+)>/),i={};return t&&t[0].trim()&&(i.name=t[0].trim()),n&&(i.email=n[1]),r&&(i.url=r[1]),i}function h6(e,t){var r=e.optionalDependencies;if(!!r){var n=e.dependencies||{};Object.keys(r).forEach(function(i){n[i]=r[i]}),e.dependencies=n}}function d6(e,t,r){if(!e)return{};if(typeof e=="string"&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;r("deprecatedArrayDependencies",t);var n={};return e.filter(function(i){return typeof i=="string"}).forEach(function(i){i=i.trim().split(/(:?[@\s><=])/);var s=i.shift(),o=i.join("");o=o.trim(),o=o.replace(/^@/,""),n[s]=o}),n}function g6(e,t){o6.forEach(function(r){!e[r]||(e[r]=d6(e[r],r,t))})}function m6(e,t){!e||Object.keys(e).forEach(function(r){Xn.bugs[r]&&(t("typo",r,Xn.bugs[r],"bugs"),e[Xn.bugs[r]]=e[r],delete e[r])})}});var $T=d((Vte,v6)=>{v6.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."}});var KT=d((Kte,VT)=>{var WT=P("util"),pd=$T();VT.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==="typo")return y6.apply(null,e);var r=pd[t]?pd[t]:t+": '%s'";return e.unshift(r),WT.format.apply(null,e)};function y6(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),WT.format(pd.typo,e,t)}});var gd=d((zte,XT)=>{XT.exports=zT;var hd=HT();zT.fixer=hd;var E6=KT(),_6=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],b6=["dependencies","people","typos"],dd=_6.map(function(e){return YT(e)+"Field"});dd=dd.concat(b6);function zT(e,t,r){t===!0&&(t=null,r=!0),r||(r=!1),(!t||e.private)&&(t=function(n){}),e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall&&(e.gypfile=!0),hd.warn=function(){t(E6.apply(null,arguments))},dd.forEach(function(n){hd["fix"+YT(n)](e,r)}),e._id=e.name+"@"+e.version}function YT(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var QT=d((Yte,T6)=>{T6.exports={issue:"issues",commit:"commit",referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#","gh-"]}});var JT=d((Xte,S6)=>{S6.exports={issue:"issue",commit:"commits",referenceActions:["close","closes","closed","closing","fix","fixes","fixed","fixing","resolve","resolves","resolved","resolving"],issuePrefixes:["#"]}});var ZT=d((Qte,w6)=>{w6.exports={issue:"issues",commit:"commit",referenceActions:["close","closes","closed","closing","fix","fixes","fixed","fixing"],issuePrefixes:["#"]}});var t2=d((Jte,e2)=>{"use strict";e2.exports=function(t){return t?t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function:!1}});var n2=d((Zte,r2)=>{"use strict";var A6=P("util"),R6=t2(),md=function(t,r){(!t||t.constructor!==String)&&(r=t||{},t=Error.name);var n=function i(s){if(!this)return new i(s);s=s instanceof Error?s.message:s||this.message,Error.call(this,s),Error.captureStackTrace(this,n),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var f=s.split(/\r?\n/g);for(var l in r)if(!!r.hasOwnProperty(l)){var p=r[l];"message"in p&&(f=p.message(this[l],f)||f,R6(f)||(f=[f]))}return f.join(` +`)},set:function(f){s=f}});var o=null,a=Object.getOwnPropertyDescriptor(this,"stack"),u=a.get,c=a.value;delete a.value,delete a.writable,a.set=function(f){o=f},a.get=function(){var f=(o||(u?u.call(this):c)).split(/\r?\n+/g);o||(f[0]=this.name+": "+this.message);var l=1;for(var p in r)if(!!r.hasOwnProperty(p)){var m=r[p];if("line"in m){var h=m.line(this[p]);h&&f.splice(l++,0," "+h)}"stack"in m&&m.stack(this[p],f)}return f.join(` +`)},Object.defineProperty(this,"stack",a)};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):A6.inherits(n,Error),n};md.append=function(e,t){return{message:function(r,n){return r=r||t,r&&(n[0]+=" "+e.replace("%s",r.toString())),n}}};md.line=function(e,t){return{line:function(r){return r=r||t,r?e.replace("%s",r.toString()):null}}};r2.exports=md});var o2=d((ere,s2)=>{"use strict";var P6=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t},O6=(e,t,r)=>{if(!t)return{message:e.message+" while parsing empty string",position:0};let n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),i=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,s=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${P6(n[1])})`):e.message;if(i!=null){let o=i<=r?0:i-r,a=i+r>=t.length?t.length:i+r,u=(o===0?"":"...")+t.slice(o,a)+(a===t.length?"":"...");return{message:s+` while parsing ${t===u?"":"near "}${JSON.stringify(u)}`,position:i}}else return{message:s+` while parsing '${t.slice(0,r*2)}'`,position:0}},vc=class extends SyntaxError{constructor(t,r,n,i){n=n||20;let s=O6(t,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},C6=Symbol.for("indent"),k6=Symbol.for("newline"),I6=/^\s*[{[]((?:\r?\n)+)([\s\t]*)/,L6=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,yc=(e,t,r)=>{let n=i2(e);r=r||20;try{let[,i=` +`,s=" "]=n.match(L6)||n.match(I6)||[null,"",""],o=JSON.parse(n,t);return o&&typeof o=="object"&&(o[k6]=i,o[C6]=s),o}catch(i){if(typeof e!="string"&&!Buffer.isBuffer(e)){let s=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${s?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:i})}throw new vc(i,n,r,yc)}},i2=e=>String(e).replace(/^\uFEFF/,"");s2.exports=yc;yc.JSONParseError=vc;yc.noExceptions=(e,t)=>{try{return JSON.parse(i2(e),t)}catch{}}});var a2=d(Ec=>{Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;Ec.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var p2=d(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.isIdentifierChar=f2;pa.isIdentifierName=M6;pa.isIdentifierStart=l2;var yd="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",u2="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",N6=new RegExp("["+yd+"]"),x6=new RegExp("["+yd+u2+"]");yd=u2=null;var c2=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],D6=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function vd(e,t){let r=65536;for(let n=0,i=t.length;ne)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function l2(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&N6.test(String.fromCharCode(e)):vd(e,c2)}function f2(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&x6.test(String.fromCharCode(e)):vd(e,c2)||vd(e,D6)}function M6(e){let t=!0;for(let r=0;r{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.isKeyword=q6;Ui.isReservedWord=h2;Ui.isStrictBindOnlyReservedWord=g2;Ui.isStrictBindReservedWord=B6;Ui.isStrictReservedWord=d2;var Ed={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},F6=new Set(Ed.keyword),G6=new Set(Ed.strict),U6=new Set(Ed.strictBind);function h2(e,t){return t&&e==="await"||e==="enum"}function d2(e,t){return h2(e,t)||G6.has(e)}function g2(e){return U6.has(e)}function B6(e,t){return d2(e,t)||g2(e)}function q6(e){return F6.has(e)}});var v2=d(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Object.defineProperty(Vr,"isIdentifierChar",{enumerable:!0,get:function(){return _d.isIdentifierChar}});Object.defineProperty(Vr,"isIdentifierName",{enumerable:!0,get:function(){return _d.isIdentifierName}});Object.defineProperty(Vr,"isIdentifierStart",{enumerable:!0,get:function(){return _d.isIdentifierStart}});Object.defineProperty(Vr,"isKeyword",{enumerable:!0,get:function(){return ha.isKeyword}});Object.defineProperty(Vr,"isReservedWord",{enumerable:!0,get:function(){return ha.isReservedWord}});Object.defineProperty(Vr,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ha.isStrictBindOnlyReservedWord}});Object.defineProperty(Vr,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ha.isStrictBindReservedWord}});Object.defineProperty(Vr,"isStrictReservedWord",{enumerable:!0,get:function(){return ha.isStrictReservedWord}});var _d=p2(),ha=m2()});var bd=d((sre,y2)=>{"use strict";var j6=/[|\\{}()[\]^$+*?.]/g;y2.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(j6,"\\$&")}});var _2=d((ore,E2)=>{"use strict";E2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Td=d((are,w2)=>{var Bi=_2(),S2={};for(_c in Bi)Bi.hasOwnProperty(_c)&&(S2[Bi[_c]]=_c);var _c,Y=w2.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Ct in Y)if(Y.hasOwnProperty(Ct)){if(!("channels"in Y[Ct]))throw new Error("missing channels property: "+Ct);if(!("labels"in Y[Ct]))throw new Error("missing channel labels property: "+Ct);if(Y[Ct].labels.length!==Y[Ct].channels)throw new Error("channel and label counts mismatch: "+Ct);b2=Y[Ct].channels,T2=Y[Ct].labels,delete Y[Ct].channels,delete Y[Ct].labels,Object.defineProperty(Y[Ct],"channels",{value:b2}),Object.defineProperty(Y[Ct],"labels",{value:T2})}var b2,T2,Ct;Y.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),o=s-i,a,u,c;return s===i?a=0:t===s?a=(r-n)/o:r===s?a=2+(n-t)/o:n===s&&(a=4+(t-r)/o),a=Math.min(a*60,360),a<0&&(a+=360),c=(i+s)/2,s===i?u=0:c<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,c*100]};Y.rgb.hsv=function(e){var t,r,n,i,s,o=e[0]/255,a=e[1]/255,u=e[2]/255,c=Math.max(o,a,u),f=c-Math.min(o,a,u),l=function(p){return(c-p)/6/f+1/2};return f===0?i=s=0:(s=f/c,t=l(o),r=l(a),n=l(u),o===c?i=n-r:a===c?i=1/3+t-n:u===c&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,c*100]};Y.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=Y.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};Y.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i,s,o,a;return a=Math.min(1-t,1-r,1-n),i=(1-t-a)/(1-a)||0,s=(1-r-a)/(1-a)||0,o=(1-n-a)/(1-a)||0,[i*100,s*100,o*100,a*100]};function H6(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}Y.rgb.keyword=function(e){var t=S2[e];if(t)return t;var r=1/0,n;for(var i in Bi)if(Bi.hasOwnProperty(i)){var s=Bi[i],o=H6(e,s);o.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};Y.rgb.lab=function(e){var t=Y.rgb.xyz(e),r=t[0],n=t[1],i=t[2],s,o,a;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,o=500*(r-n),a=200*(n-i),[s,o,a]};Y.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,s,o,a,u;if(r===0)return u=n*255,[u,u,u];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,a=[0,0,0];for(var c=0;c<3;c++)o=t+1/3*-(c-1),o<0&&o++,o>1&&o--,6*o<1?u=i+(s-i)*6*o:2*o<1?u=s:3*o<2?u=i+(s-i)*(2/3-o)*6:u=i,a[c]=u*255;return a};Y.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01),o,a;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,a=(n+r)/2,o=n===0?2*i/(s+i):2*r/(n+r),[t,o*100,a*100]};Y.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};Y.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),s,o,a;return a=(2-r)*n,s=(2-r)*i,o=r*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,o*100,a*100]};Y.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,s,o,a,u;i>1&&(r/=i,n/=i),s=Math.floor(6*t),o=1-n,a=6*t-s,(s&1)!==0&&(a=1-a),u=r+a*(o-r);var c,f,l;switch(s){default:case 6:case 0:c=o,f=u,l=r;break;case 1:c=u,f=o,l=r;break;case 2:c=r,f=o,l=u;break;case 3:c=r,f=u,l=o;break;case 4:c=u,f=r,l=o;break;case 5:c=o,f=r,l=u;break}return[c*255,f*255,l*255]};Y.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s,o,a;return s=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),[s*255,o*255,a*255]};Y.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i,s,o;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};Y.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(t-r),o=200*(r-n),[i,s,o]};Y.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;s=(t+16)/116,i=r/500+s,o=s-n/200;var a=Math.pow(s,3),u=Math.pow(i,3),c=Math.pow(o,3);return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};Y.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),o=Math.sqrt(r*r+n*n),[t,o,s]};Y.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return o=n/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o),[t,i,s]};Y.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:Y.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return i===2&&(s+=60),s};Y.hsv.ansi16=function(e){return Y.rgb.ansi16(Y.hsv.rgb(e),e[2])};Y.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};Y.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};Y.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};Y.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};Y.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(a){return a+a}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};Y.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===t?u=(r-n)/o%6:i===r?u=2+(n-t)/o:u=4+(t-r)/o+4,u/=6,u%=1,[u*360,o*100,a*100]};Y.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};Y.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};Y.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=t%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};Y.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};Y.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};Y.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};Y.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};Y.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Y.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Y.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Y.gray.hsl=Y.gray.hsv=function(e){return[0,0,e[0]]};Y.gray.hwb=function(e){return[0,100,e[0]]};Y.gray.cmyk=function(e){return[0,0,0,e[0]]};Y.gray.lab=function(e){return[e[0],0,0]};Y.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};Y.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var R2=d((ure,A2)=>{var bc=Td();function $6(){for(var e={},t=Object.keys(bc),r=t.length,n=0;n{var Sd=Td(),z6=R2(),Ms={},Y6=Object.keys(Sd);function X6(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function Q6(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var i=n.length,s=0;s{"use strict";var Fs=O2(),Tc=(e,t)=>function(){return`\x1B[${e.apply(Fs,arguments)+t}m`},Sc=(e,t)=>function(){let r=e.apply(Fs,arguments);return`\x1B[${38+t};5;${r}m`},wc=(e,t)=>function(){let r=e.apply(Fs,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function J6(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let s=t[i];for(let o of Object.keys(s)){let a=s[o];t[o]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},s[o]=t[o],e.set(a[0],a[1])}Object.defineProperty(t,i,{value:s,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=i=>i,n=(i,s,o)=>[i,s,o];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Tc(r,0)},t.color.ansi256={ansi256:Sc(r,0)},t.color.ansi16m={rgb:wc(n,0)},t.bgColor.ansi={ansi:Tc(r,10)},t.bgColor.ansi256={ansi256:Sc(r,10)},t.bgColor.ansi16m={rgb:wc(n,10)};for(let i of Object.keys(Fs)){if(typeof Fs[i]!="object")continue;let s=Fs[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(t.color.ansi[i]=Tc(s.ansi16,0),t.bgColor.ansi[i]=Tc(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[i]=Sc(s.ansi256,0),t.bgColor.ansi256[i]=Sc(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[i]=wc(s.rgb,0),t.bgColor.ansi16m[i]=wc(s.rgb,10))}return t}Object.defineProperty(C2,"exports",{enumerable:!0,get:J6})});var L2=d((fre,I2)=>{"use strict";I2.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1?!0:n{"use strict";var Z6=P("os"),kr=L2(),yt=process.env,Gs;kr("no-color")||kr("no-colors")||kr("color=false")?Gs=!1:(kr("color")||kr("colors")||kr("color=true")||kr("color=always"))&&(Gs=!0);"FORCE_COLOR"in yt&&(Gs=yt.FORCE_COLOR.length===0||parseInt(yt.FORCE_COLOR,10)!==0);function eB(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function tB(e){if(Gs===!1)return 0;if(kr("color=16m")||kr("color=full")||kr("color=truecolor"))return 3;if(kr("color=256"))return 2;if(e&&!e.isTTY&&Gs!==!0)return 0;let t=Gs?1:0;if(process.platform==="win32"){let r=Z6.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in yt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in yt)||yt.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in yt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(yt.TEAMCITY_VERSION)?1:0;if(yt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in yt){let r=parseInt((yt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(yt.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(yt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(yt.TERM)||"COLORTERM"in yt?1:(yt.TERM==="dumb",t)}function wd(e){let t=tB(e);return eB(t)}N2.exports={supportsColor:wd,stdout:wd(process.stdout),stderr:wd(process.stderr)}});var U2=d((hre,G2)=>{"use strict";var rB=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,D2=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,nB=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,iB=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,sB=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function F2(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):sB.get(e)||e}function oB(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(nB))r.push(i[2].replace(iB,(o,a,u)=>a?F2(a):u));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);return r}function aB(e){D2.lastIndex=0;let t=[],r;for(;(r=D2.exec(e))!==null;){let n=r[1];if(r[2]){let i=oB(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}function M2(e,t){let r={};for(let i of t)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=e;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}G2.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(rB,(s,o,a,u,c,f)=>{if(o)i.push(F2(o));else if(u){let l=i.join("");i=[],n.push(r.length===0?l:M2(e,r)(l)),r.push({inverse:a,styles:aB(u)})}else if(c){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(M2(e,r)(i.join(""))),i=[],r.pop()}else i.push(f)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var $2=d((dre,ga)=>{"use strict";var Rd=bd(),Je=k2(),Ad=x2().stdout,uB=U2(),q2=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),j2=["ansi","ansi","ansi256","ansi16m"],H2=new Set(["gray"]),Us=Object.create(null);function B2(e,t){t=t||{};let r=Ad?Ad.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function da(e){if(!this||!(this instanceof da)||this.template){let t={};return B2(t,e),t.template=function(){let r=[].slice.call(arguments);return fB.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,da.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=da,t.template}B2(this,e)}q2&&(Je.blue.open="\x1B[94m");for(let e of Object.keys(Je))Je[e].closeRe=new RegExp(Rd(Je[e].close),"g"),Us[e]={get(){let t=Je[e];return Ac.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Us.visible={get(){return Ac.call(this,this._styles||[],!0,"visible")}};Je.color.closeRe=new RegExp(Rd(Je.color.close),"g");for(let e of Object.keys(Je.color.ansi))H2.has(e)||(Us[e]={get(){let t=this.level;return function(){let n={open:Je.color[j2[t]][e].apply(null,arguments),close:Je.color.close,closeRe:Je.color.closeRe};return Ac.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});Je.bgColor.closeRe=new RegExp(Rd(Je.bgColor.close),"g");for(let e of Object.keys(Je.bgColor.ansi)){if(H2.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Us[t]={get(){let r=this.level;return function(){let i={open:Je.bgColor[j2[r]][e].apply(null,arguments),close:Je.bgColor.close,closeRe:Je.bgColor.closeRe};return Ac.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var cB=Object.defineProperties(()=>{},Us);function Ac(e,t,r){let n=function(){return lB.apply(n,arguments)};n._styles=e,n._empty=t;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=cB,n}function lB(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.default=yB;ma.shouldHighlight=Y2;var W2=a2(),V2=v2(),Od=pB($2(),!0);function K2(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(K2=function(n){return n?r:t})(e)}function pB(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=K2(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}var hB=new Set(["as","async","from","get","of","set"]);function dB(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}var gB=/\r\n|[\n\r\u2028\u2029]/,mB=/^[()[\]{}]$/,z2;{let e=/^[a-z][\w-]*$/i,t=function(r,n,i){if(r.type==="name"){if((0,V2.isKeyword)(r.value)||(0,V2.isStrictReservedWord)(r.value,!0)||hB.has(r.value))return"keyword";if(e.test(r.value)&&(i[n-1]==="<"||i.slice(n-2,n)=="s(o)).join(` +`):r+=i}return r}function Y2(e){return Od.default.level>0||e.forceColor}var Pd;function X2(e){if(e){var t;return(t=Pd)!=null||(Pd=new Od.default.constructor({enabled:!0,level:1})),Pd}return Od.default}ma.getChalk=e=>X2(e.forceColor);function yB(e,t={}){if(e!==""&&Y2(t)){let r=dB(X2(t.forceColor));return vB(r,e)}else return e}});var Z2=d((mre,J2)=>{"use strict";J2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Cd=d((vre,nS)=>{var qi=Z2(),rS={};for(Rc in qi)qi.hasOwnProperty(Rc)&&(rS[qi[Rc]]=Rc);var Rc,X=nS.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(kt in X)if(X.hasOwnProperty(kt)){if(!("channels"in X[kt]))throw new Error("missing channels property: "+kt);if(!("labels"in X[kt]))throw new Error("missing channel labels property: "+kt);if(X[kt].labels.length!==X[kt].channels)throw new Error("channel and label counts mismatch: "+kt);eS=X[kt].channels,tS=X[kt].labels,delete X[kt].channels,delete X[kt].labels,Object.defineProperty(X[kt],"channels",{value:eS}),Object.defineProperty(X[kt],"labels",{value:tS})}var eS,tS,kt;X.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),o=s-i,a,u,c;return s===i?a=0:t===s?a=(r-n)/o:r===s?a=2+(n-t)/o:n===s&&(a=4+(t-r)/o),a=Math.min(a*60,360),a<0&&(a+=360),c=(i+s)/2,s===i?u=0:c<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,c*100]};X.rgb.hsv=function(e){var t,r,n,i,s,o=e[0]/255,a=e[1]/255,u=e[2]/255,c=Math.max(o,a,u),f=c-Math.min(o,a,u),l=function(p){return(c-p)/6/f+1/2};return f===0?i=s=0:(s=f/c,t=l(o),r=l(a),n=l(u),o===c?i=n-r:a===c?i=1/3+t-n:u===c&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,c*100]};X.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=X.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};X.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i,s,o,a;return a=Math.min(1-t,1-r,1-n),i=(1-t-a)/(1-a)||0,s=(1-r-a)/(1-a)||0,o=(1-n-a)/(1-a)||0,[i*100,s*100,o*100,a*100]};function EB(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}X.rgb.keyword=function(e){var t=rS[e];if(t)return t;var r=1/0,n;for(var i in qi)if(qi.hasOwnProperty(i)){var s=qi[i],o=EB(e,s);o.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};X.rgb.lab=function(e){var t=X.rgb.xyz(e),r=t[0],n=t[1],i=t[2],s,o,a;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,o=500*(r-n),a=200*(n-i),[s,o,a]};X.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,s,o,a,u;if(r===0)return u=n*255,[u,u,u];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,a=[0,0,0];for(var c=0;c<3;c++)o=t+1/3*-(c-1),o<0&&o++,o>1&&o--,6*o<1?u=i+(s-i)*6*o:2*o<1?u=s:3*o<2?u=i+(s-i)*(2/3-o)*6:u=i,a[c]=u*255;return a};X.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,s=Math.max(n,.01),o,a;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,a=(n+r)/2,o=n===0?2*i/(s+i):2*r/(n+r),[t,o*100,a*100]};X.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};X.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),s,o,a;return a=(2-r)*n,s=(2-r)*i,o=r*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,o*100,a*100]};X.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,s,o,a,u;i>1&&(r/=i,n/=i),s=Math.floor(6*t),o=1-n,a=6*t-s,(s&1)!==0&&(a=1-a),u=r+a*(o-r);var c,f,l;switch(s){default:case 6:case 0:c=o,f=u,l=r;break;case 1:c=u,f=o,l=r;break;case 2:c=r,f=o,l=u;break;case 3:c=r,f=u,l=o;break;case 4:c=u,f=r,l=o;break;case 5:c=o,f=r,l=u;break}return[c*255,f*255,l*255]};X.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s,o,a;return s=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),[s*255,o*255,a*255]};X.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i,s,o;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};X.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(t-r),o=200*(r-n),[i,s,o]};X.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;s=(t+16)/116,i=r/500+s,o=s-n/200;var a=Math.pow(s,3),u=Math.pow(i,3),c=Math.pow(o,3);return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};X.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),o=Math.sqrt(r*r+n*n),[t,o,s]};X.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],i,s,o;return o=n/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o),[t,i,s]};X.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:X.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return i===2&&(s+=60),s};X.hsv.ansi16=function(e){return X.rgb.ansi16(X.hsv.rgb(e),e[2])};X.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};X.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};X.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};X.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};X.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(a){return a+a}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};X.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===t?u=(r-n)/o%6:i===r?u=2+(n-t)/o:u=4+(t-r)/o+4,u/=6,u%=1,[u*360,o*100,a*100]};X.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};X.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};X.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=t%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};X.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};X.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};X.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};X.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};X.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};X.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};X.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};X.gray.hsl=X.gray.hsv=function(e){return[0,0,e[0]]};X.gray.hwb=function(e){return[0,100,e[0]]};X.gray.cmyk=function(e){return[0,0,0,e[0]]};X.gray.lab=function(e){return[e[0],0,0]};X.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};X.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var sS=d((yre,iS)=>{var Pc=Cd();function _B(){for(var e={},t=Object.keys(Pc),r=t.length,n=0;n{var kd=Cd(),wB=sS(),Bs={},AB=Object.keys(kd);function RB(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function PB(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var i=n.length,s=0;s{"use strict";var qs=aS(),Oc=(e,t)=>function(){return`\x1B[${e.apply(qs,arguments)+t}m`},Cc=(e,t)=>function(){let r=e.apply(qs,arguments);return`\x1B[${38+t};5;${r}m`},kc=(e,t)=>function(){let r=e.apply(qs,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function OB(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let s=t[i];for(let o of Object.keys(s)){let a=s[o];t[o]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},s[o]=t[o],e.set(a[0],a[1])}Object.defineProperty(t,i,{value:s,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=i=>i,n=(i,s,o)=>[i,s,o];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Oc(r,0)},t.color.ansi256={ansi256:Cc(r,0)},t.color.ansi16m={rgb:kc(n,0)},t.bgColor.ansi={ansi:Oc(r,10)},t.bgColor.ansi256={ansi256:Cc(r,10)},t.bgColor.ansi16m={rgb:kc(n,10)};for(let i of Object.keys(qs)){if(typeof qs[i]!="object")continue;let s=qs[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(t.color.ansi[i]=Oc(s.ansi16,0),t.bgColor.ansi[i]=Oc(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[i]=Cc(s.ansi256,0),t.bgColor.ansi256[i]=Cc(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[i]=kc(s.rgb,0),t.bgColor.ansi16m[i]=kc(s.rgb,10))}return t}Object.defineProperty(uS,"exports",{enumerable:!0,get:OB})});var fS=d((bre,lS)=>{"use strict";lS.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1?!0:n{"use strict";var CB=P("os"),Ir=fS(),Et=process.env,js;Ir("no-color")||Ir("no-colors")||Ir("color=false")?js=!1:(Ir("color")||Ir("colors")||Ir("color=true")||Ir("color=always"))&&(js=!0);"FORCE_COLOR"in Et&&(js=Et.FORCE_COLOR.length===0||parseInt(Et.FORCE_COLOR,10)!==0);function kB(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function IB(e){if(js===!1)return 0;if(Ir("color=16m")||Ir("color=full")||Ir("color=truecolor"))return 3;if(Ir("color=256"))return 2;if(e&&!e.isTTY&&js!==!0)return 0;let t=js?1:0;if(process.platform==="win32"){let r=CB.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Et)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in Et)||Et.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Et)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Et.TEAMCITY_VERSION)?1:0;if(Et.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Et){let r=parseInt((Et.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Et.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Et.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Et.TERM)||"COLORTERM"in Et?1:(Et.TERM==="dumb",t)}function Id(e){let t=IB(e);return kB(t)}pS.exports={supportsColor:Id,stdout:Id(process.stdout),stderr:Id(process.stderr)}});var yS=d((Sre,vS)=>{"use strict";var LB=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,dS=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,NB=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,xB=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,DB=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function mS(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):DB.get(e)||e}function MB(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(NB))r.push(i[2].replace(xB,(o,a,u)=>a?mS(a):u));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`);return r}function FB(e){dS.lastIndex=0;let t=[],r;for(;(r=dS.exec(e))!==null;){let n=r[1];if(r[2]){let i=MB(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}function gS(e,t){let r={};for(let i of t)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=e;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}vS.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(LB,(s,o,a,u,c,f)=>{if(o)i.push(mS(o));else if(u){let l=i.join("");i=[],n.push(r.length===0?l:gS(e,r)(l)),r.push({inverse:a,styles:FB(u)})}else if(c){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(gS(e,r)(i.join(""))),i=[],r.pop()}else i.push(f)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var SS=d((wre,ya)=>{"use strict";var Nd=bd(),Ze=cS(),Ld=hS().stdout,GB=yS(),_S=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),bS=["ansi","ansi","ansi256","ansi16m"],TS=new Set(["gray"]),Hs=Object.create(null);function ES(e,t){t=t||{};let r=Ld?Ld.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function va(e){if(!this||!(this instanceof va)||this.template){let t={};return ES(t,e),t.template=function(){let r=[].slice.call(arguments);return qB.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=va,t.template}ES(this,e)}_S&&(Ze.blue.open="\x1B[94m");for(let e of Object.keys(Ze))Ze[e].closeRe=new RegExp(Nd(Ze[e].close),"g"),Hs[e]={get(){let t=Ze[e];return Ic.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Hs.visible={get(){return Ic.call(this,this._styles||[],!0,"visible")}};Ze.color.closeRe=new RegExp(Nd(Ze.color.close),"g");for(let e of Object.keys(Ze.color.ansi))TS.has(e)||(Hs[e]={get(){let t=this.level;return function(){let n={open:Ze.color[bS[t]][e].apply(null,arguments),close:Ze.color.close,closeRe:Ze.color.closeRe};return Ic.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});Ze.bgColor.closeRe=new RegExp(Nd(Ze.bgColor.close),"g");for(let e of Object.keys(Ze.bgColor.ansi)){if(TS.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Hs[t]={get(){let r=this.level;return function(){let i={open:Ze.bgColor[bS[r]][e].apply(null,arguments),close:Ze.bgColor.close,closeRe:Ze.bgColor.closeRe};return Ic.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var UB=Object.defineProperties(()=>{},Hs);function Ic(e,t,r){let n=function(){return BB.apply(n,arguments)};n._styles=e,n._empty=t;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=UB,n}function BB(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.codeFrameColumns=CS;Lc.default=VB;var wS=Q2(),AS=jB(SS(),!0);function OS(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(OS=function(n){return n?r:t})(e)}function jB(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=OS(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}var xd;function HB(e){if(e){var t;return(t=xd)!=null||(xd=new AS.default.constructor({enabled:!0,level:1})),xd}return AS.default}var RS=!1;function $B(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var PS=/\r\n|[\n\r\u2028\u2029]/;function WB(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,c=i.line,f=i.column,l=Math.max(a-(s+1),0),p=Math.min(t.length,c+o);a===-1&&(l=0),c===-1&&(p=t.length);let m=c-a,h={};if(m)for(let g=0;g<=m;g++){let y=g+a;if(!u)h[y]=!0;else if(g===0){let v=t[y-1].length;h[y]=[u,v-u+1]}else if(g===m)h[y]=[0,f];else{let v=t[y-g].length;h[y]=[0,v]}}else u===f?u?h[a]=[u,0]:h[a]=!0:h[a]=[u,f-u];return{start:l,end:p,markerLines:h}}function CS(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,wS.shouldHighlight)(r),i=HB(r.forceColor),s=$B(i),o=(g,y)=>n?g(y):y,a=e.split(PS),{start:u,end:c,markerLines:f}=WB(t,a,r),l=t.start&&typeof t.start.column=="number",p=String(c).length,h=(n?(0,wS.default)(e,r):e).split(PS,c).slice(u,c).map((g,y)=>{let v=u+1+y,b=` ${` ${v}`.slice(-p)} |`,_=f[v],O=!f[v+1];if(_){let R="";if(Array.isArray(_)){let C=g.slice(0,Math.max(_[0]-1,0)).replace(/[^\t]/g," "),x=_[1]||1;R=[` + `,o(s.gutter,b.replace(/\d/g," "))," ",C,o(s.marker,"^").repeat(x)].join(""),O&&r.message&&(R+=" "+o(s.message,r.message))}return[o(s.marker,">"),o(s.gutter,b),g.length>0?` ${g}`:"",R].join("")}else return` ${o(s.gutter,b)}${g.length>0?` ${g}`:""}`}).join(` +`);return r.message&&!l&&(h=`${" ".repeat(p+1)}${r.message} +${h}`),n?i.reset(h):h}function VB(e,t,r,n={}){if(!RS){RS=!0;let s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(s,"DeprecationWarning");else{let o=new Error(s);o.name="DeprecationWarning",console.warn(new Error(s))}}return r=Math.max(r,0),CS(e,{start:{column:r,line:t}},n)}});var Nc,IS,LS,NS=_r(()=>{Nc=` +`,IS="\r",LS=function(){function e(t){this.length=t.length;for(var r=[0],n=0;nthis.length)return null;for(var r=0,n=this.offsets;n[r+1]<=t;)r++;var i=t-n[r];return{line:r,column:i}},e.prototype.indexForLocation=function(t){var r=t.line,n=t.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},e.prototype.lengthOfLine=function(t){var r=this.offsets[t],n=t===this.offsets.length-1?this.length:this.offsets[t+1];return n-r},e}()});function Dd(e,t,r){typeof t=="string"&&(r=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw(0,xS.default)(e,t),n}}catch(n){n.message=n.message.replace(/\n/g,"");let i=n.message.match(/in JSON at position (\d+) while parsing/),s=new KB(n);if(r&&(s.fileName=r),i&&i.length>0){let o=new LS(e),a=Number(i[1]),u=o.locationForIndex(a),c=({highlightCode:f})=>(0,DS.codeFrameColumns)(e,{start:{line:u.line+1,column:u.column+1}},{highlightCode:f});s.codeFrame=c({highlightCode:!0}),s.rawCodeFrame=c({highlightCode:!1})}throw s}}var xc,xS,DS,KB,MS=_r(()=>{xc=Ne(n2(),1),xS=Ne(o2(),1),DS=Ne(kS(),1);NS();KB=(0,xc.default)("JSONError",{fileName:xc.default.append("in %s"),codeFrame:xc.default.append(` %s -`)})});var IC={};yf(IC,{parsePackage:()=>xX,readPackage:()=>D0,readPackageSync:()=>M0});async function D0({cwd:e,normalize:t=!0}={}){let r=await RC.default.readFile(kC(e),"utf8");return N0(r,t)}function M0({cwd:e,normalize:t=!0}={}){let r=AC.default.readFileSync(kC(e),"utf8");return N0(r,t)}function xX(e,{normalize:t=!0}={}){let r=e!==null&&typeof e=="object"&&!Array.isArray(e);if(!r&&!(typeof e=="string"))throw new TypeError("`packageFile` should be either an `object` or a `string`.");let i=r?globalThis.structuredClone===void 0?{...e}:structuredClone(e):e;return N0(i,t)}var AC,RC,PC,OC,CC,LX,kC,N0,F0=$n(()=>{AC=At(F("fs"),1),RC=At(F("fs/promises"),1),PC=At(F("path"),1),OC=F("url");SC();CC=At(h0(),1),LX=e=>e instanceof URL?(0,OC.fileURLToPath)(e):e,kC=e=>{var t;return PC.default.resolve((t=LX(e))!=null?t:".","package.json")},N0=(e,t)=>{let r=typeof e=="string"?x0(e):e;return t&&(0,CC.default)(r),r}});var G0,Ei,Go,Uo,Dc,LC=$n(()=>{G0=class{value;next;constructor(t){this.value=t}},Dc=class{constructor(){Se(this,Ei,void 0);Se(this,Go,void 0);Se(this,Uo,void 0);this.clear()}enqueue(t){let r=new G0(t);R(this,Ei)?(R(this,Go).next=r,ye(this,Go,r)):(ye(this,Ei,r),ye(this,Go,r)),So(this,Uo)._++}dequeue(){let t=R(this,Ei);if(!!t)return ye(this,Ei,R(this,Ei).next),So(this,Uo)._--,t.value}clear(){ye(this,Ei,void 0),ye(this,Go,void 0),ye(this,Uo,0)}get size(){return R(this,Uo)}*[Symbol.iterator](){let t=R(this,Ei);for(;t;)yield t.value,t=t.next}};Ei=new WeakMap,Go=new WeakMap,Uo=new WeakMap});function xp(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new Dc,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},i=async(c,l,p)=>{r++;let d=(async()=>c(...p))();l(d);try{await d}catch{}n()},s=(c,l,p)=>{t.enqueue(i.bind(void 0,c,l,p)),(async()=>(await Promise.resolve(),r0&&t.dequeue()()))()},o=(c,...l)=>new Promise(p=>{s(c,p,l)});return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o}var xC=$n(()=>{LC()});async function U0(e,t,{concurrency:r=Number.POSITIVE_INFINITY,preserveOrder:n=!0}={}){let i=xp(r),s=[...e].map(c=>[c,i(NX,c,t)]),o=xp(n?1:Number.POSITIVE_INFINITY);try{await Promise.all(s.map(c=>o(DX,c)))}catch(c){if(c instanceof Np)return c.value;throw c}}var Np,NX,DX,NC=$n(()=>{xC();Np=class extends Error{constructor(t){super(),this.value=t}},NX=async(e,t)=>t(await e),DX=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new Np(t[0]);return!1}});function FC(e){if(!Object.hasOwnProperty.call(MC,e))throw new Error(`Invalid type specified: ${e}`)}async function H0(e,{cwd:t=B0.default.cwd(),type:r="file",allowSymlinks:n=!0,concurrency:i,preserveOrder:s}={}){FC(r),t=UC(t);let o=n?Ja.promises.stat:Ja.promises.lstat;return U0(e,async c=>{try{let l=await o(q0.default.resolve(t,c));return GC(r,l)}catch{return!1}},{concurrency:i,preserveOrder:s})}function j0(e,{cwd:t=B0.default.cwd(),type:r="file",allowSymlinks:n=!0}={}){FC(r),t=UC(t);let i=n?Ja.default.statSync:Ja.default.lstatSync;for(let s of e)try{let o=i(q0.default.resolve(t,s),{throwIfNoEntry:!1});if(!o)continue;if(GC(r,o))return s}catch{}}var B0,q0,Ja,DC,MC,GC,UC,BC=$n(()=>{B0=At(F("process"),1),q0=At(F("path"),1),Ja=At(F("fs"),1),DC=F("url");NC();MC={directory:"isDirectory",file:"isFile"};GC=(e,t)=>t[MC[e]](),UC=e=>e instanceof URL?(0,DC.fileURLToPath)(e):e});var qC=$n(()=>{});async function MX(e,t={}){let r=bi.default.resolve(jC(t.cwd)||""),{root:n}=bi.default.parse(r),i=bi.default.resolve(r,t.stopAt||n),s=t.limit||Number.POSITIVE_INFINITY,o=[e].flat(),c=async p=>{if(typeof e!="function")return H0(o,p);let d=await e(p.cwd);return typeof d=="string"?H0([d],p):d},l=[];for(;;){let p=await c({...t,cwd:r});if(p===WC||(p&&l.push(bi.default.resolve(r,p)),r===i||l.length>=s))break;r=bi.default.dirname(r)}return l}function FX(e,t={}){let r=bi.default.resolve(jC(t.cwd)||""),{root:n}=bi.default.parse(r),i=t.stopAt||n,s=t.limit||Number.POSITIVE_INFINITY,o=[e].flat(),c=p=>{if(typeof e!="function")return j0(o,p);let d=e(p.cwd);return typeof d=="string"?j0([d],p):d},l=[];for(;;){let p=c({...t,cwd:r});if(p===WC||(p&&l.push(bi.default.resolve(r,p)),r===i||l.length>=s))break;r=bi.default.dirname(r)}return l}async function $C(e,t={}){return(await MX(e,{...t,limit:1}))[0]}function VC(e,t={}){return FX(e,{...t,limit:1})[0]}var bi,HC,jC,WC,KC=$n(()=>{bi=At(F("path"),1),HC=F("url");BC();qC();jC=e=>e instanceof URL?(0,HC.fileURLToPath)(e):e,WC=Symbol("findUpStop")});var zC={};yf(zC,{readPackageUp:()=>GX,readPackageUpSync:()=>UX});async function GX(e){let t=await $C("package.json",e);if(!!t)return{packageJson:await D0({...e,cwd:W0.default.dirname(t)}),path:t}}function UX(e){let t=VC("package.json",e);if(!!t)return{packageJson:M0({...e,cwd:W0.default.dirname(t)}),path:t}}var W0,YC=$n(()=>{W0=At(F("path"),1);KC();F0()});var JC=_((hme,XC)=>{"use strict";var BX=F("fs/promises"),{exec:qX}=F("child_process"),HX=Qv(),jX=SR(),WX=Zv(),$X=h0(),VX={github:UP(),bitbucket:BP(),gitlab:qP()},{URL:KX}=F("url"),zX=/github|bitbucket|gitlab/i,YX=Intl.DateTimeFormat("sv-SE",{timeZone:"UTC"});function XX(e,t){return e?e[0]==="v"&&t[0]!=="v"?"v"+t:e[0]!=="v"&&t[0]==="v"?t.replace(/^v/,""):t:t[0]!=="v"?"v"+t:t}function JX(e){if(!e)return{};let t={};for(let r in e)e[r]!==void 0&&(t[r]=e[r]);return t}function QX(e){return new Promise((t,r)=>{qX("git config --get remote.origin.url",{cwd:e},(n,i)=>{n?r(n):t(i.trim())})})}async function ZX(e,t,r,n,i,s){var C;let o;e=JX(e),t=t||{},r=r||{},s={cwd:e==null?void 0:e.cwd,...s||{}};let c=e&&e.tagPrefix?new RegExp(`tag:\\s*[=]?${e.tagPrefix}(.+?)[,)]`,"gi"):/tag:\s*[v=]?(.+?)[,)]/gi;e={append:!1,releaseCount:1,skipUnstable:!1,debug:function(){},transform:function(O,H){if(typeof O.gitTags=="string"){let U=c.exec(O.gitTags);c.lastIndex=0,U&&(O.version=U[1])}O.committerDate&&(O.committerDate=YX.format(new Date(O.committerDate))),H(null,O)},lernaPackage:null,...e,pkg:{transform:function(O){return O},...e==null?void 0:e.pkg}},e.warn=e.warn||e.debug,e.pkg&&(e.pkg.path?o=Promise.resolve().then(()=>(F0(),IC)).then(async({parsePackage:O})=>{let H=await BX.readFile(e.pkg.path,"utf-8");return O(H)}):o=Promise.resolve().then(()=>(YC(),zC)).then(async({readPackageUp:O})=>{let{packageJson:H}=await O({cwd:e.cwd});return H}));let l=typeof e.config=="function"?e.config():e.config,[p,d,h,m]=await Promise.allSettled([l,o,WX({lernaTags:!!e.lernaPackage,package:e.lernaPackage,tagPrefix:e.tagPrefix,skipUnstable:e.skipUnstable,cwd:e.cwd}),QX(e.cwd)]),w,v,E,A,S,M=[];if(e.config?p.status==="fulfilled"?w=p.value:(e.warn(p.reason.toString()),w={}):w={},t={...t,...w.context},e.pkg&&(d.status==="fulfilled"?(v=d.value||{},v=e.pkg.transform(v)):e.pkg.path&&e.warn(d.reason.toString())),(!v||!v.repository||!v.repository.url)&&m.status==="fulfilled"&&(v=v||{},v.repository=v.repository||{},v.repository.url=m.value,$X(v)),v){t.version=t.version||v.version;try{let O=typeof v.repository=="string"?v.repository:v.repository.url;O&&(A=HX.fromUrl(O)||jX(O))}catch{A={}}if(A.browse){let O=A.browse();if(!t.host)if(A.domain){let H=new KX(O);H.origin.indexOf("//")!==-1?t.host=H.protocol+"//"+A.domain:t.host=H.protocol+A.domain}else t.host=null;t.owner=t.owner||A.user||"",t.repository=t.repository||A.project,A.host&&A.project&&A.user?t.repoUrl=O:t.repoUrl=t.host}t.packageData=v}if(t.version=t.version||"",h.status==="fulfilled"){M=t.gitSemverTags=h.value,E=M[e.releaseCount-1];let O=M[0];(O===t.version||O==="v"+t.version)&&(e.outputUnreleased?t.version="Unreleased":e.outputUnreleased=!1)}if(typeof e.outputUnreleased!="boolean"&&(e.outputUnreleased=!0),t.host&&(!t.issue||!t.commit||!n||!n.referenceActions)){let O;if(t.host){let H=t.host.match(zX);H&&(O=H[0])}else A&&A.type&&(O=A.type);O?(S=VX[O],t={issue:S.issue,commit:S.commit,...t}):(e.warn('Host: "'+t.host+'" does not exist'),S={})}else S={};return t.resetChangelog&&(E=null),r={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci",from:E,merges:!1,debug:e.debug,...w.gitRawCommitsOpts,...r},e.append&&(r.reverse=r.reverse||!0),n={...w.parserOpts,warn:e.warn,...n},S.referenceActions&&n&&(n.referenceActions=S.referenceActions),!((C=n.issuePrefixes)!=null&&C.length)&&S.issuePrefixes&&(n.issuePrefixes=S.issuePrefixes),i={finalizeContext:function(O,H,U,q,J){let ee=J[0],X=J[J.length-1],N=ee?ee.hash:null,Z=X?X.hash:null;if((!O.currentTag||!O.previousTag)&&q){let $=/tag:\s*(.+?)[,)]/gi.exec(q.gitTags),ue=O.currentTag;O.currentTag=ue||$?$[1]:null;let D=M.indexOf(O.currentTag);D===-1?O.currentTag=ue||null:(O.previousTag=M[D+1])||(e.append?O.previousTag=O.previousTag||N:O.previousTag=O.previousTag||Z)}else O.previousTag=O.previousTag||M[0],O.version==="Unreleased"?e.append?O.currentTag=O.currentTag||Z:O.currentTag=O.currentTag||N:O.currentTag||(e.lernaPackage?O.currentTag=e.lernaPackage+"@"+O.version:e.tagPrefix?O.currentTag=e.tagPrefix+O.version:O.currentTag=XX(M[0],O.version));return typeof O.linkCompare!="boolean"&&O.previousTag&&O.currentTag&&(O.linkCompare=!0),O},debug:e.debug,...w.writerOpts,reverse:e.append,doFlush:e.outputUnreleased,...i},{options:e,context:t,gitRawCommitsOpts:r,parserOpts:n,writerOpts:i,gitRawExecOpts:s}}XC.exports=ZX});var rk=_((dme,tk)=>{"use strict";var eJ=k2(),QC=H2(),tJ=Q2(),rJ=aR(),{Readable:ZC,Transform:ek}=F("stream"),{execFileSync:nJ}=F("child_process"),iJ=JC();function sJ(e,t,r,n,i,s){let o=e==null?void 0:e.cwd;i=i||{};let c=new ZC({objectMode:i.includeDetails});c._read=function(){};let l=!1,p=new ZC({objectMode:!0});p._read=function(){};function d(h,m){return QC({...r,from:h,to:m},{cwd:o}).on("error",function(w){l||(setImmediate(p.emit.bind(p),"error",w),l=!0)})}return iJ(e,t,r,n,i,s).then(function(h){e=h.options,t=h.context,r=h.gitRawCommitsOpts,n=h.parserOpts,i=h.writerOpts,s=h.gitRawExecOpts;try{nJ("git",["rev-parse","--verify","HEAD"],{cwd:o,stdio:"ignore"});let m=t.gitSemverTags.slice(0).reverse();m.push("HEAD"),r.from&&(m.indexOf(r.from)!==-1?m=m.slice(m.indexOf(r.from)):m=[r.from,"HEAD"]);let w=m.map((v,E)=>{let A=E>0?m[E-1]:"";return d(A,v)});r.from&&(w=w.splice(1)),r.reverse&&w.reverse(),w.reduce((v,E)=>E.pipe(eJ(v))).on("data",function(v){setImmediate(p.emit.bind(p),"data",v)}).on("end",function(){setImmediate(p.emit.bind(p),"end")})}catch{p=QC(r,s)}p.on("error",function(m){m.message="Error in git-raw-commits: "+m.message,setImmediate(c.emit.bind(c),"error",m)}).pipe(tJ(n)).on("error",function(m){m.message="Error in conventional-commits-parser: "+m.message,setImmediate(c.emit.bind(c),"error",m)}).pipe(new ek({objectMode:!0,highWaterMark:16,transform(m,w,v){try{e.transform.call(this,m,v)}catch(E){v(E)}}})).on("error",function(m){m.message="Error in options.transform: "+m.message,setImmediate(c.emit.bind(c),"error",m)}).pipe(rJ(t,i)).on("error",function(m){m.message="Error in conventional-changelog-writer: "+m.message,setImmediate(c.emit.bind(c),"error",m)}).pipe(new ek({objectMode:i.includeDetails,transform(m,w,v){try{c.push(m)}catch(E){setImmediate(function(){throw E})}v()},flush(m){c.push(null),m()}}))}).catch(function(h){setImmediate(c.emit.bind(c),"error",h)}),c}tk.exports=sJ});var $0=_((Qa,Mc)=>{(function(){var e,t="4.17.21",r=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",c=500,l="__lodash_placeholder__",p=1,d=2,h=4,m=1,w=2,v=1,E=2,A=4,S=8,M=16,C=32,O=64,H=128,U=256,q=512,J=30,ee="...",X=800,N=16,Z=1,$=2,ue=3,D=1/0,I=9007199254740991,ve=17976931348623157e292,pe=0/0,ke=4294967295,nt=ke-1,We=ke>>>1,ar=[["ary",H],["bind",v],["bindKey",E],["curry",S],["curryRight",M],["flip",q],["partial",C],["partialRight",O],["rearg",U]],Ir="[object Arguments]",Bn="[object Array]",hn="[object AsyncFunction]",_e="[object Boolean]",$r="[object Date]",ca="[object DOMException]",te="[object Error]",xe="[object Function]",Q="[object GeneratorFunction]",Ee="[object Map]",$e="[object Number]",Lt="[object Null]",qe="[object Object]",ui="[object Promise]",ci="[object Proxy]",qi="[object RegExp]",Lr="[object Set]",_s="[object String]",li="[object Symbol]",ju="[object Undefined]",xt="[object WeakMap]",ho="[object WeakSet]",dn="[object ArrayBuffer]",Es="[object DataView]",vg="[object Float32Array]",yg="[object Float64Array]",_g="[object Int8Array]",Eg="[object Int16Array]",bg="[object Int32Array]",Tg="[object Uint8Array]",wg="[object Uint8ClampedArray]",Sg="[object Uint16Array]",Ag="[object Uint32Array]",QU=/\b__p \+= '';/g,ZU=/\b(__p \+=) '' \+/g,e8=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vb=/&(?:amp|lt|gt|quot|#39);/g,Kb=/[&<>"']/g,t8=RegExp(Vb.source),r8=RegExp(Kb.source),n8=/<%-([\s\S]+?)%>/g,i8=/<%([\s\S]+?)%>/g,zb=/<%=([\s\S]+?)%>/g,s8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o8=/^\w*$/,a8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rg=/[\\^$.*+?()[\]{}|]/g,u8=RegExp(Rg.source),Pg=/^\s+/,c8=/\s/,l8=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,f8=/\{\n\/\* \[wrapped with (.+)\] \*/,p8=/,? & /,h8=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,d8=/[()=,{}\[\]\/\s]/,g8=/\\(\\)?/g,m8=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yb=/\w*$/,v8=/^[-+]0x[0-9a-f]+$/i,y8=/^0b[01]+$/i,_8=/^\[object .+?Constructor\]$/,E8=/^0o[0-7]+$/i,b8=/^(?:0|[1-9]\d*)$/,T8=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cl=/($^)/,w8=/['\n\r\u2028\u2029\\]/g,kl="\\ud800-\\udfff",S8="\\u0300-\\u036f",A8="\\ufe20-\\ufe2f",R8="\\u20d0-\\u20ff",Xb=S8+A8+R8,Jb="\\u2700-\\u27bf",Qb="a-z\\xdf-\\xf6\\xf8-\\xff",P8="\\xac\\xb1\\xd7\\xf7",O8="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",C8="\\u2000-\\u206f",k8=" \\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",Zb="A-Z\\xc0-\\xd6\\xd8-\\xde",eT="\\ufe0e\\ufe0f",tT=P8+O8+C8+k8,Og="['\u2019]",I8="["+kl+"]",rT="["+tT+"]",Il="["+Xb+"]",nT="\\d+",L8="["+Jb+"]",iT="["+Qb+"]",sT="[^"+kl+tT+nT+Jb+Qb+Zb+"]",Cg="\\ud83c[\\udffb-\\udfff]",x8="(?:"+Il+"|"+Cg+")",oT="[^"+kl+"]",kg="(?:\\ud83c[\\udde6-\\uddff]){2}",Ig="[\\ud800-\\udbff][\\udc00-\\udfff]",la="["+Zb+"]",aT="\\u200d",uT="(?:"+iT+"|"+sT+")",N8="(?:"+la+"|"+sT+")",cT="(?:"+Og+"(?:d|ll|m|re|s|t|ve))?",lT="(?:"+Og+"(?:D|LL|M|RE|S|T|VE))?",fT=x8+"?",pT="["+eT+"]?",D8="(?:"+aT+"(?:"+[oT,kg,Ig].join("|")+")"+pT+fT+")*",M8="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",F8="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hT=pT+fT+D8,G8="(?:"+[L8,kg,Ig].join("|")+")"+hT,U8="(?:"+[oT+Il+"?",Il,kg,Ig,I8].join("|")+")",B8=RegExp(Og,"g"),q8=RegExp(Il,"g"),Lg=RegExp(Cg+"(?="+Cg+")|"+U8+hT,"g"),H8=RegExp([la+"?"+iT+"+"+cT+"(?="+[rT,la,"$"].join("|")+")",N8+"+"+lT+"(?="+[rT,la+uT,"$"].join("|")+")",la+"?"+uT+"+"+cT,la+"+"+lT,F8,M8,nT,G8].join("|"),"g"),j8=RegExp("["+aT+kl+Xb+eT+"]"),W8=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$8=["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"],V8=-1,dt={};dt[vg]=dt[yg]=dt[_g]=dt[Eg]=dt[bg]=dt[Tg]=dt[wg]=dt[Sg]=dt[Ag]=!0,dt[Ir]=dt[Bn]=dt[dn]=dt[_e]=dt[Es]=dt[$r]=dt[te]=dt[xe]=dt[Ee]=dt[$e]=dt[qe]=dt[qi]=dt[Lr]=dt[_s]=dt[xt]=!1;var ft={};ft[Ir]=ft[Bn]=ft[dn]=ft[Es]=ft[_e]=ft[$r]=ft[vg]=ft[yg]=ft[_g]=ft[Eg]=ft[bg]=ft[Ee]=ft[$e]=ft[qe]=ft[qi]=ft[Lr]=ft[_s]=ft[li]=ft[Tg]=ft[wg]=ft[Sg]=ft[Ag]=!0,ft[te]=ft[xe]=ft[xt]=!1;var K8={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"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"},z8={"&":"&","<":"<",">":">",'"':""","'":"'"},Y8={"&":"&","<":"<",">":">",""":'"',"'":"'"},X8={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},J8=parseFloat,Q8=parseInt,dT=typeof global=="object"&&global&&global.Object===Object&&global,Z8=typeof self=="object"&&self&&self.Object===Object&&self,Jt=dT||Z8||Function("return this")(),xg=typeof Qa=="object"&&Qa&&!Qa.nodeType&&Qa,go=xg&&typeof Mc=="object"&&Mc&&!Mc.nodeType&&Mc,gT=go&&go.exports===xg,Ng=gT&&dT.process,gn=function(){try{var L=go&&go.require&&go.require("util").types;return L||Ng&&Ng.binding&&Ng.binding("util")}catch{}}(),mT=gn&&gn.isArrayBuffer,vT=gn&&gn.isDate,yT=gn&&gn.isMap,_T=gn&&gn.isRegExp,ET=gn&&gn.isSet,bT=gn&&gn.isTypedArray;function Vr(L,B,G){switch(G.length){case 0:return L.call(B);case 1:return L.call(B,G[0]);case 2:return L.call(B,G[0],G[1]);case 3:return L.call(B,G[0],G[1],G[2])}return L.apply(B,G)}function e6(L,B,G,ae){for(var Ae=-1,Ye=L==null?0:L.length;++Ae-1}function Dg(L,B,G){for(var ae=-1,Ae=L==null?0:L.length;++ae-1;);return G}function CT(L,B){for(var G=L.length;G--&&fa(B,L[G],0)>-1;);return G}function c6(L,B){for(var G=L.length,ae=0;G--;)L[G]===B&&++ae;return ae}var l6=Ug(K8),f6=Ug(z8);function p6(L){return"\\"+X8[L]}function h6(L,B){return L==null?e:L[B]}function pa(L){return j8.test(L)}function d6(L){return W8.test(L)}function g6(L){for(var B,G=[];!(B=L.next()).done;)G.push(B.value);return G}function jg(L){var B=-1,G=Array(L.size);return L.forEach(function(ae,Ae){G[++B]=[Ae,ae]}),G}function kT(L,B){return function(G){return L(B(G))}}function ws(L,B){for(var G=-1,ae=L.length,Ae=0,Ye=[];++G-1}function rB(a,u){var f=this.__data__,g=Yl(f,a);return g<0?(++this.size,f.push([a,u])):f[g][1]=u,this}Hi.prototype.clear=Q6,Hi.prototype.delete=Z6,Hi.prototype.get=eB,Hi.prototype.has=tB,Hi.prototype.set=rB;function ji(a){var u=-1,f=a==null?0:a.length;for(this.clear();++u=u?a:u)),a}function _n(a,u,f,g,y,T){var P,k=u&p,x=u&d,j=u&h;if(f&&(P=y?f(a,g,y,T):f(a)),P!==e)return P;if(!St(a))return a;var W=Pe(a);if(W){if(P=oq(a),!k)return xr(a,P)}else{var K=cr(a),re=K==xe||K==Q;if(ks(a))return pw(a,k);if(K==qe||K==Ir||re&&!y){if(P=x||re?{}:Iw(a),!k)return x?YB(a,yB(P,a)):zB(a,HT(P,a))}else{if(!ft[K])return y?a:{};P=aq(a,K,k)}}T||(T=new Hn);var me=T.get(a);if(me)return me;T.set(a,P),o2(a)?a.forEach(function(we){P.add(_n(we,u,f,we,a,T))}):i2(a)&&a.forEach(function(we,Me){P.set(Me,_n(we,u,f,Me,a,T))});var Te=j?x?gm:dm:x?Dr:Qt,Ie=W?e:Te(a);return mn(Ie||a,function(we,Me){Ie&&(Me=we,we=a[Me]),Xu(P,Me,_n(we,u,f,Me,a,T))}),P}function _B(a){var u=Qt(a);return function(f){return jT(f,a,u)}}function jT(a,u,f){var g=f.length;if(a==null)return!g;for(a=at(a);g--;){var y=f[g],T=u[y],P=a[y];if(P===e&&!(y in a)||!T(P))return!1}return!0}function WT(a,u,f){if(typeof a!="function")throw new vn(i);return nc(function(){a.apply(e,f)},u)}function Ju(a,u,f,g){var y=-1,T=Ll,P=!0,k=a.length,x=[],j=u.length;if(!k)return x;f&&(u=yt(u,Kr(f))),g?(T=Dg,P=!1):u.length>=r&&(T=Wu,P=!1,u=new yo(u));e:for(;++yy?0:y+f),g=g===e||g>y?y:Ce(g),g<0&&(g+=y),g=f>g?0:u2(g);f0&&f(k)?u>1?rr(k,u-1,f,g,y):Ts(y,k):g||(y[y.length]=k)}return y}var Xg=yw(),KT=yw(!0);function fi(a,u){return a&&Xg(a,u,Qt)}function Jg(a,u){return a&&KT(a,u,Qt)}function Jl(a,u){return bs(u,function(f){return zi(a[f])})}function Eo(a,u){u=Os(u,a);for(var f=0,g=u.length;a!=null&&fu}function TB(a,u){return a!=null&&it.call(a,u)}function wB(a,u){return a!=null&&u in at(a)}function SB(a,u,f){return a>=ur(u,f)&&a=120&&W.length>=120)?new yo(P&&W):e}W=a[0];var K=-1,re=k[0];e:for(;++K-1;)k!==a&&Hl.call(k,x,1),Hl.call(a,x,1);return a}function iw(a,u){for(var f=a?u.length:0,g=f-1;f--;){var y=u[f];if(f==g||y!==T){var T=y;Ki(y)?Hl.call(a,y,1):am(a,y)}}return a}function im(a,u){return a+$l(GT()*(u-a+1))}function FB(a,u,f,g){for(var y=-1,T=Wt(Wl((u-a)/(f||1)),0),P=G(T);T--;)P[g?T:++y]=a,a+=f;return P}function sm(a,u){var f="";if(!a||u<1||u>I)return f;do u%2&&(f+=a),u=$l(u/2),u&&(a+=a);while(u);return f}function Ne(a,u){return Tm(Nw(a,u,Mr),a+"")}function GB(a){return qT(Ta(a))}function UB(a,u){var f=Ta(a);return cf(f,_o(u,0,f.length))}function ec(a,u,f,g){if(!St(a))return a;u=Os(u,a);for(var y=-1,T=u.length,P=T-1,k=a;k!=null&&++yy?0:y+u),f=f>y?y:f,f<0&&(f+=y),y=u>f?0:f-u>>>0,u>>>=0;for(var T=G(y);++g>>1,P=a[T];P!==null&&!Yr(P)&&(f?P<=u:P=r){var j=u?null:ZB(a);if(j)return Nl(j);P=!1,y=Wu,x=new yo}else x=u?[]:k;e:for(;++g=g?a:En(a,u,f)}var fw=k6||function(a){return Jt.clearTimeout(a)};function pw(a,u){if(u)return a.slice();var f=a.length,g=xT?xT(f):new a.constructor(f);return a.copy(g),g}function fm(a){var u=new a.constructor(a.byteLength);return new Bl(u).set(new Bl(a)),u}function WB(a,u){var f=u?fm(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.byteLength)}function $B(a){var u=new a.constructor(a.source,Yb.exec(a));return u.lastIndex=a.lastIndex,u}function VB(a){return Yu?at(Yu.call(a)):{}}function hw(a,u){var f=u?fm(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.length)}function dw(a,u){if(a!==u){var f=a!==e,g=a===null,y=a===a,T=Yr(a),P=u!==e,k=u===null,x=u===u,j=Yr(u);if(!k&&!j&&!T&&a>u||T&&P&&x&&!k&&!j||g&&P&&x||!f&&x||!y)return 1;if(!g&&!T&&!j&&a=k)return x;var j=f[g];return x*(j=="desc"?-1:1)}}return a.index-u.index}function gw(a,u,f,g){for(var y=-1,T=a.length,P=f.length,k=-1,x=u.length,j=Wt(T-P,0),W=G(x+j),K=!g;++k1?f[y-1]:e,P=y>2?f[2]:e;for(T=a.length>3&&typeof T=="function"?(y--,T):e,P&&Er(f[0],f[1],P)&&(T=y<3?e:T,y=1),u=at(u);++g-1?y[T?u[P]:P]:e}}function bw(a){return Vi(function(u){var f=u.length,g=f,y=yn.prototype.thru;for(a&&u.reverse();g--;){var T=u[g];if(typeof T!="function")throw new vn(i);if(y&&!P&&af(T)=="wrapper")var P=new yn([],!0)}for(g=P?g:f;++g1&&Be.reverse(),W&&xk))return!1;var j=T.get(a),W=T.get(u);if(j&&W)return j==u&&W==a;var K=-1,re=!0,me=f&w?new yo:e;for(T.set(a,u),T.set(u,a);++K1?"& ":"")+u[g],u=u.join(f>2?", ":" "),a.replace(l8,`{ -/* [wrapped with `+u+`] */ -`)}function cq(a){return Pe(a)||wo(a)||!!(MT&&a&&a[MT])}function Ki(a,u){var f=typeof a;return u=u==null?I:u,!!u&&(f=="number"||f!="symbol"&&b8.test(a))&&a>-1&&a%1==0&&a0){if(++u>=X)return arguments[0]}else u=0;return a.apply(e,arguments)}}function cf(a,u){var f=-1,g=a.length,y=g-1;for(u=u===e?g:u;++f1?a[u-1]:e;return f=typeof f=="function"?(a.pop(),f):e,Vw(a,f)});function Kw(a){var u=b(a);return u.__chain__=!0,u}function E7(a,u){return u(a),a}function lf(a,u){return u(a)}var b7=Vi(function(a){var u=a.length,f=u?a[0]:0,g=this.__wrapped__,y=function(T){return Yg(T,a)};return u>1||this.__actions__.length||!(g instanceof Ge)||!Ki(f)?this.thru(y):(g=g.slice(f,+f+(u?1:0)),g.__actions__.push({func:lf,args:[y],thisArg:e}),new yn(g,this.__chain__).thru(function(T){return u&&!T.length&&T.push(e),T}))});function T7(){return Kw(this)}function w7(){return new yn(this.value(),this.__chain__)}function S7(){this.__values__===e&&(this.__values__=a2(this.value()));var a=this.__index__>=this.__values__.length,u=a?e:this.__values__[this.__index__++];return{done:a,value:u}}function A7(){return this}function R7(a){for(var u,f=this;f instanceof zl;){var g=Bw(f);g.__index__=0,g.__values__=e,u?y.__wrapped__=g:u=g;var y=g;f=f.__wrapped__}return y.__wrapped__=a,u}function P7(){var a=this.__wrapped__;if(a instanceof Ge){var u=a;return this.__actions__.length&&(u=new Ge(this)),u=u.reverse(),u.__actions__.push({func:lf,args:[wm],thisArg:e}),new yn(u,this.__chain__)}return this.thru(wm)}function O7(){return cw(this.__wrapped__,this.__actions__)}var C7=tf(function(a,u,f){it.call(a,f)?++a[f]:Wi(a,f,1)});function k7(a,u,f){var g=Pe(a)?TT:EB;return f&&Er(a,u,f)&&(u=e),g(a,be(u,3))}function I7(a,u){var f=Pe(a)?bs:VT;return f(a,be(u,3))}var L7=Ew(qw),x7=Ew(Hw);function N7(a,u){return rr(ff(a,u),1)}function D7(a,u){return rr(ff(a,u),D)}function M7(a,u,f){return f=f===e?1:Ce(f),rr(ff(a,u),f)}function zw(a,u){var f=Pe(a)?mn:Rs;return f(a,be(u,3))}function Yw(a,u){var f=Pe(a)?t6:$T;return f(a,be(u,3))}var F7=tf(function(a,u,f){it.call(a,f)?a[f].push(u):Wi(a,f,[u])});function G7(a,u,f,g){a=Nr(a)?a:Ta(a),f=f&&!g?Ce(f):0;var y=a.length;return f<0&&(f=Wt(y+f,0)),mf(a)?f<=y&&a.indexOf(u,f)>-1:!!y&&fa(a,u,f)>-1}var U7=Ne(function(a,u,f){var g=-1,y=typeof u=="function",T=Nr(a)?G(a.length):[];return Rs(a,function(P){T[++g]=y?Vr(u,P,f):Qu(P,u,f)}),T}),B7=tf(function(a,u,f){Wi(a,f,u)});function ff(a,u){var f=Pe(a)?yt:QT;return f(a,be(u,3))}function q7(a,u,f,g){return a==null?[]:(Pe(u)||(u=u==null?[]:[u]),f=g?e:f,Pe(f)||(f=f==null?[]:[f]),rw(a,u,f))}var H7=tf(function(a,u,f){a[f?0:1].push(u)},function(){return[[],[]]});function j7(a,u,f){var g=Pe(a)?Mg:RT,y=arguments.length<3;return g(a,be(u,4),f,y,Rs)}function W7(a,u,f){var g=Pe(a)?r6:RT,y=arguments.length<3;return g(a,be(u,4),f,y,$T)}function $7(a,u){var f=Pe(a)?bs:VT;return f(a,df(be(u,3)))}function V7(a){var u=Pe(a)?qT:GB;return u(a)}function K7(a,u,f){(f?Er(a,u,f):u===e)?u=1:u=Ce(u);var g=Pe(a)?gB:UB;return g(a,u)}function z7(a){var u=Pe(a)?mB:qB;return u(a)}function Y7(a){if(a==null)return 0;if(Nr(a))return mf(a)?ha(a):a.length;var u=cr(a);return u==Ee||u==Lr?a.size:tm(a).length}function X7(a,u,f){var g=Pe(a)?Fg:HB;return f&&Er(a,u,f)&&(u=e),g(a,be(u,3))}var J7=Ne(function(a,u){if(a==null)return[];var f=u.length;return f>1&&Er(a,u[0],u[1])?u=[]:f>2&&Er(u[0],u[1],u[2])&&(u=[u[0]]),rw(a,rr(u,1),[])}),pf=I6||function(){return Jt.Date.now()};function Q7(a,u){if(typeof u!="function")throw new vn(i);return a=Ce(a),function(){if(--a<1)return u.apply(this,arguments)}}function Xw(a,u,f){return u=f?e:u,u=a&&u==null?a.length:u,$i(a,H,e,e,e,e,u)}function Jw(a,u){var f;if(typeof u!="function")throw new vn(i);return a=Ce(a),function(){return--a>0&&(f=u.apply(this,arguments)),a<=1&&(u=e),f}}var Am=Ne(function(a,u,f){var g=v;if(f.length){var y=ws(f,Ea(Am));g|=C}return $i(a,g,u,f,y)}),Qw=Ne(function(a,u,f){var g=v|E;if(f.length){var y=ws(f,Ea(Qw));g|=C}return $i(u,g,a,f,y)});function Zw(a,u,f){u=f?e:u;var g=$i(a,S,e,e,e,e,e,u);return g.placeholder=Zw.placeholder,g}function e2(a,u,f){u=f?e:u;var g=$i(a,M,e,e,e,e,e,u);return g.placeholder=e2.placeholder,g}function t2(a,u,f){var g,y,T,P,k,x,j=0,W=!1,K=!1,re=!0;if(typeof a!="function")throw new vn(i);u=Tn(u)||0,St(f)&&(W=!!f.leading,K="maxWait"in f,T=K?Wt(Tn(f.maxWait)||0,u):T,re="trailing"in f?!!f.trailing:re);function me(Dt){var Wn=g,Xi=y;return g=y=e,j=Dt,P=a.apply(Xi,Wn),P}function Te(Dt){return j=Dt,k=nc(Me,u),W?me(Dt):P}function Ie(Dt){var Wn=Dt-x,Xi=Dt-j,E2=u-Wn;return K?ur(E2,T-Xi):E2}function we(Dt){var Wn=Dt-x,Xi=Dt-j;return x===e||Wn>=u||Wn<0||K&&Xi>=T}function Me(){var Dt=pf();if(we(Dt))return Be(Dt);k=nc(Me,Ie(Dt))}function Be(Dt){return k=e,re&&g?me(Dt):(g=y=e,P)}function Xr(){k!==e&&fw(k),j=0,g=x=y=k=e}function br(){return k===e?P:Be(pf())}function Jr(){var Dt=pf(),Wn=we(Dt);if(g=arguments,y=this,x=Dt,Wn){if(k===e)return Te(x);if(K)return fw(k),k=nc(Me,u),me(x)}return k===e&&(k=nc(Me,u)),P}return Jr.cancel=Xr,Jr.flush=br,Jr}var Z7=Ne(function(a,u){return WT(a,1,u)}),e9=Ne(function(a,u,f){return WT(a,Tn(u)||0,f)});function t9(a){return $i(a,q)}function hf(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new vn(i);var f=function(){var g=arguments,y=u?u.apply(this,g):g[0],T=f.cache;if(T.has(y))return T.get(y);var P=a.apply(this,g);return f.cache=T.set(y,P)||T,P};return f.cache=new(hf.Cache||ji),f}hf.Cache=ji;function df(a){if(typeof a!="function")throw new vn(i);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function r9(a){return Jw(2,a)}var n9=jB(function(a,u){u=u.length==1&&Pe(u[0])?yt(u[0],Kr(be())):yt(rr(u,1),Kr(be()));var f=u.length;return Ne(function(g){for(var y=-1,T=ur(g.length,f);++y=u}),wo=YT(function(){return arguments}())?YT:function(a){return Ot(a)&&it.call(a,"callee")&&!DT.call(a,"callee")},Pe=G.isArray,y9=mT?Kr(mT):RB;function Nr(a){return a!=null&&gf(a.length)&&!zi(a)}function Nt(a){return Ot(a)&&Nr(a)}function _9(a){return a===!0||a===!1||Ot(a)&&_r(a)==_e}var ks=x6||Fm,E9=vT?Kr(vT):PB;function b9(a){return Ot(a)&&a.nodeType===1&&!ic(a)}function T9(a){if(a==null)return!0;if(Nr(a)&&(Pe(a)||typeof a=="string"||typeof a.splice=="function"||ks(a)||ba(a)||wo(a)))return!a.length;var u=cr(a);if(u==Ee||u==Lr)return!a.size;if(rc(a))return!tm(a).length;for(var f in a)if(it.call(a,f))return!1;return!0}function w9(a,u){return Zu(a,u)}function S9(a,u,f){f=typeof f=="function"?f:e;var g=f?f(a,u):e;return g===e?Zu(a,u,e,f):!!g}function Pm(a){if(!Ot(a))return!1;var u=_r(a);return u==te||u==ca||typeof a.message=="string"&&typeof a.name=="string"&&!ic(a)}function A9(a){return typeof a=="number"&&FT(a)}function zi(a){if(!St(a))return!1;var u=_r(a);return u==xe||u==Q||u==hn||u==ci}function n2(a){return typeof a=="number"&&a==Ce(a)}function gf(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=I}function St(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Ot(a){return a!=null&&typeof a=="object"}var i2=yT?Kr(yT):CB;function R9(a,u){return a===u||em(a,u,vm(u))}function P9(a,u,f){return f=typeof f=="function"?f:e,em(a,u,vm(u),f)}function O9(a){return s2(a)&&a!=+a}function C9(a){if(pq(a))throw new Ae(n);return XT(a)}function k9(a){return a===null}function I9(a){return a==null}function s2(a){return typeof a=="number"||Ot(a)&&_r(a)==$e}function ic(a){if(!Ot(a)||_r(a)!=qe)return!1;var u=ql(a);if(u===null)return!0;var f=it.call(u,"constructor")&&u.constructor;return typeof f=="function"&&f instanceof f&&Fl.call(f)==P6}var Om=_T?Kr(_T):kB;function L9(a){return n2(a)&&a>=-I&&a<=I}var o2=ET?Kr(ET):IB;function mf(a){return typeof a=="string"||!Pe(a)&&Ot(a)&&_r(a)==_s}function Yr(a){return typeof a=="symbol"||Ot(a)&&_r(a)==li}var ba=bT?Kr(bT):LB;function x9(a){return a===e}function N9(a){return Ot(a)&&cr(a)==xt}function D9(a){return Ot(a)&&_r(a)==ho}var M9=of(rm),F9=of(function(a,u){return a<=u});function a2(a){if(!a)return[];if(Nr(a))return mf(a)?qn(a):xr(a);if($u&&a[$u])return g6(a[$u]());var u=cr(a),f=u==Ee?jg:u==Lr?Nl:Ta;return f(a)}function Yi(a){if(!a)return a===0?a:0;if(a=Tn(a),a===D||a===-D){var u=a<0?-1:1;return u*ve}return a===a?a:0}function Ce(a){var u=Yi(a),f=u%1;return u===u?f?u-f:u:0}function u2(a){return a?_o(Ce(a),0,ke):0}function Tn(a){if(typeof a=="number")return a;if(Yr(a))return pe;if(St(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=St(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=PT(a);var f=y8.test(a);return f||E8.test(a)?Q8(a.slice(2),f?2:8):v8.test(a)?pe:+a}function c2(a){return pi(a,Dr(a))}function G9(a){return a?_o(Ce(a),-I,I):a===0?a:0}function Qe(a){return a==null?"":zr(a)}var U9=ya(function(a,u){if(rc(u)||Nr(u)){pi(u,Qt(u),a);return}for(var f in u)it.call(u,f)&&Xu(a,f,u[f])}),l2=ya(function(a,u){pi(u,Dr(u),a)}),vf=ya(function(a,u,f,g){pi(u,Dr(u),a,g)}),B9=ya(function(a,u,f,g){pi(u,Qt(u),a,g)}),q9=Vi(Yg);function H9(a,u){var f=va(a);return u==null?f:HT(f,u)}var j9=Ne(function(a,u){a=at(a);var f=-1,g=u.length,y=g>2?u[2]:e;for(y&&Er(u[0],u[1],y)&&(g=1);++f1),T}),pi(a,gm(a),f),g&&(f=_n(f,p|d|h,eq));for(var y=u.length;y--;)am(f,u[y]);return f});function aH(a,u){return p2(a,df(be(u)))}var uH=Vi(function(a,u){return a==null?{}:DB(a,u)});function p2(a,u){if(a==null)return{};var f=yt(gm(a),function(g){return[g]});return u=be(u),nw(a,f,function(g,y){return u(g,y[0])})}function cH(a,u,f){u=Os(u,a);var g=-1,y=u.length;for(y||(y=1,a=e);++gu){var g=a;a=u,u=g}if(f||a%1||u%1){var y=GT();return ur(a+y*(u-a+J8("1e-"+((y+"").length-1))),u)}return im(a,u)}var EH=_a(function(a,u,f){return u=u.toLowerCase(),a+(f?g2(u):u)});function g2(a){return Im(Qe(a).toLowerCase())}function m2(a){return a=Qe(a),a&&a.replace(T8,l6).replace(q8,"")}function bH(a,u,f){a=Qe(a),u=zr(u);var g=a.length;f=f===e?g:_o(Ce(f),0,g);var y=f;return f-=u.length,f>=0&&a.slice(f,y)==u}function TH(a){return a=Qe(a),a&&r8.test(a)?a.replace(Kb,f6):a}function wH(a){return a=Qe(a),a&&u8.test(a)?a.replace(Rg,"\\$&"):a}var SH=_a(function(a,u,f){return a+(f?"-":"")+u.toLowerCase()}),AH=_a(function(a,u,f){return a+(f?" ":"")+u.toLowerCase()}),RH=_w("toLowerCase");function PH(a,u,f){a=Qe(a),u=Ce(u);var g=u?ha(a):0;if(!u||g>=u)return a;var y=(u-g)/2;return sf($l(y),f)+a+sf(Wl(y),f)}function OH(a,u,f){a=Qe(a),u=Ce(u);var g=u?ha(a):0;return u&&g>>0,f?(a=Qe(a),a&&(typeof u=="string"||u!=null&&!Om(u))&&(u=zr(u),!u&&pa(a))?Cs(qn(a),0,f):a.split(u,f)):[]}var DH=_a(function(a,u,f){return a+(f?" ":"")+Im(u)});function MH(a,u,f){return a=Qe(a),f=f==null?0:_o(Ce(f),0,a.length),u=zr(u),a.slice(f,f+u.length)==u}function FH(a,u,f){var g=b.templateSettings;f&&Er(a,u,f)&&(u=e),a=Qe(a),u=vf({},u,g,Rw);var y=vf({},u.imports,g.imports,Rw),T=Qt(y),P=Hg(y,T),k,x,j=0,W=u.interpolate||Cl,K="__p += '",re=Wg((u.escape||Cl).source+"|"+W.source+"|"+(W===zb?m8:Cl).source+"|"+(u.evaluate||Cl).source+"|$","g"),me="//# sourceURL="+(it.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++V8+"]")+` -`;a.replace(re,function(we,Me,Be,Xr,br,Jr){return Be||(Be=Xr),K+=a.slice(j,Jr).replace(w8,p6),Me&&(k=!0,K+=`' + -__e(`+Me+`) + -'`),br&&(x=!0,K+=`'; -`+br+`; -__p += '`),Be&&(K+=`' + -((__t = (`+Be+`)) == null ? '' : __t) + -'`),j=Jr+we.length,we}),K+=`'; -`;var Te=it.call(u,"variable")&&u.variable;if(!Te)K=`with (obj) { -`+K+` -} -`;else if(d8.test(Te))throw new Ae(s);K=(x?K.replace(QU,""):K).replace(ZU,"$1").replace(e8,"$1;"),K="function("+(Te||"obj")+`) { -`+(Te?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(k?", __e = _.escape":"")+(x?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+K+`return __p -}`;var Ie=y2(function(){return Ye(T,me+"return "+K).apply(e,P)});if(Ie.source=K,Pm(Ie))throw Ie;return Ie}function GH(a){return Qe(a).toLowerCase()}function UH(a){return Qe(a).toUpperCase()}function BH(a,u,f){if(a=Qe(a),a&&(f||u===e))return PT(a);if(!a||!(u=zr(u)))return a;var g=qn(a),y=qn(u),T=OT(g,y),P=CT(g,y)+1;return Cs(g,T,P).join("")}function qH(a,u,f){if(a=Qe(a),a&&(f||u===e))return a.slice(0,IT(a)+1);if(!a||!(u=zr(u)))return a;var g=qn(a),y=CT(g,qn(u))+1;return Cs(g,0,y).join("")}function HH(a,u,f){if(a=Qe(a),a&&(f||u===e))return a.replace(Pg,"");if(!a||!(u=zr(u)))return a;var g=qn(a),y=OT(g,qn(u));return Cs(g,y).join("")}function jH(a,u){var f=J,g=ee;if(St(u)){var y="separator"in u?u.separator:y;f="length"in u?Ce(u.length):f,g="omission"in u?zr(u.omission):g}a=Qe(a);var T=a.length;if(pa(a)){var P=qn(a);T=P.length}if(f>=T)return a;var k=f-ha(g);if(k<1)return g;var x=P?Cs(P,0,k).join(""):a.slice(0,k);if(y===e)return x+g;if(P&&(k+=x.length-k),Om(y)){if(a.slice(k).search(y)){var j,W=x;for(y.global||(y=Wg(y.source,Qe(Yb.exec(y))+"g")),y.lastIndex=0;j=y.exec(W);)var K=j.index;x=x.slice(0,K===e?k:K)}}else if(a.indexOf(zr(y),k)!=k){var re=x.lastIndexOf(y);re>-1&&(x=x.slice(0,re))}return x+g}function WH(a){return a=Qe(a),a&&t8.test(a)?a.replace(Vb,_6):a}var $H=_a(function(a,u,f){return a+(f?" ":"")+u.toUpperCase()}),Im=_w("toUpperCase");function v2(a,u,f){return a=Qe(a),u=f?e:u,u===e?d6(a)?T6(a):s6(a):a.match(u)||[]}var y2=Ne(function(a,u){try{return Vr(a,e,u)}catch(f){return Pm(f)?f:new Ae(f)}}),VH=Vi(function(a,u){return mn(u,function(f){f=hi(f),Wi(a,f,Am(a[f],a))}),a});function KH(a){var u=a==null?0:a.length,f=be();return a=u?yt(a,function(g){if(typeof g[1]!="function")throw new vn(i);return[f(g[0]),g[1]]}):[],Ne(function(g){for(var y=-1;++yI)return[];var f=ke,g=ur(a,ke);u=be(u),a-=ke;for(var y=qg(g,u);++f0||u<0)?new Ge(f):(a<0?f=f.takeRight(-a):a&&(f=f.drop(a)),u!==e&&(u=Ce(u),f=u<0?f.dropRight(-u):f.take(u-a)),f)},Ge.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Ge.prototype.toArray=function(){return this.take(ke)},fi(Ge.prototype,function(a,u){var f=/^(?:filter|find|map|reject)|While$/.test(u),g=/^(?:head|last)$/.test(u),y=b[g?"take"+(u=="last"?"Right":""):u],T=g||/^find/.test(u);!y||(b.prototype[u]=function(){var P=this.__wrapped__,k=g?[1]:arguments,x=P instanceof Ge,j=k[0],W=x||Pe(P),K=function(Me){var Be=y.apply(b,Ts([Me],k));return g&&re?Be[0]:Be};W&&f&&typeof j=="function"&&j.length!=1&&(x=W=!1);var re=this.__chain__,me=!!this.__actions__.length,Te=T&&!re,Ie=x&&!me;if(!T&&W){P=Ie?P:new Ge(this);var we=a.apply(P,k);return we.__actions__.push({func:lf,args:[K],thisArg:e}),new yn(we,re)}return Te&&Ie?a.apply(this,k):(we=this.thru(K),Te?g?we.value()[0]:we.value():we)})}),mn(["pop","push","shift","sort","splice","unshift"],function(a){var u=Dl[a],f=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",g=/^(?:pop|shift)$/.test(a);b.prototype[a]=function(){var y=arguments;if(g&&!this.__chain__){var T=this.value();return u.apply(Pe(T)?T:[],y)}return this[f](function(P){return u.apply(Pe(P)?P:[],y)})}}),fi(Ge.prototype,function(a,u){var f=b[u];if(f){var g=f.name+"";it.call(ma,g)||(ma[g]=[]),ma[g].push({name:u,func:f})}}),ma[rf(e,E).name]=[{name:"wrapper",func:e}],Ge.prototype.clone=W6,Ge.prototype.reverse=$6,Ge.prototype.value=V6,b.prototype.at=b7,b.prototype.chain=T7,b.prototype.commit=w7,b.prototype.next=S7,b.prototype.plant=R7,b.prototype.reverse=P7,b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=O7,b.prototype.first=b.prototype.head,$u&&(b.prototype[$u]=A7),b},Ss=w6();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Jt._=Ss,define(function(){return Ss})):go?((go.exports=Ss)._=Ss,xg._=Ss):Jt._=Ss}).call(Qa)});var sk=_((gme,ik)=>{"use strict";var on=$0(),oJ=/()(.+)/gi,aJ="# ------------------------ >8 ------------------------";function Dp(e){let t=e.match(/[^\r\n]/);if(!t)return"";let r=t.index,n=e.length-1;for(;e[n]==="\r"||e[n]===` -`;)n--;return e.substring(r,n+1)}function Bo(e,t){return e?e+=` -`+t:e=t,e}function uJ(e){return function(t){return t.charAt(0)!==e}}function cJ(e){let t=e.indexOf(aJ);return t===-1?e:e.slice(0,t)}function nk(e,t){let r=[],n,i,s=e.match(t.references)!==null?t.references:oJ;for(;n=s.exec(e);){let o=n[1]||null,c=n[2];for(;i=t.referenceParts.exec(c);){let l=null,p=i[1]||"",d=p.split("/");d.length>1&&(l=d.shift(),p=d.join("/"));let h={action:o,owner:l,repository:p||null,issue:i[3],raw:i[0],prefix:i[2]};r.push(h)}}return r}function lJ(){return!0}function fJ(e,t,r){if(!e||!e.trim())throw new TypeError("Expected a raw commit");if(on.isEmpty(t))throw new TypeError("Expected options");if(on.isEmpty(r))throw new TypeError("Expected regex");let n,i,s={},o=typeof t.commentChar=="string"?uJ(t.commentChar):lJ,c=$=>!$.match(/^\s*gpg:/),l=Dp(e).split(/\r?\n/),p=cJ(l).filter(o).filter(c),d=!1,h=!0,m=on.map(t.headerCorrespondence,function($){return $.trim()}),w=on.map(t.revertCorrespondence,function($){return $.trim()}),v=on.map(t.mergeCorrespondence,function($){return $.trim()}),E=null,A=null,S=null,M=[],C=null,O=[],H=[],U=null;if(p.length===0)return{body:E,footer:A,header:S,mentions:M,merge:C,notes:O,references:H,revert:U,scope:null,subject:null,type:null};C=p.shift();let q={},J={};E="",A="";let ee=C.match(t.mergePattern);if(ee&&t.mergePattern){for(C=ee[0],S=p.shift();S!==void 0&&!S.trim();)S=p.shift();S||(S=""),on.forEach(v,function($,ue){let D=ee[ue+1]||null;q[$]=D})}else S=C,C=null,on.forEach(v,function($){q[$]=null});let X=S.match(t.headerPattern);if(X?on.forEach(m,function($,ue){let D=X[ue+1]||null;J[$]=D}):on.forEach(m,function($){J[$]=null}),Array.prototype.push.apply(H,nk(S,{references:r.references,referenceParts:r.referenceParts})),on.forEach(p,function($){if(t.fieldPattern){let ve=t.fieldPattern.exec($);if(ve){n=ve[1];return}if(n){s[n]=Bo(s[n],$);return}}let ue,D=$.match(r.notes);if(D){d=!0,h=!1,A=Bo(A,$);let ve={title:D[1],text:D[2]};O.push(ve);return}let I=nk($,{references:r.references,referenceParts:r.referenceParts});if(I.length>0&&(h=!1,ue=!0,d=!1),Array.prototype.push.apply(H,I),ue){A=Bo(A,$);return}if(d){O[O.length-1].text=Bo(O[O.length-1].text,$),A=Bo(A,$);return}h?E=Bo(E,$):A=Bo(A,$)}),t.breakingHeaderPattern&&O.length===0){let $=S.match(t.breakingHeaderPattern);if($){let ue=$[3];O.push({title:"BREAKING CHANGE",text:ue})}}for(;i=r.mentions.exec(e);)M.push(i[1]);let N=e.match(t.revertPattern);return N?(U={},on.forEach(w,function($,ue){let D=N[ue+1]||null;U[$]=D})):U=null,on.map(O,function($){return $.text=Dp($.text),$}),on.merge(J,q,{merge:C,header:S,body:E?Dp(E):null,footer:A?Dp(A):null,notes:O,references:H,mentions:M,revert:U},s)}ik.exports=fJ});var uk=_((mme,ak)=>{"use strict";var ok=/(?!.*)/;function V0(e,t){return e.map(function(r){return r.trim()}).filter(function(r){return r.length}).join(t)}function pJ(e,t){if(!e)return ok;let r=V0(e,"|");return t?t(r):new RegExp("^[\\s|*]*("+r+")[:\\s]+(.*)","i")}function hJ(e,t){if(!e)return ok;let r=t?"g":"gi";return new RegExp("(?:.*?)??\\s*([\\w-\\.\\/]*?)??("+V0(e,"|")+")([\\w-]*\\d+)",r)}function dJ(e){if(!e)return/()(.+)/gi;let t=V0(e,"|");return new RegExp("("+t+")(?:\\s+(.*?))(?=(?:"+t+")|$)","gi")}ak.exports=function(e){e=e||{};let t=pJ(e.noteKeywords,e.notesPattern),r=hJ(e.issuePrefixes,e.issuePrefixesCaseSensitive),n=dJ(e.referenceActions);return{notes:t,referenceParts:r,references:n,mentions:/@([\w-]+)/g}}});var K0=_((vme,ck)=>{ck.exports=F("stream")});var hk=_((yme,pk)=>{"use strict";function lk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gJ(e){for(var t=1;t0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return Mp.alloc(0);for(var n=Mp.allocUnsafe(r>>>0),i=this.head,s=0;i;)TJ(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return ro.length?o.length:r;if(c===o.length?s+=o:s+=o.slice(0,r),r-=c,r===0){c===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(c));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=Mp.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,c=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,c),r-=c,r===0){c===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(c));break}++s}return this.length-=s,n}},{key:bJ,value:function(r,n){return z0(this,gJ({},n,{depth:0,customInspect:!1}))}}]),e}()});var X0=_((_me,gk)=>{"use strict";function wJ(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Y0,this,e)):process.nextTick(Y0,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(Fp,r):(r._writableState.errorEmitted=!0,process.nextTick(dk,r,s)):process.nextTick(dk,r,s):t?(process.nextTick(Fp,r),t(s)):process.nextTick(Fp,r)}),this)}function dk(e,t){Y0(e,t),Fp(e)}function Fp(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function SJ(){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)}function Y0(e,t){e.emit("error",t)}function AJ(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}gk.exports={destroy:wJ,undestroy:SJ,errorOrDestroy:AJ}});var qs=_((Eme,yk)=>{"use strict";var vk={};function Rn(e,t,r){r||(r=Error);function n(s,o,c){return typeof t=="string"?t:t(s,o,c)}class i extends r{constructor(o,c,l){super(n(o,c,l))}}i.prototype.name=r.name,i.prototype.code=e,vk[e]=i}function mk(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function RJ(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function PJ(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function OJ(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Rn("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Rn("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&RJ(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(PJ(e," argument"))i=`The ${e} ${n} ${mk(t,"type")}`;else{let s=OJ(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${mk(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);Rn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Rn("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Rn("ERR_STREAM_PREMATURE_CLOSE","Premature close");Rn("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Rn("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Rn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Rn("ERR_STREAM_WRITE_AFTER_END","write after end");Rn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Rn("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Rn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");yk.exports.codes=vk});var J0=_((bme,_k)=>{"use strict";var CJ=qs().codes.ERR_INVALID_OPT_VALUE;function kJ(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function IJ(e,t,r,n){var i=kJ(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new CJ(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}_k.exports={getHighWaterMark:IJ}});var Ek=_((Tme,Q0)=>{typeof Object.create=="function"?Q0.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Q0.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Za=_((wme,ey)=>{try{if(Z0=F("util"),typeof Z0.inherits!="function")throw"";ey.exports=Z0.inherits}catch{ey.exports=Ek()}var Z0});var Tk=_((Sme,bk)=>{bk.exports=F("util").deprecate});var ny=_((Ame,Ok)=>{"use strict";Ok.exports=kt;function Sk(e){var t=this;this.next=null,this.entry=null,this.finish=function(){iQ(t,e)}}var eu;kt.WritableState=Gc;var LJ={deprecate:Tk()},Ak=K0(),Up=F("buffer").Buffer,xJ=global.Uint8Array||function(){};function NJ(e){return Up.from(e)}function DJ(e){return Up.isBuffer(e)||e instanceof xJ}var ry=X0(),MJ=J0(),FJ=MJ.getHighWaterMark,Hs=qs().codes,GJ=Hs.ERR_INVALID_ARG_TYPE,UJ=Hs.ERR_METHOD_NOT_IMPLEMENTED,BJ=Hs.ERR_MULTIPLE_CALLBACK,qJ=Hs.ERR_STREAM_CANNOT_PIPE,HJ=Hs.ERR_STREAM_DESTROYED,jJ=Hs.ERR_STREAM_NULL_VALUES,WJ=Hs.ERR_STREAM_WRITE_AFTER_END,$J=Hs.ERR_UNKNOWN_ENCODING,tu=ry.errorOrDestroy;Za()(kt,Ak);function VJ(){}function Gc(e,t,r){eu=eu||qo(),e=e||{},typeof r!="boolean"&&(r=t instanceof eu),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=FJ(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){ZJ(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Sk(this)}Gc.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Gc.prototype,"buffer",{get:LJ.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Gp;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Gp=Function.prototype[Symbol.hasInstance],Object.defineProperty(kt,Symbol.hasInstance,{value:function(t){return Gp.call(this,t)?!0:this!==kt?!1:t&&t._writableState instanceof Gc}})):Gp=function(t){return t instanceof this};function kt(e){eu=eu||qo();var t=this instanceof eu;if(!t&&!Gp.call(kt,this))return new kt(e);this._writableState=new Gc(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Ak.call(this)}kt.prototype.pipe=function(){tu(this,new qJ)};function KJ(e,t){var r=new WJ;tu(e,r),process.nextTick(t,r)}function zJ(e,t,r,n){var i;return r===null?i=new jJ:typeof r!="string"&&!t.objectMode&&(i=new GJ("chunk",["string","Buffer"],r)),i?(tu(e,i),process.nextTick(n,i),!1):!0}kt.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&DJ(e);return s&&!Up.isBuffer(e)&&(e=NJ(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=VJ),n.ending?KJ(this,r):(s||zJ(this,n,e,r))&&(n.pendingcb++,i=XJ(this,n,s,e,t,r)),i};kt.prototype.cork=function(){this._writableState.corked++};kt.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Rk(this,e))};kt.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new $J(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(kt.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function YJ(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Up.from(t,r)),t}Object.defineProperty(kt.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function XJ(e,t,r,n,i,s){if(!r){var o=YJ(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var c=t.objectMode?1:n.length;t.length+=c;var l=t.length{"use strict";var sQ=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};kk.exports=Ti;var Ck=oy(),sy=ny();Za()(Ti,Ck);for(iy=sQ(sy.prototype),Bp=0;Bp{var Hp=F("buffer"),wi=Hp.Buffer;function Ik(e,t){for(var r in e)t[r]=e[r]}wi.from&&wi.alloc&&wi.allocUnsafe&&wi.allocUnsafeSlow?Lk.exports=Hp:(Ik(Hp,ay),ay.Buffer=Ho);function Ho(e,t,r){return wi(e,t,r)}Ho.prototype=Object.create(wi.prototype);Ik(wi,Ho);Ho.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return wi(e,t,r)};Ho.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=wi(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Ho.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return wi(e)};Ho.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Hp.SlowBuffer(e)}});var ly=_(Dk=>{"use strict";var cy=xk().Buffer,Nk=cy.isEncoding||function(e){switch(e=""+e,e&&e.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 uQ(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function cQ(e){var t=uQ(e);if(typeof t!="string"&&(cy.isEncoding===Nk||!Nk(e)))throw new Error("Unknown encoding: "+e);return t||e}Dk.StringDecoder=Uc;function Uc(e){this.encoding=cQ(e);var t;switch(this.encoding){case"utf16le":this.text=gQ,this.end=mQ,t=4;break;case"utf8":this.fillLast=pQ,t=4;break;case"base64":this.text=vQ,this.end=yQ,t=3;break;default:this.write=_Q,this.end=EQ;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=cy.allocUnsafe(t)}Uc.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function lQ(e,t,r){var n=t.length-1;if(n=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function fQ(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function pQ(e){var t=this.lastTotal-this.lastNeed,r=fQ(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function hQ(e,t){var r=lQ(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function dQ(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function gQ(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function mQ(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function vQ(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function yQ(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _Q(e){return e.toString(this.encoding)}function EQ(e){return e&&e.length?this.write(e):""}});var jp=_((Ome,Gk)=>{"use strict";var Mk=qs().codes.ERR_STREAM_PREMATURE_CLOSE;function bQ(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i{"use strict";var Wp;function js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var SQ=jp(),Ws=Symbol("lastResolve"),jo=Symbol("lastReject"),Bc=Symbol("error"),$p=Symbol("ended"),Wo=Symbol("lastPromise"),fy=Symbol("handlePromise"),$o=Symbol("stream");function $s(e,t){return{value:e,done:t}}function AQ(e){var t=e[Ws];if(t!==null){var r=e[$o].read();r!==null&&(e[Wo]=null,e[Ws]=null,e[jo]=null,t($s(r,!1)))}}function RQ(e){process.nextTick(AQ,e)}function PQ(e,t){return function(r,n){e.then(function(){if(t[$p]){r($s(void 0,!0));return}t[fy](r,n)},n)}}var OQ=Object.getPrototypeOf(function(){}),CQ=Object.setPrototypeOf((Wp={get stream(){return this[$o]},next:function(){var t=this,r=this[Bc];if(r!==null)return Promise.reject(r);if(this[$p])return Promise.resolve($s(void 0,!0));if(this[$o].destroyed)return new Promise(function(o,c){process.nextTick(function(){t[Bc]?c(t[Bc]):o($s(void 0,!0))})});var n=this[Wo],i;if(n)i=new Promise(PQ(n,this));else{var s=this[$o].read();if(s!==null)return Promise.resolve($s(s,!1));i=new Promise(this[fy])}return this[Wo]=i,i}},js(Wp,Symbol.asyncIterator,function(){return this}),js(Wp,"return",function(){var t=this;return new Promise(function(r,n){t[$o].destroy(null,function(i){if(i){n(i);return}r($s(void 0,!0))})})}),Wp),OQ),kQ=function(t){var r,n=Object.create(CQ,(r={},js(r,$o,{value:t,writable:!0}),js(r,Ws,{value:null,writable:!0}),js(r,jo,{value:null,writable:!0}),js(r,Bc,{value:null,writable:!0}),js(r,$p,{value:t._readableState.endEmitted,writable:!0}),js(r,fy,{value:function(s,o){var c=n[$o].read();c?(n[Wo]=null,n[Ws]=null,n[jo]=null,s($s(c,!1))):(n[Ws]=s,n[jo]=o)},writable:!0}),r));return n[Wo]=null,SQ(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[jo];s!==null&&(n[Wo]=null,n[Ws]=null,n[jo]=null,s(i)),n[Bc]=i;return}var o=n[Ws];o!==null&&(n[Wo]=null,n[Ws]=null,n[jo]=null,o($s(void 0,!0))),n[$p]=!0}),t.on("readable",RQ.bind(null,n)),n};Uk.exports=kQ});var Wk=_((kme,jk)=>{"use strict";function qk(e,t,r,n,i,s,o){try{var c=e[s](o),l=c.value}catch(p){r(p);return}c.done?t(l):Promise.resolve(l).then(n,i)}function IQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(l){qk(s,n,i,o,c,"next",l)}function c(l){qk(s,n,i,o,c,"throw",l)}o(void 0)})}}function Hk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function LQ(e){for(var t=1;t{"use strict";eI.exports=Ve;var ru;Ve.ReadableState=zk;var Ime=F("events").EventEmitter,Kk=function(t,r){return t.listeners(r).length},Hc=K0(),Vp=F("buffer").Buffer,MQ=global.Uint8Array||function(){};function FQ(e){return Vp.from(e)}function GQ(e){return Vp.isBuffer(e)||e instanceof MQ}var py=F("util"),De;py&&py.debuglog?De=py.debuglog("stream"):De=function(){};var UQ=hk(),_y=X0(),BQ=J0(),qQ=BQ.getHighWaterMark,Kp=qs().codes,HQ=Kp.ERR_INVALID_ARG_TYPE,jQ=Kp.ERR_STREAM_PUSH_AFTER_EOF,WQ=Kp.ERR_METHOD_NOT_IMPLEMENTED,$Q=Kp.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,nu,hy,dy;Za()(Ve,Hc);var qc=_y.errorOrDestroy,gy=["error","close","destroy","pause","resume"];function VQ(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function zk(e,t,r){ru=ru||qo(),e=e||{},typeof r!="boolean"&&(r=t instanceof ru),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=qQ(this,e,"readableHighWaterMark",r),this.buffer=new UQ,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=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(nu||(nu=ly().StringDecoder),this.decoder=new nu(e.encoding),this.encoding=e.encoding)}function Ve(e){if(ru=ru||qo(),!(this instanceof Ve))return new Ve(e);var t=this instanceof ru;this._readableState=new zk(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Hc.call(this)}Object.defineProperty(Ve.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});Ve.prototype.destroy=_y.destroy;Ve.prototype._undestroy=_y.undestroy;Ve.prototype._destroy=function(e,t){t(e)};Ve.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=Vp.from(e,t),t=""),n=!0),Yk(this,e,t,!1,n)};Ve.prototype.unshift=function(e){return Yk(this,e,null,!0,!1)};function Yk(e,t,r,n,i){De("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,YQ(e,s);else{var o;if(i||(o=KQ(s,t)),o)qc(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==Vp.prototype&&(t=FQ(t)),n)s.endEmitted?qc(e,new $Q):my(e,s,t,!0);else if(s.ended)qc(e,new jQ);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?my(e,s,t,!1):yy(e,s)):my(e,s,t,!1)}else n||(s.reading=!1,yy(e,s))}return!s.ended&&(s.length=$k?e=$k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Vk(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=zQ(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ve.prototype.read=function(e){De("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return De("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?vy(this):zp(this),null;if(e=Vk(e,t),e===0&&t.ended)return t.length===0&&vy(this),null;var n=t.needReadable;De("need readable",n),(t.length===0||t.length-e0?i=Qk(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&vy(this)),i!==null&&this.emit("data",i),i};function YQ(e,t){if(De("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?zp(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Xk(e)))}}function zp(e){var t=e._readableState;De("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(De("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Xk,e))}function Xk(e){var t=e._readableState;De("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Ey(e)}function yy(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(XQ,e,t))}function XQ(e,t){for(;!t.reading&&!t.ended&&(t.length1&&Zk(n.pipes,e)!==-1)&&!p&&(De("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function m(A){De("onerror",A),E(),e.removeListener("error",m),Kk(e,"error")===0&&qc(e,A)}VQ(e,"error",m);function w(){e.removeListener("finish",v),E()}e.once("close",w);function v(){De("onfinish"),e.removeListener("close",w),E()}e.once("finish",v);function E(){De("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(De("pipe resume"),r.resume()),e};function JQ(e){return function(){var r=e._readableState;De("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Kk(e,"data")&&(r.flowing=!0,Ey(e))}}Ve.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,De("on readable",n.length,n.reading),n.length?zp(this):n.reading||process.nextTick(QQ,this)),r};Ve.prototype.addListener=Ve.prototype.on;Ve.prototype.removeListener=function(e,t){var r=Hc.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Jk,this),r};Ve.prototype.removeAllListeners=function(e){var t=Hc.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Jk,this),t};function Jk(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function QQ(e){De("readable nexttick read 0"),e.read(0)}Ve.prototype.resume=function(){var e=this._readableState;return e.flowing||(De("resume"),e.flowing=!e.readableListening,ZQ(this,e)),e.paused=!1,this};function ZQ(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(eZ,e,t))}function eZ(e,t){De("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Ey(e),t.flowing&&!t.reading&&e.read(0)}Ve.prototype.pause=function(){return De("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(De("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ey(e){var t=e._readableState;for(De("flow",t.flowing);t.flowing&&e.read()!==null;);}Ve.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(De("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(De("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var c=t.push(o);c||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(c){return function(){return e[c].apply(e,arguments)}}(i));for(var s=0;s=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function vy(e){var t=e._readableState;De("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(tZ,t,e))}function tZ(e,t){if(De("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(Ve.from=function(e,t){return dy===void 0&&(dy=Wk()),dy(Ve,e,t)});function Zk(e,t){for(var r=0,n=e.length;r{"use strict";rI.exports=ss;var Yp=qs().codes,rZ=Yp.ERR_METHOD_NOT_IMPLEMENTED,nZ=Yp.ERR_MULTIPLE_CALLBACK,iZ=Yp.ERR_TRANSFORM_ALREADY_TRANSFORMING,sZ=Yp.ERR_TRANSFORM_WITH_LENGTH_0,Xp=qo();Za()(ss,Xp);function oZ(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new nZ);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";iI.exports=jc;var nI=by();Za()(jc,nI);function jc(e){if(!(this instanceof jc))return new jc(e);nI.call(this,e)}jc.prototype._transform=function(e,t,r){r(null,e)}});var lI=_((Dme,cI)=>{"use strict";var Ty;function uZ(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var uI=qs().codes,cZ=uI.ERR_MISSING_ARGS,lZ=uI.ERR_STREAM_DESTROYED;function oI(e){if(e)throw e}function fZ(e){return e.setHeader&&typeof e.abort=="function"}function pZ(e,t,r,n){n=uZ(n);var i=!1;e.on("close",function(){i=!0}),Ty===void 0&&(Ty=jp()),Ty(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,fZ(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new lZ("pipe"))}}}function aI(e){e()}function hZ(e,t){return e.pipe(t)}function dZ(e){return!e.length||typeof e[e.length-1]!="function"?oI:e.pop()}function gZ(){for(var e=arguments.length,t=new Array(e),r=0;r0;return pZ(o,l,p,function(d){i||(i=d),d&&s.forEach(aI),!l&&(s.forEach(aI),n(i))})});return t.reduce(hZ)}cI.exports=gZ});var fI=_((Pn,$c)=>{var Wc=F("stream");process.env.READABLE_STREAM==="disable"&&Wc?($c.exports=Wc.Readable,Object.assign($c.exports,Wc),$c.exports.Stream=Wc):(Pn=$c.exports=oy(),Pn.Stream=Wc||Pn,Pn.Readable=Pn,Pn.Writable=ny(),Pn.Duplex=qo(),Pn.Transform=by(),Pn.PassThrough=sI(),Pn.finished=jp(),Pn.pipeline=lI())});var pI=_((Mme,Qp)=>{var{Transform:Jp}=fI();function mZ(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function wy(e){return(t,r,n)=>(typeof t=="function"&&(n=r,r=t,t={}),typeof r!="function"&&(r=(i,s,o)=>o(null,i)),typeof n!="function"&&(n=null),e(t,r,n))}var vZ=wy((e,t,r)=>{let n=new Jp(e);return n._transform=t,r&&(n._flush=r),n}),yZ=wy((e,t,r)=>{function n(i){if(!(this instanceof n))return new n(i);this.options=Object.assign({},e,i),Jp.call(this,this.options),this._transform=t,r&&(this._flush=r)}return mZ(n,Jp),n}),_Z=wy(function(e,t,r){let n=new Jp(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n});Qp.exports=vZ;Qp.exports.ctor=yZ;Qp.exports.obj=_Z});var mI=_((Fme,Sy)=>{"use strict";var hI=sk(),dI=uk(),EZ=pI(),bZ=$0();function gI(e){return e=bZ.extend({headerPattern:/^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#"],noteKeywords:["BREAKING CHANGE","BREAKING-CHANGE"],fieldPattern:/^-(.*?)-$/,revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,revertCorrespondence:["header","hash"],warn:function(){},mergePattern:null,mergeCorrespondence:null},e),typeof e.headerPattern=="string"&&(e.headerPattern=new RegExp(e.headerPattern)),typeof e.headerCorrespondence=="string"&&(e.headerCorrespondence=e.headerCorrespondence.split(",")),typeof e.referenceActions=="string"&&(e.referenceActions=e.referenceActions.split(",")),typeof e.issuePrefixes=="string"&&(e.issuePrefixes=e.issuePrefixes.split(",")),typeof e.noteKeywords=="string"&&(e.noteKeywords=e.noteKeywords.split(",")),typeof e.fieldPattern=="string"&&(e.fieldPattern=new RegExp(e.fieldPattern)),typeof e.revertPattern=="string"&&(e.revertPattern=new RegExp(e.revertPattern)),typeof e.revertCorrespondence=="string"&&(e.revertCorrespondence=e.revertCorrespondence.split(",")),typeof e.mergePattern=="string"&&(e.mergePattern=new RegExp(e.mergePattern)),e}function TZ(e){e=gI(e);let t=dI(e);return EZ.obj(function(r,n,i){let s;try{s=hI(r.toString(),e,t),i(null,s)}catch(o){e.warn===!0?i(o):(e.warn(o.toString()),i(null,""))}})}function wZ(e,t){t=gI(t);let r=dI(t);return hI(e,t,r)}Sy.exports=TZ;Sy.exports.sync=wZ});var dr=_((Gme,eh)=>{var vI,yI,_I,EI,bI,TI,wI,SI,AI,Zp,Ay,RI,PI,iu,OI,CI,kI,II,LI,xI,NI,DI,MI;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof eh=="object"&&typeof eh.exports=="object"?e(r(t,r(eh.exports))):e(r(t));function r(n,i){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(s,o){return n[s]=i?i(s,o):o}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])};vI=function(r,n){t(r,n);function i(){this.constructor=r}r.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},yI=Object.assign||function(r){for(var n,i=1,s=arguments.length;i=0;p--)(l=r[p])&&(c=(o<3?l(c):o>3?l(n,i,c):l(n,i))||c);return o>3&&c&&Object.defineProperty(n,i,c),c},bI=function(r,n){return function(i,s){n(i,s,r)}},TI=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},wI=function(r,n,i,s){function o(c){return c instanceof i?c:new i(function(l){l(c)})}return new(i||(i=Promise))(function(c,l){function p(m){try{h(s.next(m))}catch(w){l(w)}}function d(m){try{h(s.throw(m))}catch(w){l(w)}}function h(m){m.done?c(m.value):o(m.value).then(p,d)}h((s=s.apply(r,n||[])).next())})},SI=function(r,n){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},s,o,c,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(h){return function(m){return d([h,m])}}function d(h){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,o&&(c=h[0]&2?o.return:h[0]?o.throw||((c=o.return)&&c.call(o),0):o.next)&&!(c=c.call(o,h[1])).done)return c;switch(o=0,c&&(h=[h[0]&2,c.value]),h[0]){case 0:case 1:c=h;break;case 4:return i.label++,{value:h[1],done:!1};case 5:i.label++,o=h[1],h=[0];continue;case 7:h=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(h[0]===6||h[0]===2)){i=0;continue}if(h[0]===3&&(!c||h[1]>c[0]&&h[1]=r.length&&(r=void 0),{value:r&&r[s++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Ay=function(r,n){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var s=i.call(r),o,c=[],l;try{for(;(n===void 0||n-- >0)&&!(o=s.next()).done;)c.push(o.value)}catch(p){l={error:p}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(l)throw l.error}}return c},RI=function(){for(var r=[],n=0;n1||p(v,E)})})}function p(v,E){try{d(s[v](E))}catch(A){w(c[0][3],A)}}function d(v){v.value instanceof iu?Promise.resolve(v.value.v).then(h,m):w(c[0][2],v)}function h(v){p("next",v)}function m(v){p("throw",v)}function w(v,E){v(E),c.shift(),c.length&&p(c[0][0],c[0][1])}},CI=function(r){var n,i;return n={},s("next"),s("throw",function(o){throw o}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(o,c){n[o]=r[o]?function(l){return(i=!i)?{value:iu(r[o](l)),done:o==="return"}:c?c(l):l}:c}},kI=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],i;return n?n.call(r):(r=typeof Zp=="function"?Zp(r):r[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(c){i[c]=r[c]&&function(l){return new Promise(function(p,d){l=r[c](l),o(p,d,l.done,l.value)})}}function o(c,l,p,d){Promise.resolve(d).then(function(h){c({value:h,done:p})},l)}},II=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},LI=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var i in r)Object.hasOwnProperty.call(r,i)&&(n[i]=r[i]);return n.default=r,n},xI=function(r){return r&&r.__esModule?r:{default:r}},NI=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},DI=function(r,n,i){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,i),i},e("__extends",vI),e("__assign",yI),e("__rest",_I),e("__decorate",EI),e("__param",bI),e("__metadata",TI),e("__awaiter",wI),e("__generator",SI),e("__exportStar",AI),e("__createBinding",MI),e("__values",Zp),e("__read",Ay),e("__spread",RI),e("__spreadArrays",PI),e("__await",iu),e("__asyncGenerator",OI),e("__asyncDelegator",CI),e("__asyncValues",kI),e("__makeTemplateObject",II),e("__importStar",LI),e("__importDefault",xI),e("__classPrivateFieldGet",NI),e("__classPrivateFieldSet",DI)})});var qI=_((Ume,BI)=>{BI.exports=UI;UI.sync=AZ;var FI=F("fs");function SZ(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n{$I.exports=jI;jI.sync=RZ;var HI=F("fs");function jI(e,t,r){HI.stat(e,function(n,i){r(n,n?!1:WI(i,t))})}function RZ(e,t){return WI(HI.statSync(e),t)}function WI(e,t){return e.isFile()&&PZ(e,t)}function PZ(e,t){var r=e.mode,n=e.uid,i=e.gid,s=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),o=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),c=parseInt("100",8),l=parseInt("010",8),p=parseInt("001",8),d=c|l,h=r&p||r&l&&i===o||r&c&&n===s||r&d&&s===0;return h}});var zI=_((Hme,KI)=>{var qme=F("fs"),th;process.platform==="win32"||global.TESTING_WINDOWS?th=qI():th=VI();KI.exports=Ry;Ry.sync=OZ;function Ry(e,t,r){if(typeof t=="function"&&(r=t,t={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){Ry(e,t||{},function(s,o){s?i(s):n(o)})})}th(e,t||{},function(n,i){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,i=!1),r(n,i)})}function OZ(e,t){try{return th.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var tL=_((jme,eL)=>{var su=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",YI=F("path"),CZ=su?";":":",XI=zI(),JI=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),QI=(e,t)=>{let r=t.colon||CZ,n=e.match(/\//)||su&&e.match(/\\/)?[""]:[...su?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],i=su?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=su?i.split(r):[""];return su&&e.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:n,pathExt:s,pathExtExe:i}},ZI=(e,t,r)=>{typeof t=="function"&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:s}=QI(e,t),o=[],c=p=>new Promise((d,h)=>{if(p===n.length)return t.all&&o.length?d(o):h(JI(e));let m=n[p],w=/^".*"$/.test(m)?m.slice(1,-1):m,v=YI.join(w,e),E=!w&&/^\.[\\\/]/.test(e)?e.slice(0,2)+v:v;d(l(E,p,0))}),l=(p,d,h)=>new Promise((m,w)=>{if(h===i.length)return m(c(d+1));let v=i[h];XI(p+v,{pathExt:s},(E,A)=>{if(!E&&A)if(t.all)o.push(p+v);else return m(p+v);return m(l(p,d,h+1))})});return r?c(0).then(p=>r(null,p),r):c(0)},kZ=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=QI(e,t),s=[];for(let o=0;o{"use strict";var rL=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};Py.exports=rL;Py.exports.default=rL});var aL=_(($me,oL)=>{"use strict";var iL=F("path"),IZ=tL(),LZ=nL();function sL(e,t){let r=e.options.env||process.env,n=process.cwd(),i=e.options.cwd!=null,s=i&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch{}let o;try{o=IZ.sync(e.command,{path:r[LZ({env:r})],pathExt:t?iL.delimiter:void 0})}catch{}finally{s&&process.chdir(n)}return o&&(o=iL.resolve(i?e.options.cwd:"",o)),o}function xZ(e){return sL(e)||sL(e,!0)}oL.exports=xZ});var uL=_((Vme,Cy)=>{"use strict";var Oy=/([()\][%!^"`<>&|;, *?])/g;function NZ(e){return e=e.replace(Oy,"^$1"),e}function DZ(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(Oy,"^$1"),t&&(e=e.replace(Oy,"^$1")),e}Cy.exports.command=NZ;Cy.exports.argument=DZ});var lL=_((Kme,cL)=>{"use strict";cL.exports=/^#!(.*)/});var pL=_((zme,fL)=>{"use strict";var MZ=lL();fL.exports=(e="")=>{let t=e.match(MZ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return i==="env"?n:n?`${i} ${n}`:i}});var dL=_((Yme,hL)=>{"use strict";var ky=F("fs"),FZ=pL();function GZ(e){let r=Buffer.alloc(150),n;try{n=ky.openSync(e,"r"),ky.readSync(n,r,0,150,0),ky.closeSync(n)}catch{}return FZ(r.toString())}hL.exports=GZ});var yL=_((Xme,vL)=>{"use strict";var UZ=F("path"),gL=aL(),mL=uL(),BZ=dL(),qZ=process.platform==="win32",HZ=/\.(?:com|exe)$/i,jZ=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function WZ(e){e.file=gL(e);let t=e.file&&BZ(e.file);return t?(e.args.unshift(e.file),e.command=t,gL(e)):e.file}function $Z(e){if(!qZ)return e;let t=WZ(e),r=!HZ.test(t);if(e.options.forceShell||r){let n=jZ.test(t);e.command=UZ.normalize(e.command),e.command=mL.command(e.command),e.args=e.args.map(s=>mL.argument(s,n));let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function VZ(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:$Z(n)}vL.exports=VZ});var bL=_((Jme,EL)=>{"use strict";var Iy=process.platform==="win32";function Ly(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function KZ(e,t){if(!Iy)return;let r=e.emit;e.emit=function(n,i){if(n==="exit"){let s=_L(i,t,"spawn");if(s)return r.call(e,"error",s)}return r.apply(e,arguments)}}function _L(e,t){return Iy&&e===1&&!t.file?Ly(t.original,"spawn"):null}function zZ(e,t){return Iy&&e===1&&!t.file?Ly(t.original,"spawnSync"):null}EL.exports={hookChildProcess:KZ,verifyENOENT:_L,verifyENOENTSync:zZ,notFoundError:Ly}});var SL=_((Qme,ou)=>{"use strict";var TL=F("child_process"),xy=yL(),Ny=bL();function wL(e,t,r){let n=xy(e,t,r),i=TL.spawn(n.command,n.args,n.options);return Ny.hookChildProcess(i,n),i}function YZ(e,t,r){let n=xy(e,t,r),i=TL.spawnSync(n.command,n.args,n.options);return i.error=i.error||Ny.verifyENOENTSync(i.status,n),i}ou.exports=wL;ou.exports.spawn=wL;ou.exports.sync=YZ;ou.exports._parse=xy;ou.exports._enoent=Ny});var RL=_((Zme,Dy)=>{"use strict";var XZ=e=>{let t=!1,r=!1,n=!1;for(let i=0;i{if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);let r=i=>t.pascalCase?i.charAt(0).toUpperCase()+i.slice(1):i;return Array.isArray(e)?e=e.map(i=>i.trim()).filter(i=>i.length).join("-"):e=e.trim(),e.length===0?"":e.length===1?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=XZ(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(i,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,i=>i.toUpperCase()),r(e))};Dy.exports=AL;Dy.exports.default=AL});var PL=_((eve,JZ)=>{JZ.exports=[{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]}},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var My=_(an=>{"use strict";var CL=PL(),Yt=process.env;Object.defineProperty(an,"_vendors",{value:CL.map(function(e){return e.constant})});an.name=null;an.isPR=null;CL.forEach(function(e){let r=(Array.isArray(e.env)?e.env:[e.env]).every(function(n){return OL(n)});if(an[e.constant]=r,!!r)switch(an.name=e.name,typeof e.pr){case"string":an.isPR=!!Yt[e.pr];break;case"object":"env"in e.pr?an.isPR=e.pr.env in Yt&&Yt[e.pr.env]!==e.pr.ne:"any"in e.pr?an.isPR=e.pr.any.some(function(n){return!!Yt[n]}):an.isPR=OL(e.pr);break;default:an.isPR=null}});an.isCI=!!(Yt.CI!=="false"&&(Yt.BUILD_ID||Yt.BUILD_NUMBER||Yt.CI||Yt.CI_APP_ID||Yt.CI_BUILD_ID||Yt.CI_BUILD_NUMBER||Yt.CI_NAME||Yt.CONTINUOUS_INTEGRATION||Yt.RUN_ID||an.name||!1));function OL(e){return typeof e=="string"?!!Yt[e]:"env"in e?Yt[e.env]&&Yt[e.env].includes(e.includes):"any"in e?e.any.some(function(t){return!!Yt[t]}):Object.keys(e).every(function(t){return Yt[t]===e[t]})}});var IL=_((rve,Fy)=>{"use strict";var kL=(e,...t)=>new Promise(r=>{r(e(...t))});Fy.exports=kL;Fy.exports.default=kL});var Uy=_((nve,Gy)=>{"use strict";var QZ=IL(),LL=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,n=()=>{r--,t.length>0&&t.shift()()},i=(c,l,...p)=>{r++;let d=QZ(c,...p);l(d),d.then(n,n)},s=(c,l,...p)=>{rnew Promise(p=>s(c,p,...l));return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),o};Gy.exports=LL;Gy.exports.default=LL});var au=_(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.parseMessageName=Vs.stringifyMessageName=Vs.MessageName=void 0;var By;(function(e){e[e.UNNAMED=0]="UNNAMED",e[e.EXCEPTION=1]="EXCEPTION",e[e.MISSING_PEER_DEPENDENCY=2]="MISSING_PEER_DEPENDENCY",e[e.CYCLIC_DEPENDENCIES=3]="CYCLIC_DEPENDENCIES",e[e.DISABLED_BUILD_SCRIPTS=4]="DISABLED_BUILD_SCRIPTS",e[e.BUILD_DISABLED=5]="BUILD_DISABLED",e[e.SOFT_LINK_BUILD=6]="SOFT_LINK_BUILD",e[e.MUST_BUILD=7]="MUST_BUILD",e[e.MUST_REBUILD=8]="MUST_REBUILD",e[e.BUILD_FAILED=9]="BUILD_FAILED",e[e.RESOLVER_NOT_FOUND=10]="RESOLVER_NOT_FOUND",e[e.FETCHER_NOT_FOUND=11]="FETCHER_NOT_FOUND",e[e.LINKER_NOT_FOUND=12]="LINKER_NOT_FOUND",e[e.FETCH_NOT_CACHED=13]="FETCH_NOT_CACHED",e[e.YARN_IMPORT_FAILED=14]="YARN_IMPORT_FAILED",e[e.REMOTE_INVALID=15]="REMOTE_INVALID",e[e.REMOTE_NOT_FOUND=16]="REMOTE_NOT_FOUND",e[e.RESOLUTION_PACK=17]="RESOLUTION_PACK",e[e.CACHE_CHECKSUM_MISMATCH=18]="CACHE_CHECKSUM_MISMATCH",e[e.UNUSED_CACHE_ENTRY=19]="UNUSED_CACHE_ENTRY",e[e.MISSING_LOCKFILE_ENTRY=20]="MISSING_LOCKFILE_ENTRY",e[e.WORKSPACE_NOT_FOUND=21]="WORKSPACE_NOT_FOUND",e[e.TOO_MANY_MATCHING_WORKSPACES=22]="TOO_MANY_MATCHING_WORKSPACES",e[e.CONSTRAINTS_MISSING_DEPENDENCY=23]="CONSTRAINTS_MISSING_DEPENDENCY",e[e.CONSTRAINTS_INCOMPATIBLE_DEPENDENCY=24]="CONSTRAINTS_INCOMPATIBLE_DEPENDENCY",e[e.CONSTRAINTS_EXTRANEOUS_DEPENDENCY=25]="CONSTRAINTS_EXTRANEOUS_DEPENDENCY",e[e.CONSTRAINTS_INVALID_DEPENDENCY=26]="CONSTRAINTS_INVALID_DEPENDENCY",e[e.CANT_SUGGEST_RESOLUTIONS=27]="CANT_SUGGEST_RESOLUTIONS",e[e.FROZEN_LOCKFILE_EXCEPTION=28]="FROZEN_LOCKFILE_EXCEPTION",e[e.CROSS_DRIVE_VIRTUAL_LOCAL=29]="CROSS_DRIVE_VIRTUAL_LOCAL",e[e.FETCH_FAILED=30]="FETCH_FAILED",e[e.DANGEROUS_NODE_MODULES=31]="DANGEROUS_NODE_MODULES",e[e.NODE_GYP_INJECTED=32]="NODE_GYP_INJECTED",e[e.AUTHENTICATION_NOT_FOUND=33]="AUTHENTICATION_NOT_FOUND",e[e.INVALID_CONFIGURATION_KEY=34]="INVALID_CONFIGURATION_KEY",e[e.NETWORK_ERROR=35]="NETWORK_ERROR",e[e.LIFECYCLE_SCRIPT=36]="LIFECYCLE_SCRIPT",e[e.CONSTRAINTS_MISSING_FIELD=37]="CONSTRAINTS_MISSING_FIELD",e[e.CONSTRAINTS_INCOMPATIBLE_FIELD=38]="CONSTRAINTS_INCOMPATIBLE_FIELD",e[e.CONSTRAINTS_EXTRANEOUS_FIELD=39]="CONSTRAINTS_EXTRANEOUS_FIELD",e[e.CONSTRAINTS_INVALID_FIELD=40]="CONSTRAINTS_INVALID_FIELD",e[e.AUTHENTICATION_INVALID=41]="AUTHENTICATION_INVALID",e[e.PROLOG_UNKNOWN_ERROR=42]="PROLOG_UNKNOWN_ERROR",e[e.PROLOG_SYNTAX_ERROR=43]="PROLOG_SYNTAX_ERROR",e[e.PROLOG_EXISTENCE_ERROR=44]="PROLOG_EXISTENCE_ERROR",e[e.STACK_OVERFLOW_RESOLUTION=45]="STACK_OVERFLOW_RESOLUTION",e[e.AUTOMERGE_FAILED_TO_PARSE=46]="AUTOMERGE_FAILED_TO_PARSE",e[e.AUTOMERGE_IMMUTABLE=47]="AUTOMERGE_IMMUTABLE",e[e.AUTOMERGE_SUCCESS=48]="AUTOMERGE_SUCCESS",e[e.AUTOMERGE_REQUIRED=49]="AUTOMERGE_REQUIRED",e[e.DEPRECATED_CLI_SETTINGS=50]="DEPRECATED_CLI_SETTINGS",e[e.PLUGIN_NAME_NOT_FOUND=51]="PLUGIN_NAME_NOT_FOUND",e[e.INVALID_PLUGIN_REFERENCE=52]="INVALID_PLUGIN_REFERENCE",e[e.CONSTRAINTS_AMBIGUITY=53]="CONSTRAINTS_AMBIGUITY",e[e.CACHE_OUTSIDE_PROJECT=54]="CACHE_OUTSIDE_PROJECT",e[e.IMMUTABLE_INSTALL=55]="IMMUTABLE_INSTALL",e[e.IMMUTABLE_CACHE=56]="IMMUTABLE_CACHE",e[e.INVALID_MANIFEST=57]="INVALID_MANIFEST",e[e.PACKAGE_PREPARATION_FAILED=58]="PACKAGE_PREPARATION_FAILED",e[e.INVALID_RANGE_PEER_DEPENDENCY=59]="INVALID_RANGE_PEER_DEPENDENCY",e[e.INCOMPATIBLE_PEER_DEPENDENCY=60]="INCOMPATIBLE_PEER_DEPENDENCY",e[e.DEPRECATED_PACKAGE=61]="DEPRECATED_PACKAGE",e[e.INCOMPATIBLE_OS=62]="INCOMPATIBLE_OS",e[e.INCOMPATIBLE_CPU=63]="INCOMPATIBLE_CPU",e[e.FROZEN_ARTIFACT_EXCEPTION=64]="FROZEN_ARTIFACT_EXCEPTION",e[e.TELEMETRY_NOTICE=65]="TELEMETRY_NOTICE",e[e.PATCH_HUNK_FAILED=66]="PATCH_HUNK_FAILED",e[e.INVALID_CONFIGURATION_VALUE=67]="INVALID_CONFIGURATION_VALUE",e[e.UNUSED_PACKAGE_EXTENSION=68]="UNUSED_PACKAGE_EXTENSION",e[e.REDUNDANT_PACKAGE_EXTENSION=69]="REDUNDANT_PACKAGE_EXTENSION",e[e.AUTO_NM_SUCCESS=70]="AUTO_NM_SUCCESS",e[e.NM_CANT_INSTALL_EXTERNAL_SOFT_LINK=71]="NM_CANT_INSTALL_EXTERNAL_SOFT_LINK",e[e.NM_PRESERVE_SYMLINKS_REQUIRED=72]="NM_PRESERVE_SYMLINKS_REQUIRED",e[e.UPDATE_LOCKFILE_ONLY_SKIP_LINK=73]="UPDATE_LOCKFILE_ONLY_SKIP_LINK",e[e.NM_HARDLINKS_MODE_DOWNGRADED=74]="NM_HARDLINKS_MODE_DOWNGRADED",e[e.PROLOG_INSTANTIATION_ERROR=75]="PROLOG_INSTANTIATION_ERROR",e[e.INCOMPATIBLE_ARCHITECTURE=76]="INCOMPATIBLE_ARCHITECTURE",e[e.GHOST_ARCHITECTURE=77]="GHOST_ARCHITECTURE",e[e.PROLOG_LIMIT_EXCEEDED=79]="PROLOG_LIMIT_EXCEEDED"})(By||(Vs.MessageName=By={}));function ZZ(e){return`YN${e.toString(10).padStart(4,"0")}`}Vs.stringifyMessageName=ZZ;function eee(e){let t=Number(e.slice(2));if(typeof By[t]>"u")throw new Error(`Unknown message name: "${e}"`);return t}Vs.parseMessageName=eee});var qy=_(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.VERSION=void 0;rh.VERSION="9.1.0"});var ze=_((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n{(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof nh=="object"&&nh.exports?nh.exports=t():e.regexpToAst=t()})(typeof self<"u"?self:xL,function(){function e(){}e.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},e.prototype.restoreState=function(v){this.idx=v.idx,this.input=v.input,this.groupIdx=v.groupIdx},e.prototype.pattern=function(v){this.idx=0,this.input=v,this.groupIdx=0,this.consumeChar("/");var E=this.disjunction();this.consumeChar("/");for(var A={type:"Flags",loc:{begin:this.idx,end:v.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(A,"global");break;case"i":o(A,"ignoreCase");break;case"m":o(A,"multiLine");break;case"u":o(A,"unicode");break;case"y":o(A,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:A,value:E,loc:this.loc(0)}},e.prototype.disjunction=function(){var v=[],E=this.idx;for(v.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),v.push(this.alternative());return{type:"Disjunction",value:v,loc:this.loc(E)}},e.prototype.alternative=function(){for(var v=[],E=this.idx;this.isTerm();)v.push(this.term());return{type:"Alternative",value:v,loc:this.loc(E)}},e.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},e.prototype.assertion=function(){var v=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(v)};case"$":return{type:"EndAnchor",loc:this.loc(v)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(v)};case"B":return{type:"NonWordBoundary",loc:this.loc(v)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var E;switch(this.popChar()){case"=":E="Lookahead";break;case"!":E="NegativeLookahead";break}c(E);var A=this.disjunction();return this.consumeChar(")"),{type:E,value:A,loc:this.loc(v)}}l()},e.prototype.quantifier=function(v){var E,A=this.idx;switch(this.popChar()){case"*":E={atLeast:0,atMost:1/0};break;case"+":E={atLeast:1,atMost:1/0};break;case"?":E={atLeast:0,atMost:1};break;case"{":var S=this.integerIncludingZero();switch(this.popChar()){case"}":E={atLeast:S,atMost:S};break;case",":var M;this.isDigit()?(M=this.integerIncludingZero(),E={atLeast:S,atMost:M}):E={atLeast:S,atMost:1/0},this.consumeChar("}");break}if(v===!0&&E===void 0)return;c(E);break}if(!(v===!0&&E===void 0))return c(E),this.peekChar(0)==="?"?(this.consumeChar("?"),E.greedy=!1):E.greedy=!0,E.type="Quantifier",E.loc=this.loc(A),E},e.prototype.atom=function(){var v,E=this.idx;switch(this.peekChar()){case".":v=this.dotAll();break;case"\\":v=this.atomEscape();break;case"[":v=this.characterClass();break;case"(":v=this.group();break}return v===void 0&&this.isPatternCharacter()&&(v=this.patternCharacter()),c(v),v.loc=this.loc(E),this.isQuantifier()&&(v.quantifier=this.quantifier()),v},e.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[i(` -`),i("\r"),i("\u2028"),i("\u2029")]}},e.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.decimalEscapeAtom=function(){var v=this.positiveInteger();return{type:"GroupBackReference",value:v}},e.prototype.characterClassEscape=function(){var v,E=!1;switch(this.popChar()){case"d":v=d;break;case"D":v=d,E=!0;break;case"s":v=m;break;case"S":v=m,E=!0;break;case"w":v=h;break;case"W":v=h,E=!0;break}return c(v),{type:"Set",value:v,complement:E}},e.prototype.controlEscapeAtom=function(){var v;switch(this.popChar()){case"f":v=i("\f");break;case"n":v=i(` -`);break;case"r":v=i("\r");break;case"t":v=i(" ");break;case"v":v=i("\v");break}return c(v),{type:"Character",value:v}},e.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var v=this.popChar();if(/[a-zA-Z]/.test(v)===!1)throw Error("Invalid ");var E=v.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:E}},e.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:i("\0")}},e.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},e.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},e.prototype.identityEscapeAtom=function(){var v=this.popChar();return{type:"Character",value:i(v)}},e.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var v=this.popChar();return{type:"Character",value:i(v)}}},e.prototype.characterClass=function(){var v=[],E=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),E=!0);this.isClassAtom();){var A=this.classAtom(),S=A.type==="Character";if(S&&this.isRangeDash()){this.consumeChar("-");var M=this.classAtom(),C=M.type==="Character";if(C){if(M.value=this.input.length)throw Error("Unexpected end of input");this.idx++},e.prototype.loc=function(v){return{begin:v,end:this.idx}};var t=/[0-9a-fA-F]/,r=/[0-9]/,n=/[1-9]/;function i(v){return v.charCodeAt(0)}function s(v,E){v.length!==void 0?v.forEach(function(A){E.push(A)}):E.push(v)}function o(v,E){if(v[E]===!0)throw"duplicate flag "+E;v[E]=!0}function c(v){if(v===void 0)throw Error("Internal Error - Should never get here!")}function l(){throw Error("Internal Error - Should never get here!")}var p,d=[];for(p=i("0");p<=i("9");p++)d.push(p);var h=[i("_")].concat(d);for(p=i("a");p<=i("z");p++)h.push(p);for(p=i("A");p<=i("Z");p++)h.push(p);var m=[i(" "),i("\f"),i(` -`),i("\r"),i(" "),i("\v"),i(" "),i("\xA0"),i("\u1680"),i("\u2000"),i("\u2001"),i("\u2002"),i("\u2003"),i("\u2004"),i("\u2005"),i("\u2006"),i("\u2007"),i("\u2008"),i("\u2009"),i("\u200A"),i("\u2028"),i("\u2029"),i("\u202F"),i("\u205F"),i("\u3000"),i("\uFEFF")];function w(){}return w.prototype.visitChildren=function(v){for(var E in v){var A=v[E];v.hasOwnProperty(E)&&(A.type!==void 0?this.visit(A):Array.isArray(A)&&A.forEach(function(S){this.visit(S)},this))}},w.prototype.visit=function(v){switch(v.type){case"Pattern":this.visitPattern(v);break;case"Flags":this.visitFlags(v);break;case"Disjunction":this.visitDisjunction(v);break;case"Alternative":this.visitAlternative(v);break;case"StartAnchor":this.visitStartAnchor(v);break;case"EndAnchor":this.visitEndAnchor(v);break;case"WordBoundary":this.visitWordBoundary(v);break;case"NonWordBoundary":this.visitNonWordBoundary(v);break;case"Lookahead":this.visitLookahead(v);break;case"NegativeLookahead":this.visitNegativeLookahead(v);break;case"Character":this.visitCharacter(v);break;case"Set":this.visitSet(v);break;case"Group":this.visitGroup(v);break;case"GroupBackReference":this.visitGroupBackReference(v);break;case"Quantifier":this.visitQuantifier(v);break}this.visitChildren(v)},w.prototype.visitPattern=function(v){},w.prototype.visitFlags=function(v){},w.prototype.visitDisjunction=function(v){},w.prototype.visitAlternative=function(v){},w.prototype.visitStartAnchor=function(v){},w.prototype.visitEndAnchor=function(v){},w.prototype.visitWordBoundary=function(v){},w.prototype.visitNonWordBoundary=function(v){},w.prototype.visitLookahead=function(v){},w.prototype.visitNegativeLookahead=function(v){},w.prototype.visitCharacter=function(v){},w.prototype.visitSet=function(v){},w.prototype.visitGroup=function(v){},w.prototype.visitGroupBackReference=function(v){},w.prototype.visitQuantifier=function(v){},{RegExpParser:e,BaseRegExpVisitor:w,VERSION:"0.5.0"}})});var oh=_(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.clearRegExpParserCache=uu.getRegExpAst=void 0;var tee=ih(),sh={},ree=new tee.RegExpParser;function nee(e){var t=e.toString();if(sh.hasOwnProperty(t))return sh[t];var r=ree.pattern(t);return sh[t]=r,r}uu.getRegExpAst=nee;function iee(){sh={}}uu.clearRegExpParserCache=iee});var GL=_(Fr=>{"use strict";var see=Fr&&Fr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Fr,"__esModule",{value:!0});Fr.canMatchCharCode=Fr.firstCharOptimizedIndices=Fr.getOptimizedStartCodesIndices=Fr.failedOptimizationPrefixMsg=void 0;var DL=ih(),On=ze(),ML=oh(),os=jy(),FL="Complement Sets are not supported for first char optimization";Fr.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: -`;function oee(e,t){t===void 0&&(t=!1);try{var r=(0,ML.getRegExpAst)(e),n=uh(r.value,{},r.flags.ignoreCase);return n}catch(s){if(s.message===FL)t&&(0,On.PRINT_WARNING)(""+Fr.failedOptimizationPrefixMsg+(" Unable to optimize: < "+e.toString()+` > +`)})});var HS={};nu(HS,{parsePackage:()=>YB,readPackage:()=>Fd,readPackageSync:()=>Gd});async function Fd({cwd:e,normalize:t=!0}={}){let r=await GS.default.readFile(jS(e),"utf8");return Md(r,t)}function Gd({cwd:e,normalize:t=!0}={}){let r=FS.default.readFileSync(jS(e),"utf8");return Md(r,t)}function YB(e,{normalize:t=!0}={}){let r=e!==null&&typeof e=="object"&&!Array.isArray(e);if(!r&&!(typeof e=="string"))throw new TypeError("`packageFile` should be either an `object` or a `string`.");let i=r?globalThis.structuredClone===void 0?{...e}:structuredClone(e):e;return Md(i,t)}var FS,GS,US,BS,qS,zB,jS,Md,Ud=_r(()=>{FS=Ne(P("fs"),1),GS=Ne(P("fs/promises"),1),US=Ne(P("path"),1),BS=P("url");MS();qS=Ne(gd(),1),zB=e=>e instanceof URL?(0,BS.fileURLToPath)(e):e,jS=e=>{var t;return US.default.resolve((t=zB(e))!=null?t:".","package.json")},Md=(e,t)=>{let r=typeof e=="string"?Dd(e):e;return t&&(0,qS.default)(r),r}});var Bd,Kr,ji,Hi,Ea,$S=_r(()=>{Bd=class{value;next;constructor(t){this.value=t}},Ea=class{constructor(){ee(this,Kr,void 0);ee(this,ji,void 0);ee(this,Hi,void 0);this.clear()}enqueue(t){let r=new Bd(t);E(this,Kr)?(E(this,ji).next=r,J(this,ji,r)):(J(this,Kr,r),J(this,ji,r)),bi(this,Hi)._++}dequeue(){let t=E(this,Kr);if(!!t)return J(this,Kr,E(this,Kr).next),bi(this,Hi)._--,t.value}clear(){J(this,Kr,void 0),J(this,ji,void 0),J(this,Hi,0)}get size(){return E(this,Hi)}*[Symbol.iterator](){let t=E(this,Kr);for(;t;)yield t.value,t=t.next}};Kr=new WeakMap,ji=new WeakMap,Hi=new WeakMap});function Dc(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new Ea,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},i=async(a,u,c)=>{r++;let f=(async()=>a(...c))();u(f);try{await f}catch{}n()},s=(a,u,c)=>{t.enqueue(i.bind(void 0,a,u,c)),(async()=>(await Promise.resolve(),r0&&t.dequeue()()))()},o=(a,...u)=>new Promise(c=>{s(a,c,u)});return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o}var WS=_r(()=>{$S()});async function qd(e,t,{concurrency:r=Number.POSITIVE_INFINITY,preserveOrder:n=!0}={}){let i=Dc(r),s=[...e].map(a=>[a,i(XB,a,t)]),o=Dc(n?1:Number.POSITIVE_INFINITY);try{await Promise.all(s.map(a=>o(QB,a)))}catch(a){if(a instanceof Mc)return a.value;throw a}}var Mc,XB,QB,VS=_r(()=>{WS();Mc=class extends Error{constructor(t){super(),this.value=t}},XB=async(e,t)=>t(await e),QB=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new Mc(t[0]);return!1}});function YS(e){if(!Object.hasOwnProperty.call(zS,e))throw new Error(`Invalid type specified: ${e}`)}async function $d(e,{cwd:t=jd.default.cwd(),type:r="file",allowSymlinks:n=!0,concurrency:i,preserveOrder:s}={}){YS(r),t=QS(t);let o=n?$s.promises.stat:$s.promises.lstat;return qd(e,async a=>{try{let u=await o(Hd.default.resolve(t,a));return XS(r,u)}catch{return!1}},{concurrency:i,preserveOrder:s})}function Wd(e,{cwd:t=jd.default.cwd(),type:r="file",allowSymlinks:n=!0}={}){YS(r),t=QS(t);let i=n?$s.default.statSync:$s.default.lstatSync;for(let s of e)try{let o=i(Hd.default.resolve(t,s),{throwIfNoEntry:!1});if(!o)continue;if(XS(r,o))return s}catch{}}var jd,Hd,$s,KS,zS,XS,QS,JS=_r(()=>{jd=Ne(P("process"),1),Hd=Ne(P("path"),1),$s=Ne(P("fs"),1),KS=P("url");VS();zS={directory:"isDirectory",file:"isFile"};XS=(e,t)=>t[zS[e]](),QS=e=>e instanceof URL?(0,KS.fileURLToPath)(e):e});var ZS=_r(()=>{});async function JB(e,t={}){let r=zr.default.resolve(tw(t.cwd)||""),{root:n}=zr.default.parse(r),i=zr.default.resolve(r,t.stopAt||n),s=t.limit||Number.POSITIVE_INFINITY,o=[e].flat(),a=async c=>{if(typeof e!="function")return $d(o,c);let f=await e(c.cwd);return typeof f=="string"?$d([f],c):f},u=[];for(;;){let c=await a({...t,cwd:r});if(c===rw||(c&&u.push(zr.default.resolve(r,c)),r===i||u.length>=s))break;r=zr.default.dirname(r)}return u}function ZB(e,t={}){let r=zr.default.resolve(tw(t.cwd)||""),{root:n}=zr.default.parse(r),i=t.stopAt||n,s=t.limit||Number.POSITIVE_INFINITY,o=[e].flat(),a=c=>{if(typeof e!="function")return Wd(o,c);let f=e(c.cwd);return typeof f=="string"?Wd([f],c):f},u=[];for(;;){let c=a({...t,cwd:r});if(c===rw||(c&&u.push(zr.default.resolve(r,c)),r===i||u.length>=s))break;r=zr.default.dirname(r)}return u}async function nw(e,t={}){return(await JB(e,{...t,limit:1}))[0]}function iw(e,t={}){return ZB(e,{...t,limit:1})[0]}var zr,ew,tw,rw,sw=_r(()=>{zr=Ne(P("path"),1),ew=P("url");JS();ZS();tw=e=>e instanceof URL?(0,ew.fileURLToPath)(e):e,rw=Symbol("findUpStop")});var ow={};nu(ow,{readPackageUp:()=>eq,readPackageUpSync:()=>tq});async function eq(e){let t=await nw("package.json",e);if(!!t)return{packageJson:await Fd({...e,cwd:Vd.default.dirname(t)}),path:t}}function tq(e){let t=iw("package.json",e);if(!!t)return{packageJson:Gd({...e,cwd:Vd.default.dirname(t)}),path:t}}var Vd,aw=_r(()=>{Vd=Ne(P("path"),1);sw();Ud()});var cw=d((Vre,uw)=>{"use strict";var rq=P("fs/promises"),{exec:nq}=P("child_process"),iq=ed(),sq=Mb(),oq=td(),aq=gd(),uq={github:QT(),bitbucket:JT(),gitlab:ZT()},{URL:cq}=P("url"),lq=/github|bitbucket|gitlab/i,fq=Intl.DateTimeFormat("sv-SE",{timeZone:"UTC"});function pq(e,t){return e?e[0]==="v"&&t[0]!=="v"?"v"+t:e[0]!=="v"&&t[0]==="v"?t.replace(/^v/,""):t:t[0]!=="v"?"v"+t:t}function hq(e){if(!e)return{};let t={};for(let r in e)e[r]!==void 0&&(t[r]=e[r]);return t}function dq(e){return new Promise((t,r)=>{nq("git config --get remote.origin.url",{cwd:e},(n,i)=>{n?r(n):t(i.trim())})})}async function gq(e,t,r,n,i,s){var b;let o;e=hq(e),t=t||{},r=r||{},s={cwd:e==null?void 0:e.cwd,...s||{}};let a=e&&e.tagPrefix?new RegExp(`tag:\\s*[=]?${e.tagPrefix}(.+?)[,)]`,"gi"):/tag:\s*[v=]?(.+?)[,)]/gi;e={append:!1,releaseCount:1,skipUnstable:!1,debug:function(){},transform:function(_,O){if(typeof _.gitTags=="string"){let R=a.exec(_.gitTags);a.lastIndex=0,R&&(_.version=R[1])}_.committerDate&&(_.committerDate=fq.format(new Date(_.committerDate))),O(null,_)},lernaPackage:null,...e,pkg:{transform:function(_){return _},...e==null?void 0:e.pkg}},e.warn=e.warn||e.debug,e.pkg&&(e.pkg.path?o=Promise.resolve().then(()=>(Ud(),HS)).then(async({parsePackage:_})=>{let O=await rq.readFile(e.pkg.path,"utf-8");return _(O)}):o=Promise.resolve().then(()=>(aw(),ow)).then(async({readPackageUp:_})=>{let{packageJson:O}=await _({cwd:e.cwd});return O}));let u=typeof e.config=="function"?e.config():e.config,[c,f,l,p]=await Promise.allSettled([u,o,oq({lernaTags:!!e.lernaPackage,package:e.lernaPackage,tagPrefix:e.tagPrefix,skipUnstable:e.skipUnstable,cwd:e.cwd}),dq(e.cwd)]),m,h,g,y,v,S=[];if(e.config?c.status==="fulfilled"?m=c.value:(e.warn(c.reason.toString()),m={}):m={},t={...t,...m.context},e.pkg&&(f.status==="fulfilled"?(h=f.value||{},h=e.pkg.transform(h)):e.pkg.path&&e.warn(f.reason.toString())),(!h||!h.repository||!h.repository.url)&&p.status==="fulfilled"&&(h=h||{},h.repository=h.repository||{},h.repository.url=p.value,aq(h)),h){t.version=t.version||h.version;try{let _=typeof h.repository=="string"?h.repository:h.repository.url;_&&(y=iq.fromUrl(_)||sq(_))}catch{y={}}if(y.browse){let _=y.browse();if(!t.host)if(y.domain){let O=new cq(_);O.origin.indexOf("//")!==-1?t.host=O.protocol+"//"+y.domain:t.host=O.protocol+y.domain}else t.host=null;t.owner=t.owner||y.user||"",t.repository=t.repository||y.project,y.host&&y.project&&y.user?t.repoUrl=_:t.repoUrl=t.host}t.packageData=h}if(t.version=t.version||"",l.status==="fulfilled"){S=t.gitSemverTags=l.value,g=S[e.releaseCount-1];let _=S[0];(_===t.version||_==="v"+t.version)&&(e.outputUnreleased?t.version="Unreleased":e.outputUnreleased=!1)}if(typeof e.outputUnreleased!="boolean"&&(e.outputUnreleased=!0),t.host&&(!t.issue||!t.commit||!n||!n.referenceActions)){let _;if(t.host){let O=t.host.match(lq);O&&(_=O[0])}else y&&y.type&&(_=y.type);_?(v=uq[_],t={issue:v.issue,commit:v.commit,...t}):(e.warn('Host: "'+t.host+'" does not exist'),v={})}else v={};return t.resetChangelog&&(g=null),r={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci",from:g,merges:!1,debug:e.debug,...m.gitRawCommitsOpts,...r},e.append&&(r.reverse=r.reverse||!0),n={...m.parserOpts,warn:e.warn,...n},v.referenceActions&&n&&(n.referenceActions=v.referenceActions),!((b=n.issuePrefixes)!=null&&b.length)&&v.issuePrefixes&&(n.issuePrefixes=v.issuePrefixes),i={finalizeContext:function(_,O,R,C,x){let M=x[0],L=x[x.length-1],w=M?M.hash:null,G=L?L.hash:null;if((!_.currentTag||!_.previousTag)&&C){let F=/tag:\s*(.+?)[,)]/gi.exec(C.gitTags),Z=_.currentTag;_.currentTag=Z||F?F[1]:null;let A=S.indexOf(_.currentTag);A===-1?_.currentTag=Z||null:(_.previousTag=S[A+1])||(e.append?_.previousTag=_.previousTag||w:_.previousTag=_.previousTag||G)}else _.previousTag=_.previousTag||S[0],_.version==="Unreleased"?e.append?_.currentTag=_.currentTag||G:_.currentTag=_.currentTag||w:_.currentTag||(e.lernaPackage?_.currentTag=e.lernaPackage+"@"+_.version:e.tagPrefix?_.currentTag=e.tagPrefix+_.version:_.currentTag=pq(S[0],_.version));return typeof _.linkCompare!="boolean"&&_.previousTag&&_.currentTag&&(_.linkCompare=!0),_},debug:e.debug,...m.writerOpts,reverse:e.append,doFlush:e.outputUnreleased,...i},{options:e,context:t,gitRawCommitsOpts:r,parserOpts:n,writerOpts:i,gitRawExecOpts:s}}uw.exports=gq});var dw=d((Kre,hw)=>{"use strict";var mq=H0(),lw=Kp(),vq=l_(),yq=Eb(),{Readable:fw,Transform:pw}=P("stream"),{execFileSync:Eq}=P("child_process"),_q=cw();function bq(e,t,r,n,i,s){let o=e==null?void 0:e.cwd;i=i||{};let a=new fw({objectMode:i.includeDetails});a._read=function(){};let u=!1,c=new fw({objectMode:!0});c._read=function(){};function f(l,p){return lw({...r,from:l,to:p},{cwd:o}).on("error",function(m){u||(setImmediate(c.emit.bind(c),"error",m),u=!0)})}return _q(e,t,r,n,i,s).then(function(l){e=l.options,t=l.context,r=l.gitRawCommitsOpts,n=l.parserOpts,i=l.writerOpts,s=l.gitRawExecOpts;try{Eq("git",["rev-parse","--verify","HEAD"],{cwd:o,stdio:"ignore"});let p=t.gitSemverTags.slice(0).reverse();p.push("HEAD"),r.from&&(p.indexOf(r.from)!==-1?p=p.slice(p.indexOf(r.from)):p=[r.from,"HEAD"]);let m=p.map((h,g)=>{let y=g>0?p[g-1]:"";return f(y,h)});r.from&&(m=m.splice(1)),r.reverse&&m.reverse(),m.reduce((h,g)=>g.pipe(mq(h))).on("data",function(h){setImmediate(c.emit.bind(c),"data",h)}).on("end",function(){setImmediate(c.emit.bind(c),"end")})}catch{c=lw(r,s)}c.on("error",function(p){p.message="Error in git-raw-commits: "+p.message,setImmediate(a.emit.bind(a),"error",p)}).pipe(vq(n)).on("error",function(p){p.message="Error in conventional-commits-parser: "+p.message,setImmediate(a.emit.bind(a),"error",p)}).pipe(new pw({objectMode:!0,highWaterMark:16,transform(p,m,h){try{e.transform.call(this,p,h)}catch(g){h(g)}}})).on("error",function(p){p.message="Error in options.transform: "+p.message,setImmediate(a.emit.bind(a),"error",p)}).pipe(yq(t,i)).on("error",function(p){p.message="Error in conventional-changelog-writer: "+p.message,setImmediate(a.emit.bind(a),"error",p)}).pipe(new pw({objectMode:i.includeDetails,transform(p,m,h){try{a.push(p)}catch(g){setImmediate(function(){throw g})}h()},flush(p){a.push(null),p()}}))}).catch(function(l){setImmediate(a.emit.bind(a),"error",l)}),a}hw.exports=bq});var vw=d((zre,mw)=>{"use strict";var Tq=/()(.+)/gi,Sq="# ------------------------ >8 ------------------------";function Fc(e){let t=e.match(/[^\r\n]/);if(!t)return"";let r=t.index,n=e.length-1;for(;e[n]==="\r"||e[n]===` +`;)n--;return e.substring(r,n+1)}function $i(e,t){return e?e+=` +`+t:e=t,e}function wq(e){return function(t){return t.charAt(0)!==e}}function Aq(e){let t=e.indexOf(Sq);return t===-1?e:e.slice(0,t)}function gw(e,t){let r=[],n,i,s=e.match(t.references)!==null?t.references:Tq;for(;n=s.exec(e);){let o=n[1]||null,a=n[2];for(;i=t.referenceParts.exec(a);){let u=null,c=i[1]||"",f=c.split("/");f.length>1&&(u=f.shift(),c=f.join("/"));let l={action:o,owner:u,repository:c||null,issue:i[3],raw:i[0],prefix:i[2]};r.push(l)}}return r}function Rq(){return!0}function Pq(e,t,r){var F,Z,A;if(!e||!e.trim())throw new TypeError("Expected a raw commit");if(!t||typeof t=="object"&&!Object.keys(t).length)throw new TypeError("Expected options");if(!r)throw new TypeError("Expected regex");let n,i,s={},o=typeof t.commentChar=="string"?wq(t.commentChar):Rq,a=T=>!T.match(/^\s*gpg:/),u=Fc(e).split(/\r?\n/),c=Aq(u).filter(o).filter(a),f=!1,l=!0,p=((F=t.headerCorrespondence)==null?void 0:F.map(function(T){return T.trim()}))||[],m=((Z=t.revertCorrespondence)==null?void 0:Z.map(function(T){return T.trim()}))||[],h=((A=t.mergeCorrespondence)==null?void 0:A.map(function(T){return T.trim()}))||[],g=null,y=null,v=null,S=[],b=null,_=[],O=[],R=null;if(c.length===0)return{body:g,footer:y,header:v,mentions:S,merge:b,notes:_,references:O,revert:R,scope:null,subject:null,type:null};b=c.shift();let C={},x={};g="",y="";let M=b.match(t.mergePattern);if(M&&t.mergePattern){for(b=M[0],v=c.shift();v!==void 0&&!v.trim();)v=c.shift();v||(v=""),h.forEach(function(T,z){let $=M[z+1]||null;C[T]=$})}else v=b,b=null,h.forEach(function(T){C[T]=null});let L=v.match(t.headerPattern);if(L?p.forEach(function(T,z){let $=L[z+1]||null;x[T]=$}):p.forEach(function(T){x[T]=null}),O.push(...gw(v,{references:r.references,referenceParts:r.referenceParts})),c.forEach(function(T){if(t.fieldPattern){let ge=t.fieldPattern.exec(T);if(ge){n=ge[1];return}if(n){s[n]=$i(s[n],T);return}}let z,$=T.match(r.notes);if($){f=!0,l=!1,y=$i(y,T);let ge={title:$[1],text:$[2]};_.push(ge);return}let de=gw(T,{references:r.references,referenceParts:r.referenceParts});if(de.length>0&&(l=!1,z=!0,f=!1),Array.prototype.push.apply(O,de),z){y=$i(y,T);return}if(f){_[_.length-1].text=$i(_[_.length-1].text,T),y=$i(y,T);return}l?g=$i(g,T):y=$i(y,T)}),t.breakingHeaderPattern&&_.length===0){let T=v.match(t.breakingHeaderPattern);if(T){let z=T[3];_.push({title:"BREAKING CHANGE",text:z})}}for(;i=r.mentions.exec(e);)S.push(i[1]);let w=e.match(t.revertPattern);return w?(R={},m.forEach(function(T,z){let $=w[z+1]||null;R[T]=$})):R=null,_.forEach(function(T){T.text=Fc(T.text)}),{...x,...C,merge:b,header:v,body:g?Fc(g):null,footer:y?Fc(y):null,notes:_,references:O,mentions:S,revert:R,...s}}mw.exports=Pq});var _w=d((Yre,Ew)=>{"use strict";var yw=/(?!.*)/;function Kd(e,t){return e.map(function(r){return r.trim()}).filter(function(r){return r.length}).join(t)}function Oq(e,t){if(!e)return yw;let r=Kd(e,"|");return t?t(r):new RegExp("^[\\s|*]*("+r+")[:\\s]+(.*)","i")}function Cq(e,t){if(!e)return yw;let r=t?"g":"gi";return new RegExp("(?:.*?)??\\s*([\\w-\\.\\/]*?)??("+Kd(e,"|")+")([\\w-]*\\d+)",r)}function kq(e){if(!e)return/()(.+)/gi;let t=Kd(e,"|");return new RegExp("("+t+")(?:\\s+(.*?))(?=(?:"+t+")|$)","gi")}Ew.exports=function(e){e=e||{};let t=Oq(e.noteKeywords,e.notesPattern),r=Cq(e.issuePrefixes,e.issuePrefixesCaseSensitive),n=kq(e.referenceActions);return{notes:t,referenceParts:r,references:n,mentions:/@([\w-]+)/g}}});var ww=d((Xre,zd)=>{"use strict";var{Transform:Iq}=P("stream"),bw=vw(),Tw=_w();function Sw(e){return e={headerPattern:/^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$/,headerCorrespondence:["type","scope","subject"],referenceActions:["close","closes","closed","fix","fixes","fixed","resolve","resolves","resolved"],issuePrefixes:["#"],noteKeywords:["BREAKING CHANGE","BREAKING-CHANGE"],fieldPattern:/^-(.*?)-$/,revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,revertCorrespondence:["header","hash"],warn:function(){},mergePattern:null,mergeCorrespondence:null,...e},typeof e.headerPattern=="string"&&(e.headerPattern=new RegExp(e.headerPattern)),typeof e.headerCorrespondence=="string"&&(e.headerCorrespondence=e.headerCorrespondence.split(",")),typeof e.referenceActions=="string"&&(e.referenceActions=e.referenceActions.split(",")),typeof e.issuePrefixes=="string"&&(e.issuePrefixes=e.issuePrefixes.split(",")),typeof e.noteKeywords=="string"&&(e.noteKeywords=e.noteKeywords.split(",")),typeof e.fieldPattern=="string"&&(e.fieldPattern=new RegExp(e.fieldPattern)),typeof e.revertPattern=="string"&&(e.revertPattern=new RegExp(e.revertPattern)),typeof e.revertCorrespondence=="string"&&(e.revertCorrespondence=e.revertCorrespondence.split(",")),typeof e.mergePattern=="string"&&(e.mergePattern=new RegExp(e.mergePattern)),e}function Lq(e){e=Sw(e);let t=Tw(e);return new Iq({objectMode:!0,highWaterMark:16,transform(r,n,i){let s;try{s=bw(r.toString(),e,t),i(null,s)}catch(o){e.warn===!0?i(o):(e.warn(o.toString()),i(null,""))}}})}function Nq(e,t){t=Sw(t);let r=Tw(t);return bw(e,t,r)}zd.exports=Lq;zd.exports.sync=Nq});var Yd=d(Nw=>{"use strict";var Dq=Object.freeze([{type:"feat",section:"Features"},{type:"feature",section:"Features"},{type:"fix",section:"Bug Fixes"},{type:"perf",section:"Performance Improvements"},{type:"revert",section:"Reverts"},{type:"docs",section:"Documentation",hidden:!0},{type:"style",section:"Styles",hidden:!0},{type:"chore",section:"Miscellaneous Chores",hidden:!0},{type:"refactor",section:"Code Refactoring",hidden:!0},{type:"test",section:"Tests",hidden:!0},{type:"build",section:"Build System",hidden:!0},{type:"ci",section:"Continuous Integration",hidden:!0}].map(Object.freeze));Nw.DEFAULT_COMMIT_TYPES=Dq});var Uc=d((Zre,Xd)=>{var xw=/^(\w*)(?:\((.*)\))?!: (.*)$/;Xd.exports.breakingHeaderPattern=xw;function Mq(e){let t=e.header.match(xw);if(t&&e.notes.length===0){let r=t[3];e.notes.push({text:r})}}Xd.exports.addBangNotes=Mq});var Mw=d((ene,Dw)=>{"use strict";var{breakingHeaderPattern:Fq}=Uc();function Gq(e){return{headerPattern:/^(\w*)(?:\((.*)\))?!?: (.*)$/,breakingHeaderPattern:Fq,headerCorrespondence:["type","scope","subject"],noteKeywords:["BREAKING CHANGE","BREAKING-CHANGE"],revertPattern:/^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,revertCorrespondence:["header","hash"],issuePrefixes:(e==null?void 0:e.issuePrefixes)||["#"]}}Dw.exports.createParserOpts=Gq});var Gw=d((tne,Fw)=>{"use strict";Fw.exports=function(e){return Array.isArray(e)?e:[e]}});var Bw=d((rne,Uw)=>{"use strict";Uw.exports=e=>{let t=typeof e;return e!==null&&(t==="object"||t==="function")}});var jw=d((nne,qw)=>{"use strict";var Wi=Bw(),Uq=["__proto__","prototype","constructor"],Bq=e=>!e.some(t=>Uq.includes(t));function Bc(e){let t=e.split("."),r=[];for(let n=0;n{"use strict";var qq=Gw(),Hw=jw().get;function jq(e){return function(t,r){var n=0;return qq(e).some(function(i){var s,o;if(typeof i=="function"?(s=i(t),o=i(r)):typeof i=="string"?(s=Hw(t,i),o=Hw(r,i)):(s=t,o=r),s===o){n=0;return}return typeof s=="string"&&typeof o=="string"?(n=s.localeCompare(o),n!==0):(n=s{"use strict";var Hq=Ww(),{DEFAULT_COMMIT_TYPES:$q}=Yd(),{addBangNotes:Wq}=Uc(),Vw=/release-as:\s*\w*@?([0-9]+\.[0-9]+\.[0-9a-z]+(-[0-9a-z.]+)?)\s*/i,Qd="{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}",Jd="{{~@root.host}}",Zd="{{#if this.repository}}{{~this.repository}}{{else}}{{~@root.repository}}{{/if}}";async function Vq(e){let t={types:$q,issueUrlFormat:"{{host}}/{{owner}}/{{repository}}/issues/{{id}}",commitUrlFormat:"{{host}}/{{owner}}/{{repository}}/commit/{{hash}}",compareUrlFormat:"{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",userUrlFormat:"{{host}}/{{user}}",issuePrefixes:["#"],...e},r=_a(t.commitUrlFormat,{host:Jd,owner:Qd,repository:Zd}),n=_a(t.compareUrlFormat,{host:Jd,owner:Qd,repository:Zd}),i=_a(t.issueUrlFormat,{host:Jd,owner:Qd,repository:Zd,id:"{{this.issue}}",prefix:"{{this.prefix}}"}),[s,o,a,u]=[`{{> header}} + +{{#if noteGroups}} +{{#each noteGroups}} + +### \u26A0 {{title}} + +{{#each notes}} +* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} +{{/each}} +{{/each}} +{{/if}} +{{#each commitGroups}} + +{{#if title}} +### {{title}} + +{{/if}} +{{#each commits}} +{{> commit root=@root}} +{{/each}} + +{{/each}} +`,`## {{#if @root.linkCompare~}} +[{{version}}]({{compareUrlFormat}}) +{{~else}} +{{~version}} +{{~/if}} +{{~#if title}} "{{title}}" +{{~/if}} +{{~#if date}} ({{date}}) +{{/if}} +`,`*{{#if scope}} **{{scope}}:** +{{~/if}} {{#if subject}} + {{~subject}} +{{~else}} + {{~header}} +{{~/if}} + +{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}} + ([{{shortHash}}]({{commitUrlFormat}})) +{{~else}} + {{~shortHash}} +{{~/if}}{{~/if}} + +{{~!-- commit references --}} +{{~#if references~}} + , closes + {{~#each references}} {{#if @root.linkReferences~}} + [ + {{~#if this.owner}} + {{~this.owner}}/ + {{~/if}} + {{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}}) + {{~else}} + {{~#if this.owner}} + {{~this.owner}}/ + {{~/if}} + {{~this.repository}}{{this.prefix}}{{this.issue}} + {{~/if}}{{/each}} +{{~/if}} +`,""],c=Kq(t);return c.mainTemplate=s,c.headerPartial=o.replace(/{{compareUrlFormat}}/g,n),c.commitPartial=a.replace(/{{commitUrlFormat}}/g,r).replace(/{{issueUrlFormat}}/g,i),c.footerPartial=u,c}Kw.exports.createWriterOpts=Vq;function Kq(e){let t=e.types.flatMap(r=>r.section).filter(r=>r);return{transform:(r,n)=>{let i=!0,s=[],o=zq(e.types,r);if(Wq(r),(r.footer&&Vw.test(r.footer)||r.body&&Vw.test(r.body))&&(i=!1),r.notes.forEach(a=>{a.title="BREAKING CHANGES",i=!1}),!(i&&(o===void 0||o.hidden))){if(o&&(r.type=o.section),r.scope==="*"&&(r.scope=""),typeof r.hash=="string"&&(r.shortHash=r.hash.substring(0,7)),typeof r.subject=="string"){e.issuePrefixes.join("|");let a="("+e.issuePrefixes.join("|")+")([a-z0-9]+)",u=new RegExp(a,"g");r.subject=r.subject.replace(u,(c,f,l)=>{s.push(f+l);let p=_a(e.issueUrlFormat,{host:n.host,owner:n.owner,repository:n.repository,id:l,prefix:f});return`[${f}${l}](${p})`}),r.subject=r.subject.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g,(c,f)=>{if(f.includes("/"))return`@${f}`;let l=_a(e.userUrlFormat,{host:n.host,owner:n.owner,repository:n.repository,user:f});return`[@${f}](${l})`})}return r.references=r.references.filter(a=>s.indexOf(a.prefix+a.issue)===-1),r}},groupBy:"type",commitGroupsSort:(r,n)=>{let i=t.indexOf(r.title),s=t.indexOf(n.title);return i-s},commitsSort:["scope","subject"],noteGroupsSort:"title",notesSort:Hq}}function zq(e,t){let r=(t.revert?"revert":t.type||"").toLowerCase();return e.find(n=>!(n.type!==r||n.scope&&n.scope!==t.scope))}function _a(e,t){let r=e;return Object.keys(t).forEach(n=>{r=r.replace(new RegExp(`{{${n}}}`,"g"),t[n])}),r}});var Xw=d((one,Yw)=>{"use strict";function Yq(e,t){return{parserOpts:e,writerOpts:t}}Yw.exports.createConventionalChangelogOpts=Yq});var Jw=d((ane,Qw)=>{"use strict";var{addBangNotes:Xq}=Uc();function Qq(e,t){return{parserOpts:t,whatBump(r){let n=2,i=0,s=0;return r.forEach(o=>{Xq(o),o.notes.length>0?(i+=o.notes.length,n=0):(o.type==="feat"||o.type==="feature")&&(s+=1,n===2&&(n=1))}),(e==null?void 0:e.preMajor)&&n<2&&n++,{level:n,reason:i===1?`There is ${i} BREAKING CHANGE and ${s} features`:`There are ${i} BREAKING CHANGES and ${s} features`}}}}Qw.exports.createConventionalRecommendedBumpOpts=Qq});var Zw=d((une,eg)=>{"use strict";var{DEFAULT_COMMIT_TYPES:Jq}=Yd(),{createParserOpts:Zq}=Mw(),{createWriterOpts:e7}=zw(),{createConventionalChangelogOpts:t7}=Xw(),{createConventionalRecommendedBumpOpts:r7}=Jw();async function n7(e){let t=Zq(e),r=await e7(e),n=r7(e,t),i=t7(t,r);return{gitRawCommitsOpts:{ignore:e==null?void 0:e.ignoreCommits,noMerges:null},parserOpts:t,writerOpts:r,recommendedBumpOpts:n,conventionalChangelog:i}}eg.exports=n7;eg.exports.DEFAULT_COMMIT_TYPES=Jq});var _t=d((pne,Hc)=>{var nA,iA,sA,oA,aA,uA,cA,lA,fA,jc,ng,pA,hA,Ws,dA,gA,mA,vA,yA,EA,_A,bA,TA;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Hc=="object"&&typeof Hc.exports=="object"?e(r(t,r(Hc.exports))):e(r(t));function r(n,i){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(s,o){return n[s]=i?i(s,o):o}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])};nA=function(r,n){t(r,n);function i(){this.constructor=r}r.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},iA=Object.assign||function(r){for(var n,i=1,s=arguments.length;i=0;c--)(u=r[c])&&(a=(o<3?u(a):o>3?u(n,i,a):u(n,i))||a);return o>3&&a&&Object.defineProperty(n,i,a),a},aA=function(r,n){return function(i,s){n(i,s,r)}},uA=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},cA=function(r,n,i,s){function o(a){return a instanceof i?a:new i(function(u){u(a)})}return new(i||(i=Promise))(function(a,u){function c(p){try{l(s.next(p))}catch(m){u(m)}}function f(p){try{l(s.throw(p))}catch(m){u(m)}}function l(p){p.done?a(p.value):o(p.value).then(c,f)}l((s=s.apply(r,n||[])).next())})},lA=function(r,n){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(p){return f([l,p])}}function f(l){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,o&&(a=l[0]&2?o.return:l[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,l[1])).done)return a;switch(o=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=r.length&&(r=void 0),{value:r&&r[s++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ng=function(r,n){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var s=i.call(r),o,a=[],u;try{for(;(n===void 0||n-- >0)&&!(o=s.next()).done;)a.push(o.value)}catch(c){u={error:c}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(u)throw u.error}}return a},pA=function(){for(var r=[],n=0;n1||c(h,g)})})}function c(h,g){try{f(s[h](g))}catch(y){m(a[0][3],y)}}function f(h){h.value instanceof Ws?Promise.resolve(h.value.v).then(l,p):m(a[0][2],h)}function l(h){c("next",h)}function p(h){c("throw",h)}function m(h,g){h(g),a.shift(),a.length&&c(a[0][0],a[0][1])}},gA=function(r){var n,i;return n={},s("next"),s("throw",function(o){throw o}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(o,a){n[o]=r[o]?function(u){return(i=!i)?{value:Ws(r[o](u)),done:o==="return"}:a?a(u):u}:a}},mA=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],i;return n?n.call(r):(r=typeof jc=="function"?jc(r):r[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(a){i[a]=r[a]&&function(u){return new Promise(function(c,f){u=r[a](u),o(c,f,u.done,u.value)})}}function o(a,u,c,f){Promise.resolve(f).then(function(l){a({value:l,done:c})},u)}},vA=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},yA=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var i in r)Object.hasOwnProperty.call(r,i)&&(n[i]=r[i]);return n.default=r,n},EA=function(r){return r&&r.__esModule?r:{default:r}},_A=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},bA=function(r,n,i){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,i),i},e("__extends",nA),e("__assign",iA),e("__rest",sA),e("__decorate",oA),e("__param",aA),e("__metadata",uA),e("__awaiter",cA),e("__generator",lA),e("__exportStar",fA),e("__createBinding",TA),e("__values",jc),e("__read",ng),e("__spread",pA),e("__spreadArrays",hA),e("__await",Ws),e("__asyncGenerator",dA),e("__asyncDelegator",gA),e("__asyncValues",mA),e("__makeTemplateObject",vA),e("__importStar",yA),e("__importDefault",EA),e("__classPrivateFieldGet",_A),e("__classPrivateFieldSet",bA)})});var PA=d((hne,RA)=>{RA.exports=AA;AA.sync=s7;var SA=P("fs");function i7(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n{IA.exports=CA;CA.sync=o7;var OA=P("fs");function CA(e,t,r){OA.stat(e,function(n,i){r(n,n?!1:kA(i,t))})}function o7(e,t){return kA(OA.statSync(e),t)}function kA(e,t){return e.isFile()&&a7(e,t)}function a7(e,t){var r=e.mode,n=e.uid,i=e.gid,s=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),o=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),u=parseInt("010",8),c=parseInt("001",8),f=a|u,l=r&c||r&u&&i===o||r&a&&n===s||r&f&&s===0;return l}});var xA=d((mne,NA)=>{var gne=P("fs"),$c;process.platform==="win32"||global.TESTING_WINDOWS?$c=PA():$c=LA();NA.exports=ig;ig.sync=u7;function ig(e,t,r){if(typeof t=="function"&&(r=t,t={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){ig(e,t||{},function(s,o){s?i(s):n(o)})})}$c(e,t||{},function(n,i){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,i=!1),r(n,i)})}function u7(e,t){try{return $c.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var qA=d((vne,BA)=>{var Vs=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",DA=P("path"),c7=Vs?";":":",MA=xA(),FA=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),GA=(e,t)=>{let r=t.colon||c7,n=e.match(/\//)||Vs&&e.match(/\\/)?[""]:[...Vs?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],i=Vs?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Vs?i.split(r):[""];return Vs&&e.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:n,pathExt:s,pathExtExe:i}},UA=(e,t,r)=>{typeof t=="function"&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:s}=GA(e,t),o=[],a=c=>new Promise((f,l)=>{if(c===n.length)return t.all&&o.length?f(o):l(FA(e));let p=n[c],m=/^".*"$/.test(p)?p.slice(1,-1):p,h=DA.join(m,e),g=!m&&/^\.[\\\/]/.test(e)?e.slice(0,2)+h:h;f(u(g,c,0))}),u=(c,f,l)=>new Promise((p,m)=>{if(l===i.length)return p(a(f+1));let h=i[l];MA(c+h,{pathExt:s},(g,y)=>{if(!g&&y)if(t.all)o.push(c+h);else return p(c+h);return p(u(c,f,l+1))})});return r?a(0).then(c=>r(null,c),r):a(0)},l7=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=GA(e,t),s=[];for(let o=0;o{"use strict";var jA=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};sg.exports=jA;sg.exports.default=jA});var KA=d((Ene,VA)=>{"use strict";var $A=P("path"),f7=qA(),p7=HA();function WA(e,t){let r=e.options.env||process.env,n=process.cwd(),i=e.options.cwd!=null,s=i&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch{}let o;try{o=f7.sync(e.command,{path:r[p7({env:r})],pathExt:t?$A.delimiter:void 0})}catch{}finally{s&&process.chdir(n)}return o&&(o=$A.resolve(i?e.options.cwd:"",o)),o}function h7(e){return WA(e)||WA(e,!0)}VA.exports=h7});var zA=d((_ne,ag)=>{"use strict";var og=/([()\][%!^"`<>&|;, *?])/g;function d7(e){return e=e.replace(og,"^$1"),e}function g7(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(og,"^$1"),t&&(e=e.replace(og,"^$1")),e}ag.exports.command=d7;ag.exports.argument=g7});var XA=d((bne,YA)=>{"use strict";YA.exports=/^#!(.*)/});var JA=d((Tne,QA)=>{"use strict";var m7=XA();QA.exports=(e="")=>{let t=e.match(m7);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return i==="env"?n:n?`${i} ${n}`:i}});var eR=d((Sne,ZA)=>{"use strict";var ug=P("fs"),v7=JA();function y7(e){let r=Buffer.alloc(150),n;try{n=ug.openSync(e,"r"),ug.readSync(n,r,0,150,0),ug.closeSync(n)}catch{}return v7(r.toString())}ZA.exports=y7});var iR=d((wne,nR)=>{"use strict";var E7=P("path"),tR=KA(),rR=zA(),_7=eR(),b7=process.platform==="win32",T7=/\.(?:com|exe)$/i,S7=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function w7(e){e.file=tR(e);let t=e.file&&_7(e.file);return t?(e.args.unshift(e.file),e.command=t,tR(e)):e.file}function A7(e){if(!b7)return e;let t=w7(e),r=!T7.test(t);if(e.options.forceShell||r){let n=S7.test(t);e.command=E7.normalize(e.command),e.command=rR.command(e.command),e.args=e.args.map(s=>rR.argument(s,n));let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function R7(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:A7(n)}nR.exports=R7});var aR=d((Ane,oR)=>{"use strict";var cg=process.platform==="win32";function lg(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function P7(e,t){if(!cg)return;let r=e.emit;e.emit=function(n,i){if(n==="exit"){let s=sR(i,t,"spawn");if(s)return r.call(e,"error",s)}return r.apply(e,arguments)}}function sR(e,t){return cg&&e===1&&!t.file?lg(t.original,"spawn"):null}function O7(e,t){return cg&&e===1&&!t.file?lg(t.original,"spawnSync"):null}oR.exports={hookChildProcess:P7,verifyENOENT:sR,verifyENOENTSync:O7,notFoundError:lg}});var lR=d((Rne,Ks)=>{"use strict";var uR=P("child_process"),fg=iR(),pg=aR();function cR(e,t,r){let n=fg(e,t,r),i=uR.spawn(n.command,n.args,n.options);return pg.hookChildProcess(i,n),i}function C7(e,t,r){let n=fg(e,t,r),i=uR.spawnSync(n.command,n.args,n.options);return i.error=i.error||pg.verifyENOENTSync(i.status,n),i}Ks.exports=cR;Ks.exports.spawn=cR;Ks.exports.sync=C7;Ks.exports._parse=fg;Ks.exports._enoent=pg});var pR=d((Pne,hg)=>{"use strict";var k7=e=>{let t=!1,r=!1,n=!1;for(let i=0;i{if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);let r=i=>t.pascalCase?i.charAt(0).toUpperCase()+i.slice(1):i;return Array.isArray(e)?e=e.map(i=>i.trim()).filter(i=>i.length).join("-"):e=e.trim(),e.length===0?"":e.length===1?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=k7(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(i,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,i=>i.toUpperCase()),r(e))};hg.exports=fR;hg.exports.default=fR});var hR=d((One,I7)=>{I7.exports=[{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]}},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var dg=d(Qt=>{"use strict";var gR=hR(),at=process.env;Object.defineProperty(Qt,"_vendors",{value:gR.map(function(e){return e.constant})});Qt.name=null;Qt.isPR=null;gR.forEach(function(e){let r=(Array.isArray(e.env)?e.env:[e.env]).every(function(n){return dR(n)});if(Qt[e.constant]=r,!!r)switch(Qt.name=e.name,typeof e.pr){case"string":Qt.isPR=!!at[e.pr];break;case"object":"env"in e.pr?Qt.isPR=e.pr.env in at&&at[e.pr.env]!==e.pr.ne:"any"in e.pr?Qt.isPR=e.pr.any.some(function(n){return!!at[n]}):Qt.isPR=dR(e.pr);break;default:Qt.isPR=null}});Qt.isCI=!!(at.CI!=="false"&&(at.BUILD_ID||at.BUILD_NUMBER||at.CI||at.CI_APP_ID||at.CI_BUILD_ID||at.CI_BUILD_NUMBER||at.CI_NAME||at.CONTINUOUS_INTEGRATION||at.RUN_ID||Qt.name||!1));function dR(e){return typeof e=="string"?!!at[e]:"env"in e?at[e.env]&&at[e.env].includes(e.includes):"any"in e?e.any.some(function(t){return!!at[t]}):Object.keys(e).every(function(t){return at[t]===e[t]})}});var vR=d((kne,gg)=>{"use strict";var mR=(e,...t)=>new Promise(r=>{r(e(...t))});gg.exports=mR;gg.exports.default=mR});var vg=d((Ine,mg)=>{"use strict";var L7=vR(),yR=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,n=()=>{r--,t.length>0&&t.shift()()},i=(a,u,...c)=>{r++;let f=L7(a,...c);u(f),f.then(n,n)},s=(a,u,...c)=>{rnew Promise(c=>s(a,c,...u));return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),o};mg.exports=yR;mg.exports.default=yR});var zs=d(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.parseMessageName=Qn.stringifyMessageName=Qn.MessageName=void 0;var yg;(function(e){e[e.UNNAMED=0]="UNNAMED",e[e.EXCEPTION=1]="EXCEPTION",e[e.MISSING_PEER_DEPENDENCY=2]="MISSING_PEER_DEPENDENCY",e[e.CYCLIC_DEPENDENCIES=3]="CYCLIC_DEPENDENCIES",e[e.DISABLED_BUILD_SCRIPTS=4]="DISABLED_BUILD_SCRIPTS",e[e.BUILD_DISABLED=5]="BUILD_DISABLED",e[e.SOFT_LINK_BUILD=6]="SOFT_LINK_BUILD",e[e.MUST_BUILD=7]="MUST_BUILD",e[e.MUST_REBUILD=8]="MUST_REBUILD",e[e.BUILD_FAILED=9]="BUILD_FAILED",e[e.RESOLVER_NOT_FOUND=10]="RESOLVER_NOT_FOUND",e[e.FETCHER_NOT_FOUND=11]="FETCHER_NOT_FOUND",e[e.LINKER_NOT_FOUND=12]="LINKER_NOT_FOUND",e[e.FETCH_NOT_CACHED=13]="FETCH_NOT_CACHED",e[e.YARN_IMPORT_FAILED=14]="YARN_IMPORT_FAILED",e[e.REMOTE_INVALID=15]="REMOTE_INVALID",e[e.REMOTE_NOT_FOUND=16]="REMOTE_NOT_FOUND",e[e.RESOLUTION_PACK=17]="RESOLUTION_PACK",e[e.CACHE_CHECKSUM_MISMATCH=18]="CACHE_CHECKSUM_MISMATCH",e[e.UNUSED_CACHE_ENTRY=19]="UNUSED_CACHE_ENTRY",e[e.MISSING_LOCKFILE_ENTRY=20]="MISSING_LOCKFILE_ENTRY",e[e.WORKSPACE_NOT_FOUND=21]="WORKSPACE_NOT_FOUND",e[e.TOO_MANY_MATCHING_WORKSPACES=22]="TOO_MANY_MATCHING_WORKSPACES",e[e.CONSTRAINTS_MISSING_DEPENDENCY=23]="CONSTRAINTS_MISSING_DEPENDENCY",e[e.CONSTRAINTS_INCOMPATIBLE_DEPENDENCY=24]="CONSTRAINTS_INCOMPATIBLE_DEPENDENCY",e[e.CONSTRAINTS_EXTRANEOUS_DEPENDENCY=25]="CONSTRAINTS_EXTRANEOUS_DEPENDENCY",e[e.CONSTRAINTS_INVALID_DEPENDENCY=26]="CONSTRAINTS_INVALID_DEPENDENCY",e[e.CANT_SUGGEST_RESOLUTIONS=27]="CANT_SUGGEST_RESOLUTIONS",e[e.FROZEN_LOCKFILE_EXCEPTION=28]="FROZEN_LOCKFILE_EXCEPTION",e[e.CROSS_DRIVE_VIRTUAL_LOCAL=29]="CROSS_DRIVE_VIRTUAL_LOCAL",e[e.FETCH_FAILED=30]="FETCH_FAILED",e[e.DANGEROUS_NODE_MODULES=31]="DANGEROUS_NODE_MODULES",e[e.NODE_GYP_INJECTED=32]="NODE_GYP_INJECTED",e[e.AUTHENTICATION_NOT_FOUND=33]="AUTHENTICATION_NOT_FOUND",e[e.INVALID_CONFIGURATION_KEY=34]="INVALID_CONFIGURATION_KEY",e[e.NETWORK_ERROR=35]="NETWORK_ERROR",e[e.LIFECYCLE_SCRIPT=36]="LIFECYCLE_SCRIPT",e[e.CONSTRAINTS_MISSING_FIELD=37]="CONSTRAINTS_MISSING_FIELD",e[e.CONSTRAINTS_INCOMPATIBLE_FIELD=38]="CONSTRAINTS_INCOMPATIBLE_FIELD",e[e.CONSTRAINTS_EXTRANEOUS_FIELD=39]="CONSTRAINTS_EXTRANEOUS_FIELD",e[e.CONSTRAINTS_INVALID_FIELD=40]="CONSTRAINTS_INVALID_FIELD",e[e.AUTHENTICATION_INVALID=41]="AUTHENTICATION_INVALID",e[e.PROLOG_UNKNOWN_ERROR=42]="PROLOG_UNKNOWN_ERROR",e[e.PROLOG_SYNTAX_ERROR=43]="PROLOG_SYNTAX_ERROR",e[e.PROLOG_EXISTENCE_ERROR=44]="PROLOG_EXISTENCE_ERROR",e[e.STACK_OVERFLOW_RESOLUTION=45]="STACK_OVERFLOW_RESOLUTION",e[e.AUTOMERGE_FAILED_TO_PARSE=46]="AUTOMERGE_FAILED_TO_PARSE",e[e.AUTOMERGE_IMMUTABLE=47]="AUTOMERGE_IMMUTABLE",e[e.AUTOMERGE_SUCCESS=48]="AUTOMERGE_SUCCESS",e[e.AUTOMERGE_REQUIRED=49]="AUTOMERGE_REQUIRED",e[e.DEPRECATED_CLI_SETTINGS=50]="DEPRECATED_CLI_SETTINGS",e[e.PLUGIN_NAME_NOT_FOUND=51]="PLUGIN_NAME_NOT_FOUND",e[e.INVALID_PLUGIN_REFERENCE=52]="INVALID_PLUGIN_REFERENCE",e[e.CONSTRAINTS_AMBIGUITY=53]="CONSTRAINTS_AMBIGUITY",e[e.CACHE_OUTSIDE_PROJECT=54]="CACHE_OUTSIDE_PROJECT",e[e.IMMUTABLE_INSTALL=55]="IMMUTABLE_INSTALL",e[e.IMMUTABLE_CACHE=56]="IMMUTABLE_CACHE",e[e.INVALID_MANIFEST=57]="INVALID_MANIFEST",e[e.PACKAGE_PREPARATION_FAILED=58]="PACKAGE_PREPARATION_FAILED",e[e.INVALID_RANGE_PEER_DEPENDENCY=59]="INVALID_RANGE_PEER_DEPENDENCY",e[e.INCOMPATIBLE_PEER_DEPENDENCY=60]="INCOMPATIBLE_PEER_DEPENDENCY",e[e.DEPRECATED_PACKAGE=61]="DEPRECATED_PACKAGE",e[e.INCOMPATIBLE_OS=62]="INCOMPATIBLE_OS",e[e.INCOMPATIBLE_CPU=63]="INCOMPATIBLE_CPU",e[e.FROZEN_ARTIFACT_EXCEPTION=64]="FROZEN_ARTIFACT_EXCEPTION",e[e.TELEMETRY_NOTICE=65]="TELEMETRY_NOTICE",e[e.PATCH_HUNK_FAILED=66]="PATCH_HUNK_FAILED",e[e.INVALID_CONFIGURATION_VALUE=67]="INVALID_CONFIGURATION_VALUE",e[e.UNUSED_PACKAGE_EXTENSION=68]="UNUSED_PACKAGE_EXTENSION",e[e.REDUNDANT_PACKAGE_EXTENSION=69]="REDUNDANT_PACKAGE_EXTENSION",e[e.AUTO_NM_SUCCESS=70]="AUTO_NM_SUCCESS",e[e.NM_CANT_INSTALL_EXTERNAL_SOFT_LINK=71]="NM_CANT_INSTALL_EXTERNAL_SOFT_LINK",e[e.NM_PRESERVE_SYMLINKS_REQUIRED=72]="NM_PRESERVE_SYMLINKS_REQUIRED",e[e.UPDATE_LOCKFILE_ONLY_SKIP_LINK=73]="UPDATE_LOCKFILE_ONLY_SKIP_LINK",e[e.NM_HARDLINKS_MODE_DOWNGRADED=74]="NM_HARDLINKS_MODE_DOWNGRADED",e[e.PROLOG_INSTANTIATION_ERROR=75]="PROLOG_INSTANTIATION_ERROR",e[e.INCOMPATIBLE_ARCHITECTURE=76]="INCOMPATIBLE_ARCHITECTURE",e[e.GHOST_ARCHITECTURE=77]="GHOST_ARCHITECTURE",e[e.PROLOG_LIMIT_EXCEEDED=79]="PROLOG_LIMIT_EXCEEDED"})(yg||(Qn.MessageName=yg={}));function N7(e){return`YN${e.toString(10).padStart(4,"0")}`}Qn.stringifyMessageName=N7;function x7(e){let t=Number(e.slice(2));if(typeof yg[t]>"u")throw new Error(`Unknown message name: "${e}"`);return t}Qn.parseMessageName=x7});var Eg=d(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.VERSION=void 0;Wc.VERSION="9.1.0"});var ve=d((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n{(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Vc=="object"&&Vc.exports?Vc.exports=t():e.regexpToAst=t()})(typeof self<"u"?self:ER,function(){function e(){}e.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},e.prototype.restoreState=function(h){this.idx=h.idx,this.input=h.input,this.groupIdx=h.groupIdx},e.prototype.pattern=function(h){this.idx=0,this.input=h,this.groupIdx=0,this.consumeChar("/");var g=this.disjunction();this.consumeChar("/");for(var y={type:"Flags",loc:{begin:this.idx,end:h.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(y,"global");break;case"i":o(y,"ignoreCase");break;case"m":o(y,"multiLine");break;case"u":o(y,"unicode");break;case"y":o(y,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:y,value:g,loc:this.loc(0)}},e.prototype.disjunction=function(){var h=[],g=this.idx;for(h.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),h.push(this.alternative());return{type:"Disjunction",value:h,loc:this.loc(g)}},e.prototype.alternative=function(){for(var h=[],g=this.idx;this.isTerm();)h.push(this.term());return{type:"Alternative",value:h,loc:this.loc(g)}},e.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},e.prototype.assertion=function(){var h=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(h)};case"$":return{type:"EndAnchor",loc:this.loc(h)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(h)};case"B":return{type:"NonWordBoundary",loc:this.loc(h)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var g;switch(this.popChar()){case"=":g="Lookahead";break;case"!":g="NegativeLookahead";break}a(g);var y=this.disjunction();return this.consumeChar(")"),{type:g,value:y,loc:this.loc(h)}}u()},e.prototype.quantifier=function(h){var g,y=this.idx;switch(this.popChar()){case"*":g={atLeast:0,atMost:1/0};break;case"+":g={atLeast:1,atMost:1/0};break;case"?":g={atLeast:0,atMost:1};break;case"{":var v=this.integerIncludingZero();switch(this.popChar()){case"}":g={atLeast:v,atMost:v};break;case",":var S;this.isDigit()?(S=this.integerIncludingZero(),g={atLeast:v,atMost:S}):g={atLeast:v,atMost:1/0},this.consumeChar("}");break}if(h===!0&&g===void 0)return;a(g);break}if(!(h===!0&&g===void 0))return a(g),this.peekChar(0)==="?"?(this.consumeChar("?"),g.greedy=!1):g.greedy=!0,g.type="Quantifier",g.loc=this.loc(y),g},e.prototype.atom=function(){var h,g=this.idx;switch(this.peekChar()){case".":h=this.dotAll();break;case"\\":h=this.atomEscape();break;case"[":h=this.characterClass();break;case"(":h=this.group();break}return h===void 0&&this.isPatternCharacter()&&(h=this.patternCharacter()),a(h),h.loc=this.loc(g),this.isQuantifier()&&(h.quantifier=this.quantifier()),h},e.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[i(` +`),i("\r"),i("\u2028"),i("\u2029")]}},e.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.decimalEscapeAtom=function(){var h=this.positiveInteger();return{type:"GroupBackReference",value:h}},e.prototype.characterClassEscape=function(){var h,g=!1;switch(this.popChar()){case"d":h=f;break;case"D":h=f,g=!0;break;case"s":h=p;break;case"S":h=p,g=!0;break;case"w":h=l;break;case"W":h=l,g=!0;break}return a(h),{type:"Set",value:h,complement:g}},e.prototype.controlEscapeAtom=function(){var h;switch(this.popChar()){case"f":h=i("\f");break;case"n":h=i(` +`);break;case"r":h=i("\r");break;case"t":h=i(" ");break;case"v":h=i("\v");break}return a(h),{type:"Character",value:h}},e.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var h=this.popChar();if(/[a-zA-Z]/.test(h)===!1)throw Error("Invalid ");var g=h.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:g}},e.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:i("\0")}},e.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},e.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},e.prototype.identityEscapeAtom=function(){var h=this.popChar();return{type:"Character",value:i(h)}},e.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` +`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var h=this.popChar();return{type:"Character",value:i(h)}}},e.prototype.characterClass=function(){var h=[],g=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),g=!0);this.isClassAtom();){var y=this.classAtom(),v=y.type==="Character";if(v&&this.isRangeDash()){this.consumeChar("-");var S=this.classAtom(),b=S.type==="Character";if(b){if(S.value=this.input.length)throw Error("Unexpected end of input");this.idx++},e.prototype.loc=function(h){return{begin:h,end:this.idx}};var t=/[0-9a-fA-F]/,r=/[0-9]/,n=/[1-9]/;function i(h){return h.charCodeAt(0)}function s(h,g){h.length!==void 0?h.forEach(function(y){g.push(y)}):g.push(h)}function o(h,g){if(h[g]===!0)throw"duplicate flag "+g;h[g]=!0}function a(h){if(h===void 0)throw Error("Internal Error - Should never get here!")}function u(){throw Error("Internal Error - Should never get here!")}var c,f=[];for(c=i("0");c<=i("9");c++)f.push(c);var l=[i("_")].concat(f);for(c=i("a");c<=i("z");c++)l.push(c);for(c=i("A");c<=i("Z");c++)l.push(c);var p=[i(" "),i("\f"),i(` +`),i("\r"),i(" "),i("\v"),i(" "),i("\xA0"),i("\u1680"),i("\u2000"),i("\u2001"),i("\u2002"),i("\u2003"),i("\u2004"),i("\u2005"),i("\u2006"),i("\u2007"),i("\u2008"),i("\u2009"),i("\u200A"),i("\u2028"),i("\u2029"),i("\u202F"),i("\u205F"),i("\u3000"),i("\uFEFF")];function m(){}return m.prototype.visitChildren=function(h){for(var g in h){var y=h[g];h.hasOwnProperty(g)&&(y.type!==void 0?this.visit(y):Array.isArray(y)&&y.forEach(function(v){this.visit(v)},this))}},m.prototype.visit=function(h){switch(h.type){case"Pattern":this.visitPattern(h);break;case"Flags":this.visitFlags(h);break;case"Disjunction":this.visitDisjunction(h);break;case"Alternative":this.visitAlternative(h);break;case"StartAnchor":this.visitStartAnchor(h);break;case"EndAnchor":this.visitEndAnchor(h);break;case"WordBoundary":this.visitWordBoundary(h);break;case"NonWordBoundary":this.visitNonWordBoundary(h);break;case"Lookahead":this.visitLookahead(h);break;case"NegativeLookahead":this.visitNegativeLookahead(h);break;case"Character":this.visitCharacter(h);break;case"Set":this.visitSet(h);break;case"Group":this.visitGroup(h);break;case"GroupBackReference":this.visitGroupBackReference(h);break;case"Quantifier":this.visitQuantifier(h);break}this.visitChildren(h)},m.prototype.visitPattern=function(h){},m.prototype.visitFlags=function(h){},m.prototype.visitDisjunction=function(h){},m.prototype.visitAlternative=function(h){},m.prototype.visitStartAnchor=function(h){},m.prototype.visitEndAnchor=function(h){},m.prototype.visitWordBoundary=function(h){},m.prototype.visitNonWordBoundary=function(h){},m.prototype.visitLookahead=function(h){},m.prototype.visitNegativeLookahead=function(h){},m.prototype.visitCharacter=function(h){},m.prototype.visitSet=function(h){},m.prototype.visitGroup=function(h){},m.prototype.visitGroupBackReference=function(h){},m.prototype.visitQuantifier=function(h){},{RegExpParser:e,BaseRegExpVisitor:m,VERSION:"0.5.0"}})});var Yc=d(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.clearRegExpParserCache=Ys.getRegExpAst=void 0;var D7=Kc(),zc={},M7=new D7.RegExpParser;function F7(e){var t=e.toString();if(zc.hasOwnProperty(t))return zc[t];var r=M7.pattern(t);return zc[t]=r,r}Ys.getRegExpAst=F7;function G7(){zc={}}Ys.clearRegExpParserCache=G7});var wR=d(Mt=>{"use strict";var U7=Mt&&Mt.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Mt,"__esModule",{value:!0});Mt.canMatchCharCode=Mt.firstCharOptimizedIndices=Mt.getOptimizedStartCodesIndices=Mt.failedOptimizationPrefixMsg=void 0;var bR=Kc(),ur=ve(),TR=Yc(),bn=bg(),SR="Complement Sets are not supported for first char optimization";Mt.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: +`;function B7(e,t){t===void 0&&(t=!1);try{var r=(0,TR.getRegExpAst)(e),n=Qc(r.value,{},r.flags.ignoreCase);return n}catch(s){if(s.message===SR)t&&(0,ur.PRINT_WARNING)(""+Mt.failedOptimizationPrefixMsg+(" Unable to optimize: < "+e.toString()+` > `)+` Complement Sets cannot be automatically optimized. This will disable the lexer's first char optimizations. See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{var i="";t&&(i=` This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,On.PRINT_ERROR)(Fr.failedOptimizationPrefixMsg+` + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,ur.PRINT_ERROR)(Mt.failedOptimizationPrefixMsg+` `+(" Failed parsing: < "+e.toString()+` > -`)+(" Using the regexp-to-ast library version: "+DL.VERSION+` -`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+i)}}return[]}Fr.getOptimizedStartCodesIndices=oee;function uh(e,t,r){switch(e.type){case"Disjunction":for(var n=0;n=os.minOptimizationVal)for(var m=d.from>=os.minOptimizationVal?d.from:os.minOptimizationVal,w=d.to,v=(0,os.charCodeToOptimizedIndex)(m),E=(0,os.charCodeToOptimizedIndex)(w),A=v;A<=E;A++)t[A]=A}}});break;case"Group":uh(o.value,t,r);break;default:throw Error("Non Exhaustive Match")}var c=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&Hy(o)===!1||o.type!=="Group"&&c===!1)break}break;default:throw Error("non exhaustive match!")}return(0,On.values)(t)}Fr.firstCharOptimizedIndices=uh;function ah(e,t,r){var n=(0,os.charCodeToOptimizedIndex)(e);t[n]=n,r===!0&&aee(e,t)}function aee(e,t){var r=String.fromCharCode(e),n=r.toUpperCase();if(n!==r){var i=(0,os.charCodeToOptimizedIndex)(n.charCodeAt(0));t[i]=i}else{var s=r.toLowerCase();if(s!==r){var i=(0,os.charCodeToOptimizedIndex)(s.charCodeAt(0));t[i]=i}}}function NL(e,t){return(0,On.find)(e.value,function(r){if(typeof r=="number")return(0,On.contains)(t,r);var n=r;return(0,On.find)(t,function(i){return n.from<=i&&i<=n.to})!==void 0})}function Hy(e){return e.quantifier&&e.quantifier.atLeast===0?!0:e.value?(0,On.isArray)(e.value)?(0,On.every)(e.value,Hy):Hy(e.value):!1}var uee=function(e){see(t,e);function t(r){var n=e.call(this)||this;return n.targetCharCodes=r,n.found=!1,n}return t.prototype.visitChildren=function(r){if(this.found!==!0){switch(r.type){case"Lookahead":this.visitLookahead(r);return;case"NegativeLookahead":this.visitNegativeLookahead(r);return}e.prototype.visitChildren.call(this,r)}},t.prototype.visitCharacter=function(r){(0,On.contains)(this.targetCharCodes,r.value)&&(this.found=!0)},t.prototype.visitSet=function(r){r.complement?NL(r,this.targetCharCodes)===void 0&&(this.found=!0):NL(r,this.targetCharCodes)!==void 0&&(this.found=!0)},t}(DL.BaseRegExpVisitor);function cee(e,t){if(t instanceof RegExp){var r=(0,ML.getRegExpAst)(t),n=new uee(e);return n.visit(r),n.found}else return(0,On.find)(t,function(i){return(0,On.contains)(e,i.charCodeAt(0))})!==void 0}Fr.canMatchCharCode=cee});var jy=_(se=>{"use strict";var UL=se&&se.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(se,"__esModule",{value:!0});se.charCodeToOptimizedIndex=se.minOptimizationVal=se.buildLineBreakIssueMessage=se.LineTerminatorOptimizedTester=se.isShortPattern=se.isCustomPattern=se.cloneEmptyGroups=se.performWarningRuntimeChecks=se.performRuntimeChecks=se.addStickyFlag=se.addStartOfInput=se.findUnreachablePatterns=se.findModesThatDoNotExist=se.findInvalidGroupType=se.findDuplicatePatterns=se.findUnsupportedFlags=se.findStartOfInputAnchor=se.findEmptyMatchRegExps=se.findEndOfInputAnchor=se.findInvalidPatterns=se.findMissingPatterns=se.validatePatterns=se.analyzeTokenTypes=se.enableSticky=se.disableSticky=se.SUPPORT_STICKY=se.MODES=se.DEFAULT_MODE=void 0;var BL=ih(),ut=Vc(),V=ze(),cu=GL(),qL=oh(),Si="PATTERN";se.DEFAULT_MODE="defaultMode";se.MODES="modes";se.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function lee(){se.SUPPORT_STICKY=!1}se.disableSticky=lee;function fee(){se.SUPPORT_STICKY=!0}se.enableSticky=fee;function pee(e,t){t=(0,V.defaults)(t,{useSticky:se.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:function(M,C){return C()}});var r=t.tracer;r("initCharCodeToOptimizedIndexMap",function(){Tee()});var n;r("Reject Lexer.NA",function(){n=(0,V.reject)(e,function(M){return M[Si]===ut.Lexer.NA})});var i=!1,s;r("Transform Patterns",function(){i=!1,s=(0,V.map)(n,function(M){var C=M[Si];if((0,V.isRegExp)(C)){var O=C.source;return O.length===1&&O!=="^"&&O!=="$"&&O!=="."&&!C.ignoreCase?O:O.length===2&&O[0]==="\\"&&!(0,V.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],O[1])?O[1]:t.useSticky?Vy(C):$y(C)}else{if((0,V.isFunction)(C))return i=!0,{exec:C};if((0,V.has)(C,"exec"))return i=!0,C;if(typeof C=="string"){if(C.length===1)return C;var H=C.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),U=new RegExp(H);return t.useSticky?Vy(U):$y(U)}else throw Error("non exhaustive match")}})});var o,c,l,p,d;r("misc mapping",function(){o=(0,V.map)(n,function(M){return M.tokenTypeIdx}),c=(0,V.map)(n,function(M){var C=M.GROUP;if(C!==ut.Lexer.SKIPPED){if((0,V.isString)(C))return C;if((0,V.isUndefined)(C))return!1;throw Error("non exhaustive match")}}),l=(0,V.map)(n,function(M){var C=M.LONGER_ALT;if(C){var O=(0,V.isArray)(C)?(0,V.map)(C,function(H){return(0,V.indexOf)(n,H)}):[(0,V.indexOf)(n,C)];return O}}),p=(0,V.map)(n,function(M){return M.PUSH_MODE}),d=(0,V.map)(n,function(M){return(0,V.has)(M,"POP_MODE")})});var h;r("Line Terminator Handling",function(){var M=tx(t.lineTerminatorCharacters);h=(0,V.map)(n,function(C){return!1}),t.positionTracking!=="onlyOffset"&&(h=(0,V.map)(n,function(C){if((0,V.has)(C,"LINE_BREAKS"))return C.LINE_BREAKS;if(ZL(C,M)===!1)return(0,cu.canMatchCharCode)(M,C.PATTERN)}))});var m,w,v,E;r("Misc Mapping #2",function(){m=(0,V.map)(n,zy),w=(0,V.map)(s,QL),v=(0,V.reduce)(n,function(M,C){var O=C.GROUP;return(0,V.isString)(O)&&O!==ut.Lexer.SKIPPED&&(M[O]=[]),M},{}),E=(0,V.map)(s,function(M,C){return{pattern:s[C],longerAlt:l[C],canLineTerminator:h[C],isCustom:m[C],short:w[C],group:c[C],push:p[C],pop:d[C],tokenTypeIdx:o[C],tokenType:n[C]}})});var A=!0,S=[];return t.safeMode||r("First Char Optimization",function(){S=(0,V.reduce)(n,function(M,C,O){if(typeof C.PATTERN=="string"){var H=C.PATTERN.charCodeAt(0),U=Ky(H);Wy(M,U,E[O])}else if((0,V.isArray)(C.START_CHARS_HINT)){var q;(0,V.forEach)(C.START_CHARS_HINT,function(ee){var X=typeof ee=="string"?ee.charCodeAt(0):ee,N=Ky(X);q!==N&&(q=N,Wy(M,N,E[O]))})}else if((0,V.isRegExp)(C.PATTERN))if(C.PATTERN.unicode)A=!1,t.ensureOptimizations&&(0,V.PRINT_ERROR)(""+cu.failedOptimizationPrefixMsg+(" Unable to analyze < "+C.PATTERN.toString()+` > pattern. +`)+(" Using the regexp-to-ast library version: "+bR.VERSION+` +`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+i)}}return[]}Mt.getOptimizedStartCodesIndices=B7;function Qc(e,t,r){switch(e.type){case"Disjunction":for(var n=0;n=bn.minOptimizationVal)for(var p=f.from>=bn.minOptimizationVal?f.from:bn.minOptimizationVal,m=f.to,h=(0,bn.charCodeToOptimizedIndex)(p),g=(0,bn.charCodeToOptimizedIndex)(m),y=h;y<=g;y++)t[y]=y}}});break;case"Group":Qc(o.value,t,r);break;default:throw Error("Non Exhaustive Match")}var a=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&_g(o)===!1||o.type!=="Group"&&a===!1)break}break;default:throw Error("non exhaustive match!")}return(0,ur.values)(t)}Mt.firstCharOptimizedIndices=Qc;function Xc(e,t,r){var n=(0,bn.charCodeToOptimizedIndex)(e);t[n]=n,r===!0&&q7(e,t)}function q7(e,t){var r=String.fromCharCode(e),n=r.toUpperCase();if(n!==r){var i=(0,bn.charCodeToOptimizedIndex)(n.charCodeAt(0));t[i]=i}else{var s=r.toLowerCase();if(s!==r){var i=(0,bn.charCodeToOptimizedIndex)(s.charCodeAt(0));t[i]=i}}}function _R(e,t){return(0,ur.find)(e.value,function(r){if(typeof r=="number")return(0,ur.contains)(t,r);var n=r;return(0,ur.find)(t,function(i){return n.from<=i&&i<=n.to})!==void 0})}function _g(e){return e.quantifier&&e.quantifier.atLeast===0?!0:e.value?(0,ur.isArray)(e.value)?(0,ur.every)(e.value,_g):_g(e.value):!1}var j7=function(e){U7(t,e);function t(r){var n=e.call(this)||this;return n.targetCharCodes=r,n.found=!1,n}return t.prototype.visitChildren=function(r){if(this.found!==!0){switch(r.type){case"Lookahead":this.visitLookahead(r);return;case"NegativeLookahead":this.visitNegativeLookahead(r);return}e.prototype.visitChildren.call(this,r)}},t.prototype.visitCharacter=function(r){(0,ur.contains)(this.targetCharCodes,r.value)&&(this.found=!0)},t.prototype.visitSet=function(r){r.complement?_R(r,this.targetCharCodes)===void 0&&(this.found=!0):_R(r,this.targetCharCodes)!==void 0&&(this.found=!0)},t}(bR.BaseRegExpVisitor);function H7(e,t){if(t instanceof RegExp){var r=(0,TR.getRegExpAst)(t),n=new j7(e);return n.visit(r),n.found}else return(0,ur.find)(t,function(i){return(0,ur.contains)(e,i.charCodeAt(0))})!==void 0}Mt.canMatchCharCode=H7});var bg=d(q=>{"use strict";var AR=q&&q.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(q,"__esModule",{value:!0});q.charCodeToOptimizedIndex=q.minOptimizationVal=q.buildLineBreakIssueMessage=q.LineTerminatorOptimizedTester=q.isShortPattern=q.isCustomPattern=q.cloneEmptyGroups=q.performWarningRuntimeChecks=q.performRuntimeChecks=q.addStickyFlag=q.addStartOfInput=q.findUnreachablePatterns=q.findModesThatDoNotExist=q.findInvalidGroupType=q.findDuplicatePatterns=q.findUnsupportedFlags=q.findStartOfInputAnchor=q.findEmptyMatchRegExps=q.findEndOfInputAnchor=q.findInvalidPatterns=q.findMissingPatterns=q.validatePatterns=q.analyzeTokenTypes=q.enableSticky=q.disableSticky=q.SUPPORT_STICKY=q.MODES=q.DEFAULT_MODE=void 0;var RR=Kc(),Oe=ba(),k=ve(),Xs=wR(),PR=Yc(),Yr="PATTERN";q.DEFAULT_MODE="defaultMode";q.MODES="modes";q.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function $7(){q.SUPPORT_STICKY=!1}q.disableSticky=$7;function W7(){q.SUPPORT_STICKY=!0}q.enableSticky=W7;function V7(e,t){t=(0,k.defaults)(t,{useSticky:q.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` +`],tracer:function(S,b){return b()}});var r=t.tracer;r("initCharCodeToOptimizedIndexMap",function(){r9()});var n;r("Reject Lexer.NA",function(){n=(0,k.reject)(e,function(S){return S[Yr]===Oe.Lexer.NA})});var i=!1,s;r("Transform Patterns",function(){i=!1,s=(0,k.map)(n,function(S){var b=S[Yr];if((0,k.isRegExp)(b)){var _=b.source;return _.length===1&&_!=="^"&&_!=="$"&&_!=="."&&!b.ignoreCase?_:_.length===2&&_[0]==="\\"&&!(0,k.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],_[1])?_[1]:t.useSticky?wg(b):Sg(b)}else{if((0,k.isFunction)(b))return i=!0,{exec:b};if((0,k.has)(b,"exec"))return i=!0,b;if(typeof b=="string"){if(b.length===1)return b;var O=b.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),R=new RegExp(O);return t.useSticky?wg(R):Sg(R)}else throw Error("non exhaustive match")}})});var o,a,u,c,f;r("misc mapping",function(){o=(0,k.map)(n,function(S){return S.tokenTypeIdx}),a=(0,k.map)(n,function(S){var b=S.GROUP;if(b!==Oe.Lexer.SKIPPED){if((0,k.isString)(b))return b;if((0,k.isUndefined)(b))return!1;throw Error("non exhaustive match")}}),u=(0,k.map)(n,function(S){var b=S.LONGER_ALT;if(b){var _=(0,k.isArray)(b)?(0,k.map)(b,function(O){return(0,k.indexOf)(n,O)}):[(0,k.indexOf)(n,b)];return _}}),c=(0,k.map)(n,function(S){return S.PUSH_MODE}),f=(0,k.map)(n,function(S){return(0,k.has)(S,"POP_MODE")})});var l;r("Line Terminator Handling",function(){var S=qR(t.lineTerminatorCharacters);l=(0,k.map)(n,function(b){return!1}),t.positionTracking!=="onlyOffset"&&(l=(0,k.map)(n,function(b){if((0,k.has)(b,"LINE_BREAKS"))return b.LINE_BREAKS;if(UR(b,S)===!1)return(0,Xs.canMatchCharCode)(S,b.PATTERN)}))});var p,m,h,g;r("Misc Mapping #2",function(){p=(0,k.map)(n,Rg),m=(0,k.map)(s,GR),h=(0,k.reduce)(n,function(S,b){var _=b.GROUP;return(0,k.isString)(_)&&_!==Oe.Lexer.SKIPPED&&(S[_]=[]),S},{}),g=(0,k.map)(s,function(S,b){return{pattern:s[b],longerAlt:u[b],canLineTerminator:l[b],isCustom:p[b],short:m[b],group:a[b],push:c[b],pop:f[b],tokenTypeIdx:o[b],tokenType:n[b]}})});var y=!0,v=[];return t.safeMode||r("First Char Optimization",function(){v=(0,k.reduce)(n,function(S,b,_){if(typeof b.PATTERN=="string"){var O=b.PATTERN.charCodeAt(0),R=Ag(O);Tg(S,R,g[_])}else if((0,k.isArray)(b.START_CHARS_HINT)){var C;(0,k.forEach)(b.START_CHARS_HINT,function(M){var L=typeof M=="string"?M.charCodeAt(0):M,w=Ag(L);C!==w&&(C=w,Tg(S,w,g[_]))})}else if((0,k.isRegExp)(b.PATTERN))if(b.PATTERN.unicode)y=!1,t.ensureOptimizations&&(0,k.PRINT_ERROR)(""+Xs.failedOptimizationPrefixMsg+(" Unable to analyze < "+b.PATTERN.toString()+` > pattern. `)+` The regexp unicode flag is not currently supported by the regexp-to-ast library. This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var J=(0,cu.getOptimizedStartCodesIndices)(C.PATTERN,t.ensureOptimizations);(0,V.isEmpty)(J)&&(A=!1),(0,V.forEach)(J,function(ee){Wy(M,ee,E[O])})}else t.ensureOptimizations&&(0,V.PRINT_ERROR)(""+cu.failedOptimizationPrefixMsg+(" TokenType: <"+C.name+`> is using a custom token pattern without providing parameter. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var x=(0,Xs.getOptimizedStartCodesIndices)(b.PATTERN,t.ensureOptimizations);(0,k.isEmpty)(x)&&(y=!1),(0,k.forEach)(x,function(M){Tg(S,M,g[_])})}else t.ensureOptimizations&&(0,k.PRINT_ERROR)(""+Xs.failedOptimizationPrefixMsg+(" TokenType: <"+b.name+`> is using a custom token pattern without providing parameter. `)+` This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),A=!1;return M},[])}),r("ArrayPacking",function(){S=(0,V.packArray)(S)}),{emptyGroups:v,patternIdxToConfig:E,charCodeToPatternIdxToConfig:S,hasCustom:i,canBeOptimized:A}}se.analyzeTokenTypes=pee;function hee(e,t){var r=[],n=HL(e);r=r.concat(n.errors);var i=jL(n.valid),s=i.valid;return r=r.concat(i.errors),r=r.concat(dee(s)),r=r.concat(YL(s)),r=r.concat(XL(s,t)),r=r.concat(JL(s)),r}se.validatePatterns=hee;function dee(e){var t=[],r=(0,V.filter)(e,function(n){return(0,V.isRegExp)(n[Si])});return t=t.concat(WL(r)),t=t.concat(VL(r)),t=t.concat(KL(r)),t=t.concat(zL(r)),t=t.concat($L(r)),t}function HL(e){var t=(0,V.filter)(e,function(i){return!(0,V.has)(i,Si)}),r=(0,V.map)(t,function(i){return{message:"Token Type: ->"+i.name+"<- missing static 'PATTERN' property",type:ut.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[i]}}),n=(0,V.difference)(e,t);return{errors:r,valid:n}}se.findMissingPatterns=HL;function jL(e){var t=(0,V.filter)(e,function(i){var s=i[Si];return!(0,V.isRegExp)(s)&&!(0,V.isFunction)(s)&&!(0,V.has)(s,"exec")&&!(0,V.isString)(s)}),r=(0,V.map)(t,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ut.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[i]}}),n=(0,V.difference)(e,t);return{errors:r,valid:n}}se.findInvalidPatterns=jL;var gee=/[^\\][\$]/;function WL(e){var t=function(i){UL(s,i);function s(){var o=i!==null&&i.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(BL.BaseRegExpVisitor),r=(0,V.filter)(e,function(i){var s=i[Si];try{var o=(0,qL.getRegExpAst)(s),c=new t;return c.visit(o),c.found}catch{return gee.test(s.source)}}),n=(0,V.map)(r,function(i){return{message:`Unexpected RegExp Anchor Error: + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),y=!1;return S},[])}),r("ArrayPacking",function(){v=(0,k.packArray)(v)}),{emptyGroups:h,patternIdxToConfig:g,charCodeToPatternIdxToConfig:v,hasCustom:i,canBeOptimized:y}}q.analyzeTokenTypes=V7;function K7(e,t){var r=[],n=OR(e);r=r.concat(n.errors);var i=CR(n.valid),s=i.valid;return r=r.concat(i.errors),r=r.concat(z7(s)),r=r.concat(DR(s)),r=r.concat(MR(s,t)),r=r.concat(FR(s)),r}q.validatePatterns=K7;function z7(e){var t=[],r=(0,k.filter)(e,function(n){return(0,k.isRegExp)(n[Yr])});return t=t.concat(kR(r)),t=t.concat(LR(r)),t=t.concat(NR(r)),t=t.concat(xR(r)),t=t.concat(IR(r)),t}function OR(e){var t=(0,k.filter)(e,function(i){return!(0,k.has)(i,Yr)}),r=(0,k.map)(t,function(i){return{message:"Token Type: ->"+i.name+"<- missing static 'PATTERN' property",type:Oe.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[i]}}),n=(0,k.difference)(e,t);return{errors:r,valid:n}}q.findMissingPatterns=OR;function CR(e){var t=(0,k.filter)(e,function(i){var s=i[Yr];return!(0,k.isRegExp)(s)&&!(0,k.isFunction)(s)&&!(0,k.has)(s,"exec")&&!(0,k.isString)(s)}),r=(0,k.map)(t,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Oe.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[i]}}),n=(0,k.difference)(e,t);return{errors:r,valid:n}}q.findInvalidPatterns=CR;var Y7=/[^\\][\$]/;function kR(e){var t=function(i){AR(s,i);function s(){var o=i!==null&&i.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(RR.BaseRegExpVisitor),r=(0,k.filter)(e,function(i){var s=i[Yr];try{var o=(0,PR.getRegExpAst)(s),a=new t;return a.visit(o),a.found}catch{return Y7.test(s.source)}}),n=(0,k.map)(r,function(i){return{message:`Unexpected RegExp Anchor Error: Token Type: ->`+i.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ut.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[i]}});return n}se.findEndOfInputAnchor=WL;function $L(e){var t=(0,V.filter)(e,function(n){var i=n[Si];return i.test("")}),r=(0,V.map)(t,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' must not match an empty string",type:ut.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[n]}});return r}se.findEmptyMatchRegExps=$L;var mee=/[^\\[][\^]|^\^/;function VL(e){var t=function(i){UL(s,i);function s(){var o=i!==null&&i.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(BL.BaseRegExpVisitor),r=(0,V.filter)(e,function(i){var s=i[Si];try{var o=(0,qL.getRegExpAst)(s),c=new t;return c.visit(o),c.found}catch{return mee.test(s.source)}}),n=(0,V.map)(r,function(i){return{message:`Unexpected RegExp Anchor Error: + See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Oe.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[i]}});return n}q.findEndOfInputAnchor=kR;function IR(e){var t=(0,k.filter)(e,function(n){var i=n[Yr];return i.test("")}),r=(0,k.map)(t,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' must not match an empty string",type:Oe.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[n]}});return r}q.findEmptyMatchRegExps=IR;var X7=/[^\\[][\^]|^\^/;function LR(e){var t=function(i){AR(s,i);function s(){var o=i!==null&&i.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(RR.BaseRegExpVisitor),r=(0,k.filter)(e,function(i){var s=i[Yr];try{var o=(0,PR.getRegExpAst)(s),a=new t;return a.visit(o),a.found}catch{return X7.test(s.source)}}),n=(0,k.map)(r,function(i){return{message:`Unexpected RegExp Anchor Error: Token Type: ->`+i.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ut.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[i]}});return n}se.findStartOfInputAnchor=VL;function KL(e){var t=(0,V.filter)(e,function(n){var i=n[Si];return i instanceof RegExp&&(i.multiline||i.global)}),r=(0,V.map)(t,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ut.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[n]}});return r}se.findUnsupportedFlags=KL;function zL(e){var t=[],r=(0,V.map)(e,function(s){return(0,V.reduce)(e,function(o,c){return s.PATTERN.source===c.PATTERN.source&&!(0,V.contains)(t,c)&&c.PATTERN!==ut.Lexer.NA&&(t.push(c),o.push(c)),o},[])});r=(0,V.compact)(r);var n=(0,V.filter)(r,function(s){return s.length>1}),i=(0,V.map)(n,function(s){var o=(0,V.map)(s,function(l){return l.name}),c=(0,V.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+c+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:ut.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return i}se.findDuplicatePatterns=zL;function YL(e){var t=(0,V.filter)(e,function(n){if(!(0,V.has)(n,"GROUP"))return!1;var i=n.GROUP;return i!==ut.Lexer.SKIPPED&&i!==ut.Lexer.NA&&!(0,V.isString)(i)}),r=(0,V.map)(t,function(n){return{message:"Token Type: ->"+n.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ut.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[n]}});return r}se.findInvalidGroupType=YL;function XL(e,t){var r=(0,V.filter)(e,function(i){return i.PUSH_MODE!==void 0&&!(0,V.contains)(t,i.PUSH_MODE)}),n=(0,V.map)(r,function(i){var s="Token Type: ->"+i.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+i.PUSH_MODE+"<-which does not exist";return{message:s,type:ut.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[i]}});return n}se.findModesThatDoNotExist=XL;function JL(e){var t=[],r=(0,V.reduce)(e,function(n,i,s){var o=i.PATTERN;return o===ut.Lexer.NA||((0,V.isString)(o)?n.push({str:o,idx:s,tokenType:i}):(0,V.isRegExp)(o)&&yee(o)&&n.push({str:o.source,idx:s,tokenType:i})),n},[]);return(0,V.forEach)(e,function(n,i){(0,V.forEach)(r,function(s){var o=s.str,c=s.idx,l=s.tokenType;if(i"+n.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Oe.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[n]}});return r}q.findUnsupportedFlags=NR;function xR(e){var t=[],r=(0,k.map)(e,function(s){return(0,k.reduce)(e,function(o,a){return s.PATTERN.source===a.PATTERN.source&&!(0,k.contains)(t,a)&&a.PATTERN!==Oe.Lexer.NA&&(t.push(a),o.push(a)),o},[])});r=(0,k.compact)(r);var n=(0,k.filter)(r,function(s){return s.length>1}),i=(0,k.map)(n,function(s){var o=(0,k.map)(s,function(u){return u.name}),a=(0,k.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+a+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:Oe.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return i}q.findDuplicatePatterns=xR;function DR(e){var t=(0,k.filter)(e,function(n){if(!(0,k.has)(n,"GROUP"))return!1;var i=n.GROUP;return i!==Oe.Lexer.SKIPPED&&i!==Oe.Lexer.NA&&!(0,k.isString)(i)}),r=(0,k.map)(t,function(n){return{message:"Token Type: ->"+n.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Oe.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[n]}});return r}q.findInvalidGroupType=DR;function MR(e,t){var r=(0,k.filter)(e,function(i){return i.PUSH_MODE!==void 0&&!(0,k.contains)(t,i.PUSH_MODE)}),n=(0,k.map)(r,function(i){var s="Token Type: ->"+i.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+i.PUSH_MODE+"<-which does not exist";return{message:s,type:Oe.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[i]}});return n}q.findModesThatDoNotExist=MR;function FR(e){var t=[],r=(0,k.reduce)(e,function(n,i,s){var o=i.PATTERN;return o===Oe.Lexer.NA||((0,k.isString)(o)?n.push({str:o,idx:s,tokenType:i}):(0,k.isRegExp)(o)&&J7(o)&&n.push({str:o.source,idx:s,tokenType:i})),n},[]);return(0,k.forEach)(e,function(n,i){(0,k.forEach)(r,function(s){var o=s.str,a=s.idx,u=s.tokenType;if(i"+n.name+"<-")+`in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:p,type:ut.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[n,l]})}})}),t}se.findUnreachablePatterns=JL;function vee(e,t){if((0,V.isRegExp)(t)){var r=t.exec(e);return r!==null&&r.index===0}else{if((0,V.isFunction)(t))return t(e,0,[],{});if((0,V.has)(t,"exec"))return t.exec(e,0,[],{});if(typeof t=="string")return t===e;throw Error("non exhaustive match")}}function yee(e){var t=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,V.find)(t,function(r){return e.source.indexOf(r)!==-1})===void 0}function $y(e){var t=e.ignoreCase?"i":"";return new RegExp("^(?:"+e.source+")",t)}se.addStartOfInput=$y;function Vy(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}se.addStickyFlag=Vy;function _ee(e,t,r){var n=[];return(0,V.has)(e,se.DEFAULT_MODE)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+se.DEFAULT_MODE+`> property in its definition -`,type:ut.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,V.has)(e,se.MODES)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+se.MODES+`> property in its definition -`,type:ut.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,V.has)(e,se.MODES)&&(0,V.has)(e,se.DEFAULT_MODE)&&!(0,V.has)(e.modes,e.defaultMode)&&n.push({message:"A MultiMode Lexer cannot be initialized with a "+se.DEFAULT_MODE+": <"+e.defaultMode+`>which does not exist -`,type:ut.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,V.has)(e,se.MODES)&&(0,V.forEach)(e.modes,function(i,s){(0,V.forEach)(i,function(o,c){(0,V.isUndefined)(o)&&n.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+c+`> -`),type:ut.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),n}se.performRuntimeChecks=_ee;function Eee(e,t,r){var n=[],i=!1,s=(0,V.compact)((0,V.flatten)((0,V.mapValues)(e.modes,function(l){return l}))),o=(0,V.reject)(s,function(l){return l[Si]===ut.Lexer.NA}),c=tx(r);return t&&(0,V.forEach)(o,function(l){var p=ZL(l,c);if(p!==!1){var d=ex(l,p),h={message:d,type:p.issue,tokenType:l};n.push(h)}else(0,V.has)(l,"LINE_BREAKS")?l.LINE_BREAKS===!0&&(i=!0):(0,cu.canMatchCharCode)(c,l.PATTERN)&&(i=!0)}),t&&!i&&n.push({message:`Warning: No LINE_BREAKS Found. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:c,type:Oe.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[n,u]})}})}),t}q.findUnreachablePatterns=FR;function Q7(e,t){if((0,k.isRegExp)(t)){var r=t.exec(e);return r!==null&&r.index===0}else{if((0,k.isFunction)(t))return t(e,0,[],{});if((0,k.has)(t,"exec"))return t.exec(e,0,[],{});if(typeof t=="string")return t===e;throw Error("non exhaustive match")}}function J7(e){var t=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,k.find)(t,function(r){return e.source.indexOf(r)!==-1})===void 0}function Sg(e){var t=e.ignoreCase?"i":"";return new RegExp("^(?:"+e.source+")",t)}q.addStartOfInput=Sg;function wg(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}q.addStickyFlag=wg;function Z7(e,t,r){var n=[];return(0,k.has)(e,q.DEFAULT_MODE)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+q.DEFAULT_MODE+`> property in its definition +`,type:Oe.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,k.has)(e,q.MODES)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+q.MODES+`> property in its definition +`,type:Oe.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,k.has)(e,q.MODES)&&(0,k.has)(e,q.DEFAULT_MODE)&&!(0,k.has)(e.modes,e.defaultMode)&&n.push({message:"A MultiMode Lexer cannot be initialized with a "+q.DEFAULT_MODE+": <"+e.defaultMode+`>which does not exist +`,type:Oe.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,k.has)(e,q.MODES)&&(0,k.forEach)(e.modes,function(i,s){(0,k.forEach)(i,function(o,a){(0,k.isUndefined)(o)&&n.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+a+`> +`),type:Oe.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),n}q.performRuntimeChecks=Z7;function e9(e,t,r){var n=[],i=!1,s=(0,k.compact)((0,k.flatten)((0,k.mapValues)(e.modes,function(u){return u}))),o=(0,k.reject)(s,function(u){return u[Yr]===Oe.Lexer.NA}),a=qR(r);return t&&(0,k.forEach)(o,function(u){var c=UR(u,a);if(c!==!1){var f=BR(u,c),l={message:f,type:c.issue,tokenType:u};n.push(l)}else(0,k.has)(u,"LINE_BREAKS")?u.LINE_BREAKS===!0&&(i=!0):(0,Xs.canMatchCharCode)(a,u.PATTERN)&&(i=!0)}),t&&!i&&n.push({message:`Warning: No LINE_BREAKS Found. This Lexer has been defined to track line and column information, But none of the Token Types can be identified as matching a line terminator. See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:ut.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),n}se.performWarningRuntimeChecks=Eee;function bee(e){var t={},r=(0,V.keys)(e);return(0,V.forEach)(r,function(n){var i=e[n];if((0,V.isArray)(i))t[n]=[];else throw Error("non exhaustive match")}),t}se.cloneEmptyGroups=bee;function zy(e){var t=e.PATTERN;if((0,V.isRegExp)(t))return!1;if((0,V.isFunction)(t))return!0;if((0,V.has)(t,"exec"))return!0;if((0,V.isString)(t))return!1;throw Error("non exhaustive match")}se.isCustomPattern=zy;function QL(e){return(0,V.isString)(e)&&e.length===1?e.charCodeAt(0):!1}se.isShortPattern=QL;se.LineTerminatorOptimizedTester={test:function(e){for(var t=e.length,r=this.lastIndex;r Token Type `)+(" Root cause: "+t.errMsg+`. -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(t.issue===ut.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. +`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(t.issue===Oe.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. `+(" The problem is in the <"+e.name+`> Token Type -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}se.buildLineBreakIssueMessage=ex;function tx(e){var t=(0,V.map)(e,function(r){return(0,V.isString)(r)&&r.length>0?r.charCodeAt(0):r});return t}function Wy(e,t,r){e[t]===void 0?e[t]=[r]:e[t].push(r)}se.minOptimizationVal=256;var ch=[];function Ky(e){return e255?255+~~(e/255):e}}});var lu=_(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.isTokenType=Ue.hasExtendingTokensTypesMapProperty=Ue.hasExtendingTokensTypesProperty=Ue.hasCategoriesProperty=Ue.hasShortKeyProperty=Ue.singleAssignCategoriesToksMap=Ue.assignCategoriesMapProp=Ue.assignCategoriesTokensProp=Ue.assignTokenDefaultProps=Ue.expandCategories=Ue.augmentTokenTypes=Ue.tokenIdxToClass=Ue.tokenShortNameIdx=Ue.tokenStructuredMatcherNoCategories=Ue.tokenStructuredMatcher=void 0;var qt=ze();function wee(e,t){var r=e.tokenTypeIdx;return r===t.tokenTypeIdx?!0:t.isParent===!0&&t.categoryMatchesMap[r]===!0}Ue.tokenStructuredMatcher=wee;function See(e,t){return e.tokenTypeIdx===t.tokenTypeIdx}Ue.tokenStructuredMatcherNoCategories=See;Ue.tokenShortNameIdx=1;Ue.tokenIdxToClass={};function Aee(e){var t=rx(e);nx(t),sx(t),ix(t),(0,qt.forEach)(t,function(r){r.isParent=r.categoryMatches.length>0})}Ue.augmentTokenTypes=Aee;function rx(e){for(var t=(0,qt.cloneArr)(e),r=e,n=!0;n;){r=(0,qt.compact)((0,qt.flatten)((0,qt.map)(r,function(s){return s.CATEGORIES})));var i=(0,qt.difference)(r,t);t=t.concat(i),(0,qt.isEmpty)(i)?n=!1:r=i}return t}Ue.expandCategories=rx;function nx(e){(0,qt.forEach)(e,function(t){ox(t)||(Ue.tokenIdxToClass[Ue.tokenShortNameIdx]=t,t.tokenTypeIdx=Ue.tokenShortNameIdx++),Yy(t)&&!(0,qt.isArray)(t.CATEGORIES)&&(t.CATEGORIES=[t.CATEGORIES]),Yy(t)||(t.CATEGORIES=[]),ax(t)||(t.categoryMatches=[]),ux(t)||(t.categoryMatchesMap={})})}Ue.assignTokenDefaultProps=nx;function ix(e){(0,qt.forEach)(e,function(t){t.categoryMatches=[],(0,qt.forEach)(t.categoryMatchesMap,function(r,n){t.categoryMatches.push(Ue.tokenIdxToClass[n].tokenTypeIdx)})})}Ue.assignCategoriesTokensProp=ix;function sx(e){(0,qt.forEach)(e,function(t){Xy([],t)})}Ue.assignCategoriesMapProp=sx;function Xy(e,t){(0,qt.forEach)(e,function(r){t.categoryMatchesMap[r.tokenTypeIdx]=!0}),(0,qt.forEach)(t.CATEGORIES,function(r){var n=e.concat(t);(0,qt.contains)(n,r)||Xy(n,r)})}Ue.singleAssignCategoriesToksMap=Xy;function ox(e){return(0,qt.has)(e,"tokenTypeIdx")}Ue.hasShortKeyProperty=ox;function Yy(e){return(0,qt.has)(e,"CATEGORIES")}Ue.hasCategoriesProperty=Yy;function ax(e){return(0,qt.has)(e,"categoryMatches")}Ue.hasExtendingTokensTypesProperty=ax;function ux(e){return(0,qt.has)(e,"categoryMatchesMap")}Ue.hasExtendingTokensTypesMapProperty=ux;function Ree(e){return(0,qt.has)(e,"tokenTypeIdx")}Ue.isTokenType=Ree});var Jy=_(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.defaultLexerErrorProvider=void 0;lh.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(e){return"Unable to pop Lexer Mode after encountering Token ->"+e.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(e,t,r,n,i){return"unexpected character: ->"+e.charAt(t)+"<- at offset: "+t+","+(" skipped "+r+" characters.")}}});var Vc=_(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.Lexer=Vo.LexerDefinitionErrorType=void 0;var ri=jy(),ct=ze(),Pee=lu(),Oee=Jy(),Cee=oh(),kee;(function(e){e[e.MISSING_PATTERN=0]="MISSING_PATTERN",e[e.INVALID_PATTERN=1]="INVALID_PATTERN",e[e.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e[e.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e[e.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e[e.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e[e.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e[e.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e[e.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e[e.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e[e.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e[e.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e[e.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(kee=Vo.LexerDefinitionErrorType||(Vo.LexerDefinitionErrorType={}));var Kc={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Oee.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(Kc);var Iee=function(){function e(t,r){var n=this;if(r===void 0&&(r=Kc),this.lexerDefinition=t,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof r=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=(0,ct.merge)(Kc,r);var i=this.config.traceInitPerf;i===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof i=="number"&&(this.traceInitMaxIdent=i,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;n.TRACE_INIT("Lexer Config handling",function(){if(n.config.lineTerminatorsPattern===Kc.lineTerminatorsPattern)n.config.lineTerminatorsPattern=ri.LineTerminatorOptimizedTester;else if(n.config.lineTerminatorCharacters===Kc.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(r.safeMode&&r.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');n.trackStartLines=/full|onlyStart/i.test(n.config.positionTracking),n.trackEndLines=/full/i.test(n.config.positionTracking),(0,ct.isArray)(t)?(s={modes:{}},s.modes[ri.DEFAULT_MODE]=(0,ct.cloneArr)(t),s[ri.DEFAULT_MODE]=ri.DEFAULT_MODE):(o=!1,s=(0,ct.cloneObj)(t))}),n.config.skipValidations===!1&&(n.TRACE_INIT("performRuntimeChecks",function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat((0,ri.performRuntimeChecks)(s,n.trackStartLines,n.config.lineTerminatorCharacters))}),n.TRACE_INIT("performWarningRuntimeChecks",function(){n.lexerDefinitionWarning=n.lexerDefinitionWarning.concat((0,ri.performWarningRuntimeChecks)(s,n.trackStartLines,n.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,ct.forEach)(s.modes,function(d,h){s.modes[h]=(0,ct.reject)(d,function(m){return(0,ct.isUndefined)(m)})});var c=(0,ct.keys)(s.modes);if((0,ct.forEach)(s.modes,function(d,h){n.TRACE_INIT("Mode: <"+h+"> processing",function(){if(n.modes.push(h),n.config.skipValidations===!1&&n.TRACE_INIT("validatePatterns",function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat((0,ri.validatePatterns)(d,c))}),(0,ct.isEmpty)(n.lexerDefinitionErrors)){(0,Pee.augmentTokenTypes)(d);var m;n.TRACE_INIT("analyzeTokenTypes",function(){m=(0,ri.analyzeTokenTypes)(d,{lineTerminatorCharacters:n.config.lineTerminatorCharacters,positionTracking:r.positionTracking,ensureOptimizations:r.ensureOptimizations,safeMode:r.safeMode,tracer:n.TRACE_INIT.bind(n)})}),n.patternIdxToConfig[h]=m.patternIdxToConfig,n.charCodeToPatternIdxToConfig[h]=m.charCodeToPatternIdxToConfig,n.emptyGroups=(0,ct.merge)(n.emptyGroups,m.emptyGroups),n.hasCustom=m.hasCustom||n.hasCustom,n.canModeBeOptimized[h]=m.canBeOptimized}})}),n.defaultMode=s.defaultMode,!(0,ct.isEmpty)(n.lexerDefinitionErrors)&&!n.config.deferDefinitionErrorsHandling){var l=(0,ct.map)(n.lexerDefinitionErrors,function(d){return d.message}),p=l.join(`----------------------- +`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}q.buildLineBreakIssueMessage=BR;function qR(e){var t=(0,k.map)(e,function(r){return(0,k.isString)(r)&&r.length>0?r.charCodeAt(0):r});return t}function Tg(e,t,r){e[t]===void 0?e[t]=[r]:e[t].push(r)}q.minOptimizationVal=256;var Jc=[];function Ag(e){return e255?255+~~(e/255):e}}});var Qs=d(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.isTokenType=ce.hasExtendingTokensTypesMapProperty=ce.hasExtendingTokensTypesProperty=ce.hasCategoriesProperty=ce.hasShortKeyProperty=ce.singleAssignCategoriesToksMap=ce.assignCategoriesMapProp=ce.assignCategoriesTokensProp=ce.assignTokenDefaultProps=ce.expandCategories=ce.augmentTokenTypes=ce.tokenIdxToClass=ce.tokenShortNameIdx=ce.tokenStructuredMatcherNoCategories=ce.tokenStructuredMatcher=void 0;var et=ve();function n9(e,t){var r=e.tokenTypeIdx;return r===t.tokenTypeIdx?!0:t.isParent===!0&&t.categoryMatchesMap[r]===!0}ce.tokenStructuredMatcher=n9;function i9(e,t){return e.tokenTypeIdx===t.tokenTypeIdx}ce.tokenStructuredMatcherNoCategories=i9;ce.tokenShortNameIdx=1;ce.tokenIdxToClass={};function s9(e){var t=jR(e);HR(t),WR(t),$R(t),(0,et.forEach)(t,function(r){r.isParent=r.categoryMatches.length>0})}ce.augmentTokenTypes=s9;function jR(e){for(var t=(0,et.cloneArr)(e),r=e,n=!0;n;){r=(0,et.compact)((0,et.flatten)((0,et.map)(r,function(s){return s.CATEGORIES})));var i=(0,et.difference)(r,t);t=t.concat(i),(0,et.isEmpty)(i)?n=!1:r=i}return t}ce.expandCategories=jR;function HR(e){(0,et.forEach)(e,function(t){VR(t)||(ce.tokenIdxToClass[ce.tokenShortNameIdx]=t,t.tokenTypeIdx=ce.tokenShortNameIdx++),Pg(t)&&!(0,et.isArray)(t.CATEGORIES)&&(t.CATEGORIES=[t.CATEGORIES]),Pg(t)||(t.CATEGORIES=[]),KR(t)||(t.categoryMatches=[]),zR(t)||(t.categoryMatchesMap={})})}ce.assignTokenDefaultProps=HR;function $R(e){(0,et.forEach)(e,function(t){t.categoryMatches=[],(0,et.forEach)(t.categoryMatchesMap,function(r,n){t.categoryMatches.push(ce.tokenIdxToClass[n].tokenTypeIdx)})})}ce.assignCategoriesTokensProp=$R;function WR(e){(0,et.forEach)(e,function(t){Og([],t)})}ce.assignCategoriesMapProp=WR;function Og(e,t){(0,et.forEach)(e,function(r){t.categoryMatchesMap[r.tokenTypeIdx]=!0}),(0,et.forEach)(t.CATEGORIES,function(r){var n=e.concat(t);(0,et.contains)(n,r)||Og(n,r)})}ce.singleAssignCategoriesToksMap=Og;function VR(e){return(0,et.has)(e,"tokenTypeIdx")}ce.hasShortKeyProperty=VR;function Pg(e){return(0,et.has)(e,"CATEGORIES")}ce.hasCategoriesProperty=Pg;function KR(e){return(0,et.has)(e,"categoryMatches")}ce.hasExtendingTokensTypesProperty=KR;function zR(e){return(0,et.has)(e,"categoryMatchesMap")}ce.hasExtendingTokensTypesMapProperty=zR;function o9(e){return(0,et.has)(e,"tokenTypeIdx")}ce.isTokenType=o9});var Cg=d(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.defaultLexerErrorProvider=void 0;Zc.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(e){return"Unable to pop Lexer Mode after encountering Token ->"+e.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(e,t,r,n,i){return"unexpected character: ->"+e.charAt(t)+"<- at offset: "+t+","+(" skipped "+r+" characters.")}}});var ba=d(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.Lexer=Vi.LexerDefinitionErrorType=void 0;var Lr=bg(),Ce=ve(),a9=Qs(),u9=Cg(),c9=Yc(),l9;(function(e){e[e.MISSING_PATTERN=0]="MISSING_PATTERN",e[e.INVALID_PATTERN=1]="INVALID_PATTERN",e[e.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e[e.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e[e.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e[e.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e[e.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e[e.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e[e.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e[e.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e[e.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e[e.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e[e.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(l9=Vi.LexerDefinitionErrorType||(Vi.LexerDefinitionErrorType={}));var Ta={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` +`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:u9.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(Ta);var f9=function(){function e(t,r){var n=this;if(r===void 0&&(r=Ta),this.lexerDefinition=t,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof r=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. +a boolean 2nd argument is no longer supported`);this.config=(0,Ce.merge)(Ta,r);var i=this.config.traceInitPerf;i===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof i=="number"&&(this.traceInitMaxIdent=i,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;n.TRACE_INIT("Lexer Config handling",function(){if(n.config.lineTerminatorsPattern===Ta.lineTerminatorsPattern)n.config.lineTerminatorsPattern=Lr.LineTerminatorOptimizedTester;else if(n.config.lineTerminatorCharacters===Ta.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(r.safeMode&&r.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');n.trackStartLines=/full|onlyStart/i.test(n.config.positionTracking),n.trackEndLines=/full/i.test(n.config.positionTracking),(0,Ce.isArray)(t)?(s={modes:{}},s.modes[Lr.DEFAULT_MODE]=(0,Ce.cloneArr)(t),s[Lr.DEFAULT_MODE]=Lr.DEFAULT_MODE):(o=!1,s=(0,Ce.cloneObj)(t))}),n.config.skipValidations===!1&&(n.TRACE_INIT("performRuntimeChecks",function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat((0,Lr.performRuntimeChecks)(s,n.trackStartLines,n.config.lineTerminatorCharacters))}),n.TRACE_INIT("performWarningRuntimeChecks",function(){n.lexerDefinitionWarning=n.lexerDefinitionWarning.concat((0,Lr.performWarningRuntimeChecks)(s,n.trackStartLines,n.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,Ce.forEach)(s.modes,function(f,l){s.modes[l]=(0,Ce.reject)(f,function(p){return(0,Ce.isUndefined)(p)})});var a=(0,Ce.keys)(s.modes);if((0,Ce.forEach)(s.modes,function(f,l){n.TRACE_INIT("Mode: <"+l+"> processing",function(){if(n.modes.push(l),n.config.skipValidations===!1&&n.TRACE_INIT("validatePatterns",function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat((0,Lr.validatePatterns)(f,a))}),(0,Ce.isEmpty)(n.lexerDefinitionErrors)){(0,a9.augmentTokenTypes)(f);var p;n.TRACE_INIT("analyzeTokenTypes",function(){p=(0,Lr.analyzeTokenTypes)(f,{lineTerminatorCharacters:n.config.lineTerminatorCharacters,positionTracking:r.positionTracking,ensureOptimizations:r.ensureOptimizations,safeMode:r.safeMode,tracer:n.TRACE_INIT.bind(n)})}),n.patternIdxToConfig[l]=p.patternIdxToConfig,n.charCodeToPatternIdxToConfig[l]=p.charCodeToPatternIdxToConfig,n.emptyGroups=(0,Ce.merge)(n.emptyGroups,p.emptyGroups),n.hasCustom=p.hasCustom||n.hasCustom,n.canModeBeOptimized[l]=p.canBeOptimized}})}),n.defaultMode=s.defaultMode,!(0,Ce.isEmpty)(n.lexerDefinitionErrors)&&!n.config.deferDefinitionErrorsHandling){var u=(0,Ce.map)(n.lexerDefinitionErrors,function(f){return f.message}),c=u.join(`----------------------- `);throw new Error(`Errors detected in definition of Lexer: -`+p)}(0,ct.forEach)(n.lexerDefinitionWarning,function(d){(0,ct.PRINT_WARNING)(d.message)}),n.TRACE_INIT("Choosing sub-methods implementations",function(){if(ri.SUPPORT_STICKY?(n.chopInput=ct.IDENTITY,n.match=n.matchWithTest):(n.updateLastIndex=ct.NOOP,n.match=n.matchWithExec),o&&(n.handleModes=ct.NOOP),n.trackStartLines===!1&&(n.computeNewColumn=ct.IDENTITY),n.trackEndLines===!1&&(n.updateTokenEndLineColumnLocation=ct.NOOP),/full/i.test(n.config.positionTracking))n.createTokenInstance=n.createFullToken;else if(/onlyStart/i.test(n.config.positionTracking))n.createTokenInstance=n.createStartOnlyToken;else if(/onlyOffset/i.test(n.config.positionTracking))n.createTokenInstance=n.createOffsetOnlyToken;else throw Error('Invalid config option: "'+n.config.positionTracking+'"');n.hasCustom?(n.addToken=n.addTokenUsingPush,n.handlePayload=n.handlePayloadWithCustom):(n.addToken=n.addTokenUsingMemberAccess,n.handlePayload=n.handlePayloadNoCustom)}),n.TRACE_INIT("Failed Optimization Warnings",function(){var d=(0,ct.reduce)(n.canModeBeOptimized,function(h,m,w){return m===!1&&h.push(w),h},[]);if(r.ensureOptimizations&&!(0,ct.isEmpty)(d))throw Error("Lexer Modes: < "+d.join(", ")+` > cannot be optimized. +`+c)}(0,Ce.forEach)(n.lexerDefinitionWarning,function(f){(0,Ce.PRINT_WARNING)(f.message)}),n.TRACE_INIT("Choosing sub-methods implementations",function(){if(Lr.SUPPORT_STICKY?(n.chopInput=Ce.IDENTITY,n.match=n.matchWithTest):(n.updateLastIndex=Ce.NOOP,n.match=n.matchWithExec),o&&(n.handleModes=Ce.NOOP),n.trackStartLines===!1&&(n.computeNewColumn=Ce.IDENTITY),n.trackEndLines===!1&&(n.updateTokenEndLineColumnLocation=Ce.NOOP),/full/i.test(n.config.positionTracking))n.createTokenInstance=n.createFullToken;else if(/onlyStart/i.test(n.config.positionTracking))n.createTokenInstance=n.createStartOnlyToken;else if(/onlyOffset/i.test(n.config.positionTracking))n.createTokenInstance=n.createOffsetOnlyToken;else throw Error('Invalid config option: "'+n.config.positionTracking+'"');n.hasCustom?(n.addToken=n.addTokenUsingPush,n.handlePayload=n.handlePayloadWithCustom):(n.addToken=n.addTokenUsingMemberAccess,n.handlePayload=n.handlePayloadNoCustom)}),n.TRACE_INIT("Failed Optimization Warnings",function(){var f=(0,Ce.reduce)(n.canModeBeOptimized,function(l,p,m){return p===!1&&l.push(m),l},[]);if(r.ensureOptimizations&&!(0,Ce.isEmpty)(f))throw Error("Lexer Modes: < "+f.join(", ")+` > cannot be optimized. Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),n.TRACE_INIT("clearRegExpParserCache",function(){(0,Cee.clearRegExpParserCache)()}),n.TRACE_INIT("toFastProperties",function(){(0,ct.toFastProperties)(n)})})}return e.prototype.tokenize=function(t,r){if(r===void 0&&(r=this.defaultMode),!(0,ct.isEmpty)(this.lexerDefinitionErrors)){var n=(0,ct.map)(this.lexerDefinitionErrors,function(o){return o.message}),i=n.join(`----------------------- + Or inspect the console log for details on how to resolve these issues.`)}),n.TRACE_INIT("clearRegExpParserCache",function(){(0,c9.clearRegExpParserCache)()}),n.TRACE_INIT("toFastProperties",function(){(0,Ce.toFastProperties)(n)})})}return e.prototype.tokenize=function(t,r){if(r===void 0&&(r=this.defaultMode),!(0,Ce.isEmpty)(this.lexerDefinitionErrors)){var n=(0,Ce.map)(this.lexerDefinitionErrors,function(o){return o.message}),i=n.join(`----------------------- `);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+i)}var s=this.tokenizeInternal(t,r);return s},e.prototype.tokenizeInternal=function(t,r){var n=this,i,s,o,c,l,p,d,h,m,w,v,E,A,S,M,C,O=t,H=O.length,U=0,q=0,J=this.hasCustom?0:Math.floor(t.length/10),ee=new Array(J),X=[],N=this.trackStartLines?1:void 0,Z=this.trackStartLines?1:void 0,$=(0,ri.cloneEmptyGroups)(this.emptyGroups),ue=this.trackStartLines,D=this.config.lineTerminatorsPattern,I=0,ve=[],pe=[],ke=[],nt=[];Object.freeze(nt);var We=void 0;function ar(){return ve}function Ir(xt){var ho=(0,ri.charCodeToOptimizedIndex)(xt),dn=pe[ho];return dn===void 0?nt:dn}var Bn=function(xt){if(ke.length===1&&xt.tokenType.PUSH_MODE===void 0){var ho=n.config.errorMessageProvider.buildUnableToPopLexerModeMessage(xt);X.push({offset:xt.startOffset,line:xt.startLine!==void 0?xt.startLine:void 0,column:xt.startColumn!==void 0?xt.startColumn:void 0,length:xt.image.length,message:ho})}else{ke.pop();var dn=(0,ct.last)(ke);ve=n.patternIdxToConfig[dn],pe=n.charCodeToPatternIdxToConfig[dn],I=ve.length;var Es=n.canModeBeOptimized[dn]&&n.config.safeMode===!1;pe&&Es?We=Ir:We=ar}};function hn(xt){ke.push(xt),pe=this.charCodeToPatternIdxToConfig[xt],ve=this.patternIdxToConfig[xt],I=ve.length,I=ve.length;var ho=this.canModeBeOptimized[xt]&&this.config.safeMode===!1;pe&&ho?We=Ir:We=ar}hn.call(this,r);for(var _e;Up.length){p=c,d=h,_e=$e;break}}}break}}if(p!==null){if(m=p.length,w=_e.group,w!==void 0&&(v=_e.tokenTypeIdx,E=this.createTokenInstance(p,U,v,_e.tokenType,N,Z,m),this.handlePayload(E,d),w===!1?q=this.addToken(ee,q,E):$[w].push(E)),t=this.chopInput(t,m),U=U+m,Z=this.computeNewColumn(Z,m),ue===!0&&_e.canLineTerminator===!0){var qe=0,ui=void 0,ci=void 0;D.lastIndex=0;do ui=D.test(p),ui===!0&&(ci=D.lastIndex-1,qe++);while(ui===!0);qe!==0&&(N=N+qe,Z=m-ci,this.updateTokenEndLineColumnLocation(E,w,ci,qe,N,Z,m))}this.handleModes(_e,Bn,hn,E)}else{for(var qi=U,Lr=N,_s=Z,li=!1;!li&&U <"+t+">");var i=(0,ct.timer)(r),s=i.time,o=i.value,c=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return r()},e.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",e.NA=/NOT_APPLICABLE/,e}();Vo.Lexer=Iee});var Ks=_(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.tokenMatcher=sr.createTokenInstance=sr.EOF=sr.createToken=sr.hasTokenLabel=sr.tokenName=sr.tokenLabel=void 0;var ni=ze(),Lee=Vc(),Qy=lu();function xee(e){return vx(e)?e.LABEL:e.name}sr.tokenLabel=xee;function Nee(e){return e.name}sr.tokenName=Nee;function vx(e){return(0,ni.isString)(e.LABEL)&&e.LABEL!==""}sr.hasTokenLabel=vx;var Dee="parent",cx="categories",lx="label",fx="group",px="push_mode",hx="pop_mode",dx="longer_alt",gx="line_breaks",mx="start_chars_hint";function yx(e){return Mee(e)}sr.createToken=yx;function Mee(e){var t=e.pattern,r={};if(r.name=e.name,(0,ni.isUndefined)(t)||(r.PATTERN=t),(0,ni.has)(e,Dee))throw`The parent property is no longer supported. -See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,ni.has)(e,cx)&&(r.CATEGORIES=e[cx]),(0,Qy.augmentTokenTypes)([r]),(0,ni.has)(e,lx)&&(r.LABEL=e[lx]),(0,ni.has)(e,fx)&&(r.GROUP=e[fx]),(0,ni.has)(e,hx)&&(r.POP_MODE=e[hx]),(0,ni.has)(e,px)&&(r.PUSH_MODE=e[px]),(0,ni.has)(e,dx)&&(r.LONGER_ALT=e[dx]),(0,ni.has)(e,gx)&&(r.LINE_BREAKS=e[gx]),(0,ni.has)(e,mx)&&(r.START_CHARS_HINT=e[mx]),r}sr.EOF=yx({name:"EOF",pattern:Lee.Lexer.NA});(0,Qy.augmentTokenTypes)([sr.EOF]);function Fee(e,t,r,n,i,s,o,c){return{image:t,startOffset:r,endOffset:n,startLine:i,endLine:s,startColumn:o,endColumn:c,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}sr.createTokenInstance=Fee;function Gee(e,t){return(0,Qy.tokenStructuredMatcher)(e,t)}sr.tokenMatcher=Gee});var Gr=_(Ze=>{"use strict";var as=Ze&&Ze.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ze,"__esModule",{value:!0});Ze.serializeProduction=Ze.serializeGrammar=Ze.Terminal=Ze.Alternation=Ze.RepetitionWithSeparator=Ze.Repetition=Ze.RepetitionMandatoryWithSeparator=Ze.RepetitionMandatory=Ze.Option=Ze.Alternative=Ze.Rule=Ze.NonTerminal=Ze.AbstractProduction=void 0;var ht=ze(),Uee=Ks(),Ai=function(){function e(t){this._definition=t}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this),(0,ht.forEach)(this.definition,function(r){r.accept(t)})},e}();Ze.AbstractProduction=Ai;var _x=function(e){as(t,e);function t(r){var n=e.call(this,[])||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return Object.defineProperty(t.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(r){},enumerable:!1,configurable:!0}),t.prototype.accept=function(r){r.visit(this)},t}(Ai);Ze.NonTerminal=_x;var Ex=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.orgText="",(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.Rule=Ex;var bx=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.ignoreAmbiguities=!1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.Alternative=bx;var Tx=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.Option=Tx;var wx=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.RepetitionMandatory=wx;var Sx=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.RepetitionMandatoryWithSeparator=Sx;var Ax=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.Repetition=Ax;var Rx=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return t}(Ai);Ze.RepetitionWithSeparator=Rx;var Px=function(e){as(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,n.ignoreAmbiguities=!1,n.hasPredicates=!1,(0,ht.assign)(n,(0,ht.pick)(r,function(i){return i!==void 0})),n}return Object.defineProperty(t.prototype,"definition",{get:function(){return this._definition},set:function(r){this._definition=r},enumerable:!1,configurable:!0}),t}(Ai);Ze.Alternation=Px;var fh=function(){function e(t){this.idx=1,(0,ht.assign)(this,(0,ht.pick)(t,function(r){return r!==void 0}))}return e.prototype.accept=function(t){t.visit(this)},e}();Ze.Terminal=fh;function Bee(e){return(0,ht.map)(e,zc)}Ze.serializeGrammar=Bee;function zc(e){function t(s){return(0,ht.map)(s,zc)}if(e instanceof _x){var r={type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};return(0,ht.isString)(e.label)&&(r.label=e.label),r}else{if(e instanceof bx)return{type:"Alternative",definition:t(e.definition)};if(e instanceof Tx)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof wx)return{type:"RepetitionMandatory",idx:e.idx,definition:t(e.definition)};if(e instanceof Sx)return{type:"RepetitionMandatoryWithSeparator",idx:e.idx,separator:zc(new fh({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Rx)return{type:"RepetitionWithSeparator",idx:e.idx,separator:zc(new fh({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Ax)return{type:"Repetition",idx:e.idx,definition:t(e.definition)};if(e instanceof Px)return{type:"Alternation",idx:e.idx,definition:t(e.definition)};if(e instanceof fh){var n={type:"Terminal",name:e.terminalType.name,label:(0,Uee.tokenLabel)(e.terminalType),idx:e.idx};(0,ht.isString)(e.label)&&(n.terminalLabel=e.label);var i=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(n.pattern=(0,ht.isRegExp)(i)?i.source:i),n}else{if(e instanceof Ex)return{type:"Rule",name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error("non exhaustive match")}}}Ze.serializeProduction=zc});var hh=_(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.RestWalker=void 0;var Zy=ze(),Ur=Gr(),qee=function(){function e(){}return e.prototype.walk=function(t,r){var n=this;r===void 0&&(r=[]),(0,Zy.forEach)(t.definition,function(i,s){var o=(0,Zy.drop)(t.definition,s+1);if(i instanceof Ur.NonTerminal)n.walkProdRef(i,o,r);else if(i instanceof Ur.Terminal)n.walkTerminal(i,o,r);else if(i instanceof Ur.Alternative)n.walkFlat(i,o,r);else if(i instanceof Ur.Option)n.walkOption(i,o,r);else if(i instanceof Ur.RepetitionMandatory)n.walkAtLeastOne(i,o,r);else if(i instanceof Ur.RepetitionMandatoryWithSeparator)n.walkAtLeastOneSep(i,o,r);else if(i instanceof Ur.RepetitionWithSeparator)n.walkManySep(i,o,r);else if(i instanceof Ur.Repetition)n.walkMany(i,o,r);else if(i instanceof Ur.Alternation)n.walkOr(i,o,r);else throw Error("non exhaustive match")})},e.prototype.walkTerminal=function(t,r,n){},e.prototype.walkProdRef=function(t,r,n){},e.prototype.walkFlat=function(t,r,n){var i=r.concat(n);this.walk(t,i)},e.prototype.walkOption=function(t,r,n){var i=r.concat(n);this.walk(t,i)},e.prototype.walkAtLeastOne=function(t,r,n){var i=[new Ur.Option({definition:t.definition})].concat(r,n);this.walk(t,i)},e.prototype.walkAtLeastOneSep=function(t,r,n){var i=Ox(t,r,n);this.walk(t,i)},e.prototype.walkMany=function(t,r,n){var i=[new Ur.Option({definition:t.definition})].concat(r,n);this.walk(t,i)},e.prototype.walkManySep=function(t,r,n){var i=Ox(t,r,n);this.walk(t,i)},e.prototype.walkOr=function(t,r,n){var i=this,s=r.concat(n);(0,Zy.forEach)(t.definition,function(o){var c=new Ur.Alternative({definition:[o]});i.walk(c,s)})},e}();ph.RestWalker=qee;function Ox(e,t,r){var n=[new Ur.Option({definition:[new Ur.Terminal({terminalType:e.separator})].concat(e.definition)})],i=n.concat(t,r);return i}});var fu=_(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.GAstVisitor=void 0;var Ri=Gr(),Hee=function(){function e(){}return e.prototype.visit=function(t){var r=t;switch(r.constructor){case Ri.NonTerminal:return this.visitNonTerminal(r);case Ri.Alternative:return this.visitAlternative(r);case Ri.Option:return this.visitOption(r);case Ri.RepetitionMandatory:return this.visitRepetitionMandatory(r);case Ri.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(r);case Ri.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(r);case Ri.Repetition:return this.visitRepetition(r);case Ri.Alternation:return this.visitAlternation(r);case Ri.Terminal:return this.visitTerminal(r);case Ri.Rule:return this.visitRule(r);default:throw Error("non exhaustive match")}},e.prototype.visitNonTerminal=function(t){},e.prototype.visitAlternative=function(t){},e.prototype.visitOption=function(t){},e.prototype.visitRepetition=function(t){},e.prototype.visitRepetitionMandatory=function(t){},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){},e.prototype.visitRepetitionWithSeparator=function(t){},e.prototype.visitAlternation=function(t){},e.prototype.visitTerminal=function(t){},e.prototype.visitRule=function(t){},e}();dh.GAstVisitor=Hee});var Xc=_(gr=>{"use strict";var jee=gr&&gr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(gr,"__esModule",{value:!0});gr.collectMethods=gr.DslMethodsCollectorVisitor=gr.getProductionDslName=gr.isBranchingProd=gr.isOptionalProd=gr.isSequenceProd=void 0;var Yc=ze(),Et=Gr(),Wee=fu();function $ee(e){return e instanceof Et.Alternative||e instanceof Et.Option||e instanceof Et.Repetition||e instanceof Et.RepetitionMandatory||e instanceof Et.RepetitionMandatoryWithSeparator||e instanceof Et.RepetitionWithSeparator||e instanceof Et.Terminal||e instanceof Et.Rule}gr.isSequenceProd=$ee;function e_(e,t){t===void 0&&(t=[]);var r=e instanceof Et.Option||e instanceof Et.Repetition||e instanceof Et.RepetitionWithSeparator;return r?!0:e instanceof Et.Alternation?(0,Yc.some)(e.definition,function(n){return e_(n,t)}):e instanceof Et.NonTerminal&&(0,Yc.contains)(t,e)?!1:e instanceof Et.AbstractProduction?(e instanceof Et.NonTerminal&&t.push(e),(0,Yc.every)(e.definition,function(n){return e_(n,t)})):!1}gr.isOptionalProd=e_;function Vee(e){return e instanceof Et.Alternation}gr.isBranchingProd=Vee;function Kee(e){if(e instanceof Et.NonTerminal)return"SUBRULE";if(e instanceof Et.Option)return"OPTION";if(e instanceof Et.Alternation)return"OR";if(e instanceof Et.RepetitionMandatory)return"AT_LEAST_ONE";if(e instanceof Et.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(e instanceof Et.RepetitionWithSeparator)return"MANY_SEP";if(e instanceof Et.Repetition)return"MANY";if(e instanceof Et.Terminal)return"CONSUME";throw Error("non exhaustive match")}gr.getProductionDslName=Kee;var Cx=function(e){jee(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.separator="-",r.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},r}return t.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},t.prototype.visitTerminal=function(r){var n=r.terminalType.name+this.separator+"Terminal";(0,Yc.has)(this.dslMethods,n)||(this.dslMethods[n]=[]),this.dslMethods[n].push(r)},t.prototype.visitNonTerminal=function(r){var n=r.nonTerminalName+this.separator+"Terminal";(0,Yc.has)(this.dslMethods,n)||(this.dslMethods[n]=[]),this.dslMethods[n].push(r)},t.prototype.visitOption=function(r){this.dslMethods.option.push(r)},t.prototype.visitRepetitionWithSeparator=function(r){this.dslMethods.repetitionWithSeparator.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.dslMethods.repetitionMandatory.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.dslMethods.repetitionMandatoryWithSeparator.push(r)},t.prototype.visitRepetition=function(r){this.dslMethods.repetition.push(r)},t.prototype.visitAlternation=function(r){this.dslMethods.alternation.push(r)},t}(Wee.GAstVisitor);gr.DslMethodsCollectorVisitor=Cx;var gh=new Cx;function zee(e){gh.reset(),e.accept(gh);var t=gh.dslMethods;return gh.reset(),t}gr.collectMethods=zee});var r_=_(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.firstForTerminal=Pi.firstForBranching=Pi.firstForSequence=Pi.first=void 0;var mh=ze(),kx=Gr(),t_=Xc();function vh(e){if(e instanceof kx.NonTerminal)return vh(e.referencedRule);if(e instanceof kx.Terminal)return xx(e);if((0,t_.isSequenceProd)(e))return Ix(e);if((0,t_.isBranchingProd)(e))return Lx(e);throw Error("non exhaustive match")}Pi.first=vh;function Ix(e){for(var t=[],r=e.definition,n=0,i=r.length>n,s,o=!0;i&&o;)s=r[n],o=(0,t_.isOptionalProd)(s),t=t.concat(vh(s)),n=n+1,i=r.length>n;return(0,mh.uniq)(t)}Pi.firstForSequence=Ix;function Lx(e){var t=(0,mh.map)(e.definition,function(r){return vh(r)});return(0,mh.uniq)((0,mh.flatten)(t))}Pi.firstForBranching=Lx;function xx(e){return[e.terminalType]}Pi.firstForTerminal=xx});var n_=_(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.IN=void 0;yh.IN="_~IN~_"});var Gx=_(Cn=>{"use strict";var Yee=Cn&&Cn.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.buildInProdFollowPrefix=Cn.buildBetweenProdsFollowPrefix=Cn.computeAllProdsFollows=Cn.ResyncFollowsWalker=void 0;var Xee=hh(),Jee=r_(),Nx=ze(),Dx=n_(),Qee=Gr(),Mx=function(e){Yee(t,e);function t(r){var n=e.call(this)||this;return n.topProd=r,n.follows={},n}return t.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},t.prototype.walkTerminal=function(r,n,i){},t.prototype.walkProdRef=function(r,n,i){var s=Fx(r.referencedRule,r.idx)+this.topProd.name,o=n.concat(i),c=new Qee.Alternative({definition:o}),l=(0,Jee.first)(c);this.follows[s]=l},t}(Xee.RestWalker);Cn.ResyncFollowsWalker=Mx;function Zee(e){var t={};return(0,Nx.forEach)(e,function(r){var n=new Mx(r).startWalking();(0,Nx.assign)(t,n)}),t}Cn.computeAllProdsFollows=Zee;function Fx(e,t){return e.name+t+Dx.IN}Cn.buildBetweenProdsFollowPrefix=Fx;function ete(e){var t=e.terminalType.name;return t+e.idx+Dx.IN}Cn.buildInProdFollowPrefix=ete});var Jc=_(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.defaultGrammarValidatorErrorProvider=us.defaultGrammarResolverErrorProvider=us.defaultParserErrorProvider=void 0;var pu=Ks(),tte=ze(),ii=ze(),i_=Gr(),Ux=Xc();us.defaultParserErrorProvider={buildMismatchTokenMessage:function(e){var t=e.expected,r=e.actual,n=e.previous,i=e.ruleName,s=(0,pu.hasTokenLabel)(t),o=s?"--> "+(0,pu.tokenLabel)(t)+" <--":"token of type --> "+t.name+" <--",c="Expecting "+o+" but found --> '"+r.image+"' <--";return c},buildNotAllInputParsedMessage:function(e){var t=e.firstRedundant,r=e.ruleName;return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage:function(e){var t=e.expectedPathsPerAlt,r=e.actual,n=e.previous,i=e.customUserDescription,s=e.ruleName,o="Expecting: ",c=(0,ii.first)(r).image,l=` -but found: '`+c+"'";if(i)return o+i+l;var p=(0,ii.reduce)(t,function(w,v){return w.concat(v)},[]),d=(0,ii.map)(p,function(w){return"["+(0,ii.map)(w,function(v){return(0,pu.tokenLabel)(v)}).join(", ")+"]"}),h=(0,ii.map)(d,function(w,v){return" "+(v+1)+". "+w}),m=`one of these possible Token sequences: -`+h.join(` -`);return o+m+l},buildEarlyExitMessage:function(e){var t=e.expectedIterationPaths,r=e.actual,n=e.customUserDescription,i=e.ruleName,s="Expecting: ",o=(0,ii.first)(r).image,c=` -but found: '`+o+"'";if(n)return s+n+c;var l=(0,ii.map)(t,function(d){return"["+(0,ii.map)(d,function(h){return(0,pu.tokenLabel)(h)}).join(",")+"]"}),p=`expecting at least one iteration which starts with one of these possible Token sequences:: - `+("<"+l.join(" ,")+">");return s+p+c}};Object.freeze(us.defaultParserErrorProvider);us.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(e,t){var r="Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+`<- -inside top level rule: ->`+e.name+"<-";return r}};us.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(e,t){function r(d){return d instanceof i_.Terminal?d.terminalType.name:d instanceof i_.NonTerminal?d.nonTerminalName:""}var n=e.name,i=(0,ii.first)(t),s=i.idx,o=(0,Ux.getProductionDslName)(i),c=r(i),l=s>0,p="->"+o+(l?s:"")+"<- "+(c?"with argument: ->"+c+"<-":"")+` +`+i)}var s=this.tokenizeInternal(t,r);return s},e.prototype.tokenizeInternal=function(t,r){var n=this,i,s,o,a,u,c,f,l,p,m,h,g,y,v,S,b,_=t,O=_.length,R=0,C=0,x=this.hasCustom?0:Math.floor(t.length/10),M=new Array(x),L=[],w=this.trackStartLines?1:void 0,G=this.trackStartLines?1:void 0,F=(0,Lr.cloneEmptyGroups)(this.emptyGroups),Z=this.trackStartLines,A=this.config.lineTerminatorsPattern,T=0,z=[],$=[],de=[],ge=[];Object.freeze(ge);var ye=void 0;function Dt(){return z}function yi(At){var Lo=(0,Lr.charCodeToOptimizedIndex)(At),ls=$[Lo];return ls===void 0?ge:ls}var cs=function(At){if(de.length===1&&At.tokenType.PUSH_MODE===void 0){var Lo=n.config.errorMessageProvider.buildUnableToPopLexerModeMessage(At);L.push({offset:At.startOffset,line:At.startLine!==void 0?At.startLine:void 0,column:At.startColumn!==void 0?At.startColumn:void 0,length:At.image.length,message:Lo})}else{de.pop();var ls=(0,Ce.last)(de);z=n.patternIdxToConfig[ls],$=n.charCodeToPatternIdxToConfig[ls],T=z.length;var aD=n.canModeBeOptimized[ls]&&n.config.safeMode===!1;$&&aD?ye=yi:ye=Dt}};function Gr(At){de.push(At),$=this.charCodeToPatternIdxToConfig[At],z=this.patternIdxToConfig[At],T=z.length,T=z.length;var Lo=this.canModeBeOptimized[At]&&this.config.safeMode===!1;$&&Lo?ye=yi:ye=Dt}Gr.call(this,r);for(var te;Rc.length){c=a,f=l,te=Pe;break}}}break}}if(c!==null){if(p=c.length,m=te.group,m!==void 0&&(h=te.tokenTypeIdx,g=this.createTokenInstance(c,R,h,te.tokenType,w,G,p),this.handlePayload(g,f),m===!1?C=this.addToken(M,C,g):F[m].push(g)),t=this.chopInput(t,p),R=R+p,G=this.computeNewColumn(G,p),Z===!0&&te.canLineTerminator===!0){var Fe=0,_i=void 0,Dn=void 0;A.lastIndex=0;do _i=A.test(c),_i===!0&&(Dn=A.lastIndex-1,Fe++);while(_i===!0);Fe!==0&&(w=w+Fe,G=p-Dn,this.updateTokenEndLineColumnLocation(g,m,Dn,Fe,w,G,p))}this.handleModes(te,cs,Gr,g)}else{for(var np=R,gE=w,mE=G,Io=!1;!Io&&R <"+t+">");var i=(0,Ce.timer)(r),s=i.time,o=i.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return r()},e.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",e.NA=/NOT_APPLICABLE/,e}();Vi.Lexer=f9});var Jn=d(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.tokenMatcher=dt.createTokenInstance=dt.EOF=dt.createToken=dt.hasTokenLabel=dt.tokenName=dt.tokenLabel=void 0;var Nr=ve(),p9=ba(),kg=Qs();function h9(e){return nP(e)?e.LABEL:e.name}dt.tokenLabel=h9;function d9(e){return e.name}dt.tokenName=d9;function nP(e){return(0,Nr.isString)(e.LABEL)&&e.LABEL!==""}dt.hasTokenLabel=nP;var g9="parent",YR="categories",XR="label",QR="group",JR="push_mode",ZR="pop_mode",eP="longer_alt",tP="line_breaks",rP="start_chars_hint";function iP(e){return m9(e)}dt.createToken=iP;function m9(e){var t=e.pattern,r={};if(r.name=e.name,(0,Nr.isUndefined)(t)||(r.PATTERN=t),(0,Nr.has)(e,g9))throw`The parent property is no longer supported. +See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,Nr.has)(e,YR)&&(r.CATEGORIES=e[YR]),(0,kg.augmentTokenTypes)([r]),(0,Nr.has)(e,XR)&&(r.LABEL=e[XR]),(0,Nr.has)(e,QR)&&(r.GROUP=e[QR]),(0,Nr.has)(e,ZR)&&(r.POP_MODE=e[ZR]),(0,Nr.has)(e,JR)&&(r.PUSH_MODE=e[JR]),(0,Nr.has)(e,eP)&&(r.LONGER_ALT=e[eP]),(0,Nr.has)(e,tP)&&(r.LINE_BREAKS=e[tP]),(0,Nr.has)(e,rP)&&(r.START_CHARS_HINT=e[rP]),r}dt.EOF=iP({name:"EOF",pattern:p9.Lexer.NA});(0,kg.augmentTokenTypes)([dt.EOF]);function v9(e,t,r,n,i,s,o,a){return{image:t,startOffset:r,endOffset:n,startLine:i,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}dt.createTokenInstance=v9;function y9(e,t){return(0,kg.tokenStructuredMatcher)(e,t)}dt.tokenMatcher=y9});var Ft=d(be=>{"use strict";var Tn=be&&be.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(be,"__esModule",{value:!0});be.serializeProduction=be.serializeGrammar=be.Terminal=be.Alternation=be.RepetitionWithSeparator=be.Repetition=be.RepetitionMandatoryWithSeparator=be.RepetitionMandatory=be.Option=be.Alternative=be.Rule=be.NonTerminal=be.AbstractProduction=void 0;var Le=ve(),E9=Jn(),Xr=function(){function e(t){this._definition=t}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this),(0,Le.forEach)(this.definition,function(r){r.accept(t)})},e}();be.AbstractProduction=Xr;var sP=function(e){Tn(t,e);function t(r){var n=e.call(this,[])||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return Object.defineProperty(t.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(r){},enumerable:!1,configurable:!0}),t.prototype.accept=function(r){r.visit(this)},t}(Xr);be.NonTerminal=sP;var oP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.orgText="",(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.Rule=oP;var aP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.ignoreAmbiguities=!1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.Alternative=aP;var uP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.Option=uP;var cP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.RepetitionMandatory=cP;var lP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.RepetitionMandatoryWithSeparator=lP;var fP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.Repetition=fP;var pP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return t}(Xr);be.RepetitionWithSeparator=pP;var hP=function(e){Tn(t,e);function t(r){var n=e.call(this,r.definition)||this;return n.idx=1,n.ignoreAmbiguities=!1,n.hasPredicates=!1,(0,Le.assign)(n,(0,Le.pick)(r,function(i){return i!==void 0})),n}return Object.defineProperty(t.prototype,"definition",{get:function(){return this._definition},set:function(r){this._definition=r},enumerable:!1,configurable:!0}),t}(Xr);be.Alternation=hP;var el=function(){function e(t){this.idx=1,(0,Le.assign)(this,(0,Le.pick)(t,function(r){return r!==void 0}))}return e.prototype.accept=function(t){t.visit(this)},e}();be.Terminal=el;function _9(e){return(0,Le.map)(e,Sa)}be.serializeGrammar=_9;function Sa(e){function t(s){return(0,Le.map)(s,Sa)}if(e instanceof sP){var r={type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};return(0,Le.isString)(e.label)&&(r.label=e.label),r}else{if(e instanceof aP)return{type:"Alternative",definition:t(e.definition)};if(e instanceof uP)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof cP)return{type:"RepetitionMandatory",idx:e.idx,definition:t(e.definition)};if(e instanceof lP)return{type:"RepetitionMandatoryWithSeparator",idx:e.idx,separator:Sa(new el({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof pP)return{type:"RepetitionWithSeparator",idx:e.idx,separator:Sa(new el({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof fP)return{type:"Repetition",idx:e.idx,definition:t(e.definition)};if(e instanceof hP)return{type:"Alternation",idx:e.idx,definition:t(e.definition)};if(e instanceof el){var n={type:"Terminal",name:e.terminalType.name,label:(0,E9.tokenLabel)(e.terminalType),idx:e.idx};(0,Le.isString)(e.label)&&(n.terminalLabel=e.label);var i=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(n.pattern=(0,Le.isRegExp)(i)?i.source:i),n}else{if(e instanceof oP)return{type:"Rule",name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error("non exhaustive match")}}}be.serializeProduction=Sa});var rl=d(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.RestWalker=void 0;var Ig=ve(),Gt=Ft(),b9=function(){function e(){}return e.prototype.walk=function(t,r){var n=this;r===void 0&&(r=[]),(0,Ig.forEach)(t.definition,function(i,s){var o=(0,Ig.drop)(t.definition,s+1);if(i instanceof Gt.NonTerminal)n.walkProdRef(i,o,r);else if(i instanceof Gt.Terminal)n.walkTerminal(i,o,r);else if(i instanceof Gt.Alternative)n.walkFlat(i,o,r);else if(i instanceof Gt.Option)n.walkOption(i,o,r);else if(i instanceof Gt.RepetitionMandatory)n.walkAtLeastOne(i,o,r);else if(i instanceof Gt.RepetitionMandatoryWithSeparator)n.walkAtLeastOneSep(i,o,r);else if(i instanceof Gt.RepetitionWithSeparator)n.walkManySep(i,o,r);else if(i instanceof Gt.Repetition)n.walkMany(i,o,r);else if(i instanceof Gt.Alternation)n.walkOr(i,o,r);else throw Error("non exhaustive match")})},e.prototype.walkTerminal=function(t,r,n){},e.prototype.walkProdRef=function(t,r,n){},e.prototype.walkFlat=function(t,r,n){var i=r.concat(n);this.walk(t,i)},e.prototype.walkOption=function(t,r,n){var i=r.concat(n);this.walk(t,i)},e.prototype.walkAtLeastOne=function(t,r,n){var i=[new Gt.Option({definition:t.definition})].concat(r,n);this.walk(t,i)},e.prototype.walkAtLeastOneSep=function(t,r,n){var i=dP(t,r,n);this.walk(t,i)},e.prototype.walkMany=function(t,r,n){var i=[new Gt.Option({definition:t.definition})].concat(r,n);this.walk(t,i)},e.prototype.walkManySep=function(t,r,n){var i=dP(t,r,n);this.walk(t,i)},e.prototype.walkOr=function(t,r,n){var i=this,s=r.concat(n);(0,Ig.forEach)(t.definition,function(o){var a=new Gt.Alternative({definition:[o]});i.walk(a,s)})},e}();tl.RestWalker=b9;function dP(e,t,r){var n=[new Gt.Option({definition:[new Gt.Terminal({terminalType:e.separator})].concat(e.definition)})],i=n.concat(t,r);return i}});var Js=d(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.GAstVisitor=void 0;var Qr=Ft(),T9=function(){function e(){}return e.prototype.visit=function(t){var r=t;switch(r.constructor){case Qr.NonTerminal:return this.visitNonTerminal(r);case Qr.Alternative:return this.visitAlternative(r);case Qr.Option:return this.visitOption(r);case Qr.RepetitionMandatory:return this.visitRepetitionMandatory(r);case Qr.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(r);case Qr.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(r);case Qr.Repetition:return this.visitRepetition(r);case Qr.Alternation:return this.visitAlternation(r);case Qr.Terminal:return this.visitTerminal(r);case Qr.Rule:return this.visitRule(r);default:throw Error("non exhaustive match")}},e.prototype.visitNonTerminal=function(t){},e.prototype.visitAlternative=function(t){},e.prototype.visitOption=function(t){},e.prototype.visitRepetition=function(t){},e.prototype.visitRepetitionMandatory=function(t){},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){},e.prototype.visitRepetitionWithSeparator=function(t){},e.prototype.visitAlternation=function(t){},e.prototype.visitTerminal=function(t){},e.prototype.visitRule=function(t){},e}();nl.GAstVisitor=T9});var Aa=d(bt=>{"use strict";var S9=bt&&bt.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(bt,"__esModule",{value:!0});bt.collectMethods=bt.DslMethodsCollectorVisitor=bt.getProductionDslName=bt.isBranchingProd=bt.isOptionalProd=bt.isSequenceProd=void 0;var wa=ve(),Be=Ft(),w9=Js();function A9(e){return e instanceof Be.Alternative||e instanceof Be.Option||e instanceof Be.Repetition||e instanceof Be.RepetitionMandatory||e instanceof Be.RepetitionMandatoryWithSeparator||e instanceof Be.RepetitionWithSeparator||e instanceof Be.Terminal||e instanceof Be.Rule}bt.isSequenceProd=A9;function Lg(e,t){t===void 0&&(t=[]);var r=e instanceof Be.Option||e instanceof Be.Repetition||e instanceof Be.RepetitionWithSeparator;return r?!0:e instanceof Be.Alternation?(0,wa.some)(e.definition,function(n){return Lg(n,t)}):e instanceof Be.NonTerminal&&(0,wa.contains)(t,e)?!1:e instanceof Be.AbstractProduction?(e instanceof Be.NonTerminal&&t.push(e),(0,wa.every)(e.definition,function(n){return Lg(n,t)})):!1}bt.isOptionalProd=Lg;function R9(e){return e instanceof Be.Alternation}bt.isBranchingProd=R9;function P9(e){if(e instanceof Be.NonTerminal)return"SUBRULE";if(e instanceof Be.Option)return"OPTION";if(e instanceof Be.Alternation)return"OR";if(e instanceof Be.RepetitionMandatory)return"AT_LEAST_ONE";if(e instanceof Be.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(e instanceof Be.RepetitionWithSeparator)return"MANY_SEP";if(e instanceof Be.Repetition)return"MANY";if(e instanceof Be.Terminal)return"CONSUME";throw Error("non exhaustive match")}bt.getProductionDslName=P9;var gP=function(e){S9(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.separator="-",r.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},r}return t.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},t.prototype.visitTerminal=function(r){var n=r.terminalType.name+this.separator+"Terminal";(0,wa.has)(this.dslMethods,n)||(this.dslMethods[n]=[]),this.dslMethods[n].push(r)},t.prototype.visitNonTerminal=function(r){var n=r.nonTerminalName+this.separator+"Terminal";(0,wa.has)(this.dslMethods,n)||(this.dslMethods[n]=[]),this.dslMethods[n].push(r)},t.prototype.visitOption=function(r){this.dslMethods.option.push(r)},t.prototype.visitRepetitionWithSeparator=function(r){this.dslMethods.repetitionWithSeparator.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.dslMethods.repetitionMandatory.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.dslMethods.repetitionMandatoryWithSeparator.push(r)},t.prototype.visitRepetition=function(r){this.dslMethods.repetition.push(r)},t.prototype.visitAlternation=function(r){this.dslMethods.alternation.push(r)},t}(w9.GAstVisitor);bt.DslMethodsCollectorVisitor=gP;var il=new gP;function O9(e){il.reset(),e.accept(il);var t=il.dslMethods;return il.reset(),t}bt.collectMethods=O9});var xg=d(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.firstForTerminal=Jr.firstForBranching=Jr.firstForSequence=Jr.first=void 0;var sl=ve(),mP=Ft(),Ng=Aa();function ol(e){if(e instanceof mP.NonTerminal)return ol(e.referencedRule);if(e instanceof mP.Terminal)return EP(e);if((0,Ng.isSequenceProd)(e))return vP(e);if((0,Ng.isBranchingProd)(e))return yP(e);throw Error("non exhaustive match")}Jr.first=ol;function vP(e){for(var t=[],r=e.definition,n=0,i=r.length>n,s,o=!0;i&&o;)s=r[n],o=(0,Ng.isOptionalProd)(s),t=t.concat(ol(s)),n=n+1,i=r.length>n;return(0,sl.uniq)(t)}Jr.firstForSequence=vP;function yP(e){var t=(0,sl.map)(e.definition,function(r){return ol(r)});return(0,sl.uniq)((0,sl.flatten)(t))}Jr.firstForBranching=yP;function EP(e){return[e.terminalType]}Jr.firstForTerminal=EP});var Dg=d(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.IN=void 0;al.IN="_~IN~_"});var wP=d(cr=>{"use strict";var C9=cr&&cr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(cr,"__esModule",{value:!0});cr.buildInProdFollowPrefix=cr.buildBetweenProdsFollowPrefix=cr.computeAllProdsFollows=cr.ResyncFollowsWalker=void 0;var k9=rl(),I9=xg(),_P=ve(),bP=Dg(),L9=Ft(),TP=function(e){C9(t,e);function t(r){var n=e.call(this)||this;return n.topProd=r,n.follows={},n}return t.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},t.prototype.walkTerminal=function(r,n,i){},t.prototype.walkProdRef=function(r,n,i){var s=SP(r.referencedRule,r.idx)+this.topProd.name,o=n.concat(i),a=new L9.Alternative({definition:o}),u=(0,I9.first)(a);this.follows[s]=u},t}(k9.RestWalker);cr.ResyncFollowsWalker=TP;function N9(e){var t={};return(0,_P.forEach)(e,function(r){var n=new TP(r).startWalking();(0,_P.assign)(t,n)}),t}cr.computeAllProdsFollows=N9;function SP(e,t){return e.name+t+bP.IN}cr.buildBetweenProdsFollowPrefix=SP;function x9(e){var t=e.terminalType.name;return t+e.idx+bP.IN}cr.buildInProdFollowPrefix=x9});var Ra=d(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.defaultGrammarValidatorErrorProvider=Sn.defaultGrammarResolverErrorProvider=Sn.defaultParserErrorProvider=void 0;var Zs=Jn(),D9=ve(),xr=ve(),Mg=Ft(),AP=Aa();Sn.defaultParserErrorProvider={buildMismatchTokenMessage:function(e){var t=e.expected,r=e.actual,n=e.previous,i=e.ruleName,s=(0,Zs.hasTokenLabel)(t),o=s?"--> "+(0,Zs.tokenLabel)(t)+" <--":"token of type --> "+t.name+" <--",a="Expecting "+o+" but found --> '"+r.image+"' <--";return a},buildNotAllInputParsedMessage:function(e){var t=e.firstRedundant,r=e.ruleName;return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage:function(e){var t=e.expectedPathsPerAlt,r=e.actual,n=e.previous,i=e.customUserDescription,s=e.ruleName,o="Expecting: ",a=(0,xr.first)(r).image,u=` +but found: '`+a+"'";if(i)return o+i+u;var c=(0,xr.reduce)(t,function(m,h){return m.concat(h)},[]),f=(0,xr.map)(c,function(m){return"["+(0,xr.map)(m,function(h){return(0,Zs.tokenLabel)(h)}).join(", ")+"]"}),l=(0,xr.map)(f,function(m,h){return" "+(h+1)+". "+m}),p=`one of these possible Token sequences: +`+l.join(` +`);return o+p+u},buildEarlyExitMessage:function(e){var t=e.expectedIterationPaths,r=e.actual,n=e.customUserDescription,i=e.ruleName,s="Expecting: ",o=(0,xr.first)(r).image,a=` +but found: '`+o+"'";if(n)return s+n+a;var u=(0,xr.map)(t,function(f){return"["+(0,xr.map)(f,function(l){return(0,Zs.tokenLabel)(l)}).join(",")+"]"}),c=`expecting at least one iteration which starts with one of these possible Token sequences:: + `+("<"+u.join(" ,")+">");return s+c+a}};Object.freeze(Sn.defaultParserErrorProvider);Sn.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(e,t){var r="Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+`<- +inside top level rule: ->`+e.name+"<-";return r}};Sn.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(e,t){function r(f){return f instanceof Mg.Terminal?f.terminalType.name:f instanceof Mg.NonTerminal?f.nonTerminalName:""}var n=e.name,i=(0,xr.first)(t),s=i.idx,o=(0,AP.getProductionDslName)(i),a=r(i),u=s>0,c="->"+o+(u?s:"")+"<- "+(a?"with argument: ->"+a+"<-":"")+` appears more than once (`+t.length+" times) in the top level rule: ->"+n+`<-. For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES - `;return p=p.replace(/[ \t]+/g," "),p=p.replace(/\s\s+/g,` -`),p},buildNamespaceConflictError:function(e){var t=`Namespace conflict found in grammar. + `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,` +`),c},buildNamespaceConflictError:function(e){var t=`Namespace conflict found in grammar. `+("The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+e.name+`>. `)+`To resolve this make sure each Terminal and Non-Terminal names are unique This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`;return t},buildAlternationPrefixAmbiguityError:function(e){var t=(0,ii.map)(e.prefixPath,function(i){return(0,pu.tokenLabel)(i)}).join(", "),r=e.alternation.idx===0?"":e.alternation.idx,n="Ambiguous alternatives: <"+e.ambiguityIndices.join(" ,")+`> due to common lookahead prefix +and Non-Terminal names start with a lower case letter.`;return t},buildAlternationPrefixAmbiguityError:function(e){var t=(0,xr.map)(e.prefixPath,function(i){return(0,Zs.tokenLabel)(i)}).join(", "),r=e.alternation.idx===0?"":e.alternation.idx,n="Ambiguous alternatives: <"+e.ambiguityIndices.join(" ,")+`> due to common lookahead prefix `+("in inside <"+e.topLevelRule.name+`> Rule, `)+("<"+t+`> may appears as a prefix path in all these alternatives. `)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`;return n},buildAlternationAmbiguityError:function(e){var t=(0,ii.map)(e.prefixPath,function(i){return(0,pu.tokenLabel)(i)}).join(", "),r=e.alternation.idx===0?"":e.alternation.idx,n="Ambiguous Alternatives Detected: <"+e.ambiguityIndices.join(" ,")+"> in "+(" inside <"+e.topLevelRule.name+`> Rule, +For Further details.`;return n},buildAlternationAmbiguityError:function(e){var t=(0,xr.map)(e.prefixPath,function(i){return(0,Zs.tokenLabel)(i)}).join(", "),r=e.alternation.idx===0?"":e.alternation.idx,n="Ambiguous Alternatives Detected: <"+e.ambiguityIndices.join(" ,")+"> in "+(" inside <"+e.topLevelRule.name+`> Rule, `)+("<"+t+`> may appears as a prefix path in all these alternatives. `);return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,n},buildEmptyRepetitionError:function(e){var t=(0,Ux.getProductionDslName)(e.repetition);e.repetition.idx!==0&&(t+=e.repetition.idx);var r="The repetition <"+t+"> within Rule <"+e.topLevelRule.name+`> can never consume any tokens. +For Further details.`,n},buildEmptyRepetitionError:function(e){var t=(0,AP.getProductionDslName)(e.repetition);e.repetition.idx!==0&&(t+=e.repetition.idx);var r="The repetition <"+t+"> within Rule <"+e.topLevelRule.name+`> can never consume any tokens. This could lead to an infinite loop.`;return r},buildTokenNameError:function(e){return"deprecated"},buildEmptyAlternationError:function(e){var t="Ambiguous empty alternative: <"+(e.emptyChoiceIdx+1)+">"+(" in inside <"+e.topLevelRule.name+`> Rule. `)+"Only the last alternative may be an empty alternative.";return t},buildTooManyAlternativesError:function(e){var t=`An Alternation cannot have more than 256 alternatives: `+(" inside <"+e.topLevelRule.name+`> Rule. - has `+(e.alternation.definition.length+1)+" alternatives.");return t},buildLeftRecursionError:function(e){var t=e.topLevelRule.name,r=tte.map(e.leftRecursionPath,function(s){return s.name}),n=t+" --> "+r.concat([t]).join(" --> "),i=`Left Recursion found in grammar. + has `+(e.alternation.definition.length+1)+" alternatives.");return t},buildLeftRecursionError:function(e){var t=e.topLevelRule.name,r=D9.map(e.leftRecursionPath,function(s){return s.name}),n=t+" --> "+r.concat([t]).join(" --> "),i=`Left Recursion found in grammar. `+("rule: <"+t+`> can be invoked from itself (directly or indirectly) `)+(`without consuming any Tokens. The grammar path that causes this is: `+n+` `)+` To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return i},buildInvalidRuleNameError:function(e){return"deprecated"},buildDuplicateRuleNameError:function(e){var t;e.topLevelRule instanceof i_.Rule?t=e.topLevelRule.name:t=e.topLevelRule;var r="Duplicate definition, rule: ->"+t+"<- is already defined in the grammar: ->"+e.grammarName+"<-";return r}}});var Hx=_(zs=>{"use strict";var rte=zs&&zs.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(zs,"__esModule",{value:!0});zs.GastRefResolverVisitor=zs.resolveGrammar=void 0;var nte=un(),Bx=ze(),ite=fu();function ste(e,t){var r=new qx(e,t);return r.resolveRefs(),r.errors}zs.resolveGrammar=ste;var qx=function(e){rte(t,e);function t(r,n){var i=e.call(this)||this;return i.nameToTopRule=r,i.errMsgProvider=n,i.errors=[],i}return t.prototype.resolveRefs=function(){var r=this;(0,Bx.forEach)((0,Bx.values)(this.nameToTopRule),function(n){r.currTopLevel=n,n.accept(r)})},t.prototype.visitNonTerminal=function(r){var n=this.nameToTopRule[r.nonTerminalName];if(n)r.referencedRule=n;else{var i=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,r);this.errors.push({message:i,type:nte.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:r.nonTerminalName})}},t}(ite.GAstVisitor);zs.GastRefResolverVisitor=qx});var Zc=_(It=>{"use strict";var Ko=It&&It.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(It,"__esModule",{value:!0});It.nextPossibleTokensAfter=It.possiblePathsFrom=It.NextTerminalAfterAtLeastOneSepWalker=It.NextTerminalAfterAtLeastOneWalker=It.NextTerminalAfterManySepWalker=It.NextTerminalAfterManyWalker=It.AbstractNextTerminalAfterProductionWalker=It.NextAfterTokenWalker=It.AbstractNextPossibleTokensWalker=void 0;var jx=hh(),He=ze(),ote=r_(),Fe=Gr(),Wx=function(e){Ko(t,e);function t(r,n){var i=e.call(this)||this;return i.topProd=r,i.path=n,i.possibleTokTypes=[],i.nextProductionName="",i.nextProductionOccurrence=0,i.found=!1,i.isAtEndOfPath=!1,i}return t.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,He.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,He.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},t.prototype.walk=function(r,n){n===void 0&&(n=[]),this.found||e.prototype.walk.call(this,r,n)},t.prototype.walkProdRef=function(r,n,i){if(r.referencedRule.name===this.nextProductionName&&r.idx===this.nextProductionOccurrence){var s=n.concat(i);this.updateExpectedNext(),this.walk(r.referencedRule,s)}},t.prototype.updateExpectedNext=function(){(0,He.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},t}(jx.RestWalker);It.AbstractNextPossibleTokensWalker=Wx;var ate=function(e){Ko(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.path=n,i.nextTerminalName="",i.nextTerminalOccurrence=0,i.nextTerminalName=i.path.lastTok.name,i.nextTerminalOccurrence=i.path.lastTokOccurrence,i}return t.prototype.walkTerminal=function(r,n,i){if(this.isAtEndOfPath&&r.terminalType.name===this.nextTerminalName&&r.idx===this.nextTerminalOccurrence&&!this.found){var s=n.concat(i),o=new Fe.Alternative({definition:s});this.possibleTokTypes=(0,ote.first)(o),this.found=!0}},t}(Wx);It.NextAfterTokenWalker=ate;var Qc=function(e){Ko(t,e);function t(r,n){var i=e.call(this)||this;return i.topRule=r,i.occurrence=n,i.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},i}return t.prototype.startWalking=function(){return this.walk(this.topRule),this.result},t}(jx.RestWalker);It.AbstractNextTerminalAfterProductionWalker=Qc;var ute=function(e){Ko(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkMany=function(r,n,i){if(r.idx===this.occurrence){var s=(0,He.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof Fe.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkMany.call(this,r,n,i)},t}(Qc);It.NextTerminalAfterManyWalker=ute;var cte=function(e){Ko(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkManySep=function(r,n,i){if(r.idx===this.occurrence){var s=(0,He.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof Fe.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkManySep.call(this,r,n,i)},t}(Qc);It.NextTerminalAfterManySepWalker=cte;var lte=function(e){Ko(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkAtLeastOne=function(r,n,i){if(r.idx===this.occurrence){var s=(0,He.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof Fe.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOne.call(this,r,n,i)},t}(Qc);It.NextTerminalAfterAtLeastOneWalker=lte;var fte=function(e){Ko(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkAtLeastOneSep=function(r,n,i){if(r.idx===this.occurrence){var s=(0,He.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof Fe.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOneSep.call(this,r,n,i)},t}(Qc);It.NextTerminalAfterAtLeastOneSepWalker=fte;function $x(e,t,r){r===void 0&&(r=[]),r=(0,He.cloneArr)(r);var n=[],i=0;function s(p){return p.concat((0,He.drop)(e,i+1))}function o(p){var d=$x(s(p),t,r);return n.concat(d)}for(;r.length=0;$--){var ue=S.definition[$],D={idx:v,def:ue.definition.concat((0,He.drop)(w)),ruleStack:E,occurrenceStack:A};h.push(D),h.push(o)}else if(S instanceof Fe.Alternative)h.push({idx:v,def:S.definition.concat((0,He.drop)(w)),ruleStack:E,occurrenceStack:A});else if(S instanceof Fe.Rule)h.push(hte(S,v,E,A));else throw Error("non exhaustive match")}}return d}It.nextPossibleTokensAfter=pte;function hte(e,t,r,n){var i=(0,He.cloneArr)(r);i.push(e.name);var s=(0,He.cloneArr)(n);return s.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:s}}});var el=_(st=>{"use strict";var zx=st&&st.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(st,"__esModule",{value:!0});st.areTokenCategoriesNotUsed=st.isStrictPrefixOfPath=st.containsPath=st.getLookaheadPathsForOptionalProd=st.getLookaheadPathsForOr=st.lookAheadSequenceFromAlternatives=st.buildSingleAlternativeLookaheadFunction=st.buildAlternativesLookAheadFunc=st.buildLookaheadFuncForOptionalProd=st.buildLookaheadFuncForOr=st.getProdType=st.PROD_TYPE=void 0;var lt=ze(),Vx=Zc(),dte=hh(),_h=lu(),Ys=Gr(),gte=fu(),Xt;(function(e){e[e.OPTION=0]="OPTION",e[e.REPETITION=1]="REPETITION",e[e.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e[e.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e[e.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e[e.ALTERNATION=5]="ALTERNATION"})(Xt=st.PROD_TYPE||(st.PROD_TYPE={}));function mte(e){if(e instanceof Ys.Option)return Xt.OPTION;if(e instanceof Ys.Repetition)return Xt.REPETITION;if(e instanceof Ys.RepetitionMandatory)return Xt.REPETITION_MANDATORY;if(e instanceof Ys.RepetitionMandatoryWithSeparator)return Xt.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof Ys.RepetitionWithSeparator)return Xt.REPETITION_WITH_SEPARATOR;if(e instanceof Ys.Alternation)return Xt.ALTERNATION;throw Error("non exhaustive match")}st.getProdType=mte;function vte(e,t,r,n,i,s){var o=Xx(e,t,r),c=a_(o)?_h.tokenStructuredMatcherNoCategories:_h.tokenStructuredMatcher;return s(o,n,c,i)}st.buildLookaheadFuncForOr=vte;function yte(e,t,r,n,i,s){var o=Jx(e,t,i,r),c=a_(o)?_h.tokenStructuredMatcherNoCategories:_h.tokenStructuredMatcher;return s(o[0],c,n)}st.buildLookaheadFuncForOptionalProd=yte;function _te(e,t,r,n){var i=e.length,s=(0,lt.every)(e,function(l){return(0,lt.every)(l,function(p){return p.length===1})});if(t)return function(l){for(var p=(0,lt.map)(l,function(C){return C.GATE}),d=0;d{"use strict";var u_=et&&et.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(et,"__esModule",{value:!0});et.checkPrefixAlternativesAmbiguities=et.validateSomeNonEmptyLookaheadPath=et.validateTooManyAlts=et.RepetionCollector=et.validateAmbiguousAlternationAlternatives=et.validateEmptyOrAlternative=et.getFirstNoneTerminal=et.validateNoLeftRecursion=et.validateRuleIsOverridden=et.validateRuleDoesNotAlreadyExist=et.OccurrenceValidationCollector=et.identifyProductionForDuplicates=et.validateGrammar=void 0;var ot=ze(),bt=ze(),Oi=un(),c_=Xc(),hu=el(),Ste=Zc(),si=Gr(),l_=fu();function Ate(e,t,r,n,i){var s=ot.map(e,function(w){return Rte(w,n)}),o=ot.map(e,function(w){return f_(w,w,n)}),c=[],l=[],p=[];(0,bt.every)(o,bt.isEmpty)&&(c=(0,bt.map)(e,function(w){return nN(w,n)}),l=(0,bt.map)(e,function(w){return iN(w,t,n)}),p=aN(e,t,n));var d=Cte(e,r,n),h=(0,bt.map)(e,function(w){return oN(w,n)}),m=(0,bt.map)(e,function(w){return rN(w,e,i,n)});return ot.flatten(s.concat(p,o,c,l,d,h,m))}et.validateGrammar=Ate;function Rte(e,t){var r=new tN;e.accept(r);var n=r.allProductions,i=ot.groupBy(n,Zx),s=ot.pick(i,function(c){return c.length>1}),o=ot.map(ot.values(s),function(c){var l=ot.first(c),p=t.buildDuplicateFoundError(e,c),d=(0,c_.getProductionDslName)(l),h={message:p,type:Oi.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:d,occurrence:l.idx},m=eN(l);return m&&(h.parameter=m),h});return o}function Zx(e){return(0,c_.getProductionDslName)(e)+"_#_"+e.idx+"_#_"+eN(e)}et.identifyProductionForDuplicates=Zx;function eN(e){return e instanceof si.Terminal?e.terminalType.name:e instanceof si.NonTerminal?e.nonTerminalName:""}var tN=function(e){u_(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allProductions=[],r}return t.prototype.visitNonTerminal=function(r){this.allProductions.push(r)},t.prototype.visitOption=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetition=function(r){this.allProductions.push(r)},t.prototype.visitAlternation=function(r){this.allProductions.push(r)},t.prototype.visitTerminal=function(r){this.allProductions.push(r)},t}(l_.GAstVisitor);et.OccurrenceValidationCollector=tN;function rN(e,t,r,n){var i=[],s=(0,bt.reduce)(t,function(c,l){return l.name===e.name?c+1:c},0);if(s>1){var o=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});i.push({message:o,type:Oi.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e.name})}return i}et.validateRuleDoesNotAlreadyExist=rN;function Pte(e,t,r){var n=[],i;return ot.contains(t,e)||(i="Invalid rule override, rule: ->"+e+"<- cannot be overridden in the grammar: ->"+r+"<-as it is not defined in any of the super grammars ",n.push({message:i,type:Oi.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:e})),n}et.validateRuleIsOverridden=Pte;function f_(e,t,r,n){n===void 0&&(n=[]);var i=[],s=tl(t.definition);if(ot.isEmpty(s))return[];var o=e.name,c=ot.contains(s,e);c&&i.push({message:r.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:n}),type:Oi.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var l=ot.difference(s,n.concat([e])),p=ot.map(l,function(d){var h=ot.cloneArr(n);return h.push(d),f_(e,d,r,h)});return i.concat(ot.flatten(p))}et.validateNoLeftRecursion=f_;function tl(e){var t=[];if(ot.isEmpty(e))return t;var r=ot.first(e);if(r instanceof si.NonTerminal)t.push(r.referencedRule);else if(r instanceof si.Alternative||r instanceof si.Option||r instanceof si.RepetitionMandatory||r instanceof si.RepetitionMandatoryWithSeparator||r instanceof si.RepetitionWithSeparator||r instanceof si.Repetition)t=t.concat(tl(r.definition));else if(r instanceof si.Alternation)t=ot.flatten(ot.map(r.definition,function(o){return tl(o.definition)}));else if(!(r instanceof si.Terminal))throw Error("non exhaustive match");var n=(0,c_.isOptionalProd)(r),i=e.length>1;if(n&&i){var s=ot.drop(e);return t.concat(tl(s))}else return t}et.getFirstNoneTerminal=tl;var p_=function(e){u_(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.alternations=[],r}return t.prototype.visitAlternation=function(r){this.alternations.push(r)},t}(l_.GAstVisitor);function nN(e,t){var r=new p_;e.accept(r);var n=r.alternations,i=ot.reduce(n,function(s,o){var c=ot.dropRight(o.definition),l=ot.map(c,function(p,d){var h=(0,Ste.nextPossibleTokensAfter)([p],[],null,1);return ot.isEmpty(h)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:o,emptyChoiceIdx:d}),type:Oi.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:o.idx,alternative:d+1}:null});return s.concat(ot.compact(l))},[]);return i}et.validateEmptyOrAlternative=nN;function iN(e,t,r){var n=new p_;e.accept(n);var i=n.alternations;i=(0,bt.reject)(i,function(o){return o.ignoreAmbiguities===!0});var s=ot.reduce(i,function(o,c){var l=c.idx,p=c.maxLookahead||t,d=(0,hu.getLookaheadPathsForOr)(l,e,p,c),h=Ote(d,c,e,r),m=uN(d,c,e,r);return o.concat(h,m)},[]);return s}et.validateAmbiguousAlternationAlternatives=iN;var sN=function(e){u_(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allProductions=[],r}return t.prototype.visitRepetitionWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetition=function(r){this.allProductions.push(r)},t}(l_.GAstVisitor);et.RepetionCollector=sN;function oN(e,t){var r=new p_;e.accept(r);var n=r.alternations,i=ot.reduce(n,function(s,o){return o.definition.length>255&&s.push({message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:o}),type:Oi.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:e.name,occurrence:o.idx}),s},[]);return i}et.validateTooManyAlts=oN;function aN(e,t,r){var n=[];return(0,bt.forEach)(e,function(i){var s=new sN;i.accept(s);var o=s.allProductions;(0,bt.forEach)(o,function(c){var l=(0,hu.getProdType)(c),p=c.maxLookahead||t,d=c.idx,h=(0,hu.getLookaheadPathsForOptionalProd)(d,i,l,p),m=h[0];if((0,bt.isEmpty)((0,bt.flatten)(m))){var w=r.buildEmptyRepetitionError({topLevelRule:i,repetition:c});n.push({message:w,type:Oi.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:i.name})}})}),n}et.validateSomeNonEmptyLookaheadPath=aN;function Ote(e,t,r,n){var i=[],s=(0,bt.reduce)(e,function(c,l,p){return t.definition[p].ignoreAmbiguities===!0||(0,bt.forEach)(l,function(d){var h=[p];(0,bt.forEach)(e,function(m,w){p!==w&&(0,hu.containsPath)(m,d)&&t.definition[w].ignoreAmbiguities!==!0&&h.push(w)}),h.length>1&&!(0,hu.containsPath)(i,d)&&(i.push(d),c.push({alts:h,path:d}))}),c},[]),o=ot.map(s,function(c){var l=(0,bt.map)(c.alts,function(d){return d+1}),p=n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:l,prefixPath:c.path});return{message:p,type:Oi.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:[c.alts]}});return o}function uN(e,t,r,n){var i=[],s=(0,bt.reduce)(e,function(o,c,l){var p=(0,bt.map)(c,function(d){return{idx:l,path:d}});return o.concat(p)},[]);return(0,bt.forEach)(s,function(o){var c=t.definition[o.idx];if(c.ignoreAmbiguities!==!0){var l=o.idx,p=o.path,d=(0,bt.findAll)(s,function(m){return t.definition[m.idx].ignoreAmbiguities!==!0&&m.idx{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.validateGrammar=du.resolveGrammar=void 0;var d_=ze(),kte=Hx(),Ite=h_(),cN=Jc();function Lte(e){e=(0,d_.defaults)(e,{errMsgProvider:cN.defaultGrammarResolverErrorProvider});var t={};return(0,d_.forEach)(e.rules,function(r){t[r.name]=r}),(0,kte.resolveGrammar)(t,e.errMsgProvider)}du.resolveGrammar=Lte;function xte(e){return e=(0,d_.defaults)(e,{errMsgProvider:cN.defaultGrammarValidatorErrorProvider}),(0,Ite.validateGrammar)(e.rules,e.maxLookahead,e.tokenTypes,e.errMsgProvider,e.grammarName)}du.validateGrammar=xte});var gu=_(Br=>{"use strict";var rl=Br&&Br.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Br,"__esModule",{value:!0});Br.EarlyExitException=Br.NotAllInputParsedException=Br.NoViableAltException=Br.MismatchedTokenException=Br.isRecognitionException=void 0;var Nte=ze(),fN="MismatchedTokenException",pN="NoViableAltException",hN="EarlyExitException",dN="NotAllInputParsedException",gN=[fN,pN,hN,dN];Object.freeze(gN);function Dte(e){return(0,Nte.contains)(gN,e.name)}Br.isRecognitionException=Dte;var Eh=function(e){rl(t,e);function t(r,n){var i=this.constructor,s=e.call(this,r)||this;return s.token=n,s.resyncedTokens=[],Object.setPrototypeOf(s,i.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return t}(Error),Mte=function(e){rl(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=fN,s}return t}(Eh);Br.MismatchedTokenException=Mte;var Fte=function(e){rl(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=pN,s}return t}(Eh);Br.NoViableAltException=Fte;var Gte=function(e){rl(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.name=dN,i}return t}(Eh);Br.NotAllInputParsedException=Gte;var Ute=function(e){rl(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=hN,s}return t}(Eh);Br.EarlyExitException=Ute});var m_=_(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});mr.attemptInRepetitionRecovery=mr.Recoverable=mr.InRuleRecoveryException=mr.IN_RULE_RECOVERY_EXCEPTION=mr.EOF_FOLLOW_KEY=void 0;var bh=Ks(),kn=ze(),Bte=gu(),qte=n_(),Hte=un();mr.EOF_FOLLOW_KEY={};mr.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function g_(e){this.name=mr.IN_RULE_RECOVERY_EXCEPTION,this.message=e}mr.InRuleRecoveryException=g_;g_.prototype=Error.prototype;var jte=function(){function e(){}return e.prototype.initRecoverable=function(t){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,kn.has)(t,"recoveryEnabled")?t.recoveryEnabled:Hte.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=mN)},e.prototype.getTokenToInsert=function(t){var r=(0,bh.createTokenInstance)(t,"",NaN,NaN,NaN,NaN,NaN,NaN);return r.isInsertedInRecovery=!0,r},e.prototype.canTokenTypeBeInsertedInRecovery=function(t){return!0},e.prototype.tryInRepetitionRecovery=function(t,r,n,i){for(var s=this,o=this.findReSyncTokenType(),c=this.exportLexerState(),l=[],p=!1,d=this.LA(1),h=this.LA(1),m=function(){var w=s.LA(0),v=s.errorMessageProvider.buildMismatchTokenMessage({expected:i,actual:d,previous:w,ruleName:s.getCurrRuleFullName()}),E=new Bte.MismatchedTokenException(v,d,s.LA(0));E.resyncedTokens=(0,kn.dropRight)(l),s.SAVE_ERROR(E)};!p;)if(this.tokenMatcher(h,i)){m();return}else if(n.call(this)){m(),t.apply(this,r);return}else this.tokenMatcher(h,o)?p=!0:(h=this.SKIP_TOKEN(),this.addToResyncTokens(h,l));this.importLexerState(c)},e.prototype.shouldInRepetitionRecoveryBeTried=function(t,r,n){return!(n===!1||t===void 0||r===void 0||this.tokenMatcher(this.LA(1),t)||this.isBackTracking()||this.canPerformInRuleRecovery(t,this.getFollowsForInRuleRecovery(t,r)))},e.prototype.getFollowsForInRuleRecovery=function(t,r){var n=this.getCurrentGrammarPath(t,r),i=this.getNextPossibleTokenTypes(n);return i},e.prototype.tryInRuleRecovery=function(t,r){if(this.canRecoverWithSingleTokenInsertion(t,r)){var n=this.getTokenToInsert(t);return n}if(this.canRecoverWithSingleTokenDeletion(t)){var i=this.SKIP_TOKEN();return this.consumeToken(),i}throw new g_("sad sad panda")},e.prototype.canPerformInRuleRecovery=function(t,r){return this.canRecoverWithSingleTokenInsertion(t,r)||this.canRecoverWithSingleTokenDeletion(t)},e.prototype.canRecoverWithSingleTokenInsertion=function(t,r){var n=this;if(!this.canTokenTypeBeInsertedInRecovery(t)||(0,kn.isEmpty)(r))return!1;var i=this.LA(1),s=(0,kn.find)(r,function(o){return n.tokenMatcher(i,o)})!==void 0;return s},e.prototype.canRecoverWithSingleTokenDeletion=function(t){var r=this.tokenMatcher(this.LA(2),t);return r},e.prototype.isInCurrentRuleReSyncSet=function(t){var r=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(r);return(0,kn.contains)(n,t)},e.prototype.findReSyncTokenType=function(){for(var t=this.flattenFollowSet(),r=this.LA(1),n=2;;){var i=r.tokenType;if((0,kn.contains)(t,i))return i;r=this.LA(n),n++}},e.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return mr.EOF_FOLLOW_KEY;var t=this.getLastExplicitRuleShortName(),r=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(n)}},e.prototype.buildFullFollowKeyStack=function(){var t=this,r=this.RULE_STACK,n=this.RULE_OCCURRENCE_STACK;return(0,kn.map)(r,function(i,s){return s===0?mr.EOF_FOLLOW_KEY:{ruleName:t.shortRuleNameToFullName(i),idxInCallingRule:n[s],inRule:t.shortRuleNameToFullName(r[s-1])}})},e.prototype.flattenFollowSet=function(){var t=this,r=(0,kn.map)(this.buildFullFollowKeyStack(),function(n){return t.getFollowSetFromFollowKey(n)});return(0,kn.flatten)(r)},e.prototype.getFollowSetFromFollowKey=function(t){if(t===mr.EOF_FOLLOW_KEY)return[bh.EOF];var r=t.ruleName+t.idxInCallingRule+qte.IN+t.inRule;return this.resyncFollows[r]},e.prototype.addToResyncTokens=function(t,r){return this.tokenMatcher(t,bh.EOF)||r.push(t),r},e.prototype.reSyncTo=function(t){for(var r=[],n=this.LA(1);this.tokenMatcher(n,t)===!1;)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,r);return(0,kn.dropRight)(r)},e.prototype.attemptInRepetitionRecovery=function(t,r,n,i,s,o,c){},e.prototype.getCurrentGrammarPath=function(t,r){var n=this.getHumanReadableRuleStack(),i=(0,kn.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:n,occurrenceStack:i,lastTok:t,lastTokOccurrence:r};return s},e.prototype.getHumanReadableRuleStack=function(){var t=this;return(0,kn.map)(this.RULE_STACK,function(r){return t.shortRuleNameToFullName(r)})},e}();mr.Recoverable=jte;function mN(e,t,r,n,i,s,o){var c=this.getKeyForAutomaticLookahead(n,i),l=this.firstAfterRepMap[c];if(l===void 0){var p=this.getCurrRuleFullName(),d=this.getGAstProductions()[p],h=new s(d,i);l=h.startWalking(),this.firstAfterRepMap[c]=l}var m=l.token,w=l.occurrence,v=l.isEndOfRule;this.RULE_STACK.length===1&&v&&m===void 0&&(m=bh.EOF,w=1),this.shouldInRepetitionRecoveryBeTried(m,w,o)&&this.tryInRepetitionRecovery(e,t,r,m)}mr.attemptInRepetitionRecovery=mN});var Th=_(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.getKeyForAutomaticLookahead=Xe.AT_LEAST_ONE_SEP_IDX=Xe.MANY_SEP_IDX=Xe.AT_LEAST_ONE_IDX=Xe.MANY_IDX=Xe.OPTION_IDX=Xe.OR_IDX=Xe.BITS_FOR_ALT_IDX=Xe.BITS_FOR_RULE_IDX=Xe.BITS_FOR_OCCURRENCE_IDX=Xe.BITS_FOR_METHOD_TYPE=void 0;Xe.BITS_FOR_METHOD_TYPE=4;Xe.BITS_FOR_OCCURRENCE_IDX=8;Xe.BITS_FOR_RULE_IDX=12;Xe.BITS_FOR_ALT_IDX=8;Xe.OR_IDX=1<{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.LooksAhead=void 0;var cs=el(),oi=ze(),vN=un(),ls=Th(),zo=Xc(),$te=function(){function e(){}return e.prototype.initLooksAhead=function(t){this.dynamicTokensEnabled=(0,oi.has)(t,"dynamicTokensEnabled")?t.dynamicTokensEnabled:vN.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,oi.has)(t,"maxLookahead")?t.maxLookahead:vN.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,oi.isES2015MapSupported)()?new Map:[],(0,oi.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},e.prototype.preComputeLookaheadFunctions=function(t){var r=this;(0,oi.forEach)(t,function(n){r.TRACE_INIT(n.name+" Rule Lookahead",function(){var i=(0,zo.collectMethods)(n),s=i.alternation,o=i.repetition,c=i.option,l=i.repetitionMandatory,p=i.repetitionMandatoryWithSeparator,d=i.repetitionWithSeparator;(0,oi.forEach)(s,function(h){var m=h.idx===0?"":h.idx;r.TRACE_INIT(""+(0,zo.getProductionDslName)(h)+m,function(){var w=(0,cs.buildLookaheadFuncForOr)(h.idx,n,h.maxLookahead||r.maxLookahead,h.hasPredicates,r.dynamicTokensEnabled,r.lookAheadBuilderForAlternatives),v=(0,ls.getKeyForAutomaticLookahead)(r.fullRuleNameToShort[n.name],ls.OR_IDX,h.idx);r.setLaFuncCache(v,w)})}),(0,oi.forEach)(o,function(h){r.computeLookaheadFunc(n,h.idx,ls.MANY_IDX,cs.PROD_TYPE.REPETITION,h.maxLookahead,(0,zo.getProductionDslName)(h))}),(0,oi.forEach)(c,function(h){r.computeLookaheadFunc(n,h.idx,ls.OPTION_IDX,cs.PROD_TYPE.OPTION,h.maxLookahead,(0,zo.getProductionDslName)(h))}),(0,oi.forEach)(l,function(h){r.computeLookaheadFunc(n,h.idx,ls.AT_LEAST_ONE_IDX,cs.PROD_TYPE.REPETITION_MANDATORY,h.maxLookahead,(0,zo.getProductionDslName)(h))}),(0,oi.forEach)(p,function(h){r.computeLookaheadFunc(n,h.idx,ls.AT_LEAST_ONE_SEP_IDX,cs.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,h.maxLookahead,(0,zo.getProductionDslName)(h))}),(0,oi.forEach)(d,function(h){r.computeLookaheadFunc(n,h.idx,ls.MANY_SEP_IDX,cs.PROD_TYPE.REPETITION_WITH_SEPARATOR,h.maxLookahead,(0,zo.getProductionDslName)(h))})})})},e.prototype.computeLookaheadFunc=function(t,r,n,i,s,o){var c=this;this.TRACE_INIT(""+o+(r===0?"":r),function(){var l=(0,cs.buildLookaheadFuncForOptionalProd)(r,t,s||c.maxLookahead,c.dynamicTokensEnabled,i,c.lookAheadBuilderForOptional),p=(0,ls.getKeyForAutomaticLookahead)(c.fullRuleNameToShort[t.name],n,r);c.setLaFuncCache(p,l)})},e.prototype.lookAheadBuilderForOptional=function(t,r,n){return(0,cs.buildSingleAlternativeLookaheadFunction)(t,r,n)},e.prototype.lookAheadBuilderForAlternatives=function(t,r,n,i){return(0,cs.buildAlternativesLookAheadFunc)(t,r,n,i)},e.prototype.getKeyForAutomaticLookahead=function(t,r){var n=this.getLastExplicitRuleShortName();return(0,ls.getKeyForAutomaticLookahead)(n,t,r)},e.prototype.getLaFuncFromCache=function(t){},e.prototype.getLaFuncFromMap=function(t){return this.lookAheadFuncsCache.get(t)},e.prototype.getLaFuncFromObj=function(t){return this.lookAheadFuncsCache[t]},e.prototype.setLaFuncCache=function(t,r){},e.prototype.setLaFuncCacheUsingMap=function(t,r){this.lookAheadFuncsCache.set(t,r)},e.prototype.setLaFuncUsingObj=function(t,r){this.lookAheadFuncsCache[t]=r},e}();wh.LooksAhead=$te});var _N=_(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.addNoneTerminalToCst=Ci.addTerminalToCst=Ci.setNodeLocationFull=Ci.setNodeLocationOnlyOffset=void 0;function Vte(e,t){isNaN(e.startOffset)===!0?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.defineNameProp=Xs.functionName=Xs.classNameFromInstance=void 0;var Xte=ze();function Jte(e){return bN(e.constructor)}Xs.classNameFromInstance=Jte;var EN="name";function bN(e){var t=e.name;return t||"anonymous"}Xs.functionName=bN;function Qte(e,t){var r=Object.getOwnPropertyDescriptor(e,EN);return(0,Xte.isUndefined)(r)||r.configurable?(Object.defineProperty(e,EN,{enumerable:!1,configurable:!0,writable:!1,value:t}),!0):!1}Xs.defineNameProp=Qte});var RN=_(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.validateRedundantMethods=or.validateMissingCstMethods=or.validateVisitor=or.CstVisitorDefinitionError=or.createBaseVisitorConstructorWithDefaults=or.createBaseSemanticVisitorConstructor=or.defaultVisit=void 0;var In=ze(),nl=v_();function TN(e,t){for(var r=(0,In.keys)(e),n=r.length,i=0;i: +see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return i},buildInvalidRuleNameError:function(e){return"deprecated"},buildDuplicateRuleNameError:function(e){var t;e.topLevelRule instanceof Mg.Rule?t=e.topLevelRule.name:t=e.topLevelRule;var r="Duplicate definition, rule: ->"+t+"<- is already defined in the grammar: ->"+e.grammarName+"<-";return r}}});var OP=d(Zn=>{"use strict";var M9=Zn&&Zn.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Zn,"__esModule",{value:!0});Zn.GastRefResolverVisitor=Zn.resolveGrammar=void 0;var F9=Jt(),RP=ve(),G9=Js();function U9(e,t){var r=new PP(e,t);return r.resolveRefs(),r.errors}Zn.resolveGrammar=U9;var PP=function(e){M9(t,e);function t(r,n){var i=e.call(this)||this;return i.nameToTopRule=r,i.errMsgProvider=n,i.errors=[],i}return t.prototype.resolveRefs=function(){var r=this;(0,RP.forEach)((0,RP.values)(this.nameToTopRule),function(n){r.currTopLevel=n,n.accept(r)})},t.prototype.visitNonTerminal=function(r){var n=this.nameToTopRule[r.nonTerminalName];if(n)r.referencedRule=n;else{var i=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,r);this.errors.push({message:i,type:F9.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:r.nonTerminalName})}},t}(G9.GAstVisitor);Zn.GastRefResolverVisitor=PP});var Oa=d(ze=>{"use strict";var Ki=ze&&ze.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ze,"__esModule",{value:!0});ze.nextPossibleTokensAfter=ze.possiblePathsFrom=ze.NextTerminalAfterAtLeastOneSepWalker=ze.NextTerminalAfterAtLeastOneWalker=ze.NextTerminalAfterManySepWalker=ze.NextTerminalAfterManyWalker=ze.AbstractNextTerminalAfterProductionWalker=ze.NextAfterTokenWalker=ze.AbstractNextPossibleTokensWalker=void 0;var CP=rl(),fe=ve(),B9=xg(),ue=Ft(),kP=function(e){Ki(t,e);function t(r,n){var i=e.call(this)||this;return i.topProd=r,i.path=n,i.possibleTokTypes=[],i.nextProductionName="",i.nextProductionOccurrence=0,i.found=!1,i.isAtEndOfPath=!1,i}return t.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,fe.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,fe.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},t.prototype.walk=function(r,n){n===void 0&&(n=[]),this.found||e.prototype.walk.call(this,r,n)},t.prototype.walkProdRef=function(r,n,i){if(r.referencedRule.name===this.nextProductionName&&r.idx===this.nextProductionOccurrence){var s=n.concat(i);this.updateExpectedNext(),this.walk(r.referencedRule,s)}},t.prototype.updateExpectedNext=function(){(0,fe.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},t}(CP.RestWalker);ze.AbstractNextPossibleTokensWalker=kP;var q9=function(e){Ki(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.path=n,i.nextTerminalName="",i.nextTerminalOccurrence=0,i.nextTerminalName=i.path.lastTok.name,i.nextTerminalOccurrence=i.path.lastTokOccurrence,i}return t.prototype.walkTerminal=function(r,n,i){if(this.isAtEndOfPath&&r.terminalType.name===this.nextTerminalName&&r.idx===this.nextTerminalOccurrence&&!this.found){var s=n.concat(i),o=new ue.Alternative({definition:s});this.possibleTokTypes=(0,B9.first)(o),this.found=!0}},t}(kP);ze.NextAfterTokenWalker=q9;var Pa=function(e){Ki(t,e);function t(r,n){var i=e.call(this)||this;return i.topRule=r,i.occurrence=n,i.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},i}return t.prototype.startWalking=function(){return this.walk(this.topRule),this.result},t}(CP.RestWalker);ze.AbstractNextTerminalAfterProductionWalker=Pa;var j9=function(e){Ki(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkMany=function(r,n,i){if(r.idx===this.occurrence){var s=(0,fe.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof ue.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkMany.call(this,r,n,i)},t}(Pa);ze.NextTerminalAfterManyWalker=j9;var H9=function(e){Ki(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkManySep=function(r,n,i){if(r.idx===this.occurrence){var s=(0,fe.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof ue.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkManySep.call(this,r,n,i)},t}(Pa);ze.NextTerminalAfterManySepWalker=H9;var $9=function(e){Ki(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkAtLeastOne=function(r,n,i){if(r.idx===this.occurrence){var s=(0,fe.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof ue.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOne.call(this,r,n,i)},t}(Pa);ze.NextTerminalAfterAtLeastOneWalker=$9;var W9=function(e){Ki(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.walkAtLeastOneSep=function(r,n,i){if(r.idx===this.occurrence){var s=(0,fe.first)(n.concat(i));this.result.isEndOfRule=s===void 0,s instanceof ue.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOneSep.call(this,r,n,i)},t}(Pa);ze.NextTerminalAfterAtLeastOneSepWalker=W9;function IP(e,t,r){r===void 0&&(r=[]),r=(0,fe.cloneArr)(r);var n=[],i=0;function s(c){return c.concat((0,fe.drop)(e,i+1))}function o(c){var f=IP(s(c),t,r);return n.concat(f)}for(;r.length=0;F--){var Z=v.definition[F],A={idx:h,def:Z.definition.concat((0,fe.drop)(m)),ruleStack:g,occurrenceStack:y};l.push(A),l.push(o)}else if(v instanceof ue.Alternative)l.push({idx:h,def:v.definition.concat((0,fe.drop)(m)),ruleStack:g,occurrenceStack:y});else if(v instanceof ue.Rule)l.push(K9(v,h,g,y));else throw Error("non exhaustive match")}}return f}ze.nextPossibleTokensAfter=V9;function K9(e,t,r,n){var i=(0,fe.cloneArr)(r);i.push(e.name);var s=(0,fe.cloneArr)(n);return s.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:s}}});var Ca=d(Ae=>{"use strict";var xP=Ae&&Ae.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ae,"__esModule",{value:!0});Ae.areTokenCategoriesNotUsed=Ae.isStrictPrefixOfPath=Ae.containsPath=Ae.getLookaheadPathsForOptionalProd=Ae.getLookaheadPathsForOr=Ae.lookAheadSequenceFromAlternatives=Ae.buildSingleAlternativeLookaheadFunction=Ae.buildAlternativesLookAheadFunc=Ae.buildLookaheadFuncForOptionalProd=Ae.buildLookaheadFuncForOr=Ae.getProdType=Ae.PROD_TYPE=void 0;var ke=ve(),LP=Oa(),z9=rl(),ul=Qs(),ei=Ft(),Y9=Js(),ut;(function(e){e[e.OPTION=0]="OPTION",e[e.REPETITION=1]="REPETITION",e[e.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e[e.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e[e.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e[e.ALTERNATION=5]="ALTERNATION"})(ut=Ae.PROD_TYPE||(Ae.PROD_TYPE={}));function X9(e){if(e instanceof ei.Option)return ut.OPTION;if(e instanceof ei.Repetition)return ut.REPETITION;if(e instanceof ei.RepetitionMandatory)return ut.REPETITION_MANDATORY;if(e instanceof ei.RepetitionMandatoryWithSeparator)return ut.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof ei.RepetitionWithSeparator)return ut.REPETITION_WITH_SEPARATOR;if(e instanceof ei.Alternation)return ut.ALTERNATION;throw Error("non exhaustive match")}Ae.getProdType=X9;function Q9(e,t,r,n,i,s){var o=MP(e,t,r),a=Ug(o)?ul.tokenStructuredMatcherNoCategories:ul.tokenStructuredMatcher;return s(o,n,a,i)}Ae.buildLookaheadFuncForOr=Q9;function J9(e,t,r,n,i,s){var o=FP(e,t,i,r),a=Ug(o)?ul.tokenStructuredMatcherNoCategories:ul.tokenStructuredMatcher;return s(o[0],a,n)}Ae.buildLookaheadFuncForOptionalProd=J9;function Z9(e,t,r,n){var i=e.length,s=(0,ke.every)(e,function(u){return(0,ke.every)(u,function(c){return c.length===1})});if(t)return function(u){for(var c=(0,ke.map)(u,function(b){return b.GATE}),f=0;f{"use strict";var Bg=Te&&Te.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Te,"__esModule",{value:!0});Te.checkPrefixAlternativesAmbiguities=Te.validateSomeNonEmptyLookaheadPath=Te.validateTooManyAlts=Te.RepetionCollector=Te.validateAmbiguousAlternationAlternatives=Te.validateEmptyOrAlternative=Te.getFirstNoneTerminal=Te.validateNoLeftRecursion=Te.validateRuleIsOverridden=Te.validateRuleDoesNotAlreadyExist=Te.OccurrenceValidationCollector=Te.identifyProductionForDuplicates=Te.validateGrammar=void 0;var Re=ve(),qe=ve(),Zr=Jt(),qg=Aa(),eo=Ca(),ij=Oa(),Dr=Ft(),jg=Js();function sj(e,t,r,n,i){var s=Re.map(e,function(m){return oj(m,n)}),o=Re.map(e,function(m){return Hg(m,m,n)}),a=[],u=[],c=[];(0,qe.every)(o,qe.isEmpty)&&(a=(0,qe.map)(e,function(m){return HP(m,n)}),u=(0,qe.map)(e,function(m){return $P(m,t,n)}),c=KP(e,t,n));var f=cj(e,r,n),l=(0,qe.map)(e,function(m){return VP(m,n)}),p=(0,qe.map)(e,function(m){return jP(m,e,i,n)});return Re.flatten(s.concat(c,o,a,u,f,l,p))}Te.validateGrammar=sj;function oj(e,t){var r=new qP;e.accept(r);var n=r.allProductions,i=Re.groupBy(n,UP),s=Re.pick(i,function(a){return a.length>1}),o=Re.map(Re.values(s),function(a){var u=Re.first(a),c=t.buildDuplicateFoundError(e,a),f=(0,qg.getProductionDslName)(u),l={message:c,type:Zr.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:f,occurrence:u.idx},p=BP(u);return p&&(l.parameter=p),l});return o}function UP(e){return(0,qg.getProductionDslName)(e)+"_#_"+e.idx+"_#_"+BP(e)}Te.identifyProductionForDuplicates=UP;function BP(e){return e instanceof Dr.Terminal?e.terminalType.name:e instanceof Dr.NonTerminal?e.nonTerminalName:""}var qP=function(e){Bg(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allProductions=[],r}return t.prototype.visitNonTerminal=function(r){this.allProductions.push(r)},t.prototype.visitOption=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetition=function(r){this.allProductions.push(r)},t.prototype.visitAlternation=function(r){this.allProductions.push(r)},t.prototype.visitTerminal=function(r){this.allProductions.push(r)},t}(jg.GAstVisitor);Te.OccurrenceValidationCollector=qP;function jP(e,t,r,n){var i=[],s=(0,qe.reduce)(t,function(a,u){return u.name===e.name?a+1:a},0);if(s>1){var o=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});i.push({message:o,type:Zr.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e.name})}return i}Te.validateRuleDoesNotAlreadyExist=jP;function aj(e,t,r){var n=[],i;return Re.contains(t,e)||(i="Invalid rule override, rule: ->"+e+"<- cannot be overridden in the grammar: ->"+r+"<-as it is not defined in any of the super grammars ",n.push({message:i,type:Zr.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:e})),n}Te.validateRuleIsOverridden=aj;function Hg(e,t,r,n){n===void 0&&(n=[]);var i=[],s=ka(t.definition);if(Re.isEmpty(s))return[];var o=e.name,a=Re.contains(s,e);a&&i.push({message:r.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:n}),type:Zr.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var u=Re.difference(s,n.concat([e])),c=Re.map(u,function(f){var l=Re.cloneArr(n);return l.push(f),Hg(e,f,r,l)});return i.concat(Re.flatten(c))}Te.validateNoLeftRecursion=Hg;function ka(e){var t=[];if(Re.isEmpty(e))return t;var r=Re.first(e);if(r instanceof Dr.NonTerminal)t.push(r.referencedRule);else if(r instanceof Dr.Alternative||r instanceof Dr.Option||r instanceof Dr.RepetitionMandatory||r instanceof Dr.RepetitionMandatoryWithSeparator||r instanceof Dr.RepetitionWithSeparator||r instanceof Dr.Repetition)t=t.concat(ka(r.definition));else if(r instanceof Dr.Alternation)t=Re.flatten(Re.map(r.definition,function(o){return ka(o.definition)}));else if(!(r instanceof Dr.Terminal))throw Error("non exhaustive match");var n=(0,qg.isOptionalProd)(r),i=e.length>1;if(n&&i){var s=Re.drop(e);return t.concat(ka(s))}else return t}Te.getFirstNoneTerminal=ka;var $g=function(e){Bg(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.alternations=[],r}return t.prototype.visitAlternation=function(r){this.alternations.push(r)},t}(jg.GAstVisitor);function HP(e,t){var r=new $g;e.accept(r);var n=r.alternations,i=Re.reduce(n,function(s,o){var a=Re.dropRight(o.definition),u=Re.map(a,function(c,f){var l=(0,ij.nextPossibleTokensAfter)([c],[],null,1);return Re.isEmpty(l)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:o,emptyChoiceIdx:f}),type:Zr.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:o.idx,alternative:f+1}:null});return s.concat(Re.compact(u))},[]);return i}Te.validateEmptyOrAlternative=HP;function $P(e,t,r){var n=new $g;e.accept(n);var i=n.alternations;i=(0,qe.reject)(i,function(o){return o.ignoreAmbiguities===!0});var s=Re.reduce(i,function(o,a){var u=a.idx,c=a.maxLookahead||t,f=(0,eo.getLookaheadPathsForOr)(u,e,c,a),l=uj(f,a,e,r),p=zP(f,a,e,r);return o.concat(l,p)},[]);return s}Te.validateAmbiguousAlternationAlternatives=$P;var WP=function(e){Bg(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allProductions=[],r}return t.prototype.visitRepetitionWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatory=function(r){this.allProductions.push(r)},t.prototype.visitRepetitionMandatoryWithSeparator=function(r){this.allProductions.push(r)},t.prototype.visitRepetition=function(r){this.allProductions.push(r)},t}(jg.GAstVisitor);Te.RepetionCollector=WP;function VP(e,t){var r=new $g;e.accept(r);var n=r.alternations,i=Re.reduce(n,function(s,o){return o.definition.length>255&&s.push({message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:o}),type:Zr.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:e.name,occurrence:o.idx}),s},[]);return i}Te.validateTooManyAlts=VP;function KP(e,t,r){var n=[];return(0,qe.forEach)(e,function(i){var s=new WP;i.accept(s);var o=s.allProductions;(0,qe.forEach)(o,function(a){var u=(0,eo.getProdType)(a),c=a.maxLookahead||t,f=a.idx,l=(0,eo.getLookaheadPathsForOptionalProd)(f,i,u,c),p=l[0];if((0,qe.isEmpty)((0,qe.flatten)(p))){var m=r.buildEmptyRepetitionError({topLevelRule:i,repetition:a});n.push({message:m,type:Zr.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:i.name})}})}),n}Te.validateSomeNonEmptyLookaheadPath=KP;function uj(e,t,r,n){var i=[],s=(0,qe.reduce)(e,function(a,u,c){return t.definition[c].ignoreAmbiguities===!0||(0,qe.forEach)(u,function(f){var l=[c];(0,qe.forEach)(e,function(p,m){c!==m&&(0,eo.containsPath)(p,f)&&t.definition[m].ignoreAmbiguities!==!0&&l.push(m)}),l.length>1&&!(0,eo.containsPath)(i,f)&&(i.push(f),a.push({alts:l,path:f}))}),a},[]),o=Re.map(s,function(a){var u=(0,qe.map)(a.alts,function(f){return f+1}),c=n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:u,prefixPath:a.path});return{message:c,type:Zr.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:[a.alts]}});return o}function zP(e,t,r,n){var i=[],s=(0,qe.reduce)(e,function(o,a,u){var c=(0,qe.map)(a,function(f){return{idx:u,path:f}});return o.concat(c)},[]);return(0,qe.forEach)(s,function(o){var a=t.definition[o.idx];if(a.ignoreAmbiguities!==!0){var u=o.idx,c=o.path,f=(0,qe.findAll)(s,function(p){return t.definition[p.idx].ignoreAmbiguities!==!0&&p.idx{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.validateGrammar=to.resolveGrammar=void 0;var Vg=ve(),lj=OP(),fj=Wg(),YP=Ra();function pj(e){e=(0,Vg.defaults)(e,{errMsgProvider:YP.defaultGrammarResolverErrorProvider});var t={};return(0,Vg.forEach)(e.rules,function(r){t[r.name]=r}),(0,lj.resolveGrammar)(t,e.errMsgProvider)}to.resolveGrammar=pj;function hj(e){return e=(0,Vg.defaults)(e,{errMsgProvider:YP.defaultGrammarValidatorErrorProvider}),(0,fj.validateGrammar)(e.rules,e.maxLookahead,e.tokenTypes,e.errMsgProvider,e.grammarName)}to.validateGrammar=hj});var ro=d(Ut=>{"use strict";var Ia=Ut&&Ut.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.EarlyExitException=Ut.NotAllInputParsedException=Ut.NoViableAltException=Ut.MismatchedTokenException=Ut.isRecognitionException=void 0;var dj=ve(),QP="MismatchedTokenException",JP="NoViableAltException",ZP="EarlyExitException",eO="NotAllInputParsedException",tO=[QP,JP,ZP,eO];Object.freeze(tO);function gj(e){return(0,dj.contains)(tO,e.name)}Ut.isRecognitionException=gj;var cl=function(e){Ia(t,e);function t(r,n){var i=this.constructor,s=e.call(this,r)||this;return s.token=n,s.resyncedTokens=[],Object.setPrototypeOf(s,i.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return t}(Error),mj=function(e){Ia(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=QP,s}return t}(cl);Ut.MismatchedTokenException=mj;var vj=function(e){Ia(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=JP,s}return t}(cl);Ut.NoViableAltException=vj;var yj=function(e){Ia(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.name=eO,i}return t}(cl);Ut.NotAllInputParsedException=yj;var Ej=function(e){Ia(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.previousToken=i,s.name=ZP,s}return t}(cl);Ut.EarlyExitException=Ej});var zg=d(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.attemptInRepetitionRecovery=Tt.Recoverable=Tt.InRuleRecoveryException=Tt.IN_RULE_RECOVERY_EXCEPTION=Tt.EOF_FOLLOW_KEY=void 0;var ll=Jn(),lr=ve(),_j=ro(),bj=Dg(),Tj=Jt();Tt.EOF_FOLLOW_KEY={};Tt.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function Kg(e){this.name=Tt.IN_RULE_RECOVERY_EXCEPTION,this.message=e}Tt.InRuleRecoveryException=Kg;Kg.prototype=Error.prototype;var Sj=function(){function e(){}return e.prototype.initRecoverable=function(t){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,lr.has)(t,"recoveryEnabled")?t.recoveryEnabled:Tj.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=rO)},e.prototype.getTokenToInsert=function(t){var r=(0,ll.createTokenInstance)(t,"",NaN,NaN,NaN,NaN,NaN,NaN);return r.isInsertedInRecovery=!0,r},e.prototype.canTokenTypeBeInsertedInRecovery=function(t){return!0},e.prototype.tryInRepetitionRecovery=function(t,r,n,i){for(var s=this,o=this.findReSyncTokenType(),a=this.exportLexerState(),u=[],c=!1,f=this.LA(1),l=this.LA(1),p=function(){var m=s.LA(0),h=s.errorMessageProvider.buildMismatchTokenMessage({expected:i,actual:f,previous:m,ruleName:s.getCurrRuleFullName()}),g=new _j.MismatchedTokenException(h,f,s.LA(0));g.resyncedTokens=(0,lr.dropRight)(u),s.SAVE_ERROR(g)};!c;)if(this.tokenMatcher(l,i)){p();return}else if(n.call(this)){p(),t.apply(this,r);return}else this.tokenMatcher(l,o)?c=!0:(l=this.SKIP_TOKEN(),this.addToResyncTokens(l,u));this.importLexerState(a)},e.prototype.shouldInRepetitionRecoveryBeTried=function(t,r,n){return!(n===!1||t===void 0||r===void 0||this.tokenMatcher(this.LA(1),t)||this.isBackTracking()||this.canPerformInRuleRecovery(t,this.getFollowsForInRuleRecovery(t,r)))},e.prototype.getFollowsForInRuleRecovery=function(t,r){var n=this.getCurrentGrammarPath(t,r),i=this.getNextPossibleTokenTypes(n);return i},e.prototype.tryInRuleRecovery=function(t,r){if(this.canRecoverWithSingleTokenInsertion(t,r)){var n=this.getTokenToInsert(t);return n}if(this.canRecoverWithSingleTokenDeletion(t)){var i=this.SKIP_TOKEN();return this.consumeToken(),i}throw new Kg("sad sad panda")},e.prototype.canPerformInRuleRecovery=function(t,r){return this.canRecoverWithSingleTokenInsertion(t,r)||this.canRecoverWithSingleTokenDeletion(t)},e.prototype.canRecoverWithSingleTokenInsertion=function(t,r){var n=this;if(!this.canTokenTypeBeInsertedInRecovery(t)||(0,lr.isEmpty)(r))return!1;var i=this.LA(1),s=(0,lr.find)(r,function(o){return n.tokenMatcher(i,o)})!==void 0;return s},e.prototype.canRecoverWithSingleTokenDeletion=function(t){var r=this.tokenMatcher(this.LA(2),t);return r},e.prototype.isInCurrentRuleReSyncSet=function(t){var r=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(r);return(0,lr.contains)(n,t)},e.prototype.findReSyncTokenType=function(){for(var t=this.flattenFollowSet(),r=this.LA(1),n=2;;){var i=r.tokenType;if((0,lr.contains)(t,i))return i;r=this.LA(n),n++}},e.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return Tt.EOF_FOLLOW_KEY;var t=this.getLastExplicitRuleShortName(),r=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(n)}},e.prototype.buildFullFollowKeyStack=function(){var t=this,r=this.RULE_STACK,n=this.RULE_OCCURRENCE_STACK;return(0,lr.map)(r,function(i,s){return s===0?Tt.EOF_FOLLOW_KEY:{ruleName:t.shortRuleNameToFullName(i),idxInCallingRule:n[s],inRule:t.shortRuleNameToFullName(r[s-1])}})},e.prototype.flattenFollowSet=function(){var t=this,r=(0,lr.map)(this.buildFullFollowKeyStack(),function(n){return t.getFollowSetFromFollowKey(n)});return(0,lr.flatten)(r)},e.prototype.getFollowSetFromFollowKey=function(t){if(t===Tt.EOF_FOLLOW_KEY)return[ll.EOF];var r=t.ruleName+t.idxInCallingRule+bj.IN+t.inRule;return this.resyncFollows[r]},e.prototype.addToResyncTokens=function(t,r){return this.tokenMatcher(t,ll.EOF)||r.push(t),r},e.prototype.reSyncTo=function(t){for(var r=[],n=this.LA(1);this.tokenMatcher(n,t)===!1;)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,r);return(0,lr.dropRight)(r)},e.prototype.attemptInRepetitionRecovery=function(t,r,n,i,s,o,a){},e.prototype.getCurrentGrammarPath=function(t,r){var n=this.getHumanReadableRuleStack(),i=(0,lr.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:n,occurrenceStack:i,lastTok:t,lastTokOccurrence:r};return s},e.prototype.getHumanReadableRuleStack=function(){var t=this;return(0,lr.map)(this.RULE_STACK,function(r){return t.shortRuleNameToFullName(r)})},e}();Tt.Recoverable=Sj;function rO(e,t,r,n,i,s,o){var a=this.getKeyForAutomaticLookahead(n,i),u=this.firstAfterRepMap[a];if(u===void 0){var c=this.getCurrRuleFullName(),f=this.getGAstProductions()[c],l=new s(f,i);u=l.startWalking(),this.firstAfterRepMap[a]=u}var p=u.token,m=u.occurrence,h=u.isEndOfRule;this.RULE_STACK.length===1&&h&&p===void 0&&(p=ll.EOF,m=1),this.shouldInRepetitionRecoveryBeTried(p,m,o)&&this.tryInRepetitionRecovery(e,t,r,p)}Tt.attemptInRepetitionRecovery=rO});var fl=d(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.getKeyForAutomaticLookahead=Ee.AT_LEAST_ONE_SEP_IDX=Ee.MANY_SEP_IDX=Ee.AT_LEAST_ONE_IDX=Ee.MANY_IDX=Ee.OPTION_IDX=Ee.OR_IDX=Ee.BITS_FOR_ALT_IDX=Ee.BITS_FOR_RULE_IDX=Ee.BITS_FOR_OCCURRENCE_IDX=Ee.BITS_FOR_METHOD_TYPE=void 0;Ee.BITS_FOR_METHOD_TYPE=4;Ee.BITS_FOR_OCCURRENCE_IDX=8;Ee.BITS_FOR_RULE_IDX=12;Ee.BITS_FOR_ALT_IDX=8;Ee.OR_IDX=1<{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.LooksAhead=void 0;var wn=Ca(),Mr=ve(),nO=Jt(),An=fl(),zi=Aa(),Aj=function(){function e(){}return e.prototype.initLooksAhead=function(t){this.dynamicTokensEnabled=(0,Mr.has)(t,"dynamicTokensEnabled")?t.dynamicTokensEnabled:nO.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,Mr.has)(t,"maxLookahead")?t.maxLookahead:nO.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,Mr.isES2015MapSupported)()?new Map:[],(0,Mr.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},e.prototype.preComputeLookaheadFunctions=function(t){var r=this;(0,Mr.forEach)(t,function(n){r.TRACE_INIT(n.name+" Rule Lookahead",function(){var i=(0,zi.collectMethods)(n),s=i.alternation,o=i.repetition,a=i.option,u=i.repetitionMandatory,c=i.repetitionMandatoryWithSeparator,f=i.repetitionWithSeparator;(0,Mr.forEach)(s,function(l){var p=l.idx===0?"":l.idx;r.TRACE_INIT(""+(0,zi.getProductionDslName)(l)+p,function(){var m=(0,wn.buildLookaheadFuncForOr)(l.idx,n,l.maxLookahead||r.maxLookahead,l.hasPredicates,r.dynamicTokensEnabled,r.lookAheadBuilderForAlternatives),h=(0,An.getKeyForAutomaticLookahead)(r.fullRuleNameToShort[n.name],An.OR_IDX,l.idx);r.setLaFuncCache(h,m)})}),(0,Mr.forEach)(o,function(l){r.computeLookaheadFunc(n,l.idx,An.MANY_IDX,wn.PROD_TYPE.REPETITION,l.maxLookahead,(0,zi.getProductionDslName)(l))}),(0,Mr.forEach)(a,function(l){r.computeLookaheadFunc(n,l.idx,An.OPTION_IDX,wn.PROD_TYPE.OPTION,l.maxLookahead,(0,zi.getProductionDslName)(l))}),(0,Mr.forEach)(u,function(l){r.computeLookaheadFunc(n,l.idx,An.AT_LEAST_ONE_IDX,wn.PROD_TYPE.REPETITION_MANDATORY,l.maxLookahead,(0,zi.getProductionDslName)(l))}),(0,Mr.forEach)(c,function(l){r.computeLookaheadFunc(n,l.idx,An.AT_LEAST_ONE_SEP_IDX,wn.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,l.maxLookahead,(0,zi.getProductionDslName)(l))}),(0,Mr.forEach)(f,function(l){r.computeLookaheadFunc(n,l.idx,An.MANY_SEP_IDX,wn.PROD_TYPE.REPETITION_WITH_SEPARATOR,l.maxLookahead,(0,zi.getProductionDslName)(l))})})})},e.prototype.computeLookaheadFunc=function(t,r,n,i,s,o){var a=this;this.TRACE_INIT(""+o+(r===0?"":r),function(){var u=(0,wn.buildLookaheadFuncForOptionalProd)(r,t,s||a.maxLookahead,a.dynamicTokensEnabled,i,a.lookAheadBuilderForOptional),c=(0,An.getKeyForAutomaticLookahead)(a.fullRuleNameToShort[t.name],n,r);a.setLaFuncCache(c,u)})},e.prototype.lookAheadBuilderForOptional=function(t,r,n){return(0,wn.buildSingleAlternativeLookaheadFunction)(t,r,n)},e.prototype.lookAheadBuilderForAlternatives=function(t,r,n,i){return(0,wn.buildAlternativesLookAheadFunc)(t,r,n,i)},e.prototype.getKeyForAutomaticLookahead=function(t,r){var n=this.getLastExplicitRuleShortName();return(0,An.getKeyForAutomaticLookahead)(n,t,r)},e.prototype.getLaFuncFromCache=function(t){},e.prototype.getLaFuncFromMap=function(t){return this.lookAheadFuncsCache.get(t)},e.prototype.getLaFuncFromObj=function(t){return this.lookAheadFuncsCache[t]},e.prototype.setLaFuncCache=function(t,r){},e.prototype.setLaFuncCacheUsingMap=function(t,r){this.lookAheadFuncsCache.set(t,r)},e.prototype.setLaFuncUsingObj=function(t,r){this.lookAheadFuncsCache[t]=r},e}();pl.LooksAhead=Aj});var sO=d(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.addNoneTerminalToCst=en.addTerminalToCst=en.setNodeLocationFull=en.setNodeLocationOnlyOffset=void 0;function Rj(e,t){isNaN(e.startOffset)===!0?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.defineNameProp=ti.functionName=ti.classNameFromInstance=void 0;var kj=ve();function Ij(e){return aO(e.constructor)}ti.classNameFromInstance=Ij;var oO="name";function aO(e){var t=e.name;return t||"anonymous"}ti.functionName=aO;function Lj(e,t){var r=Object.getOwnPropertyDescriptor(e,oO);return(0,kj.isUndefined)(r)||r.configurable?(Object.defineProperty(e,oO,{enumerable:!1,configurable:!0,writable:!1,value:t}),!0):!1}ti.defineNameProp=Lj});var pO=d(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.validateRedundantMethods=gt.validateMissingCstMethods=gt.validateVisitor=gt.CstVisitorDefinitionError=gt.createBaseVisitorConstructorWithDefaults=gt.createBaseSemanticVisitorConstructor=gt.defaultVisit=void 0;var fr=ve(),La=Yg();function uO(e,t){for(var r=(0,fr.keys)(e),n=r.length,i=0;i: `+(""+s.join(` `).replace(/\n/g,` - `)))}}};return r.prototype=n,r.prototype.constructor=r,r._RULE_NAMES=t,r}or.createBaseSemanticVisitorConstructor=Zte;function ere(e,t,r){var n=function(){};(0,nl.defineNameProp)(n,e+"BaseSemanticsWithDefaults");var i=Object.create(r.prototype);return(0,In.forEach)(t,function(s){i[s]=TN}),n.prototype=i,n.prototype.constructor=n,n}or.createBaseVisitorConstructorWithDefaults=ere;var y_;(function(e){e[e.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",e[e.MISSING_METHOD=1]="MISSING_METHOD"})(y_=or.CstVisitorDefinitionError||(or.CstVisitorDefinitionError={}));function wN(e,t){var r=SN(e,t),n=AN(e,t);return r.concat(n)}or.validateVisitor=wN;function SN(e,t){var r=(0,In.map)(t,function(n){if(!(0,In.isFunction)(e[n]))return{msg:"Missing visitor method: <"+n+"> on "+(0,nl.functionName)(e.constructor)+" CST Visitor.",type:y_.MISSING_METHOD,methodName:n}});return(0,In.compact)(r)}or.validateMissingCstMethods=SN;var tre=["constructor","visit","validateVisitor"];function AN(e,t){var r=[];for(var n in e)(0,In.isFunction)(e[n])&&!(0,In.contains)(tre,n)&&!(0,In.contains)(t,n)&&r.push({msg:"Redundant visitor method: <"+n+"> on "+(0,nl.functionName)(e.constructor)+` CST Visitor + `)))}}};return r.prototype=n,r.prototype.constructor=r,r._RULE_NAMES=t,r}gt.createBaseSemanticVisitorConstructor=Nj;function xj(e,t,r){var n=function(){};(0,La.defineNameProp)(n,e+"BaseSemanticsWithDefaults");var i=Object.create(r.prototype);return(0,fr.forEach)(t,function(s){i[s]=uO}),n.prototype=i,n.prototype.constructor=n,n}gt.createBaseVisitorConstructorWithDefaults=xj;var Xg;(function(e){e[e.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",e[e.MISSING_METHOD=1]="MISSING_METHOD"})(Xg=gt.CstVisitorDefinitionError||(gt.CstVisitorDefinitionError={}));function cO(e,t){var r=lO(e,t),n=fO(e,t);return r.concat(n)}gt.validateVisitor=cO;function lO(e,t){var r=(0,fr.map)(t,function(n){if(!(0,fr.isFunction)(e[n]))return{msg:"Missing visitor method: <"+n+"> on "+(0,La.functionName)(e.constructor)+" CST Visitor.",type:Xg.MISSING_METHOD,methodName:n}});return(0,fr.compact)(r)}gt.validateMissingCstMethods=lO;var Dj=["constructor","visit","validateVisitor"];function fO(e,t){var r=[];for(var n in e)(0,fr.isFunction)(e[n])&&!(0,fr.contains)(Dj,n)&&!(0,fr.contains)(t,n)&&r.push({msg:"Redundant visitor method: <"+n+"> on "+(0,La.functionName)(e.constructor)+` CST Visitor There is no Grammar Rule corresponding to this method's name. -`,type:y_.REDUNDANT_METHOD,methodName:n});return r}or.validateRedundantMethods=AN});var ON=_(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.TreeBuilder=void 0;var mu=_N(),Ht=ze(),PN=RN(),rre=un(),nre=function(){function e(){}return e.prototype.initTreeBuilder=function(t){if(this.CST_STACK=[],this.outputCst=t.outputCst,this.nodeLocationTracking=(0,Ht.has)(t,"nodeLocationTracking")?t.nodeLocationTracking:rre.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=Ht.NOOP,this.cstFinallyStateUpdate=Ht.NOOP,this.cstPostTerminal=Ht.NOOP,this.cstPostNonTerminal=Ht.NOOP,this.cstPostRule=Ht.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=mu.setNodeLocationFull,this.setNodeLocationFromNode=mu.setNodeLocationFull,this.cstPostRule=Ht.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=Ht.NOOP,this.setNodeLocationFromNode=Ht.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=mu.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=mu.setNodeLocationOnlyOffset,this.cstPostRule=Ht.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=Ht.NOOP,this.setNodeLocationFromNode=Ht.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=Ht.NOOP,this.setNodeLocationFromNode=Ht.NOOP,this.cstPostRule=Ht.NOOP,this.setInitialNodeLocation=Ht.NOOP;else throw Error('Invalid config option: "'+t.nodeLocationTracking+'"')},e.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(t){t.location={startOffset:NaN,endOffset:NaN}},e.prototype.setInitialNodeLocationOnlyOffsetRegular=function(t){t.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},e.prototype.setInitialNodeLocationFullRecovery=function(t){t.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.setInitialNodeLocationFullRegular=function(t){var r=this.LA(1);t.location={startOffset:r.startOffset,startLine:r.startLine,startColumn:r.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.cstInvocationStateUpdate=function(t,r){var n={name:t,children:{}};this.setInitialNodeLocation(n),this.CST_STACK.push(n)},e.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},e.prototype.cstPostRuleFull=function(t){var r=this.LA(0),n=t.location;n.startOffset<=r.startOffset?(n.endOffset=r.endOffset,n.endLine=r.endLine,n.endColumn=r.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)},e.prototype.cstPostRuleOnlyOffset=function(t){var r=this.LA(0),n=t.location;n.startOffset<=r.startOffset?n.endOffset=r.endOffset:n.startOffset=NaN},e.prototype.cstPostTerminal=function(t,r){var n=this.CST_STACK[this.CST_STACK.length-1];(0,mu.addTerminalToCst)(n,r,t),this.setNodeLocationFromToken(n.location,r)},e.prototype.cstPostNonTerminal=function(t,r){var n=this.CST_STACK[this.CST_STACK.length-1];(0,mu.addNoneTerminalToCst)(n,r,t),this.setNodeLocationFromNode(n.location,t.location)},e.prototype.getBaseCstVisitorConstructor=function(){if((0,Ht.isUndefined)(this.baseCstVisitorConstructor)){var t=(0,PN.createBaseSemanticVisitorConstructor)(this.className,(0,Ht.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=t,t}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,Ht.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var t=(0,PN.createBaseVisitorConstructorWithDefaults)(this.className,(0,Ht.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=t,t}return this.baseCstVisitorWithDefaultsConstructor},e.prototype.getLastExplicitRuleShortName=function(){var t=this.RULE_STACK;return t[t.length-1]},e.prototype.getPreviousExplicitRuleShortName=function(){var t=this.RULE_STACK;return t[t.length-2]},e.prototype.getLastExplicitRuleOccurrenceIndex=function(){var t=this.RULE_OCCURRENCE_STACK;return t[t.length-1]},e}();Sh.TreeBuilder=nre});var kN=_(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.LexerAdapter=void 0;var CN=un(),ire=function(){function e(){}return e.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(e.prototype,"input",{get:function(){return this.tokVector},set:function(t){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=t,this.tokVectorLength=t.length},enumerable:!1,configurable:!0}),e.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):CN.END_OF_FILE},e.prototype.LA=function(t){var r=this.currIdx+t;return r<0||this.tokVectorLength<=r?CN.END_OF_FILE:this.tokVector[r]},e.prototype.consumeToken=function(){this.currIdx++},e.prototype.exportLexerState=function(){return this.currIdx},e.prototype.importLexerState=function(t){this.currIdx=t},e.prototype.resetLexerState=function(){this.currIdx=-1},e.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},e.prototype.getLexerPosition=function(){return this.exportLexerState()},e}();Ah.LexerAdapter=ire});var LN=_(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.RecognizerApi=void 0;var IN=ze(),sre=gu(),__=un(),ore=Jc(),are=h_(),ure=Gr(),cre=function(){function e(){}return e.prototype.ACTION=function(t){return t.call(this)},e.prototype.consume=function(t,r,n){return this.consumeInternal(r,t,n)},e.prototype.subrule=function(t,r,n){return this.subruleInternal(r,t,n)},e.prototype.option=function(t,r){return this.optionInternal(r,t)},e.prototype.or=function(t,r){return this.orInternal(r,t)},e.prototype.many=function(t,r){return this.manyInternal(t,r)},e.prototype.atLeastOne=function(t,r){return this.atLeastOneInternal(t,r)},e.prototype.CONSUME=function(t,r){return this.consumeInternal(t,0,r)},e.prototype.CONSUME1=function(t,r){return this.consumeInternal(t,1,r)},e.prototype.CONSUME2=function(t,r){return this.consumeInternal(t,2,r)},e.prototype.CONSUME3=function(t,r){return this.consumeInternal(t,3,r)},e.prototype.CONSUME4=function(t,r){return this.consumeInternal(t,4,r)},e.prototype.CONSUME5=function(t,r){return this.consumeInternal(t,5,r)},e.prototype.CONSUME6=function(t,r){return this.consumeInternal(t,6,r)},e.prototype.CONSUME7=function(t,r){return this.consumeInternal(t,7,r)},e.prototype.CONSUME8=function(t,r){return this.consumeInternal(t,8,r)},e.prototype.CONSUME9=function(t,r){return this.consumeInternal(t,9,r)},e.prototype.SUBRULE=function(t,r){return this.subruleInternal(t,0,r)},e.prototype.SUBRULE1=function(t,r){return this.subruleInternal(t,1,r)},e.prototype.SUBRULE2=function(t,r){return this.subruleInternal(t,2,r)},e.prototype.SUBRULE3=function(t,r){return this.subruleInternal(t,3,r)},e.prototype.SUBRULE4=function(t,r){return this.subruleInternal(t,4,r)},e.prototype.SUBRULE5=function(t,r){return this.subruleInternal(t,5,r)},e.prototype.SUBRULE6=function(t,r){return this.subruleInternal(t,6,r)},e.prototype.SUBRULE7=function(t,r){return this.subruleInternal(t,7,r)},e.prototype.SUBRULE8=function(t,r){return this.subruleInternal(t,8,r)},e.prototype.SUBRULE9=function(t,r){return this.subruleInternal(t,9,r)},e.prototype.OPTION=function(t){return this.optionInternal(t,0)},e.prototype.OPTION1=function(t){return this.optionInternal(t,1)},e.prototype.OPTION2=function(t){return this.optionInternal(t,2)},e.prototype.OPTION3=function(t){return this.optionInternal(t,3)},e.prototype.OPTION4=function(t){return this.optionInternal(t,4)},e.prototype.OPTION5=function(t){return this.optionInternal(t,5)},e.prototype.OPTION6=function(t){return this.optionInternal(t,6)},e.prototype.OPTION7=function(t){return this.optionInternal(t,7)},e.prototype.OPTION8=function(t){return this.optionInternal(t,8)},e.prototype.OPTION9=function(t){return this.optionInternal(t,9)},e.prototype.OR=function(t){return this.orInternal(t,0)},e.prototype.OR1=function(t){return this.orInternal(t,1)},e.prototype.OR2=function(t){return this.orInternal(t,2)},e.prototype.OR3=function(t){return this.orInternal(t,3)},e.prototype.OR4=function(t){return this.orInternal(t,4)},e.prototype.OR5=function(t){return this.orInternal(t,5)},e.prototype.OR6=function(t){return this.orInternal(t,6)},e.prototype.OR7=function(t){return this.orInternal(t,7)},e.prototype.OR8=function(t){return this.orInternal(t,8)},e.prototype.OR9=function(t){return this.orInternal(t,9)},e.prototype.MANY=function(t){this.manyInternal(0,t)},e.prototype.MANY1=function(t){this.manyInternal(1,t)},e.prototype.MANY2=function(t){this.manyInternal(2,t)},e.prototype.MANY3=function(t){this.manyInternal(3,t)},e.prototype.MANY4=function(t){this.manyInternal(4,t)},e.prototype.MANY5=function(t){this.manyInternal(5,t)},e.prototype.MANY6=function(t){this.manyInternal(6,t)},e.prototype.MANY7=function(t){this.manyInternal(7,t)},e.prototype.MANY8=function(t){this.manyInternal(8,t)},e.prototype.MANY9=function(t){this.manyInternal(9,t)},e.prototype.MANY_SEP=function(t){this.manySepFirstInternal(0,t)},e.prototype.MANY_SEP1=function(t){this.manySepFirstInternal(1,t)},e.prototype.MANY_SEP2=function(t){this.manySepFirstInternal(2,t)},e.prototype.MANY_SEP3=function(t){this.manySepFirstInternal(3,t)},e.prototype.MANY_SEP4=function(t){this.manySepFirstInternal(4,t)},e.prototype.MANY_SEP5=function(t){this.manySepFirstInternal(5,t)},e.prototype.MANY_SEP6=function(t){this.manySepFirstInternal(6,t)},e.prototype.MANY_SEP7=function(t){this.manySepFirstInternal(7,t)},e.prototype.MANY_SEP8=function(t){this.manySepFirstInternal(8,t)},e.prototype.MANY_SEP9=function(t){this.manySepFirstInternal(9,t)},e.prototype.AT_LEAST_ONE=function(t){this.atLeastOneInternal(0,t)},e.prototype.AT_LEAST_ONE1=function(t){return this.atLeastOneInternal(1,t)},e.prototype.AT_LEAST_ONE2=function(t){this.atLeastOneInternal(2,t)},e.prototype.AT_LEAST_ONE3=function(t){this.atLeastOneInternal(3,t)},e.prototype.AT_LEAST_ONE4=function(t){this.atLeastOneInternal(4,t)},e.prototype.AT_LEAST_ONE5=function(t){this.atLeastOneInternal(5,t)},e.prototype.AT_LEAST_ONE6=function(t){this.atLeastOneInternal(6,t)},e.prototype.AT_LEAST_ONE7=function(t){this.atLeastOneInternal(7,t)},e.prototype.AT_LEAST_ONE8=function(t){this.atLeastOneInternal(8,t)},e.prototype.AT_LEAST_ONE9=function(t){this.atLeastOneInternal(9,t)},e.prototype.AT_LEAST_ONE_SEP=function(t){this.atLeastOneSepFirstInternal(0,t)},e.prototype.AT_LEAST_ONE_SEP1=function(t){this.atLeastOneSepFirstInternal(1,t)},e.prototype.AT_LEAST_ONE_SEP2=function(t){this.atLeastOneSepFirstInternal(2,t)},e.prototype.AT_LEAST_ONE_SEP3=function(t){this.atLeastOneSepFirstInternal(3,t)},e.prototype.AT_LEAST_ONE_SEP4=function(t){this.atLeastOneSepFirstInternal(4,t)},e.prototype.AT_LEAST_ONE_SEP5=function(t){this.atLeastOneSepFirstInternal(5,t)},e.prototype.AT_LEAST_ONE_SEP6=function(t){this.atLeastOneSepFirstInternal(6,t)},e.prototype.AT_LEAST_ONE_SEP7=function(t){this.atLeastOneSepFirstInternal(7,t)},e.prototype.AT_LEAST_ONE_SEP8=function(t){this.atLeastOneSepFirstInternal(8,t)},e.prototype.AT_LEAST_ONE_SEP9=function(t){this.atLeastOneSepFirstInternal(9,t)},e.prototype.RULE=function(t,r,n){if(n===void 0&&(n=__.DEFAULT_RULE_CONFIG),(0,IN.contains)(this.definedRulesNames,t)){var i=ore.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:t,grammarName:this.className}),s={message:i,type:__.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:t};this.definitionErrors.push(s)}this.definedRulesNames.push(t);var o=this.defineRule(t,r,n);return this[t]=o,o},e.prototype.OVERRIDE_RULE=function(t,r,n){n===void 0&&(n=__.DEFAULT_RULE_CONFIG);var i=[];i=i.concat((0,are.validateRuleIsOverridden)(t,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(i);var s=this.defineRule(t,r,n);return this[t]=s,s},e.prototype.BACKTRACK=function(t,r){return function(){this.isBackTrackingStack.push(1);var n=this.saveRecogState();try{return t.apply(this,r),!0}catch(i){if((0,sre.isRecognitionException)(i))return!1;throw i}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}},e.prototype.getGAstProductions=function(){return this.gastProductionsCache},e.prototype.getSerializedGastProductions=function(){return(0,ure.serializeGrammar)((0,IN.values)(this.gastProductionsCache))},e}();Rh.RecognizerApi=cre});var MN=_(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.RecognizerEngine=void 0;var Rt=ze(),cn=Th(),Ph=gu(),xN=el(),vu=Zc(),NN=un(),lre=m_(),DN=Ks(),il=lu(),fre=v_(),pre=function(){function e(){}return e.prototype.initRecognizerEngine=function(t,r){if(this.className=(0,fre.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=il.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,Rt.has)(r,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. +`,type:Xg.REDUNDANT_METHOD,methodName:n});return r}gt.validateRedundantMethods=fO});var dO=d(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.TreeBuilder=void 0;var no=sO(),tt=ve(),hO=pO(),Mj=Jt(),Fj=function(){function e(){}return e.prototype.initTreeBuilder=function(t){if(this.CST_STACK=[],this.outputCst=t.outputCst,this.nodeLocationTracking=(0,tt.has)(t,"nodeLocationTracking")?t.nodeLocationTracking:Mj.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=tt.NOOP,this.cstFinallyStateUpdate=tt.NOOP,this.cstPostTerminal=tt.NOOP,this.cstPostNonTerminal=tt.NOOP,this.cstPostRule=tt.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=no.setNodeLocationFull,this.setNodeLocationFromNode=no.setNodeLocationFull,this.cstPostRule=tt.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=tt.NOOP,this.setNodeLocationFromNode=tt.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=no.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=no.setNodeLocationOnlyOffset,this.cstPostRule=tt.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=tt.NOOP,this.setNodeLocationFromNode=tt.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=tt.NOOP,this.setNodeLocationFromNode=tt.NOOP,this.cstPostRule=tt.NOOP,this.setInitialNodeLocation=tt.NOOP;else throw Error('Invalid config option: "'+t.nodeLocationTracking+'"')},e.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(t){t.location={startOffset:NaN,endOffset:NaN}},e.prototype.setInitialNodeLocationOnlyOffsetRegular=function(t){t.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},e.prototype.setInitialNodeLocationFullRecovery=function(t){t.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.setInitialNodeLocationFullRegular=function(t){var r=this.LA(1);t.location={startOffset:r.startOffset,startLine:r.startLine,startColumn:r.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.cstInvocationStateUpdate=function(t,r){var n={name:t,children:{}};this.setInitialNodeLocation(n),this.CST_STACK.push(n)},e.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},e.prototype.cstPostRuleFull=function(t){var r=this.LA(0),n=t.location;n.startOffset<=r.startOffset?(n.endOffset=r.endOffset,n.endLine=r.endLine,n.endColumn=r.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)},e.prototype.cstPostRuleOnlyOffset=function(t){var r=this.LA(0),n=t.location;n.startOffset<=r.startOffset?n.endOffset=r.endOffset:n.startOffset=NaN},e.prototype.cstPostTerminal=function(t,r){var n=this.CST_STACK[this.CST_STACK.length-1];(0,no.addTerminalToCst)(n,r,t),this.setNodeLocationFromToken(n.location,r)},e.prototype.cstPostNonTerminal=function(t,r){var n=this.CST_STACK[this.CST_STACK.length-1];(0,no.addNoneTerminalToCst)(n,r,t),this.setNodeLocationFromNode(n.location,t.location)},e.prototype.getBaseCstVisitorConstructor=function(){if((0,tt.isUndefined)(this.baseCstVisitorConstructor)){var t=(0,hO.createBaseSemanticVisitorConstructor)(this.className,(0,tt.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=t,t}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,tt.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var t=(0,hO.createBaseVisitorConstructorWithDefaults)(this.className,(0,tt.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=t,t}return this.baseCstVisitorWithDefaultsConstructor},e.prototype.getLastExplicitRuleShortName=function(){var t=this.RULE_STACK;return t[t.length-1]},e.prototype.getPreviousExplicitRuleShortName=function(){var t=this.RULE_STACK;return t[t.length-2]},e.prototype.getLastExplicitRuleOccurrenceIndex=function(){var t=this.RULE_OCCURRENCE_STACK;return t[t.length-1]},e}();hl.TreeBuilder=Fj});var mO=d(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.LexerAdapter=void 0;var gO=Jt(),Gj=function(){function e(){}return e.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(e.prototype,"input",{get:function(){return this.tokVector},set:function(t){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=t,this.tokVectorLength=t.length},enumerable:!1,configurable:!0}),e.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):gO.END_OF_FILE},e.prototype.LA=function(t){var r=this.currIdx+t;return r<0||this.tokVectorLength<=r?gO.END_OF_FILE:this.tokVector[r]},e.prototype.consumeToken=function(){this.currIdx++},e.prototype.exportLexerState=function(){return this.currIdx},e.prototype.importLexerState=function(t){this.currIdx=t},e.prototype.resetLexerState=function(){this.currIdx=-1},e.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},e.prototype.getLexerPosition=function(){return this.exportLexerState()},e}();dl.LexerAdapter=Gj});var yO=d(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.RecognizerApi=void 0;var vO=ve(),Uj=ro(),Qg=Jt(),Bj=Ra(),qj=Wg(),jj=Ft(),Hj=function(){function e(){}return e.prototype.ACTION=function(t){return t.call(this)},e.prototype.consume=function(t,r,n){return this.consumeInternal(r,t,n)},e.prototype.subrule=function(t,r,n){return this.subruleInternal(r,t,n)},e.prototype.option=function(t,r){return this.optionInternal(r,t)},e.prototype.or=function(t,r){return this.orInternal(r,t)},e.prototype.many=function(t,r){return this.manyInternal(t,r)},e.prototype.atLeastOne=function(t,r){return this.atLeastOneInternal(t,r)},e.prototype.CONSUME=function(t,r){return this.consumeInternal(t,0,r)},e.prototype.CONSUME1=function(t,r){return this.consumeInternal(t,1,r)},e.prototype.CONSUME2=function(t,r){return this.consumeInternal(t,2,r)},e.prototype.CONSUME3=function(t,r){return this.consumeInternal(t,3,r)},e.prototype.CONSUME4=function(t,r){return this.consumeInternal(t,4,r)},e.prototype.CONSUME5=function(t,r){return this.consumeInternal(t,5,r)},e.prototype.CONSUME6=function(t,r){return this.consumeInternal(t,6,r)},e.prototype.CONSUME7=function(t,r){return this.consumeInternal(t,7,r)},e.prototype.CONSUME8=function(t,r){return this.consumeInternal(t,8,r)},e.prototype.CONSUME9=function(t,r){return this.consumeInternal(t,9,r)},e.prototype.SUBRULE=function(t,r){return this.subruleInternal(t,0,r)},e.prototype.SUBRULE1=function(t,r){return this.subruleInternal(t,1,r)},e.prototype.SUBRULE2=function(t,r){return this.subruleInternal(t,2,r)},e.prototype.SUBRULE3=function(t,r){return this.subruleInternal(t,3,r)},e.prototype.SUBRULE4=function(t,r){return this.subruleInternal(t,4,r)},e.prototype.SUBRULE5=function(t,r){return this.subruleInternal(t,5,r)},e.prototype.SUBRULE6=function(t,r){return this.subruleInternal(t,6,r)},e.prototype.SUBRULE7=function(t,r){return this.subruleInternal(t,7,r)},e.prototype.SUBRULE8=function(t,r){return this.subruleInternal(t,8,r)},e.prototype.SUBRULE9=function(t,r){return this.subruleInternal(t,9,r)},e.prototype.OPTION=function(t){return this.optionInternal(t,0)},e.prototype.OPTION1=function(t){return this.optionInternal(t,1)},e.prototype.OPTION2=function(t){return this.optionInternal(t,2)},e.prototype.OPTION3=function(t){return this.optionInternal(t,3)},e.prototype.OPTION4=function(t){return this.optionInternal(t,4)},e.prototype.OPTION5=function(t){return this.optionInternal(t,5)},e.prototype.OPTION6=function(t){return this.optionInternal(t,6)},e.prototype.OPTION7=function(t){return this.optionInternal(t,7)},e.prototype.OPTION8=function(t){return this.optionInternal(t,8)},e.prototype.OPTION9=function(t){return this.optionInternal(t,9)},e.prototype.OR=function(t){return this.orInternal(t,0)},e.prototype.OR1=function(t){return this.orInternal(t,1)},e.prototype.OR2=function(t){return this.orInternal(t,2)},e.prototype.OR3=function(t){return this.orInternal(t,3)},e.prototype.OR4=function(t){return this.orInternal(t,4)},e.prototype.OR5=function(t){return this.orInternal(t,5)},e.prototype.OR6=function(t){return this.orInternal(t,6)},e.prototype.OR7=function(t){return this.orInternal(t,7)},e.prototype.OR8=function(t){return this.orInternal(t,8)},e.prototype.OR9=function(t){return this.orInternal(t,9)},e.prototype.MANY=function(t){this.manyInternal(0,t)},e.prototype.MANY1=function(t){this.manyInternal(1,t)},e.prototype.MANY2=function(t){this.manyInternal(2,t)},e.prototype.MANY3=function(t){this.manyInternal(3,t)},e.prototype.MANY4=function(t){this.manyInternal(4,t)},e.prototype.MANY5=function(t){this.manyInternal(5,t)},e.prototype.MANY6=function(t){this.manyInternal(6,t)},e.prototype.MANY7=function(t){this.manyInternal(7,t)},e.prototype.MANY8=function(t){this.manyInternal(8,t)},e.prototype.MANY9=function(t){this.manyInternal(9,t)},e.prototype.MANY_SEP=function(t){this.manySepFirstInternal(0,t)},e.prototype.MANY_SEP1=function(t){this.manySepFirstInternal(1,t)},e.prototype.MANY_SEP2=function(t){this.manySepFirstInternal(2,t)},e.prototype.MANY_SEP3=function(t){this.manySepFirstInternal(3,t)},e.prototype.MANY_SEP4=function(t){this.manySepFirstInternal(4,t)},e.prototype.MANY_SEP5=function(t){this.manySepFirstInternal(5,t)},e.prototype.MANY_SEP6=function(t){this.manySepFirstInternal(6,t)},e.prototype.MANY_SEP7=function(t){this.manySepFirstInternal(7,t)},e.prototype.MANY_SEP8=function(t){this.manySepFirstInternal(8,t)},e.prototype.MANY_SEP9=function(t){this.manySepFirstInternal(9,t)},e.prototype.AT_LEAST_ONE=function(t){this.atLeastOneInternal(0,t)},e.prototype.AT_LEAST_ONE1=function(t){return this.atLeastOneInternal(1,t)},e.prototype.AT_LEAST_ONE2=function(t){this.atLeastOneInternal(2,t)},e.prototype.AT_LEAST_ONE3=function(t){this.atLeastOneInternal(3,t)},e.prototype.AT_LEAST_ONE4=function(t){this.atLeastOneInternal(4,t)},e.prototype.AT_LEAST_ONE5=function(t){this.atLeastOneInternal(5,t)},e.prototype.AT_LEAST_ONE6=function(t){this.atLeastOneInternal(6,t)},e.prototype.AT_LEAST_ONE7=function(t){this.atLeastOneInternal(7,t)},e.prototype.AT_LEAST_ONE8=function(t){this.atLeastOneInternal(8,t)},e.prototype.AT_LEAST_ONE9=function(t){this.atLeastOneInternal(9,t)},e.prototype.AT_LEAST_ONE_SEP=function(t){this.atLeastOneSepFirstInternal(0,t)},e.prototype.AT_LEAST_ONE_SEP1=function(t){this.atLeastOneSepFirstInternal(1,t)},e.prototype.AT_LEAST_ONE_SEP2=function(t){this.atLeastOneSepFirstInternal(2,t)},e.prototype.AT_LEAST_ONE_SEP3=function(t){this.atLeastOneSepFirstInternal(3,t)},e.prototype.AT_LEAST_ONE_SEP4=function(t){this.atLeastOneSepFirstInternal(4,t)},e.prototype.AT_LEAST_ONE_SEP5=function(t){this.atLeastOneSepFirstInternal(5,t)},e.prototype.AT_LEAST_ONE_SEP6=function(t){this.atLeastOneSepFirstInternal(6,t)},e.prototype.AT_LEAST_ONE_SEP7=function(t){this.atLeastOneSepFirstInternal(7,t)},e.prototype.AT_LEAST_ONE_SEP8=function(t){this.atLeastOneSepFirstInternal(8,t)},e.prototype.AT_LEAST_ONE_SEP9=function(t){this.atLeastOneSepFirstInternal(9,t)},e.prototype.RULE=function(t,r,n){if(n===void 0&&(n=Qg.DEFAULT_RULE_CONFIG),(0,vO.contains)(this.definedRulesNames,t)){var i=Bj.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:t,grammarName:this.className}),s={message:i,type:Qg.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:t};this.definitionErrors.push(s)}this.definedRulesNames.push(t);var o=this.defineRule(t,r,n);return this[t]=o,o},e.prototype.OVERRIDE_RULE=function(t,r,n){n===void 0&&(n=Qg.DEFAULT_RULE_CONFIG);var i=[];i=i.concat((0,qj.validateRuleIsOverridden)(t,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(i);var s=this.defineRule(t,r,n);return this[t]=s,s},e.prototype.BACKTRACK=function(t,r){return function(){this.isBackTrackingStack.push(1);var n=this.saveRecogState();try{return t.apply(this,r),!0}catch(i){if((0,Uj.isRecognitionException)(i))return!1;throw i}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}},e.prototype.getGAstProductions=function(){return this.gastProductionsCache},e.prototype.getSerializedGastProductions=function(){return(0,jj.serializeGrammar)((0,vO.values)(this.gastProductionsCache))},e}();gl.RecognizerApi=Hj});var TO=d(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.RecognizerEngine=void 0;var $e=ve(),Zt=fl(),ml=ro(),EO=Ca(),io=Oa(),_O=Jt(),$j=zg(),bO=Jn(),Na=Qs(),Wj=Yg(),Vj=function(){function e(){}return e.prototype.initRecognizerEngine=function(t,r){if(this.className=(0,Wj.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Na.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,$e.has)(r,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 - For Further details.`);if((0,Rt.isArray)(t)){if((0,Rt.isEmpty)(t))throw Error(`A Token Vocabulary cannot be empty. + For Further details.`);if((0,$e.isArray)(t)){if((0,$e.isEmpty)(t))throw Error(`A Token Vocabulary cannot be empty. Note that the first argument for the parser constructor is no longer a Token vector (since v4.0).`);if(typeof t[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if((0,Rt.isArray)(t))this.tokensMap=(0,Rt.reduce)(t,function(o,c){return o[c.name]=c,o},{});else if((0,Rt.has)(t,"modes")&&(0,Rt.every)((0,Rt.flatten)((0,Rt.values)(t.modes)),il.isTokenType)){var n=(0,Rt.flatten)((0,Rt.values)(t.modes)),i=(0,Rt.uniq)(n);this.tokensMap=(0,Rt.reduce)(i,function(o,c){return o[c.name]=c,o},{})}else if((0,Rt.isObject)(t))this.tokensMap=(0,Rt.cloneObj)(t);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=DN.EOF;var s=(0,Rt.every)((0,Rt.values)(t),function(o){return(0,Rt.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?il.tokenStructuredMatcherNoCategories:il.tokenStructuredMatcher,(0,il.augmentTokenTypes)((0,Rt.values)(this.tokensMap))},e.prototype.defineRule=function(t,r,n){if(this.selfAnalysisDone)throw Error("Grammar rule <"+t+`> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var i=(0,Rt.has)(n,"resyncEnabled")?n.resyncEnabled:NN.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,Rt.has)(n,"recoveryValueFunc")?n.recoveryValueFunc:NN.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<r},e.prototype.orInternal=function(t,r){var n=this.getKeyForAutomaticLookahead(cn.OR_IDX,r),i=(0,Rt.isArray)(t)?t:t.DEF,s=this.getLaFuncFromCache(n),o=s.call(this,i);if(o!==void 0){var c=i[o];return c.ALT.call(this)}this.raiseNoAltException(r,t.ERR_MSG)},e.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var t=this.LA(1),r=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:t,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new Ph.NotAllInputParsedException(r,t))}},e.prototype.subruleInternal=function(t,r,n){var i;try{var s=n!==void 0?n.ARGS:void 0;return i=t.call(this,r,s),this.cstPostNonTerminal(i,n!==void 0&&n.LABEL!==void 0?n.LABEL:t.ruleName),i}catch(o){this.subruleInternalError(o,n,t.ruleName)}},e.prototype.subruleInternalError=function(t,r,n){throw(0,Ph.isRecognitionException)(t)&&t.partialCstResult!==void 0&&(this.cstPostNonTerminal(t.partialCstResult,r!==void 0&&r.LABEL!==void 0?r.LABEL:n),delete t.partialCstResult),t},e.prototype.consumeInternal=function(t,r,n){var i;try{var s=this.LA(1);this.tokenMatcher(s,t)===!0?(this.consumeToken(),i=s):this.consumeInternalError(t,s,n)}catch(o){i=this.consumeInternalRecovery(t,r,o)}return this.cstPostTerminal(n!==void 0&&n.LABEL!==void 0?n.LABEL:t.name,i),i},e.prototype.consumeInternalError=function(t,r,n){var i,s=this.LA(0);throw n!==void 0&&n.ERR_MSG?i=n.ERR_MSG:i=this.errorMessageProvider.buildMismatchTokenMessage({expected:t,actual:r,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new Ph.MismatchedTokenException(i,r,s))},e.prototype.consumeInternalRecovery=function(t,r,n){if(this.recoveryEnabled&&n.name==="MismatchedTokenException"&&!this.isBackTracking()){var i=this.getFollowsForInRuleRecovery(t,r);try{return this.tryInRuleRecovery(t,i)}catch(s){throw s.name===lre.IN_RULE_RECOVERY_EXCEPTION?n:s}}else throw n},e.prototype.saveRecogState=function(){var t=this.errors,r=(0,Rt.cloneArr)(this.RULE_STACK);return{errors:t,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}},e.prototype.reloadRecogState=function(t){this.errors=t.errors,this.importLexerState(t.lexerState),this.RULE_STACK=t.RULE_STACK},e.prototype.ruleInvocationStateUpdate=function(t,r,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(t),this.cstInvocationStateUpdate(r,t)},e.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},e.prototype.getCurrRuleFullName=function(){var t=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[t]},e.prototype.shortRuleNameToFullName=function(t){return this.shortRuleNameToFull[t]},e.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),DN.EOF)},e.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},e}();Oh.RecognizerEngine=pre});var GN=_(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.ErrorHandler=void 0;var E_=gu(),b_=ze(),FN=el(),hre=un(),dre=function(){function e(){}return e.prototype.initErrorHandler=function(t){this._errors=[],this.errorMessageProvider=(0,b_.has)(t,"errorMessageProvider")?t.errorMessageProvider:hre.DEFAULT_PARSER_CONFIG.errorMessageProvider},e.prototype.SAVE_ERROR=function(t){if((0,E_.isRecognitionException)(t))return t.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,b_.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(t),t;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(e.prototype,"errors",{get:function(){return(0,b_.cloneArr)(this._errors)},set:function(t){this._errors=t},enumerable:!1,configurable:!0}),e.prototype.raiseEarlyExitException=function(t,r,n){for(var i=this.getCurrRuleFullName(),s=this.getGAstProductions()[i],o=(0,FN.getLookaheadPathsForOptionalProd)(t,s,r,this.maxLookahead),c=o[0],l=[],p=1;p<=this.maxLookahead;p++)l.push(this.LA(p));var d=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:c,actual:l,previous:this.LA(0),customUserDescription:n,ruleName:i});throw this.SAVE_ERROR(new E_.EarlyExitException(d,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(t,r){for(var n=this.getCurrRuleFullName(),i=this.getGAstProductions()[n],s=(0,FN.getLookaheadPathsForOr)(t,i,this.maxLookahead),o=[],c=1;c<=this.maxLookahead;c++)o.push(this.LA(c));var l=this.LA(0),p=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:l,customUserDescription:r,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new E_.NoViableAltException(p,this.LA(1),l))},e}();Ch.ErrorHandler=dre});var qN=_(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.ContentAssist=void 0;var UN=Zc(),BN=ze(),gre=function(){function e(){}return e.prototype.initContentAssist=function(){},e.prototype.computeContentAssist=function(t,r){var n=this.gastProductionsCache[t];if((0,BN.isUndefined)(n))throw Error("Rule ->"+t+"<- does not exist in this grammar.");return(0,UN.nextPossibleTokensAfter)([n],r,this.tokenMatcher,this.maxLookahead)},e.prototype.getNextPossibleTokenTypes=function(t){var r=(0,BN.first)(t.ruleStack),n=this.getGAstProductions(),i=n[r],s=new UN.NextAfterTokenWalker(i,t).startWalking();return s},e}();kh.ContentAssist=gre});var YN=_(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.GastRecorder=void 0;var qr=ze(),ki=Gr(),mre=Vc(),$N=lu(),VN=Ks(),vre=un(),yre=Th(),Lh={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(Lh);var HN=!0,jN=Math.pow(2,yre.BITS_FOR_OCCURRENCE_IDX)-1,KN=(0,VN.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:mre.Lexer.NA});(0,$N.augmentTokenTypes)([KN]);var zN=(0,VN.createTokenInstance)(KN,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(zN);var _re={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},Ere=function(){function e(){}return e.prototype.initGastRecorder=function(t){this.recordingProdStack=[],this.RECORDING_PHASE=!1},e.prototype.enableRecording=function(){var t=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var r=function(i){var s=i>0?i:"";t["CONSUME"+s]=function(o,c){return this.consumeInternalRecord(o,i,c)},t["SUBRULE"+s]=function(o,c){return this.subruleInternalRecord(o,i,c)},t["OPTION"+s]=function(o){return this.optionInternalRecord(o,i)},t["OR"+s]=function(o){return this.orInternalRecord(o,i)},t["MANY"+s]=function(o){this.manyInternalRecord(i,o)},t["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(i,o)},t["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(i,o)},t["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(i,o)}},n=0;n<10;n++)r(n);t.consume=function(i,s,o){return this.consumeInternalRecord(s,i,o)},t.subrule=function(i,s,o){return this.subruleInternalRecord(s,i,o)},t.option=function(i,s){return this.optionInternalRecord(s,i)},t.or=function(i,s){return this.orInternalRecord(s,i)},t.many=function(i,s){this.manyInternalRecord(i,s)},t.atLeastOne=function(i,s){this.atLeastOneInternalRecord(i,s)},t.ACTION=t.ACTION_RECORD,t.BACKTRACK=t.BACKTRACK_RECORD,t.LA=t.LA_RECORD})},e.prototype.disableRecording=function(){var t=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var r=0;r<10;r++){var n=r>0?r:"";delete t["CONSUME"+n],delete t["SUBRULE"+n],delete t["OPTION"+n],delete t["OR"+n],delete t["MANY"+n],delete t["MANY_SEP"+n],delete t["AT_LEAST_ONE"+n],delete t["AT_LEAST_ONE_SEP"+n]}delete t.consume,delete t.subrule,delete t.option,delete t.or,delete t.many,delete t.atLeastOne,delete t.ACTION,delete t.BACKTRACK,delete t.LA})},e.prototype.ACTION_RECORD=function(t){},e.prototype.BACKTRACK_RECORD=function(t,r){return function(){return!0}},e.prototype.LA_RECORD=function(t){return vre.END_OF_FILE},e.prototype.topLevelRuleRecord=function(t,r){try{var n=new ki.Rule({definition:[],name:t});return n.name=t,this.recordingProdStack.push(n),r.call(this),this.recordingProdStack.pop(),n}catch(i){if(i.KNOWN_RECORDER_ERROR!==!0)try{i.message=i.message+` + For Further details.`)}if((0,$e.isArray)(t))this.tokensMap=(0,$e.reduce)(t,function(o,a){return o[a.name]=a,o},{});else if((0,$e.has)(t,"modes")&&(0,$e.every)((0,$e.flatten)((0,$e.values)(t.modes)),Na.isTokenType)){var n=(0,$e.flatten)((0,$e.values)(t.modes)),i=(0,$e.uniq)(n);this.tokensMap=(0,$e.reduce)(i,function(o,a){return o[a.name]=a,o},{})}else if((0,$e.isObject)(t))this.tokensMap=(0,$e.cloneObj)(t);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=bO.EOF;var s=(0,$e.every)((0,$e.values)(t),function(o){return(0,$e.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?Na.tokenStructuredMatcherNoCategories:Na.tokenStructuredMatcher,(0,Na.augmentTokenTypes)((0,$e.values)(this.tokensMap))},e.prototype.defineRule=function(t,r,n){if(this.selfAnalysisDone)throw Error("Grammar rule <"+t+`> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var i=(0,$e.has)(n,"resyncEnabled")?n.resyncEnabled:_O.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,$e.has)(n,"recoveryValueFunc")?n.recoveryValueFunc:_O.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<r},e.prototype.orInternal=function(t,r){var n=this.getKeyForAutomaticLookahead(Zt.OR_IDX,r),i=(0,$e.isArray)(t)?t:t.DEF,s=this.getLaFuncFromCache(n),o=s.call(this,i);if(o!==void 0){var a=i[o];return a.ALT.call(this)}this.raiseNoAltException(r,t.ERR_MSG)},e.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var t=this.LA(1),r=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:t,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new ml.NotAllInputParsedException(r,t))}},e.prototype.subruleInternal=function(t,r,n){var i;try{var s=n!==void 0?n.ARGS:void 0;return i=t.call(this,r,s),this.cstPostNonTerminal(i,n!==void 0&&n.LABEL!==void 0?n.LABEL:t.ruleName),i}catch(o){this.subruleInternalError(o,n,t.ruleName)}},e.prototype.subruleInternalError=function(t,r,n){throw(0,ml.isRecognitionException)(t)&&t.partialCstResult!==void 0&&(this.cstPostNonTerminal(t.partialCstResult,r!==void 0&&r.LABEL!==void 0?r.LABEL:n),delete t.partialCstResult),t},e.prototype.consumeInternal=function(t,r,n){var i;try{var s=this.LA(1);this.tokenMatcher(s,t)===!0?(this.consumeToken(),i=s):this.consumeInternalError(t,s,n)}catch(o){i=this.consumeInternalRecovery(t,r,o)}return this.cstPostTerminal(n!==void 0&&n.LABEL!==void 0?n.LABEL:t.name,i),i},e.prototype.consumeInternalError=function(t,r,n){var i,s=this.LA(0);throw n!==void 0&&n.ERR_MSG?i=n.ERR_MSG:i=this.errorMessageProvider.buildMismatchTokenMessage({expected:t,actual:r,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new ml.MismatchedTokenException(i,r,s))},e.prototype.consumeInternalRecovery=function(t,r,n){if(this.recoveryEnabled&&n.name==="MismatchedTokenException"&&!this.isBackTracking()){var i=this.getFollowsForInRuleRecovery(t,r);try{return this.tryInRuleRecovery(t,i)}catch(s){throw s.name===$j.IN_RULE_RECOVERY_EXCEPTION?n:s}}else throw n},e.prototype.saveRecogState=function(){var t=this.errors,r=(0,$e.cloneArr)(this.RULE_STACK);return{errors:t,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}},e.prototype.reloadRecogState=function(t){this.errors=t.errors,this.importLexerState(t.lexerState),this.RULE_STACK=t.RULE_STACK},e.prototype.ruleInvocationStateUpdate=function(t,r,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(t),this.cstInvocationStateUpdate(r,t)},e.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},e.prototype.getCurrRuleFullName=function(){var t=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[t]},e.prototype.shortRuleNameToFullName=function(t){return this.shortRuleNameToFull[t]},e.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),bO.EOF)},e.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},e}();vl.RecognizerEngine=Vj});var wO=d(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.ErrorHandler=void 0;var Jg=ro(),Zg=ve(),SO=Ca(),Kj=Jt(),zj=function(){function e(){}return e.prototype.initErrorHandler=function(t){this._errors=[],this.errorMessageProvider=(0,Zg.has)(t,"errorMessageProvider")?t.errorMessageProvider:Kj.DEFAULT_PARSER_CONFIG.errorMessageProvider},e.prototype.SAVE_ERROR=function(t){if((0,Jg.isRecognitionException)(t))return t.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,Zg.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(t),t;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(e.prototype,"errors",{get:function(){return(0,Zg.cloneArr)(this._errors)},set:function(t){this._errors=t},enumerable:!1,configurable:!0}),e.prototype.raiseEarlyExitException=function(t,r,n){for(var i=this.getCurrRuleFullName(),s=this.getGAstProductions()[i],o=(0,SO.getLookaheadPathsForOptionalProd)(t,s,r,this.maxLookahead),a=o[0],u=[],c=1;c<=this.maxLookahead;c++)u.push(this.LA(c));var f=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:u,previous:this.LA(0),customUserDescription:n,ruleName:i});throw this.SAVE_ERROR(new Jg.EarlyExitException(f,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(t,r){for(var n=this.getCurrRuleFullName(),i=this.getGAstProductions()[n],s=(0,SO.getLookaheadPathsForOr)(t,i,this.maxLookahead),o=[],a=1;a<=this.maxLookahead;a++)o.push(this.LA(a));var u=this.LA(0),c=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:u,customUserDescription:r,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new Jg.NoViableAltException(c,this.LA(1),u))},e}();yl.ErrorHandler=zj});var PO=d(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.ContentAssist=void 0;var AO=Oa(),RO=ve(),Yj=function(){function e(){}return e.prototype.initContentAssist=function(){},e.prototype.computeContentAssist=function(t,r){var n=this.gastProductionsCache[t];if((0,RO.isUndefined)(n))throw Error("Rule ->"+t+"<- does not exist in this grammar.");return(0,AO.nextPossibleTokensAfter)([n],r,this.tokenMatcher,this.maxLookahead)},e.prototype.getNextPossibleTokenTypes=function(t){var r=(0,RO.first)(t.ruleStack),n=this.getGAstProductions(),i=n[r],s=new AO.NextAfterTokenWalker(i,t).startWalking();return s},e}();El.ContentAssist=Yj});var DO=d(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.GastRecorder=void 0;var Bt=ve(),tn=Ft(),Xj=ba(),IO=Qs(),LO=Jn(),Qj=Jt(),Jj=fl(),bl={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(bl);var OO=!0,CO=Math.pow(2,Jj.BITS_FOR_OCCURRENCE_IDX)-1,NO=(0,LO.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:Xj.Lexer.NA});(0,IO.augmentTokenTypes)([NO]);var xO=(0,LO.createTokenInstance)(NO,`This IToken indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(xO);var Zj={name:`This CSTNode indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},eH=function(){function e(){}return e.prototype.initGastRecorder=function(t){this.recordingProdStack=[],this.RECORDING_PHASE=!1},e.prototype.enableRecording=function(){var t=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var r=function(i){var s=i>0?i:"";t["CONSUME"+s]=function(o,a){return this.consumeInternalRecord(o,i,a)},t["SUBRULE"+s]=function(o,a){return this.subruleInternalRecord(o,i,a)},t["OPTION"+s]=function(o){return this.optionInternalRecord(o,i)},t["OR"+s]=function(o){return this.orInternalRecord(o,i)},t["MANY"+s]=function(o){this.manyInternalRecord(i,o)},t["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(i,o)},t["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(i,o)},t["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(i,o)}},n=0;n<10;n++)r(n);t.consume=function(i,s,o){return this.consumeInternalRecord(s,i,o)},t.subrule=function(i,s,o){return this.subruleInternalRecord(s,i,o)},t.option=function(i,s){return this.optionInternalRecord(s,i)},t.or=function(i,s){return this.orInternalRecord(s,i)},t.many=function(i,s){this.manyInternalRecord(i,s)},t.atLeastOne=function(i,s){this.atLeastOneInternalRecord(i,s)},t.ACTION=t.ACTION_RECORD,t.BACKTRACK=t.BACKTRACK_RECORD,t.LA=t.LA_RECORD})},e.prototype.disableRecording=function(){var t=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var r=0;r<10;r++){var n=r>0?r:"";delete t["CONSUME"+n],delete t["SUBRULE"+n],delete t["OPTION"+n],delete t["OR"+n],delete t["MANY"+n],delete t["MANY_SEP"+n],delete t["AT_LEAST_ONE"+n],delete t["AT_LEAST_ONE_SEP"+n]}delete t.consume,delete t.subrule,delete t.option,delete t.or,delete t.many,delete t.atLeastOne,delete t.ACTION,delete t.BACKTRACK,delete t.LA})},e.prototype.ACTION_RECORD=function(t){},e.prototype.BACKTRACK_RECORD=function(t,r){return function(){return!0}},e.prototype.LA_RECORD=function(t){return Qj.END_OF_FILE},e.prototype.topLevelRuleRecord=function(t,r){try{var n=new tn.Rule({definition:[],name:t});return n.name=t,this.recordingProdStack.push(n),r.call(this),this.recordingProdStack.pop(),n}catch(i){if(i.KNOWN_RECORDER_ERROR!==!0)try{i.message=i.message+` This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw i}throw i}},e.prototype.optionInternalRecord=function(t,r){return sl.call(this,ki.Option,t,r)},e.prototype.atLeastOneInternalRecord=function(t,r){sl.call(this,ki.RepetitionMandatory,r,t)},e.prototype.atLeastOneSepFirstInternalRecord=function(t,r){sl.call(this,ki.RepetitionMandatoryWithSeparator,r,t,HN)},e.prototype.manyInternalRecord=function(t,r){sl.call(this,ki.Repetition,r,t)},e.prototype.manySepFirstInternalRecord=function(t,r){sl.call(this,ki.RepetitionWithSeparator,r,t,HN)},e.prototype.orInternalRecord=function(t,r){return bre.call(this,t,r)},e.prototype.subruleInternalRecord=function(t,r,n){if(Ih(r),!t||(0,qr.has)(t,"ruleName")===!1){var i=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(t)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw i.KNOWN_RECORDER_ERROR=!0,i}var s=(0,qr.peek)(this.recordingProdStack),o=t.ruleName,c=new ki.NonTerminal({idx:r,nonTerminalName:o,label:n==null?void 0:n.LABEL,referencedRule:void 0});return s.definition.push(c),this.outputCst?_re:Lh},e.prototype.consumeInternalRecord=function(t,r,n){if(Ih(r),!(0,$N.hasShortKeyProperty)(t)){var i=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(t)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw i.KNOWN_RECORDER_ERROR=!0,i}var s=(0,qr.peek)(this.recordingProdStack),o=new ki.Terminal({idx:r,terminalType:t,label:n==null?void 0:n.LABEL});return s.definition.push(o),zN},e}();xh.GastRecorder=Ere;function sl(e,t,r,n){n===void 0&&(n=!1),Ih(r);var i=(0,qr.peek)(this.recordingProdStack),s=(0,qr.isFunction)(t)?t:t.DEF,o=new e({definition:[],idx:r});return n&&(o.separator=t.SEP),(0,qr.has)(t,"MAX_LOOKAHEAD")&&(o.maxLookahead=t.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),i.definition.push(o),this.recordingProdStack.pop(),Lh}function bre(e,t){var r=this;Ih(t);var n=(0,qr.peek)(this.recordingProdStack),i=(0,qr.isArray)(e)===!1,s=i===!1?e:e.DEF,o=new ki.Alternation({definition:[],idx:t,ignoreAmbiguities:i&&e.IGNORE_AMBIGUITIES===!0});(0,qr.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD);var c=(0,qr.some)(s,function(l){return(0,qr.isFunction)(l.GATE)});return o.hasPredicates=c,n.definition.push(o),(0,qr.forEach)(s,function(l){var p=new ki.Alternative({definition:[]});o.definition.push(p),(0,qr.has)(l,"IGNORE_AMBIGUITIES")?p.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:(0,qr.has)(l,"GATE")&&(p.ignoreAmbiguities=!0),r.recordingProdStack.push(p),l.ALT.call(r),r.recordingProdStack.pop()}),Lh}function WN(e){return e===0?"":""+e}function Ih(e){if(e<0||e>jN){var t=new Error("Invalid DSL Method idx value: <"+e+`> - `+("Idx value must be a none negative value smaller than "+(jN+1)));throw t.KNOWN_RECORDER_ERROR=!0,t}}});var JN=_(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.PerformanceTracer=void 0;var XN=ze(),Tre=un(),wre=function(){function e(){}return e.prototype.initPerformanceTracer=function(t){if((0,XN.has)(t,"traceInitPerf")){var r=t.traceInitPerf,n=typeof r=="number";this.traceInitMaxIdent=n?r:1/0,this.traceInitPerf=n?r>0:r}else this.traceInitMaxIdent=0,this.traceInitPerf=Tre.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},e.prototype.TRACE_INIT=function(t,r){if(this.traceInitPerf===!0){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+t+">");var i=(0,XN.timer)(r),s=i.time,o=i.value,c=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return r()},e}();Nh.PerformanceTracer=wre});var QN=_(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.applyMixins=void 0;function Sre(e,t){t.forEach(function(r){var n=r.prototype;Object.getOwnPropertyNames(n).forEach(function(i){if(i!=="constructor"){var s=Object.getOwnPropertyDescriptor(n,i);s&&(s.get||s.set)?Object.defineProperty(e.prototype,i,s):e.prototype[i]=r.prototype[i]}})})}Dh.applyMixins=Sre});var un=_(vt=>{"use strict";var t5=vt&&vt.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(vt,"__esModule",{value:!0});vt.EmbeddedActionsParser=vt.CstParser=vt.Parser=vt.EMPTY_ALT=vt.ParserDefinitionErrorType=vt.DEFAULT_RULE_CONFIG=vt.DEFAULT_PARSER_CONFIG=vt.END_OF_FILE=void 0;var Pr=ze(),Are=Gx(),ZN=Ks(),r5=Jc(),e5=lN(),Rre=m_(),Pre=yN(),Ore=ON(),Cre=kN(),kre=LN(),Ire=MN(),Lre=GN(),xre=qN(),Nre=YN(),Dre=JN(),Mre=QN();vt.END_OF_FILE=(0,ZN.createTokenInstance)(ZN.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(vt.END_OF_FILE);vt.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:r5.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});vt.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var Fre;(function(e){e[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(Fre=vt.ParserDefinitionErrorType||(vt.ParserDefinitionErrorType={}));function Gre(e){return e===void 0&&(e=void 0),function(){return e}}vt.EMPTY_ALT=Gre;var Mh=function(){function e(t,r){this.definitionErrors=[],this.selfAnalysisDone=!1;var n=this;if(n.initErrorHandler(r),n.initLexerAdapter(),n.initLooksAhead(r),n.initRecognizerEngine(t,r),n.initRecoverable(r),n.initTreeBuilder(r),n.initContentAssist(),n.initGastRecorder(r),n.initPerformanceTracer(r),(0,Pr.has)(r,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. + https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw i}throw i}},e.prototype.optionInternalRecord=function(t,r){return xa.call(this,tn.Option,t,r)},e.prototype.atLeastOneInternalRecord=function(t,r){xa.call(this,tn.RepetitionMandatory,r,t)},e.prototype.atLeastOneSepFirstInternalRecord=function(t,r){xa.call(this,tn.RepetitionMandatoryWithSeparator,r,t,OO)},e.prototype.manyInternalRecord=function(t,r){xa.call(this,tn.Repetition,r,t)},e.prototype.manySepFirstInternalRecord=function(t,r){xa.call(this,tn.RepetitionWithSeparator,r,t,OO)},e.prototype.orInternalRecord=function(t,r){return tH.call(this,t,r)},e.prototype.subruleInternalRecord=function(t,r,n){if(_l(r),!t||(0,Bt.has)(t,"ruleName")===!1){var i=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(t)+">")+(` + inside top level rule: <`+this.recordingProdStack[0].name+">"));throw i.KNOWN_RECORDER_ERROR=!0,i}var s=(0,Bt.peek)(this.recordingProdStack),o=t.ruleName,a=new tn.NonTerminal({idx:r,nonTerminalName:o,label:n==null?void 0:n.LABEL,referencedRule:void 0});return s.definition.push(a),this.outputCst?Zj:bl},e.prototype.consumeInternalRecord=function(t,r,n){if(_l(r),!(0,IO.hasShortKeyProperty)(t)){var i=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(t)+">")+(` + inside top level rule: <`+this.recordingProdStack[0].name+">"));throw i.KNOWN_RECORDER_ERROR=!0,i}var s=(0,Bt.peek)(this.recordingProdStack),o=new tn.Terminal({idx:r,terminalType:t,label:n==null?void 0:n.LABEL});return s.definition.push(o),xO},e}();Tl.GastRecorder=eH;function xa(e,t,r,n){n===void 0&&(n=!1),_l(r);var i=(0,Bt.peek)(this.recordingProdStack),s=(0,Bt.isFunction)(t)?t:t.DEF,o=new e({definition:[],idx:r});return n&&(o.separator=t.SEP),(0,Bt.has)(t,"MAX_LOOKAHEAD")&&(o.maxLookahead=t.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),i.definition.push(o),this.recordingProdStack.pop(),bl}function tH(e,t){var r=this;_l(t);var n=(0,Bt.peek)(this.recordingProdStack),i=(0,Bt.isArray)(e)===!1,s=i===!1?e:e.DEF,o=new tn.Alternation({definition:[],idx:t,ignoreAmbiguities:i&&e.IGNORE_AMBIGUITIES===!0});(0,Bt.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD);var a=(0,Bt.some)(s,function(u){return(0,Bt.isFunction)(u.GATE)});return o.hasPredicates=a,n.definition.push(o),(0,Bt.forEach)(s,function(u){var c=new tn.Alternative({definition:[]});o.definition.push(c),(0,Bt.has)(u,"IGNORE_AMBIGUITIES")?c.ignoreAmbiguities=u.IGNORE_AMBIGUITIES:(0,Bt.has)(u,"GATE")&&(c.ignoreAmbiguities=!0),r.recordingProdStack.push(c),u.ALT.call(r),r.recordingProdStack.pop()}),bl}function kO(e){return e===0?"":""+e}function _l(e){if(e<0||e>CO){var t=new Error("Invalid DSL Method idx value: <"+e+`> + `+("Idx value must be a none negative value smaller than "+(CO+1)));throw t.KNOWN_RECORDER_ERROR=!0,t}}});var FO=d(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.PerformanceTracer=void 0;var MO=ve(),rH=Jt(),nH=function(){function e(){}return e.prototype.initPerformanceTracer=function(t){if((0,MO.has)(t,"traceInitPerf")){var r=t.traceInitPerf,n=typeof r=="number";this.traceInitMaxIdent=n?r:1/0,this.traceInitPerf=n?r>0:r}else this.traceInitMaxIdent=0,this.traceInitPerf=rH.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},e.prototype.TRACE_INIT=function(t,r){if(this.traceInitPerf===!0){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+t+">");var i=(0,MO.timer)(r),s=i.time,o=i.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return r()},e}();Sl.PerformanceTracer=nH});var GO=d(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.applyMixins=void 0;function iH(e,t){t.forEach(function(r){var n=r.prototype;Object.getOwnPropertyNames(n).forEach(function(i){if(i!=="constructor"){var s=Object.getOwnPropertyDescriptor(n,i);s&&(s.get||s.set)?Object.defineProperty(e.prototype,i,s):e.prototype[i]=r.prototype[i]}})})}wl.applyMixins=iH});var Jt=d(Me=>{"use strict";var qO=Me&&Me.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Me,"__esModule",{value:!0});Me.EmbeddedActionsParser=Me.CstParser=Me.Parser=Me.EMPTY_ALT=Me.ParserDefinitionErrorType=Me.DEFAULT_RULE_CONFIG=Me.DEFAULT_PARSER_CONFIG=Me.END_OF_FILE=void 0;var It=ve(),sH=wP(),UO=Jn(),jO=Ra(),BO=XP(),oH=zg(),aH=iO(),uH=dO(),cH=mO(),lH=yO(),fH=TO(),pH=wO(),hH=PO(),dH=DO(),gH=FO(),mH=GO();Me.END_OF_FILE=(0,UO.createTokenInstance)(UO.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Me.END_OF_FILE);Me.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:jO.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});Me.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var vH;(function(e){e[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(vH=Me.ParserDefinitionErrorType||(Me.ParserDefinitionErrorType={}));function yH(e){return e===void 0&&(e=void 0),function(){return e}}Me.EMPTY_ALT=yH;var Al=function(){function e(t,r){this.definitionErrors=[],this.selfAnalysisDone=!1;var n=this;if(n.initErrorHandler(r),n.initLexerAdapter(),n.initLooksAhead(r),n.initRecognizerEngine(t,r),n.initRecoverable(r),n.initTreeBuilder(r),n.initContentAssist(),n.initGastRecorder(r),n.initPerformanceTracer(r),(0,It.has)(r,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. Please use the flag on the relevant DSL method instead. See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=(0,Pr.has)(r,"skipValidations")?r.skipValidations:vt.DEFAULT_PARSER_CONFIG.skipValidations}return e.performSelfAnalysis=function(t){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},e.prototype.performSelfAnalysis=function(){var t=this;this.TRACE_INIT("performSelfAnalysis",function(){var r;t.selfAnalysisDone=!0;var n=t.className;t.TRACE_INIT("toFastProps",function(){(0,Pr.toFastProperties)(t)}),t.TRACE_INIT("Grammar Recording",function(){try{t.enableRecording(),(0,Pr.forEach)(t.definedRulesNames,function(s){var o=t[s],c=o.originalGrammarAction,l=void 0;t.TRACE_INIT(s+" Rule",function(){l=t.topLevelRuleRecord(s,c)}),t.gastProductionsCache[s]=l})}finally{t.disableRecording()}});var i=[];if(t.TRACE_INIT("Grammar Resolving",function(){i=(0,e5.resolveGrammar)({rules:(0,Pr.values)(t.gastProductionsCache)}),t.definitionErrors=t.definitionErrors.concat(i)}),t.TRACE_INIT("Grammar Validations",function(){if((0,Pr.isEmpty)(i)&&t.skipValidations===!1){var s=(0,e5.validateGrammar)({rules:(0,Pr.values)(t.gastProductionsCache),maxLookahead:t.maxLookahead,tokenTypes:(0,Pr.values)(t.tokensMap),errMsgProvider:r5.defaultGrammarValidatorErrorProvider,grammarName:n});t.definitionErrors=t.definitionErrors.concat(s)}}),(0,Pr.isEmpty)(t.definitionErrors)&&(t.recoveryEnabled&&t.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,Are.computeAllProdsFollows)((0,Pr.values)(t.gastProductionsCache));t.resyncFollows=s}),t.TRACE_INIT("ComputeLookaheadFunctions",function(){t.preComputeLookaheadFunctions((0,Pr.values)(t.gastProductionsCache))})),!e.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,Pr.isEmpty)(t.definitionErrors))throw r=(0,Pr.map)(t.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: + For further details.`);this.skipValidations=(0,It.has)(r,"skipValidations")?r.skipValidations:Me.DEFAULT_PARSER_CONFIG.skipValidations}return e.performSelfAnalysis=function(t){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},e.prototype.performSelfAnalysis=function(){var t=this;this.TRACE_INIT("performSelfAnalysis",function(){var r;t.selfAnalysisDone=!0;var n=t.className;t.TRACE_INIT("toFastProps",function(){(0,It.toFastProperties)(t)}),t.TRACE_INIT("Grammar Recording",function(){try{t.enableRecording(),(0,It.forEach)(t.definedRulesNames,function(s){var o=t[s],a=o.originalGrammarAction,u=void 0;t.TRACE_INIT(s+" Rule",function(){u=t.topLevelRuleRecord(s,a)}),t.gastProductionsCache[s]=u})}finally{t.disableRecording()}});var i=[];if(t.TRACE_INIT("Grammar Resolving",function(){i=(0,BO.resolveGrammar)({rules:(0,It.values)(t.gastProductionsCache)}),t.definitionErrors=t.definitionErrors.concat(i)}),t.TRACE_INIT("Grammar Validations",function(){if((0,It.isEmpty)(i)&&t.skipValidations===!1){var s=(0,BO.validateGrammar)({rules:(0,It.values)(t.gastProductionsCache),maxLookahead:t.maxLookahead,tokenTypes:(0,It.values)(t.tokensMap),errMsgProvider:jO.defaultGrammarValidatorErrorProvider,grammarName:n});t.definitionErrors=t.definitionErrors.concat(s)}}),(0,It.isEmpty)(t.definitionErrors)&&(t.recoveryEnabled&&t.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,sH.computeAllProdsFollows)((0,It.values)(t.gastProductionsCache));t.resyncFollows=s}),t.TRACE_INIT("ComputeLookaheadFunctions",function(){t.preComputeLookaheadFunctions((0,It.values)(t.gastProductionsCache))})),!e.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,It.isEmpty)(t.definitionErrors))throw r=(0,It.map)(t.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: `+r.join(` ------------------------------- -`))})},e.DEFER_DEFINITION_ERRORS_HANDLING=!1,e}();vt.Parser=Mh;(0,Mre.applyMixins)(Mh,[Rre.Recoverable,Pre.LooksAhead,Ore.TreeBuilder,Cre.LexerAdapter,Ire.RecognizerEngine,kre.RecognizerApi,Lre.ErrorHandler,xre.ContentAssist,Nre.GastRecorder,Dre.PerformanceTracer]);var Ure=function(e){t5(t,e);function t(r,n){n===void 0&&(n=vt.DEFAULT_PARSER_CONFIG);var i=this,s=(0,Pr.cloneObj)(n);return s.outputCst=!0,i=e.call(this,r,s)||this,i}return t}(Mh);vt.CstParser=Ure;var Bre=function(e){t5(t,e);function t(r,n){n===void 0&&(n=vt.DEFAULT_PARSER_CONFIG);var i=this,s=(0,Pr.cloneObj)(n);return s.outputCst=!1,i=e.call(this,r,s)||this,i}return t}(Mh);vt.EmbeddedActionsParser=Bre});var i5=_(Fh=>{"use strict";Object.defineProperty(Fh,"__esModule",{value:!0});Fh.createSyntaxDiagramsCode=void 0;var n5=qy();function qre(e,t){var r=t===void 0?{}:t,n=r.resourceBase,i=n===void 0?"https://unpkg.com/chevrotain@"+n5.VERSION+"/diagrams/":n,s=r.css,o=s===void 0?"https://unpkg.com/chevrotain@"+n5.VERSION+"/diagrams/diagrams.css":s,c=` +`))})},e.DEFER_DEFINITION_ERRORS_HANDLING=!1,e}();Me.Parser=Al;(0,mH.applyMixins)(Al,[oH.Recoverable,aH.LooksAhead,uH.TreeBuilder,cH.LexerAdapter,fH.RecognizerEngine,lH.RecognizerApi,pH.ErrorHandler,hH.ContentAssist,dH.GastRecorder,gH.PerformanceTracer]);var EH=function(e){qO(t,e);function t(r,n){n===void 0&&(n=Me.DEFAULT_PARSER_CONFIG);var i=this,s=(0,It.cloneObj)(n);return s.outputCst=!0,i=e.call(this,r,s)||this,i}return t}(Al);Me.CstParser=EH;var _H=function(e){qO(t,e);function t(r,n){n===void 0&&(n=Me.DEFAULT_PARSER_CONFIG);var i=this,s=(0,It.cloneObj)(n);return s.outputCst=!1,i=e.call(this,r,s)||this,i}return t}(Al);Me.EmbeddedActionsParser=_H});var $O=d(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.createSyntaxDiagramsCode=void 0;var HO=Eg();function bH(e,t){var r=t===void 0?{}:t,n=r.resourceBase,i=n===void 0?"https://unpkg.com/chevrotain@"+HO.VERSION+"/diagrams/":n,s=r.css,o=s===void 0?"https://unpkg.com/chevrotain@"+HO.VERSION+"/diagrams/diagrams.css":s,a=` @@ -267,120 +309,57 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis } -`,l=` +`,u=` -`,p=` +`,c=`